source: trunk/Makefile.am

Last change on this file was 2274, checked in by stefan, 11 days ago

some cleanup; rerun autotools; add ar-lib

  • Property svn:eol-style set to native
  • Property svn:keywords set to Authors Date Id Revision
File size: 2.5 KB
Line 
1# Copyright (C) 2006, 2008 International Business Machines and others.
2# All Rights Reserved.
3# This file is distributed under the Eclipse Public License.
4
5## $Id: Makefile.am 2274 2020-03-19 19:24:46Z stefan $
6
7# Author:  Andreas Waechter           IBM    2006-04-13
8
9########################################################################
10#                          Subdirectories                              #
11########################################################################
12
13# Here list all subdirectories into which to recurse
14SUBDIRS = src/Interfaces \
15        src/Algorithms \
16        src/CbcBonmin \
17        src/Apps
18
19# We don't want to compile the test subdirectory, unless the test target is
20# specified.  But we need to list it as subdirectory to make sure that it is
21# included in the tarball
22
23if ALWAYS_FALSE
24  SUBDIRS += test
25endif
26
27########################################################################
28#                           Extra Targets                              #
29########################################################################
30
31.PHONY: doc test unitTest userman astyle nodeSolver doxydoc
32
33test: unitTest
34
35unitTest: all
36        cd test; $(MAKE) test
37
38nodeSolver: all
39        cd src/Apps; $(MAKE) nodeSolver
40
41doc:    userman
42
43userman: $(top_srcdir)/doc/BONMIN_UsersManual.tex
44        cd $(top_srcdir)/doc && pdflatex BONMIN_UsersManual.tex
45
46# Doxygen documentation
47
48doxydoc:
49        doxygen doxydoc/doxygen.conf
50
51clean-doxydoc:
52        ( cd doxydoc ; rm -rf html *.log *.tag )
53
54clean-local: clean-doxydoc
55        if test -r test/Makefile; then cd test; $(MAKE) clean; fi
56
57install-exec-local: install-doc
58
59uninstall-local: uninstall-doc
60
61astyle:
62        cd src/Algorithms; $(MAKE) astyle
63        cd src/Algorithms/Ampl; $(MAKE) astyle
64        cd src/Algorithms/Branching; $(MAKE) astyle
65        cd src/Algorithms/OaGenerators; $(MAKE) astyle
66        cd src/Apps; $(MAKE) astyle
67        cd src/CbcBonmin; $(MAKE) astyle
68        cd src/Interfaces; $(MAKE) astyle
69        cd src/Interfaces/Ampl; $(MAKE) astyle
70        cd src/Interfaces/Filter; $(MAKE) astyle
71        cd src/Interfaces/Ipopt; $(MAKE) astyle
72
73########################################################################
74#                  Installation of the .pc file                        #
75########################################################################
76
77pkgconfiglibdir = $(libdir)/pkgconfig
78pkgconfiglib_DATA = bonmin.pc
79if COIN_HAS_ASL
80  pkgconfiglib_DATA += bonminamplinterface.pc
81endif
82
83########################################################################
84#                         Maintainer Stuff                             #
85########################################################################
86
87include BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.