# Copyright (C) 2006 International Business Machines and others. # All Rights Reserved. # This file is distributed under the Common Public License. ## $Id$ # Author: Andreas Waechter IBM 2006-04-13 AUTOMAKE_OPTIONS = foreign ######################################################################## # Subdirectories # ######################################################################## SUBDIRS = src # We don't want to compile the test subdirectory, unless the test target is # specified. But we need to list it as subdirectory to make sure that it is # included in the tarball if ALWAYS_FALSE SUBDIRS += test endif ######################################################################## # Additional files to be included in tarball # ######################################################################## # Here we need include all files that are not mentioned in other Makefiles EXTRA_DIST = ######################################################################## # Extra Targets # ######################################################################## test: all cd test; make test unitTest: test clean-local: if test -r test/Makefile; then cd test; make clean; fi distclean-local: if test -r test/Makefile; then cd test; make distclean; fi .PHONY: test unitTest ######################################################################## # Installation of the addlibs file # ######################################################################## addlibsfile = flopcpp_addlibs.txt addlibsdir = $(prefix)/share/doc/coin/$(PACKAGE_NAME)/ install-exec-local: install-doc $(install_sh_DATA) $(addlibsfile) $(DESTDIR)$(addlibsdir)/$(addlibsfile) uninstall-local: uninstall-doc rm -f $(DESTDIR)$(addlibsdir)/$(addlibsfile) ######################################################################## # Maintainer Stuff # ######################################################################## # Files that are generated and should be cleaned with make distclean DISTCLEANFILES = include ../BuildTools/Makemain.inc