source: trunk/Clp/Makefile.am @ 1577

Last change on this file since 1577 was 1577, checked in by stefan, 9 years ago

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

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.3 KB
Line 
1# Copyright (C) 2006 International Business Machines and others.
2# All Rights Reserved.
3# This file is distributed under the Common Public License.
4
5## $Id: Makefile.am 1577 2010-07-22 10:03:20Z stefan $
6
7# Author:  Andreas Waechter           IBM    2006-04-13
8
9AUTOMAKE_OPTIONS = foreign
10
11########################################################################
12#                          Subdirectories                              #
13########################################################################
14
15SUBDIRS = src
16
17# We don't want to compile the test subdirectory, unless the test target is
18# specified.  But we need to list it as subdirectory to make sure that it is
19# included in the tarball
20
21if ALWAYS_FALSE
22  SUBDIRS += test
23endif
24
25########################################################################
26#             Additional files to be included in tarball               #
27########################################################################
28
29# Here we need include all files that are not mentioned in other Makefiles
30
31EXTRA_DIST = \
32        doc/authors.xml \
33        doc/basicmodelclasses.xml \
34        doc/clpexe.xml \
35        doc/clpuserguide.xml \
36        doc/doxygen.xml \
37        doc/faqcontent.xml \
38        doc/faq.xml \
39        doc/intro.xml \
40        doc/legal.xml \
41        doc/messages.xml \
42        doc/moresamples.xml \
43        doc/notsobasic.xml \
44        doc/revhist.xml \
45        doc/Howto/docbook4clp.xml \
46        examples/addBits.cpp \
47        examples/addColumns.cpp \
48        examples/addRows.cpp \
49        examples/decompose.cpp \
50        examples/defaults.cpp \
51        examples/driver2.cpp \
52        examples/driverC.c \
53        examples/driver.cpp \
54        examples/dualCuts.cpp \
55        examples/ekk.cpp \
56        examples/ekk_interface.cpp \
57        examples/hello.cpp \
58        examples/hello.mps \
59        examples/input.130 \
60        examples/INSTALL \
61        examples/makeDual.cpp \
62        examples/Makefile.in \
63        examples/minimum.cpp \
64        examples/network.cpp \
65        examples/piece.cpp \
66        examples/rowColumn.cpp \
67        examples/sprint2.cpp \
68        examples/sprint.cpp \
69        examples/testBarrier.cpp \
70        examples/testBasis.cpp \
71        examples/testGub2.cpp \
72        examples/testGub.cpp \
73        examples/testQP.cpp \
74        examples/useVolume.cpp
75
76########################################################################
77#                           Extra Targets                              #
78########################################################################
79
80test: all
81        cd test; $(MAKE) test
82
83unitTest: test
84
85clean-local:
86        if test -r test/Makefile; then cd test; $(MAKE) clean; fi
87
88distclean-local:
89        if test -r test/Makefile; then cd test; $(MAKE) distclean; fi
90
91install-exec-local: install-doc
92
93uninstall-local: uninstall-doc
94
95.PHONY: test unitTest
96
97########################################################################
98#                    Creation of the addlibs file                      #
99########################################################################
100
101pkgconfiglibdir = $(libdir)/pkgconfig
102pkgconfiglib_DATA = clp.pc
103
104if COIN_HAS_PKGCONFIG
105addlibsdir = $(DESTDIR)$(datadir)/coin/doc/Clp
106       
107install-data-hook:
108        @$(mkdir_p) "$(addlibsdir)"
109        PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ PKG_CONFIG_DISABLE_UNINSTALLED= \
110        $(PKG_CONFIG) --libs clp > $(addlibsdir)/clp_addlibs.txt
111endif
112
113########################################################################
114#                         Maintainer Stuff                             #
115########################################################################
116
117CLEANFILES = clp_addlibs.txt
118
119# Files that are generated and should be cleaned with make distclean
120DISTCLEANFILES =
121
122include BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.