source: branches/sandbox/Cbc/Makefile.am @ 1301

Last change on this file since 1301 was 876, checked in by tkr, 12 years ago

Adding DESTDIR to path for installation of addlibs.txt file

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.7 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 876 2008-02-14 22:30:37Z EdwinStraver $
6
7# Author:  Andreas Waechter           IBM    2006-04-13
8
9AUTOMAKE_OPTIONS = foreign
10
11########################################################################
12#                          Subdirectories                              #
13########################################################################
14
15SUBDIRS = src
16
17# We don't want to compile the test subdirectory, unless the test target is
18# specified.  But we need to list it as subdirectory to make sure that it is
19# included in the tarball
20
21if ALWAYS_FALSE
22  SUBDIRS += test
23endif
24
25########################################################################
26#             Additional files to be included in tarball               #
27########################################################################
28
29# Here we need include all files that are not mentioned in other Makefiles
30
31EXTRA_DIST = \
32        doc/authors.xml \
33        doc/cbcexe.xml \
34        doc/cbcmodelclass.xml \
35        doc/cbcuserguide.xml \
36        doc/doxygen.xml \
37        doc/faqcontent.xml \
38        doc/faq.xml \
39        doc/intro.xml \
40        doc/legal.xml \
41        doc/messages.xml \
42        doc/moresamples.xml \
43        doc/osibuild.xml \
44        doc/otherclasses.xml \
45        doc/revhist.xml \
46        examples/CbcBranchFollow2.cpp \
47        examples/CbcBranchFollow2.hpp \
48        examples/CbcBranchLink.cpp \
49        examples/CbcBranchLink.hpp \
50        examples/CbcBranchUser.cpp \
51        examples/CbcBranchUser.hpp \
52        examples/CbcCompareUser.cpp \
53        examples/CbcCompareUser.hpp \
54        examples/CbcSolver2.cpp \
55        examples/CbcSolver2.hpp \
56        examples/CbcSolver3.cpp \
57        examples/CbcSolver3.hpp \
58        examples/CbcSolverLongThin.cpp \
59        examples/CbcSolverLongThin.hpp \
60        examples/CbcSolverLink.hpp \
61        examples/CbcSolverLink.cpp \
62        examples/ClpQuadInterface.cpp \
63        examples/ClpQuadInterface.hpp \
64        examples/OsiBranchLink.cpp \
65        examples/OsiBranchLink.hpp \
66        examples/OsiSolverLink.hpp \
67        examples/OsiSolverLink.cpp \
68        examples/crew.cpp \
69        examples/driver2.cpp \
70        examples/driver.cpp \
71        examples/fast0507b.cpp \
72        examples/fast0507.cpp \
73        examples/gear.cpp \
74        examples/hotstart.cpp \
75        examples/link.cpp \
76        examples/longthin.cpp \
77        examples/lotsize.cpp \
78        examples/Makefile.in \
79        examples/minimum.cpp \
80        examples/nway.cpp \
81        examples/qmip.cpp \
82        examples/quad2.mps \
83        examples/quad.mps \
84        examples/repeat.cpp \
85        examples/sample1.cpp \
86        examples/sample2.cpp \
87        examples/sample3.cpp \
88        examples/sample4.cpp \
89        examples/sample5.cpp \
90        examples/sos.cpp \
91        examples/sudoku.cpp \
92        examples/sudoku_sample.csv
93
94########################################################################
95#                           Extra Targets                              #
96########################################################################
97
98test: all
99        cd test; $(MAKE) test
100
101unitTest: test
102
103clean-local:
104        if test -r test/Makefile; then cd test; $(MAKE) clean; fi
105
106distclean-local:
107        if test -r test/Makefile; then cd test; $(MAKE) distclean; fi
108
109.PHONY: test unitTest
110
111########################################################################
112#                  Installation of the addlibs file                    #
113########################################################################
114
115addlibsfile = cbc_addlibs.txt
116addlibsdir = $(prefix)/share/doc/coin/$(PACKAGE_NAME)/
117
118install-exec-local: install-doc
119        $(install_sh_DATA) $(addlibsfile) $(DESTDIR)$(addlibsdir)/$(addlibsfile)
120
121uninstall-local: uninstall-doc
122        rm -f $(DESTDIR)$(addlibsdir)/$(addlibsfile)
123
124########################################################################
125#                         Maintainer Stuff                             #
126########################################################################
127
128# Files that are generated and should be cleaned with make distclean
129DISTCLEANFILES =
130
131include ../BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.