source: trunk/Couenne/Makefile.am @ 191

Last change on this file since 191 was 93, checked in by pbelotti, 12 years ago

new library modularization (broken with debug)

File size: 2.5 KB
Line 
1# Copyright (C) 2006 International Business Machines and others.
2# All Rights Reserved.
3# This file is distributed under the Common Public License.
4
5## $Id: Makefile.am 18 2006-12-08 21:33:13Z pbonami $
6
7# Author:  Andreas Waechter           IBM    2006-04-13
8
9AUTOMAKE_OPTIONS = foreign
10
11########################################################################
12#                          Subdirectories                              #
13########################################################################
14
15SUBDIRS = \
16          src/util \
17          src/expression \
18          src/readnl \
19          src/standardize \
20          src/problem \
21          src/bound_tightening \
22          src/convex \
23          src/branch \
24          src/disjunctive \
25          src \
26          src/main
27
28# We don't want to compile the test subdirectory, unless the test target is
29# specified.  But we need to list it as subdirectory to make sure that it is
30# included in the tarball
31
32if ALWAYS_FALSE
33  SUBDIRS += test
34endif
35
36########################################################################
37#             Additional files to be included in tarball               #
38########################################################################
39
40# Here we need include all files that are not mentioned in other Makefiles
41
42EXTRA_DIST = test/grandTest.sh.in
43
44########################################################################
45#                           Extra Targets                              #
46########################################################################
47
48test: all
49        cd test; $(MAKE) test
50
51unitTest: test
52
53clean-local:
54        if test -r test/Makefile; then cd test; $(MAKE) clean; fi
55
56distclean-local:
57        if test -r test/Makefile; then cd test; $(MAKE) distclean; fi
58
59.PHONY: test unitTest
60
61########################################################################
62#                  Installation of the addlibs file                    #
63########################################################################
64
65addlibsfile = couenne_addlibs.txt
66addlibsdir = $(prefix)/share/doc/coin/$(PACKAGE_NAME)/
67
68install-exec-local: install-doc
69        $(install_sh_DATA) $(addlibsfile) $(DESTDIR)$(addlibsdir)/$(addlibsfile)
70
71uninstall-local: uninstall-doc
72        rm -f $(DESTDIR)$(addlibsdir)/$(addlibsfile)
73
74########################################################################
75#                         Maintainer Stuff                             #
76########################################################################
77
78# Files that are generated and should be cleaned with make distclean
79DISTCLEANFILES =
80
81include ../BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.