source: trunk/Couenne/Makefile.am @ 490

Last change on this file since 490 was 488, checked in by pbelotti, 10 years ago

CPL -> EPL

  • Property svn:keywords set to Author Date Id Revision
File size: 3.0 KB
Line 
1# Copyright (C) 2006 International Business Machines and others.
2# All Rights Reserved.
3# This file is distributed under the Eclipse Public License.
4
5## $Id: Makefile.am 488 2011-01-10 17:06:41Z pbelotti $
6
7# Author:  Andreas Waechter           IBM    2006-04-13
8
9AUTOMAKE_OPTIONS = foreign
10
11########################################################################
12#                          Subdirectories                              #
13########################################################################
14
15SUBDIRS = src/util \
16          src/expression
17
18if COIN_HAS_ASL
19SUBDIRS += src/readnl
20endif
21
22SUBDIRS += src/standardize \
23          src/problem \
24          src/bound_tightening \
25          src/convex \
26          src/branch \
27          src/disjunctive \
28          src/sdpcuts \
29          src/ellipcuts \
30          src/interfaces \
31          src/heuristics \
32          src/crossconv \
33          src/two_implied_bt \
34          src \
35          src/main
36
37# We don't want to compile the test subdirectory, unless the test target is
38# specified.  But we need to list it as subdirectory to make sure that it is
39# included in the tarball
40
41if ALWAYS_FALSE
42  SUBDIRS += test
43endif
44
45########################################################################
46#             Additional files to be included in tarball               #
47########################################################################
48
49# Here we need include all files that are not mentioned in other Makefiles
50
51EXTRA_DIST = test/grandTest.sh.in
52
53########################################################################
54#                           Extra Targets                              #
55########################################################################
56
57test: all
58        cd test; $(MAKE) test
59
60unitTest: test
61
62clean-local:
63        if test -r test/Makefile; then cd test; $(MAKE) clean; fi
64
65distclean-local:
66        if test -r test/Makefile; then cd test; $(MAKE) distclean; fi
67
68install-exec-local: install-doc
69
70uninstall-local: uninstall-doc
71
72.PHONY: test unitTest
73
74########################################################################
75#                  Installation of the addlibs file                    #
76########################################################################
77
78pkgconfiglibdir = $(libdir)/pkgconfig
79pkgconfiglib_DATA = couenne.pc
80
81addlibsdir = $(DESTDIR)$(datadir)/coin/doc/Couenne
82
83install-data-hook:
84        @$(mkdir_p) "$(addlibsdir)"
85if COIN_HAS_PKGCONFIG
86        PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \
87        $(PKG_CONFIG) --libs couenne > $(addlibsdir)/couenne_addlibs.txt
88else
89if COIN_CXX_IS_CL
90        echo "/libpath:`$(CYGPATH_W) @abs_lib_dir@` libBonCouenne.lib libCouenne.lib @COUENNELIB_LIBS_INSTALLED@" > $(addlibsdir)/couenne_addlibs_cpp.txt
91else
92        echo -L@abs_lib_dir@ -lBonCouenne -lCouenne @COUENNELIB_LIBS_INSTALLED@ > $(addlibsdir)/couenne_addlibs.txt
93endif
94endif
95
96uninstall-hook:
97        rm -f $(addlibsdir)/couenne_addlibs.txt
98
99########################################################################
100#                         Maintainer Stuff                             #
101########################################################################
102
103# Files that are generated and should be cleaned with make distclean
104DISTCLEANFILES =
105
106include BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.