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 334 2006-05-25 18:23:28Z andreasw $ |
---|
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 | examples/CbcBranchFollow2.cpp \ |
---|
33 | examples/CbcBranchFollow2.hpp \ |
---|
34 | examples/CbcBranchLink.cpp \ |
---|
35 | examples/CbcBranchLink.hpp \ |
---|
36 | examples/CbcBranchUser.cpp \ |
---|
37 | examples/CbcBranchUser.hpp \ |
---|
38 | examples/CbcCompareUser.cpp \ |
---|
39 | examples/CbcCompareUser.hpp \ |
---|
40 | examples/CbcSolver2.cpp \ |
---|
41 | examples/CbcSolver2.hpp \ |
---|
42 | examples/CbcSolver3.cpp \ |
---|
43 | examples/CbcSolver3.hpp \ |
---|
44 | examples/CbcSolverLongThin.cpp \ |
---|
45 | examples/CbcSolverLongThin.hpp \ |
---|
46 | examples/ClpQuadInterface.cpp \ |
---|
47 | examples/ClpQuadInterface.hpp \ |
---|
48 | examples/crew.cpp \ |
---|
49 | examples/driver2.cpp \ |
---|
50 | examples/driver.cpp \ |
---|
51 | examples/fast0507b.cpp \ |
---|
52 | examples/fast0507.cpp \ |
---|
53 | examples/gear.cpp \ |
---|
54 | examples/hotstart.cpp \ |
---|
55 | examples/link.cpp \ |
---|
56 | examples/longthin.cpp \ |
---|
57 | examples/lotsize.cpp \ |
---|
58 | examples/Makefile.in \ |
---|
59 | examples/minimum.cpp \ |
---|
60 | examples/nway.cpp \ |
---|
61 | examples/qmip.cpp \ |
---|
62 | examples/quad2.mps \ |
---|
63 | examples/quad.mps \ |
---|
64 | examples/repeat.cpp \ |
---|
65 | examples/sample1.cpp \ |
---|
66 | examples/sample2.cpp \ |
---|
67 | examples/sample3.cpp \ |
---|
68 | examples/sample4.cpp \ |
---|
69 | examples/sample5.cpp \ |
---|
70 | examples/sos.cpp \ |
---|
71 | examples/sudoku.cpp \ |
---|
72 | examples/sudoku_sample.csv |
---|
73 | |
---|
74 | ######################################################################## |
---|
75 | # Extra Targets # |
---|
76 | ######################################################################## |
---|
77 | |
---|
78 | test: all |
---|
79 | cd test; make test |
---|
80 | |
---|
81 | unitTest: test |
---|
82 | |
---|
83 | clean-local: |
---|
84 | if test -r test/Makefile; then cd test; make clean; fi |
---|
85 | |
---|
86 | distclean-local: |
---|
87 | if test -r test/Makefile; then cd test; make distclean; fi |
---|
88 | |
---|
89 | .PHONY: test unitTest |
---|
90 | |
---|
91 | ######################################################################## |
---|
92 | # Installation of the addlibs file # |
---|
93 | ######################################################################## |
---|
94 | |
---|
95 | addlibsfile = cbc_addlibs.txt |
---|
96 | |
---|
97 | install-exec-local: |
---|
98 | $(install_sh_DATA) $(addlibsfile) $(DESTDIR)$(libdir)/$(addlibsfile) |
---|
99 | |
---|
100 | uninstall-local: |
---|
101 | rm -f $(DESTDIR)$(libdir)/$(addlibsfile) |
---|
102 | |
---|
103 | ######################################################################## |
---|
104 | # Maintainer Stuff # |
---|
105 | ######################################################################## |
---|
106 | |
---|
107 | # Files that are generated and should be cleaned with make distclean |
---|
108 | DISTCLEANFILES = |
---|
109 | |
---|
110 | include ../BuildTools/Makemain.inc |
---|