1 | #============================================================================# |
---|
2 | # This file is part of the DIP Solver Framework. # |
---|
3 | # # |
---|
4 | # DIP is distributed under the Eclipse Public License as part of the # |
---|
5 | # COIN-OR repository (http://www.coin-or.org). # |
---|
6 | # # |
---|
7 | # Author: Matthew Galati, SAS Institute Inc. # |
---|
8 | # # |
---|
9 | # Conceptual Design: Matthew Galati, SAS Institute Inc. # |
---|
10 | # Ted Ralphs, Lehigh University # |
---|
11 | # # |
---|
12 | # Copyright (C) 2002-2011, Lehigh University, Matthew Galati, Ted Ralphs # |
---|
13 | # All Rights Reserved. # |
---|
14 | #============================================================================# |
---|
15 | |
---|
16 | AUTOMAKE_OPTIONS = foreign |
---|
17 | EXTRA_DIST = doxydoc/all/doxygen.conf \ |
---|
18 | doxydoc/Dip/doxygen.conf \ |
---|
19 | doxydoc/CoinUtils/doxygen.conf \ |
---|
20 | doxydoc/Osi/doxygen.conf \ |
---|
21 | doxydoc/Clp/doxygen.conf \ |
---|
22 | doxydoc/Cgl/doxygen.conf \ |
---|
23 | doxydoc/Cbc/doxygen.conf \ |
---|
24 | doxydoc/Alps/doxygen.conf |
---|
25 | |
---|
26 | ######################################################################## |
---|
27 | # Subdirectories # |
---|
28 | ######################################################################## |
---|
29 | # subdirs is set by configure as the list of all subdirectories to recurse |
---|
30 | SUBDIRS = $(subdirs) |
---|
31 | SUBDIRS_DOXY = $(SUBDIRS) all |
---|
32 | |
---|
33 | ######################################################################## |
---|
34 | # Extra Targets # |
---|
35 | ######################################################################## |
---|
36 | |
---|
37 | test: all |
---|
38 | cd Dip; $(MAKE) test |
---|
39 | |
---|
40 | tests: all |
---|
41 | for dir in $(SUBDIRS); do \ |
---|
42 | if test -r $$dir/test/Makefile; then \ |
---|
43 | (cd $$dir; $(MAKE) test) \ |
---|
44 | fi; \ |
---|
45 | done |
---|
46 | |
---|
47 | doxydocd: |
---|
48 | (cd $(srcdir)/doxydoc/Dip; doxygen doxygen.conf) |
---|
49 | |
---|
50 | doxydoc: |
---|
51 | for dir in $(SUBDIRS_DOXY); do \ |
---|
52 | if test -r $(srcdir)/doxydoc/$$dir/doxygen.conf; then \ |
---|
53 | (cd $(srcdir)/doxydoc/$$dir; doxygen doxygen.conf) \ |
---|
54 | fi; \ |
---|
55 | done |
---|
56 | |
---|
57 | unitTests: tests |
---|
58 | |
---|
59 | .PHONY: test tests unitTests doxydoc doxydocd |
---|
60 | |
---|
61 | ######################################################################## |
---|
62 | # Maintainer Stuff # |
---|
63 | ######################################################################## |
---|
64 | |
---|
65 | # Files that are generated and should be cleaned with make distclean |
---|
66 | DISTCLEANFILES = coin_subdirs.txt |
---|
67 | |
---|
68 | include BuildTools/Makemain.inc |
---|