# Copyright (C) 2006 International Business Machines and others. # All Rights Reserved. # This file is distributed under the Eclipse Public License. ## $Id$ # Author: Andreas Waechter IBM 2006-04-13 include BuildTools/Makemain.inc ######################################################################## # Subdirectories and installation of .pc files # ######################################################################## SUBDIRS = src pkgconfiglibdir = $(libdir)/pkgconfig pkgconfiglib_DATA = clp.pc # Build OsiClp only if Osi is available. if COIN_HAS_OSI SUBDIRS += src/OsiClp pkgconfiglib_DATA += osi-clp.pc endif # 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's included in the tarball. if ALWAYS_FALSE SUBDIRS += test endif ######################################################################## # Extra Targets # ######################################################################## test: all cd test; $(MAKE) test unitTest: test clean-local: clean-doxygen-docs if test -r test/Makefile; then cd test; $(MAKE) clean; fi install-exec-local: install-doc uninstall-local: uninstall-doc uninstall-doxygen-docs .PHONY: test unitTest