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 344 2006-06-01 19:17:05Z forrest $ |
---|
6 | |
---|
7 | # Author: Andreas Waechter IBM 2006-04-13 |
---|
8 | |
---|
9 | AUTOMAKE_OPTIONS = foreign |
---|
10 | |
---|
11 | ######################################################################## |
---|
12 | # Subdirectories # |
---|
13 | ######################################################################## |
---|
14 | |
---|
15 | SUBDIRS = 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 | |
---|
21 | if ALWAYS_FALSE |
---|
22 | SUBDIRS += test |
---|
23 | endif |
---|
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 | |
---|
31 | EXTRA_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/ClpQuadInterface.cpp \ |
---|
61 | examples/ClpQuadInterface.hpp \ |
---|
62 | examples/crew.cpp \ |
---|
63 | examples/driver2.cpp \ |
---|
64 | examples/driver.cpp \ |
---|
65 | examples/fast0507b.cpp \ |
---|
66 | examples/fast0507.cpp \ |
---|
67 | examples/gear.cpp \ |
---|
68 | examples/hotstart.cpp \ |
---|
69 | examples/link.cpp \ |
---|
70 | examples/longthin.cpp \ |
---|
71 | examples/lotsize.cpp \ |
---|
72 | examples/Makefile.in \ |
---|
73 | examples/minimum.cpp \ |
---|
74 | examples/nway.cpp \ |
---|
75 | examples/qmip.cpp \ |
---|
76 | examples/quad2.mps \ |
---|
77 | examples/quad.mps \ |
---|
78 | examples/repeat.cpp \ |
---|
79 | examples/sample1.cpp \ |
---|
80 | examples/sample2.cpp \ |
---|
81 | examples/sample3.cpp \ |
---|
82 | examples/sample4.cpp \ |
---|
83 | examples/sample5.cpp \ |
---|
84 | examples/sos.cpp \ |
---|
85 | examples/sudoku.cpp \ |
---|
86 | examples/sudoku_sample.csv |
---|
87 | |
---|
88 | ######################################################################## |
---|
89 | # Extra Targets # |
---|
90 | ######################################################################## |
---|
91 | |
---|
92 | test: all |
---|
93 | cd test; make test |
---|
94 | |
---|
95 | unitTest: test |
---|
96 | |
---|
97 | clean-local: |
---|
98 | if test -r test/Makefile; then cd test; make clean; fi |
---|
99 | |
---|
100 | distclean-local: |
---|
101 | if test -r test/Makefile; then cd test; make distclean; fi |
---|
102 | |
---|
103 | .PHONY: test unitTest |
---|
104 | |
---|
105 | ######################################################################## |
---|
106 | # Installation of the addlibs file # |
---|
107 | ######################################################################## |
---|
108 | |
---|
109 | addlibsfile = cbc_addlibs.txt |
---|
110 | |
---|
111 | install-exec-local: |
---|
112 | $(install_sh_DATA) $(addlibsfile) $(DESTDIR)$(libdir)/$(addlibsfile) |
---|
113 | |
---|
114 | uninstall-local: |
---|
115 | rm -f $(DESTDIR)$(libdir)/$(addlibsfile) |
---|
116 | |
---|
117 | ######################################################################## |
---|
118 | # Maintainer Stuff # |
---|
119 | ######################################################################## |
---|
120 | |
---|
121 | # Files that are generated and should be cleaned with make distclean |
---|
122 | DISTCLEANFILES = |
---|
123 | |
---|
124 | include ../BuildTools/Makemain.inc |
---|