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

Last change on this file since 1390 was 1390, checked in by stefan, 10 years ago

update to glpk 4.39

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