source: branches/0.9/Bonmin/Makefile.am @ 1006

Last change on this file since 1006 was 1006, checked in by pbonami, 12 years ago

Fix Ticket #19

  • 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 International Business Machines and others.
2# All Rights Reserved.
3# This file is distributed under the Common Public License.
4
5## $Id: Makefile.am 1006 2008-01-04 10:12:44Z pbonami $
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/Interfaces \
17          src/Algorithms \
18          src/CbcBonmin \
19          src/Apps
20
21# We don't want to compile the test subdirectory, unless the test target is
22# specified.  But we need to list it as subdirectory to make sure that it is
23# included in the tarball
24
25if ALWAYS_FALSE
26  SUBDIRS += test
27endif
28
29########################################################################
30#             Additional files to be included in tarball               #
31########################################################################
32
33# Here we need include all files that are not mentioned in other Makefiles
34
35EXTRA_DIST = \
36        doc/Bonmin_ReferenceManual.hpp \
37        doc/Bonm-Min_UsersManual.pdf \
38        doc/Bonm-Min_UsersManual.tex \
39        doc/BOUM_Intro.tex \
40        doc/options.tex \
41        test/InterfaceTest.cpp \
42        test/CppExample/MyTMINLP.hpp \
43        test/CppExample/MyTMINLP.cpp \
44        test/CppExample/MyBonmin.cpp \
45        test/mytoy.nl
46
47########################################################################
48#                           Extra Targets                              #
49########################################################################
50
51.PHONY: doc test unitTest userman astyle nodeSolver
52
53test: unitTest
54
55unitTest: all
56        cd test; $(MAKE) test
57
58nodeSolver: all
59        cd src/Apps; $(MAKE) nodeSolver
60
61doc:    userman
62
63userman: $(top_srcdir)/doc/BONMIN_UsersManual.tex
64        cd $(top_srcdir)/doc && pdflatex BONMIN_UsersManual.tex
65
66astyle:
67        cd src/IpoptInterface; $(MAKE) astyle
68        cd src/CbcBonmin; $(MAKE) astyle
69        cd src/OaInterface; $(MAKE) astyle
70        cd src/Apps; $(MAKE) astyle
71
72########################################################################
73#                         Maintainer Stuff                             #
74########################################################################
75
76# Files that are generated and should be cleaned with make distclean
77DISTCLEANFILES = \
78        Test/*.$(OBJEXT) \
79        Test/unitTest$(EXEEXT) \
80        Test/CppExample/*.$(OBJEXT) \
81        Test/CppExample/CppExample$(EXEEXT) \
82        Test/testtoy.nl
83
84include ../BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.