source: ThirdParty/Glpk/trunk/Makefile.am @ 1472

Last change on this file since 1472 was 1471, checked in by stefan, 11 years ago

update to use glpk 4.43

  • Property svn:keywords set to Author Date Id Revision
File size: 5.8 KB
Line 
1# Copyright (C) 2007-2009 Stefan Vigerske
2# All Rights Reserved.
3# This file is distributed under the Common Public License.
4
5## $Id: Makefile.am 1471 2010-02-21 14:17:54Z stefan $
6
7AUTOMAKE_OPTIONS = foreign
8
9EXTRA_DIST = get.GLPK INSTALL.Glpk glpk.patch
10
11if COIN_BUILD_GLPK
12  noinst_LTLIBRARIES = libcoinglpk.la
13else
14  noinst_LTLIBRARIES =
15endif
16
17GLPKDIR = @GLPKDIR@
18
19nodist_libcoinglpk_la_SOURCES = \
20$(GLPKDIR)/src/glpapi01.c \
21$(GLPKDIR)/src/glpapi02.c \
22$(GLPKDIR)/src/glpapi03.c \
23$(GLPKDIR)/src/glpapi04.c \
24$(GLPKDIR)/src/glpapi05.c \
25$(GLPKDIR)/src/glpapi06.c \
26$(GLPKDIR)/src/glpapi07.c \
27$(GLPKDIR)/src/glpapi08.c \
28$(GLPKDIR)/src/glpapi09.c \
29$(GLPKDIR)/src/glpapi10.c \
30$(GLPKDIR)/src/glpapi11.c \
31$(GLPKDIR)/src/glpapi12.c \
32$(GLPKDIR)/src/glpapi13.c \
33$(GLPKDIR)/src/glpapi14.c \
34$(GLPKDIR)/src/glpapi15.c \
35$(GLPKDIR)/src/glpapi16.c \
36$(GLPKDIR)/src/glpapi17.c \
37$(GLPKDIR)/src/glpapi18.c \
38$(GLPKDIR)/src/glpapi19.c \
39$(GLPKDIR)/src/glpavl.c \
40$(GLPKDIR)/src/glpbfd.c \
41$(GLPKDIR)/src/glpbfx.c \
42$(GLPKDIR)/src/glpcpx.c \
43$(GLPKDIR)/src/glpdmp.c \
44$(GLPKDIR)/src/glpdmx.c \
45$(GLPKDIR)/src/glpenv01.c \
46$(GLPKDIR)/src/glpenv02.c \
47$(GLPKDIR)/src/glpenv03.c \
48$(GLPKDIR)/src/glpenv04.c \
49$(GLPKDIR)/src/glpenv05.c \
50$(GLPKDIR)/src/glpenv06.c \
51$(GLPKDIR)/src/glpenv07.c \
52$(GLPKDIR)/src/glpenv08.c \
53$(GLPKDIR)/src/glpfhv.c \
54$(GLPKDIR)/src/glpgmp.c \
55$(GLPKDIR)/src/glphbm.c \
56$(GLPKDIR)/src/glpini01.c \
57$(GLPKDIR)/src/glpini02.c \
58$(GLPKDIR)/src/glpios01.c \
59$(GLPKDIR)/src/glpios02.c \
60$(GLPKDIR)/src/glpios03.c \
61$(GLPKDIR)/src/glpios04.c \
62$(GLPKDIR)/src/glpios05.c \
63$(GLPKDIR)/src/glpios06.c \
64$(GLPKDIR)/src/glpios07.c \
65$(GLPKDIR)/src/glpios08.c \
66$(GLPKDIR)/src/glpios09.c \
67$(GLPKDIR)/src/glpios10.c \
68$(GLPKDIR)/src/glpios11.c \
69$(GLPKDIR)/src/glpios12.c \
70$(GLPKDIR)/src/glpipm.c \
71$(GLPKDIR)/src/glplib01.c \
72$(GLPKDIR)/src/glplib02.c \
73$(GLPKDIR)/src/glplib03.c \
74$(GLPKDIR)/src/glplpf.c \
75$(GLPKDIR)/src/glplpx01.c \
76$(GLPKDIR)/src/glplpx02.c \
77$(GLPKDIR)/src/glplpx03.c \
78$(GLPKDIR)/src/glpluf.c \
79$(GLPKDIR)/src/glplux.c \
80$(GLPKDIR)/src/glpmat.c \
81$(GLPKDIR)/src/glpmpl01.c \
82$(GLPKDIR)/src/glpmpl02.c \
83$(GLPKDIR)/src/glpmpl03.c \
84$(GLPKDIR)/src/glpmpl04.c \
85$(GLPKDIR)/src/glpmpl05.c \
86$(GLPKDIR)/src/glpmpl06.c \
87$(GLPKDIR)/src/glpmps.c \
88$(GLPKDIR)/src/glpnet01.c \
89$(GLPKDIR)/src/glpnet02.c \
90$(GLPKDIR)/src/glpnet03.c \
91$(GLPKDIR)/src/glpnet04.c \
92$(GLPKDIR)/src/glpnet05.c \
93$(GLPKDIR)/src/glpnet06.c \
94$(GLPKDIR)/src/glpnet07.c \
95$(GLPKDIR)/src/glpnet08.c \
96$(GLPKDIR)/src/glpnet09.c \
97$(GLPKDIR)/src/glpnpp01.c \
98$(GLPKDIR)/src/glpnpp02.c \
99$(GLPKDIR)/src/glpnpp03.c \
100$(GLPKDIR)/src/glpnpp04.c \
101$(GLPKDIR)/src/glpnpp05.c \
102$(GLPKDIR)/src/glpqmd.c \
103$(GLPKDIR)/src/glprgr.c \
104$(GLPKDIR)/src/glprng01.c \
105$(GLPKDIR)/src/glprng02.c \
106$(GLPKDIR)/src/glpscf.c \
107$(GLPKDIR)/src/glpscl.c \
108$(GLPKDIR)/src/glpsdf.c \
109$(GLPKDIR)/src/glpspm.c \
110$(GLPKDIR)/src/glpspx01.c \
111$(GLPKDIR)/src/glpspx02.c \
112$(GLPKDIR)/src/glpsql.c \
113$(GLPKDIR)/src/glpssx01.c \
114$(GLPKDIR)/src/glpssx02.c \
115$(GLPKDIR)/src/amd/amd_1.c \
116$(GLPKDIR)/src/amd/amd_2.c \
117$(GLPKDIR)/src/amd/amd_aat.c \
118$(GLPKDIR)/src/amd/amd_control.c \
119$(GLPKDIR)/src/amd/amd_defaults.c \
120$(GLPKDIR)/src/amd/amd_dump.c \
121$(GLPKDIR)/src/amd/amd_info.c \
122$(GLPKDIR)/src/amd/amd_order.c \
123$(GLPKDIR)/src/amd/amd_postorder.c \
124$(GLPKDIR)/src/amd/amd_post_tree.c \
125$(GLPKDIR)/src/amd/amd_preprocess.c \
126$(GLPKDIR)/src/amd/amd_valid.c \
127$(GLPKDIR)/src/colamd/colamd.c
128
129# CoinUtils and SYMPHONY include glpmpl.h, have HAVE_CONFIG_H defined,
130# and so Glpk attempts to include config.h.
131# Therefore, we put a simple config.h file into $(GLPKDIR)/include.
132# It's purpose is to include the config_glpk.h file that is generated
133# by configure.
134libcoinglpk_la_DEPENDENCIES = $(srcdir)/$(GLPKDIR)/include/config.h \
135  $(srcdir)/$(GLPKDIR)/include/glpmpl.h \
136  $(srcdir)/$(GLPKDIR)/include/glpavl.h \
137  $(srcdir)/$(GLPKDIR)/include/glprng.h \
138  $(srcdir)/$(GLPKDIR)/include/glpdmp.h \
139  $(srcdir)/$(GLPKDIR)/include/glpenv.h \
140  $(srcdir)/$(GLPKDIR)/include/glplib.h \
141  $(srcdir)/$(GLPKDIR)/include/glpstd.h
142
143$(srcdir)/$(GLPKDIR)/include/config.h : $(srcdir)/config.h
144        cp $(srcdir)/config.h $(srcdir)/$(GLPKDIR)/include/config.h
145
146$(srcdir)/$(GLPKDIR)/include/glpmpl.h : $(srcdir)/$(GLPKDIR)/src/glpmpl.h
147        cp $(srcdir)/$(GLPKDIR)/src/glpmpl.h $(srcdir)/$(GLPKDIR)/include/glpmpl.h
148
149$(srcdir)/$(GLPKDIR)/include/glpavl.h : $(srcdir)/$(GLPKDIR)/src/glpavl.h
150        cp $(srcdir)/$(GLPKDIR)/src/glpavl.h $(srcdir)/$(GLPKDIR)/include/glpavl.h
151
152$(srcdir)/$(GLPKDIR)/include/glprng.h : $(srcdir)/$(GLPKDIR)/src/glprng.h
153        cp $(srcdir)/$(GLPKDIR)/src/glprng.h $(srcdir)/$(GLPKDIR)/include/glprng.h
154
155$(srcdir)/$(GLPKDIR)/include/glpdmp.h : $(srcdir)/$(GLPKDIR)/src/glpdmp.h
156        cp $(srcdir)/$(GLPKDIR)/src/glpdmp.h $(srcdir)/$(GLPKDIR)/include/glpdmp.h
157
158$(srcdir)/$(GLPKDIR)/include/glpenv.h : $(srcdir)/$(GLPKDIR)/src/glpenv.h
159        cp $(srcdir)/$(GLPKDIR)/src/glpenv.h $(srcdir)/$(GLPKDIR)/include/glpenv.h
160
161$(srcdir)/$(GLPKDIR)/include/glplib.h : $(srcdir)/$(GLPKDIR)/src/glplib.h
162        cp $(srcdir)/$(GLPKDIR)/src/glplib.h $(srcdir)/$(GLPKDIR)/include/glplib.h
163
164$(srcdir)/$(GLPKDIR)/include/glpstd.h : $(srcdir)/$(GLPKDIR)/src/glpstd.h
165        cp $(srcdir)/$(GLPKDIR)/src/glpstd.h $(srcdir)/$(GLPKDIR)/include/glpstd.h
166
167DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)`
168
169AM_CPPFLAGS = -I`$(CYGPATH_W) $(srcdir)/$(GLPKDIR)/include` \
170  -I`$(CYGPATH_W) $(srcdir)/$(GLPKDIR)/src` \
171  -I`$(CYGPATH_W) $(srcdir)/$(GLPKDIR)/src/amd` \
172  -I`$(CYGPATH_W) $(srcdir)/$(GLPKDIR)/src/colamd` \
173  -I$(GLPKDIR)
174
175libcoinglpk_la_LDFLAGS = $(LT_LDFLAGS)
176
177########################################################################
178#                         Maintainer Stuff                             #
179########################################################################
180
181# Files that are generated and should be cleaned with make distclean
182DISTCLEANFILES = $(MAKEOKFILE)
183
184include ../../BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.