source: stable/0.2/Couenne/Makefile.am @ 490

Last change on this file since 490 was 257, checked in by stefan, 12 years ago

do not recurse to readnl if no asl since empty libs confuse the builds on mac and windows

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         
19if COIN_HAS_ASL
20SUBDIRS += src/readnl
21endif
22
23SUBDIRS += src/standardize \
24          src/problem \
25          src/bound_tightening \
26          src/convex \
27          src/branch \
28          src/disjunctive \
29          src \
30          src/main
31
32# We don't want to compile the test subdirectory, unless the test target is
33# specified.  But we need to list it as subdirectory to make sure that it is
34# included in the tarball
35
36if ALWAYS_FALSE
37  SUBDIRS += test
38endif
39
40########################################################################
41#             Additional files to be included in tarball               #
42########################################################################
43
44# Here we need include all files that are not mentioned in other Makefiles
45
46EXTRA_DIST = test/grandTest.sh.in
47
48########################################################################
49#                           Extra Targets                              #
50########################################################################
51
52test: all
53        cd test; $(MAKE) test
54
55unitTest: test
56
57clean-local:
58        if test -r test/Makefile; then cd test; $(MAKE) clean; fi
59
60distclean-local:
61        if test -r test/Makefile; then cd test; $(MAKE) distclean; fi
62
63.PHONY: test unitTest
64
65########################################################################
66#                  Installation of the addlibs file                    #
67########################################################################
68
69addlibsfile = couenne_addlibs.txt
70addlibsdir = $(prefix)/share/doc/coin/$(PACKAGE_NAME)/
71
72install-exec-local: install-doc
73        $(install_sh_DATA) $(addlibsfile) $(DESTDIR)$(addlibsdir)/$(addlibsfile)
74
75uninstall-local: uninstall-doc
76        rm -f $(DESTDIR)$(addlibsdir)/$(addlibsfile)
77
78########################################################################
79#                         Maintainer Stuff                             #
80########################################################################
81
82# Files that are generated and should be cleaned with make distclean
83DISTCLEANFILES =
84
85include ../BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.