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

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

create xxx_addlibs.txt after installation by using only .pc files of installed projects; rerun autotools

  • Property svn:keywords set to Author Date Id Revision
File size: 4.4 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 1635 2010-07-22 10:01:41Z stefan $
6
7AUTOMAKE_OPTIONS = foreign
8
9EXTRA_DIST = get.GLPK INSTALL.Glpk glpk.patch
10
11thirdpartylibdir = $(libdir)/coin/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/glpenv01.c \
43$(GLPKDIR)/src/glpenv02.c \
44$(GLPKDIR)/src/glpenv03.c \
45$(GLPKDIR)/src/glpenv04.c \
46$(GLPKDIR)/src/glpenv05.c \
47$(GLPKDIR)/src/glpenv06.c \
48$(GLPKDIR)/src/glpenv07.c \
49$(GLPKDIR)/src/glpenv08.c \
50$(GLPKDIR)/src/glpfhv.c \
51$(GLPKDIR)/src/glpgmp.c \
52$(GLPKDIR)/src/glphbm.c \
53$(GLPKDIR)/src/glpini01.c \
54$(GLPKDIR)/src/glpini02.c \
55$(GLPKDIR)/src/glpios01.c \
56$(GLPKDIR)/src/glpios02.c \
57$(GLPKDIR)/src/glpios03.c \
58$(GLPKDIR)/src/glpios04.c \
59$(GLPKDIR)/src/glpios05.c \
60$(GLPKDIR)/src/glpios06.c \
61$(GLPKDIR)/src/glpios07.c \
62$(GLPKDIR)/src/glpios08.c \
63$(GLPKDIR)/src/glpios09.c \
64$(GLPKDIR)/src/glpios10.c \
65$(GLPKDIR)/src/glpios11.c \
66$(GLPKDIR)/src/glpios12.c \
67$(GLPKDIR)/src/glpipm.c \
68$(GLPKDIR)/src/glplib01.c \
69$(GLPKDIR)/src/glplib02.c \
70$(GLPKDIR)/src/glplib03.c \
71$(GLPKDIR)/src/glplpf.c \
72$(GLPKDIR)/src/glplpx01.c \
73$(GLPKDIR)/src/glplpx02.c \
74$(GLPKDIR)/src/glplpx03.c \
75$(GLPKDIR)/src/glpluf.c \
76$(GLPKDIR)/src/glplux.c \
77$(GLPKDIR)/src/glpmat.c \
78$(GLPKDIR)/src/glpmpl01.c \
79$(GLPKDIR)/src/glpmpl02.c \
80$(GLPKDIR)/src/glpmpl03.c \
81$(GLPKDIR)/src/glpmpl04.c \
82$(GLPKDIR)/src/glpmpl05.c \
83$(GLPKDIR)/src/glpmpl06.c \
84$(GLPKDIR)/src/glpmps.c \
85$(GLPKDIR)/src/glpnet01.c \
86$(GLPKDIR)/src/glpnet02.c \
87$(GLPKDIR)/src/glpnet03.c \
88$(GLPKDIR)/src/glpnet04.c \
89$(GLPKDIR)/src/glpnet05.c \
90$(GLPKDIR)/src/glpnet06.c \
91$(GLPKDIR)/src/glpnet07.c \
92$(GLPKDIR)/src/glpnet08.c \
93$(GLPKDIR)/src/glpnet09.c \
94$(GLPKDIR)/src/glpnpp01.c \
95$(GLPKDIR)/src/glpnpp02.c \
96$(GLPKDIR)/src/glpnpp03.c \
97$(GLPKDIR)/src/glpnpp04.c \
98$(GLPKDIR)/src/glpnpp05.c \
99$(GLPKDIR)/src/glpqmd.c \
100$(GLPKDIR)/src/glprgr.c \
101$(GLPKDIR)/src/glprng01.c \
102$(GLPKDIR)/src/glprng02.c \
103$(GLPKDIR)/src/glpscf.c \
104$(GLPKDIR)/src/glpscl.c \
105$(GLPKDIR)/src/glpsdf.c \
106$(GLPKDIR)/src/glpspm.c \
107$(GLPKDIR)/src/glpspx01.c \
108$(GLPKDIR)/src/glpspx02.c \
109$(GLPKDIR)/src/glpsql.c \
110$(GLPKDIR)/src/glpssx01.c \
111$(GLPKDIR)/src/glpssx02.c \
112$(GLPKDIR)/src/amd/amd_1.c \
113$(GLPKDIR)/src/amd/amd_2.c \
114$(GLPKDIR)/src/amd/amd_aat.c \
115$(GLPKDIR)/src/amd/amd_control.c \
116$(GLPKDIR)/src/amd/amd_defaults.c \
117$(GLPKDIR)/src/amd/amd_dump.c \
118$(GLPKDIR)/src/amd/amd_info.c \
119$(GLPKDIR)/src/amd/amd_order.c \
120$(GLPKDIR)/src/amd/amd_postorder.c \
121$(GLPKDIR)/src/amd/amd_post_tree.c \
122$(GLPKDIR)/src/amd/amd_preprocess.c \
123$(GLPKDIR)/src/amd/amd_valid.c \
124$(GLPKDIR)/src/colamd/colamd.c
125
126DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)`
127
128AM_CPPFLAGS = -I`$(CYGPATH_W) $(srcdir)/$(GLPKDIR)/include` \
129  -I`$(CYGPATH_W) $(srcdir)/$(GLPKDIR)/src` \
130  -I`$(CYGPATH_W) $(srcdir)/$(GLPKDIR)/src/amd` \
131  -I`$(CYGPATH_W) $(srcdir)/$(GLPKDIR)/src/colamd` \
132  -I$(GLPKDIR)
133
134libcoinglpk_la_LDFLAGS = $(LT_LDFLAGS)
135
136thirdpartyincludedir = $(includedir)/coin/ThirdParty
137thirdpartyinclude_HEADERS = $(GLPKDIR)/include/glpk.h
138
139pkgconfiglibdir = $(libdir)/pkgconfig
140pkgconfiglib_DATA = coinglpk.pc
141
142if COIN_HAS_PKGCONFIG
143addlibsdir = $(DESTDIR)$(datadir)/coin/doc/ThirdParty/Glpk
144       
145install-data-hook:
146        @$(mkdir_p) "$(addlibsdir)"
147        PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ PKG_CONFIG_DISABLE_UNINSTALLED= \
148        $(PKG_CONFIG) --libs coinglpk > $(addlibsdir)/glpk_addlibs.txt
149endif
150
151########################################################################
152#                         Maintainer Stuff                             #
153########################################################################
154
155CLEANFILES = glpk_addlibs.txt
156
157# Files that are generated and should be cleaned with make distclean
158DISTCLEANFILES = $(MAKEOKFILE)
159
160include BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.