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 1155 2008-02-05 05:25:58Z tkr $ |
---|
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/basicmodelclasses.xml \ |
---|
34 | doc/clpexe.xml \ |
---|
35 | doc/clpuserguide.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/notsobasic.xml \ |
---|
44 | doc/revhist.xml \ |
---|
45 | doc/Howto/docbook4clp.xml \ |
---|
46 | examples/addBits.cpp \ |
---|
47 | examples/addColumns.cpp \ |
---|
48 | examples/addRows.cpp \ |
---|
49 | examples/decompose.cpp \ |
---|
50 | examples/defaults.cpp \ |
---|
51 | examples/driver2.cpp \ |
---|
52 | examples/driverC.c \ |
---|
53 | examples/driver.cpp \ |
---|
54 | examples/dualCuts.cpp \ |
---|
55 | examples/ekk.cpp \ |
---|
56 | examples/ekk_interface.cpp \ |
---|
57 | examples/hello.cpp \ |
---|
58 | examples/hello.mps \ |
---|
59 | examples/input.130 \ |
---|
60 | examples/INSTALL \ |
---|
61 | examples/makeDual.cpp \ |
---|
62 | examples/Makefile.in \ |
---|
63 | examples/minimum.cpp \ |
---|
64 | examples/network.cpp \ |
---|
65 | examples/piece.cpp \ |
---|
66 | examples/rowColumn.cpp \ |
---|
67 | examples/sprint2.cpp \ |
---|
68 | examples/sprint.cpp \ |
---|
69 | examples/testBarrier.cpp \ |
---|
70 | examples/testBasis.cpp \ |
---|
71 | examples/testGub2.cpp \ |
---|
72 | examples/testGub.cpp \ |
---|
73 | examples/testQP.cpp \ |
---|
74 | examples/useVolume.cpp |
---|
75 | |
---|
76 | ######################################################################## |
---|
77 | # Extra Targets # |
---|
78 | ######################################################################## |
---|
79 | |
---|
80 | test: all |
---|
81 | cd test; $(MAKE) test |
---|
82 | |
---|
83 | unitTest: test |
---|
84 | |
---|
85 | clean-local: |
---|
86 | if test -r test/Makefile; then cd test; $(MAKE) clean; fi |
---|
87 | |
---|
88 | distclean-local: |
---|
89 | if test -r test/Makefile; then cd test; $(MAKE) distclean; fi |
---|
90 | |
---|
91 | .PHONY: test unitTest |
---|
92 | |
---|
93 | ######################################################################## |
---|
94 | # Installation of the addlibs file # |
---|
95 | ######################################################################## |
---|
96 | |
---|
97 | addlibsfile = clp_addlibs.txt |
---|
98 | addlibsdir = $(prefix)/share/doc/coin/$(PACKAGE_NAME)/ |
---|
99 | |
---|
100 | install-exec-local: install-doc |
---|
101 | $(install_sh_DATA) $(addlibsfile) $(addlibsdir)/$(addlibsfile) |
---|
102 | |
---|
103 | uninstall-local: uninstall-doc |
---|
104 | rm -f $(adlibsdir)/$(addlibsfile) |
---|
105 | |
---|
106 | ######################################################################## |
---|
107 | # Maintainer Stuff # |
---|
108 | ######################################################################## |
---|
109 | |
---|
110 | # Files that are generated and should be cleaned with make distclean |
---|
111 | DISTCLEANFILES = |
---|
112 | |
---|
113 | include ../BuildTools/Makemain.inc |
---|