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

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

towards making thirdparty projects behave like normal projects: add addlibs and dummy README files; install lib, header, addlibs and README file; compile always but require code to be available

  • 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 1379 2009-07-26 18:33:41Z 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/glpapi20.c \
37$(GLPKDIR)/src/glpavl.c \
38$(GLPKDIR)/src/glpbfd.c \
39$(GLPKDIR)/src/glpbfx.c \
40$(GLPKDIR)/src/glpcpx.c \
41$(GLPKDIR)/src/glpdmp.c \
42$(GLPKDIR)/src/glpdmx.c \
43$(GLPKDIR)/src/glpfhv.c \
44$(GLPKDIR)/src/glpgmp.c \
45$(GLPKDIR)/src/glphbm.c \
46$(GLPKDIR)/src/glpini01.c \
47$(GLPKDIR)/src/glpini02.c \
48$(GLPKDIR)/src/glpios01.c \
49$(GLPKDIR)/src/glpios02.c \
50$(GLPKDIR)/src/glpios03.c \
51$(GLPKDIR)/src/glpios04.c \
52$(GLPKDIR)/src/glpios05.c \
53$(GLPKDIR)/src/glpios06.c \
54$(GLPKDIR)/src/glpios07.c \
55$(GLPKDIR)/src/glpios08.c \
56$(GLPKDIR)/src/glpios09.c \
57$(GLPKDIR)/src/glpios10.c \
58$(GLPKDIR)/src/glpipm.c \
59$(GLPKDIR)/src/glpipp01.c \
60$(GLPKDIR)/src/glpipp02.c \
61$(GLPKDIR)/src/glplib01.c \
62$(GLPKDIR)/src/glplib02.c \
63$(GLPKDIR)/src/glplib03.c \
64$(GLPKDIR)/src/glplib04.c \
65$(GLPKDIR)/src/glplib05.c \
66$(GLPKDIR)/src/glplib06.c \
67$(GLPKDIR)/src/glplib07.c \
68$(GLPKDIR)/src/glplib08.c \
69$(GLPKDIR)/src/glplib09.c \
70$(GLPKDIR)/src/glplib10.c \
71$(GLPKDIR)/src/glplib11.c \
72$(GLPKDIR)/src/glplib12.c \
73$(GLPKDIR)/src/glplpf.c \
74$(GLPKDIR)/src/glplpp01.c \
75$(GLPKDIR)/src/glplpp02.c \
76$(GLPKDIR)/src/glplpx01.c \
77$(GLPKDIR)/src/glplpx02.c \
78$(GLPKDIR)/src/glplpx03.c \
79$(GLPKDIR)/src/glplpx04.c \
80$(GLPKDIR)/src/glplpx05.c \
81$(GLPKDIR)/src/glpluf.c \
82$(GLPKDIR)/src/glplux.c \
83$(GLPKDIR)/src/glpmat.c \
84$(GLPKDIR)/src/glpmpl01.c \
85$(GLPKDIR)/src/glpmpl02.c \
86$(GLPKDIR)/src/glpmpl03.c \
87$(GLPKDIR)/src/glpmpl04.c \
88$(GLPKDIR)/src/glpmpl05.c \
89$(GLPKDIR)/src/glpmpl06.c \
90$(GLPKDIR)/src/glpmps.c \
91$(GLPKDIR)/src/glpnet01.c \
92$(GLPKDIR)/src/glpnet02.c \
93$(GLPKDIR)/src/glpnet03.c \
94$(GLPKDIR)/src/glpnet04.c \
95$(GLPKDIR)/src/glpnet05.c \
96$(GLPKDIR)/src/glpnet06.c \
97$(GLPKDIR)/src/glpnet07.c \
98$(GLPKDIR)/src/glpnpp01.c \
99$(GLPKDIR)/src/glpnpp02.c \
100$(GLPKDIR)/src/glpqmd.c \
101$(GLPKDIR)/src/glprgr.c \
102$(GLPKDIR)/src/glprng01.c \
103$(GLPKDIR)/src/glprng02.c \
104$(GLPKDIR)/src/glpscf.c \
105$(GLPKDIR)/src/glpscg.c \
106$(GLPKDIR)/src/glpscl.c \
107$(GLPKDIR)/src/glpsds.c \
108$(GLPKDIR)/src/glpspm.c \
109$(GLPKDIR)/src/glpspx01.c \
110$(GLPKDIR)/src/glpspx02.c \
111$(GLPKDIR)/src/glpsql.c \
112$(GLPKDIR)/src/glpssx01.c \
113$(GLPKDIR)/src/glpssx02.c \
114$(GLPKDIR)/src/amd/amd_1.c \
115$(GLPKDIR)/src/amd/amd_2.c \
116$(GLPKDIR)/src/amd/amd_aat.c \
117$(GLPKDIR)/src/amd/amd_control.c \
118$(GLPKDIR)/src/amd/amd_defaults.c \
119$(GLPKDIR)/src/amd/amd_dump.c \
120$(GLPKDIR)/src/amd/amd_info.c \
121$(GLPKDIR)/src/amd/amd_order.c \
122$(GLPKDIR)/src/amd/amd_postorder.c \
123$(GLPKDIR)/src/amd/amd_post_tree.c \
124$(GLPKDIR)/src/amd/amd_preprocess.c \
125$(GLPKDIR)/src/amd/amd_valid.c \
126$(GLPKDIR)/src/colamd/colamd.c
127
128# CoinUtils and SYMPHONY include glpmpl.h, have HAVE_CONFIG_H defined,
129# and so Glpk attempts to include config.h.
130# Therefore, we put a simple config.h file into $(GLPKDIR)/include.
131# It's purpose is to include the config_glpk.h file that is generated
132# by configure.
133libcoinglpk_la_DEPENDENCIES = $(srcdir)/$(GLPKDIR)/include/config.h \
134  $(srcdir)/$(GLPKDIR)/include/glpmpl.h \
135  $(srcdir)/$(GLPKDIR)/include/glpavl.h \
136  $(srcdir)/$(GLPKDIR)/include/glprng.h \
137  $(srcdir)/$(GLPKDIR)/include/glpdmp.h \
138  $(srcdir)/$(GLPKDIR)/include/glplib.h \
139  $(srcdir)/$(GLPKDIR)/include/glpstd.h
140
141$(srcdir)/$(GLPKDIR)/include/config.h : $(srcdir)/config.h
142        cp $(srcdir)/config.h $(srcdir)/$(GLPKDIR)/include/config.h
143
144$(srcdir)/$(GLPKDIR)/include/glpmpl.h : $(srcdir)/$(GLPKDIR)/src/glpmpl.h
145        cp $(srcdir)/$(GLPKDIR)/src/glpmpl.h $(srcdir)/$(GLPKDIR)/include/glpmpl.h
146
147$(srcdir)/$(GLPKDIR)/include/glpavl.h : $(srcdir)/$(GLPKDIR)/src/glpavl.h
148        cp $(srcdir)/$(GLPKDIR)/src/glpavl.h $(srcdir)/$(GLPKDIR)/include/glpavl.h
149
150$(srcdir)/$(GLPKDIR)/include/glprng.h : $(srcdir)/$(GLPKDIR)/src/glprng.h
151        cp $(srcdir)/$(GLPKDIR)/src/glprng.h $(srcdir)/$(GLPKDIR)/include/glprng.h
152
153$(srcdir)/$(GLPKDIR)/include/glpdmp.h : $(srcdir)/$(GLPKDIR)/src/glpdmp.h
154        cp $(srcdir)/$(GLPKDIR)/src/glpdmp.h $(srcdir)/$(GLPKDIR)/include/glpdmp.h
155
156$(srcdir)/$(GLPKDIR)/include/glplib.h : $(srcdir)/$(GLPKDIR)/src/glplib.h
157        cp $(srcdir)/$(GLPKDIR)/src/glplib.h $(srcdir)/$(GLPKDIR)/include/glplib.h
158
159$(srcdir)/$(GLPKDIR)/include/glpstd.h : $(srcdir)/$(GLPKDIR)/src/glpstd.h
160        cp $(srcdir)/$(GLPKDIR)/src/glpstd.h $(srcdir)/$(GLPKDIR)/include/glpstd.h
161
162DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)`
163
164AM_CPPFLAGS = -I`$(CYGPATH_W) $(srcdir)/$(GLPKDIR)/include` \
165  -I`$(CYGPATH_W) $(srcdir)/$(GLPKDIR)/src` \
166  -I`$(CYGPATH_W) $(srcdir)/$(GLPKDIR)/src/amd` \
167  -I`$(CYGPATH_W) $(srcdir)/$(GLPKDIR)/src/colamd` \
168  -I$(GLPKDIR)
169
170libcoinglpk_la_LDFLAGS = $(LT_LDFLAGS)
171
172thirdpartyincludedir = $(includedir)/coin/ThirdParty
173thirdpartyinclude_HEADERS = $(GLPKDIR)/include/glpk.h
174
175addlibsdir = $(prefix)/share/doc/coin/ThirdParty/Glpk
176addlibs_DATA = glpk_addlibs.txt README
177
178########################################################################
179#                         Maintainer Stuff                             #
180########################################################################
181
182# Files that are generated and should be cleaned with make distclean
183DISTCLEANFILES = $(MAKEOKFILE)
184
185include ../../BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.