Debian Codegraph @

Bonmin/src/Algorithms/QuadCuts/Makefile.am

raw
1 # Copyright (C) 2006, 2007 International Business Machines and others.
2 # All Rights Reserved.
3 # This file is distributed under the Eclipse Public License.
4
5 ## $Id: Makefile.am 433 2007-03-28 05:01:22Z andreasw $
6
7 # Author: Andreas Waechter IBM 2006-04-13
8
9 AUTOMAKE_OPTIONS = foreign
10
11 # Name of the library in this directory
12
13 noinst_LTLIBRARIES = libbonquadcuts.la
14
15 ########################################################################
16 # bonmin library #
17 ########################################################################
18
19 # List all source files, including headers
20 libbonquadcuts_la_SOURCES = \
21 BonArraysHelpers.hpp \
22 BonOuterApprox.cpp \
23 BonOuterApprox.hpp \
24 BonQuadCut.cpp \
25 BonQuadCut.hpp \
26 BonQuadRow.cpp \
27 BonQuadRow.hpp \
28 BonTMatrix.cpp \
29 BonTMatrix.hpp \
30 BonLinearCutsGenerator.hpp \
31 BonLinearCutsGenerator.cpp \
32 BonTMINLPLinObj.hpp \
33 BonTMINLPLinObj.cpp \
34 BonTMINLP2Quad.cpp \
35 BonTMINLP2Quad.hpp
36
37
38 libbonquadcuts_la_DEPENDENCIES = $(libbonquadcuts_la_LIBADD)
39
40 # This is for libtool
41 libbonquadcuts_la_LDFLAGS = $(LT_LDFLAGS)
42
43 # Here list all include flags, relative to this "srcdir" directory. This
44 # "cygpath" stuff is necessary to compile with native compilers on Windows
45 AM_CPPFLAGS = \
46 -I`$(CYGPATH_W) $(srcdir)/../Branching` \
47 -I`$(CYGPATH_W) $(srcdir)/..` \
48 -I`$(CYGPATH_W) $(srcdir)/../OaGenerators` \
49 -I`$(CYGPATH_W) $(srcdir)/../../CbcBonmin` \
50 -I`$(CYGPATH_W) $(srcdir)/../../CbcBonmin/Heuristics` \
51 -I`$(CYGPATH_W) $(srcdir)/../../Interfaces` \
52 -I`$(CYGPATH_W) $(srcdir)/../../Interfaces/Ipopt` \
53 -I`$(CYGPATH_W) $(srcdir)/../../Interfaces/Filter` \
54 $(BONMINLIB_CFLAGS)
55
56 # This line is necessary to allow VPATH compilation
57 DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I$(top_builddir)/src/Interfaces
58
59 ########################################################################
60 # Headers that need to be installed #
61 ########################################################################
62
63 # Here list all the header files that are required by a user of the library,
64 # and that therefore should be installed in 'include/coin'
65 includecoindir = $(includedir)/coin
66 includecoin_HEADERS = \
67 BonArraysHelpers.hpp \
68 BonOuterApprox.hpp \
69 BonQuadCut.hpp \
70 BonQuadRow.hpp \
71 BonTMatrix.hpp \
72 BonTMINLPLinObj.hpp \
73 BonTMINLP2Quad.hpp \
74 BonLinearCutsGenerator.hpp
75
76
77 ########################################################################
78 # Astyle stuff #
79 ########################################################################
80
81 # Here repeat all source files, with "bak" appended
82 ASTYLE_FILES = \
83 BonArraysHelpers.hppbak \
84 BonOuterApprox.cppbak \
85 BonOuterApprox.hppbak \
86 BonQuadCut.cppbak \
87 BonQuadCut.hppbak \
88 BonQuadRow.cppbak \
89 BonQuadRow.hppbak \
90 BonTMatrix.cppbak \
91 BonTMatrix.hppbak \
92 BonTMINLPLinObj.hppbak \
93 BonTMINLPLinObj.cppbak \
94 BonTMINLP2Quad.cppbak \
95 BonTMINLP2Quad.hppbak
96
97 ASTYLE = @ASTYLE@
98 ASTYLEFLAGS = @ASTYLEFLAGS@
99
100 CLEANFILES = $(ASTYLE_FILES)
101
102 SUFFIXES = .cppbak .hppbak
103
104 astyle: $(ASTYLE_FILES)
105
106 .hpp.hppbak:
107 mv $< $@
108 $(ASTYLE) $(ASTYLEFLAGS) < $@ > $<
109 touch $@
110
111 .cpp.cppbak:
112 mv $< $@
113 $(ASTYLE) $(ASTYLEFLAGS) < $@ > $<
114 touch $@