-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathMakefile.am
72 lines (53 loc) · 2.04 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Copyright (C) 2006, 2008 International Business Machines and others.
# All Rights Reserved.
# This file is distributed under the Eclipse Public License.
#
# Author: Andreas Waechter IBM 2006-04-13
include BuildTools/Makemain.inc
########################################################################
# Subdirectories #
########################################################################
# Here list all subdirectories into which to recurse
SUBDIRS = src/Interfaces \
src/Algorithms \
src/CbcBonmin \
src/Apps
########################################################################
# Extra Targets #
########################################################################
.PHONY: doc test unitTest userman astyle nodeSolver doxydoc
test: unitTest
unitTest: all
cd test; $(MAKE) test
nodeSolver: all
cd src/Apps; $(MAKE) nodeSolver
doc: userman
userman: $(top_srcdir)/doc/BONMIN_UsersManual.tex
cd $(top_srcdir)/doc && pdflatex BONMIN_UsersManual.tex
# Doxygen documentation
doxydoc:
doxygen doxydoc/doxygen.conf
clean-doxydoc:
( cd doxydoc ; rm -rf html *.log *.tag )
clean-local: clean-doxydoc
if test -r test/Makefile; then cd test; $(MAKE) clean; fi
install-exec-local: install-doc
uninstall-local: uninstall-doc
astyle:
cd src/Algorithms; $(MAKE) astyle
cd src/Algorithms/Ampl; $(MAKE) astyle
cd src/Algorithms/Branching; $(MAKE) astyle
cd src/Algorithms/OaGenerators; $(MAKE) astyle
cd src/Apps; $(MAKE) astyle
cd src/CbcBonmin; $(MAKE) astyle
cd src/Interfaces; $(MAKE) astyle
cd src/Interfaces/Ampl; $(MAKE) astyle
cd src/Interfaces/Filter; $(MAKE) astyle
cd src/Interfaces/Ipopt; $(MAKE) astyle
########################################################################
# Installation of the .pc file #
########################################################################
pkgconfiglib_DATA = bonmin.pc
if COIN_HAS_ASL
pkgconfiglib_DATA += bonminamplinterface.pc
endif