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

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

change library installation directory to libdir; rerun autotools

  • Property svn:keywords set to Author Date Id Revision
File size: 4.5 KB
RevLine 
[1231]1# Copyright (C) 2007-2009 Stefan Vigerske
[430]2# All Rights Reserved.
[1983]3# This file is distributed under the Eclipse Public License.
[430]4
[941]5## $Id: Makefile.am 2004 2010-12-26 15:56:40Z stefan $
[430]6
7AUTOMAKE_OPTIONS = foreign
8
[943]9EXTRA_DIST = get.GLPK INSTALL.Glpk glpk.patch
[430]10
[2004]11lib_LTLIBRARIES = libcoinglpk.la
[430]12
13GLPKDIR = @GLPKDIR@
14
[1548]15libcoinglpk_la_SOURCES = \
[430]16$(GLPKDIR)/src/glpapi01.c \
17$(GLPKDIR)/src/glpapi02.c \
18$(GLPKDIR)/src/glpapi03.c \
[433]19$(GLPKDIR)/src/glpapi04.c \
20$(GLPKDIR)/src/glpapi05.c \
21$(GLPKDIR)/src/glpapi06.c \
22$(GLPKDIR)/src/glpapi07.c \
23$(GLPKDIR)/src/glpapi08.c \
24$(GLPKDIR)/src/glpapi09.c \
25$(GLPKDIR)/src/glpapi10.c \
[542]26$(GLPKDIR)/src/glpapi11.c \
[735]27$(GLPKDIR)/src/glpapi12.c \
[1105]28$(GLPKDIR)/src/glpapi13.c \
29$(GLPKDIR)/src/glpapi14.c \
30$(GLPKDIR)/src/glpapi15.c \
[1226]31$(GLPKDIR)/src/glpapi16.c \
32$(GLPKDIR)/src/glpapi17.c \
[1231]33$(GLPKDIR)/src/glpapi18.c \
34$(GLPKDIR)/src/glpapi19.c \
[430]35$(GLPKDIR)/src/glpavl.c \
[433]36$(GLPKDIR)/src/glpbfd.c \
[430]37$(GLPKDIR)/src/glpbfx.c \
[1212]38$(GLPKDIR)/src/glpcpx.c \
[430]39$(GLPKDIR)/src/glpdmp.c \
[1231]40$(GLPKDIR)/src/glpdmx.c \
[1471]41$(GLPKDIR)/src/glpenv01.c \
42$(GLPKDIR)/src/glpenv02.c \
43$(GLPKDIR)/src/glpenv03.c \
44$(GLPKDIR)/src/glpenv04.c \
45$(GLPKDIR)/src/glpenv05.c \
46$(GLPKDIR)/src/glpenv06.c \
47$(GLPKDIR)/src/glpenv07.c \
48$(GLPKDIR)/src/glpenv08.c \
[433]49$(GLPKDIR)/src/glpfhv.c \
[430]50$(GLPKDIR)/src/glpgmp.c \
51$(GLPKDIR)/src/glphbm.c \
[1176]52$(GLPKDIR)/src/glpini01.c \
53$(GLPKDIR)/src/glpini02.c \
[430]54$(GLPKDIR)/src/glpios01.c \
55$(GLPKDIR)/src/glpios02.c \
[581]56$(GLPKDIR)/src/glpios03.c \
[582]57$(GLPKDIR)/src/glpios04.c \
[788]58$(GLPKDIR)/src/glpios05.c \
[897]59$(GLPKDIR)/src/glpios06.c \
[1212]60$(GLPKDIR)/src/glpios07.c \
61$(GLPKDIR)/src/glpios08.c \
[1226]62$(GLPKDIR)/src/glpios09.c \
[1252]63$(GLPKDIR)/src/glpios10.c \
[1458]64$(GLPKDIR)/src/glpios11.c \
65$(GLPKDIR)/src/glpios12.c \
[430]66$(GLPKDIR)/src/glpipm.c \
67$(GLPKDIR)/src/glplib01.c \
68$(GLPKDIR)/src/glplib02.c \
69$(GLPKDIR)/src/glplib03.c \
70$(GLPKDIR)/src/glplpf.c \
71$(GLPKDIR)/src/glplpx01.c \
72$(GLPKDIR)/src/glplpx02.c \
73$(GLPKDIR)/src/glplpx03.c \
[433]74$(GLPKDIR)/src/glpluf.c \
[430]75$(GLPKDIR)/src/glplux.c \
76$(GLPKDIR)/src/glpmat.c \
[436]77$(GLPKDIR)/src/glpmpl01.c \
78$(GLPKDIR)/src/glpmpl02.c \
79$(GLPKDIR)/src/glpmpl03.c \
80$(GLPKDIR)/src/glpmpl04.c \
[942]81$(GLPKDIR)/src/glpmpl05.c \
[1226]82$(GLPKDIR)/src/glpmpl06.c \
[1299]83$(GLPKDIR)/src/glpmps.c \
[1231]84$(GLPKDIR)/src/glpnet01.c \
85$(GLPKDIR)/src/glpnet02.c \
86$(GLPKDIR)/src/glpnet03.c \
87$(GLPKDIR)/src/glpnet04.c \
88$(GLPKDIR)/src/glpnet05.c \
[1235]89$(GLPKDIR)/src/glpnet06.c \
90$(GLPKDIR)/src/glpnet07.c \
[1441]91$(GLPKDIR)/src/glpnet08.c \
[1471]92$(GLPKDIR)/src/glpnet09.c \
[1299]93$(GLPKDIR)/src/glpnpp01.c \
94$(GLPKDIR)/src/glpnpp02.c \
[1390]95$(GLPKDIR)/src/glpnpp03.c \
[1458]96$(GLPKDIR)/src/glpnpp04.c \
[1471]97$(GLPKDIR)/src/glpnpp05.c \
[430]98$(GLPKDIR)/src/glpqmd.c \
[1212]99$(GLPKDIR)/src/glprgr.c \
[581]100$(GLPKDIR)/src/glprng01.c \
101$(GLPKDIR)/src/glprng02.c \
[430]102$(GLPKDIR)/src/glpscf.c \
[1176]103$(GLPKDIR)/src/glpscl.c \
[1390]104$(GLPKDIR)/src/glpsdf.c \
[942]105$(GLPKDIR)/src/glpspm.c \
[430]106$(GLPKDIR)/src/glpspx01.c \
107$(GLPKDIR)/src/glpspx02.c \
[1105]108$(GLPKDIR)/src/glpsql.c \
[430]109$(GLPKDIR)/src/glpssx01.c \
[1299]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
[430]124
125DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)`
126
[1299]127AM_CPPFLAGS = -I`$(CYGPATH_W) $(srcdir)/$(GLPKDIR)/include` \
128  -I`$(CYGPATH_W) $(srcdir)/$(GLPKDIR)/src` \
129  -I`$(CYGPATH_W) $(srcdir)/$(GLPKDIR)/src/amd` \
130  -I`$(CYGPATH_W) $(srcdir)/$(GLPKDIR)/src/colamd` \
131  -I$(GLPKDIR)
[430]132
133libcoinglpk_la_LDFLAGS = $(LT_LDFLAGS)
134
[1548]135thirdpartyincludedir = $(includedir)/coin/ThirdParty
136thirdpartyinclude_HEADERS = $(GLPKDIR)/include/glpk.h
137
[1635]138pkgconfiglibdir = $(libdir)/pkgconfig
139pkgconfiglib_DATA = coinglpk.pc
140
[1548]141if COIN_HAS_PKGCONFIG
[1635]142addlibsdir = $(DESTDIR)$(datadir)/coin/doc/ThirdParty/Glpk
143       
144install-data-hook:
145        @$(mkdir_p) "$(addlibsdir)"
[1642]146        PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \
[1635]147        $(PKG_CONFIG) --libs coinglpk > $(addlibsdir)/glpk_addlibs.txt
[1649]148       
149uninstall-hook:
150        rm -f $(addlibsdir)/glpk_addlibs.txt
[1548]151endif
152
[1743]153test: $(libampl)
154        @echo "No test available for Glpk."
155
[430]156########################################################################
157#                         Maintainer Stuff                             #
158########################################################################
159
[1649]160CLEANFILES =
[1548]161
[430]162# Files that are generated and should be cleaned with make distclean
163DISTCLEANFILES = $(MAKEOKFILE)
164
[1568]165include BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.