source: trunk/Bonmin/Makefile.am @ 1

Last change on this file since 1 was 1, checked in by andreasw, 13 years ago

imported initial code

  • Property svn:eol-style set to native
  • Property svn:keywords set to Authors Date Id Revision
File size: 2.6 KB
Line 
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 1 2006-07-11 14:59:53Z andreasw $
6
7# Author:  Andreas Waechter           IBM    2006-04-13
8
9AUTOMAKE_OPTIONS = foreign
10
11########################################################################
12#                          Subdirectories                              #
13########################################################################
14
15# Here list all subdirectories into which to recurse
16SUBDIRS = src/IpoptInterface \
17        src/BonminAmplInterface \
18        src/OaInterface \
19        src/CbcBonmin \
20        src/Apps
21
22if BUILD_FP
23SUBDIRS += experimental/FP
24endif
25if COIN_HAS_BCP
26SUBDIRS += experimental/Bcp
27endif
28
29# We don't want to compile the test subdirectory, unless the test target is
30# specified.  But we need to list it as subdirectory to make sure that it is
31# included in the tarball
32
33if ALWAYS_FALSE
34  SUBDIRS += test
35endif
36
37########################################################################
38#             Additional files to be included in tarball               #
39########################################################################
40
41# Here we need include all files that are not mentioned in other Makefiles
42
43EXTRA_DIST = \
44        doc/Bonmin_ReferenceManual.hpp \
45        doc/Bonm-Min_UsersManual.pdf \
46        doc/Bonm-Min_UsersManual.tex \
47        doc/BOUM_Intro.tex \
48        doc/options.tex \
49        test/InterfaceTest.cpp \
50        test/CppExample/MyTMINLP.hpp \
51        test/CppExample/MyTMINLP.cpp \
52        test/CppExample/MyBonmin.cpp \
53        test/mytoy.nl
54
55########################################################################
56#                           Extra Targets                              #
57########################################################################
58
59.PHONY: doc test unitTest userman astyle
60
61test: unitTest
62
63unitTest: all
64        cd test; make test
65
66doc:    userman
67
68userman: $(top_srcdir)/doc/BONMIN_UsersManual.tex
69        cd $(top_srcdir)/doc && pdflatex BONMIN_UsersManual.tex
70
71astyle:
72        cd src/IpoptInterface; $(MAKE) astyle
73        cd src/BonminAmplInterface; $(MAKE) astyle
74        cd src/CbcBonmin; $(MAKE) astyle
75        cd src/OaInterface; $(MAKE) astyle
76        cd src/Apps; $(MAKE) astyle
77
78########################################################################
79#                         Maintainer Stuff                             #
80########################################################################
81
82# Files that are generated and should be cleaned with make distclean
83DISTCLEANFILES = \
84        Test/*.$(OBJEXT) \
85        Test/unitTest$(EXEEXT) \
86        Test/CppExample/*.$(OBJEXT) \
87        Test/CppExample/CppExample$(EXEEXT) \
88        Test/testtoy.nl
89
90include ../BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.