source: trunk/Clp/Makefile.am @ 1696

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

fix addlibs file for cygwin/cl build; rerun autotools

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.8 KB
Line 
1# Copyright (C) 2006 International Business Machines and others.
2# All Rights Reserved.
3# This file is distributed under the Eclipse Public License.
4
5## $Id: Makefile.am 1675 2011-01-08 18:06:21Z forrest $
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
85# Doxygen documentation
86
87doxydoc:
88        doxygen doxydoc/doxygen.conf
89
90clean-doxydoc:
91        ( cd doxydoc ; rm -rf html *.log *.tag )
92
93
94clean-local: clean-doxydoc
95        if test -r test/Makefile; then cd test; $(MAKE) clean; fi
96
97distclean-local:
98        if test -r test/Makefile; then cd test; $(MAKE) distclean; fi
99
100install-exec-local: install-doc
101
102uninstall-local: uninstall-doc
103
104.PHONY: test unitTest doxydoc
105
106########################################################################
107#                    Creation of the addlibs file                      #
108########################################################################
109
110pkgconfiglibdir = $(libdir)/pkgconfig
111pkgconfiglib_DATA = clp.pc
112
113if COIN_HAS_OSI
114pkgconfiglib_DATA += osi-clp.pc
115endif
116
117addlibsdir = $(DESTDIR)$(datadir)/coin/doc/Clp
118       
119install-data-hook:
120        @$(mkdir_p) "$(addlibsdir)"
121if COIN_HAS_PKGCONFIG
122        PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \
123        $(PKG_CONFIG) --libs clp > $(addlibsdir)/clp_addlibs.txt
124else
125if COIN_CXX_IS_CL
126        echo "/libpath:`$(CYGPATH_W) @abs_lib_dir@` libClp.lib @CLPLIB_LIBS_INSTALLED@" > $(addlibsdir)/clp_addlibs_cpp.txt
127else
128        echo -L@abs_lib_dir@ -lClp @CLPLIB_LIBS_INSTALLED@ > $(addlibsdir)/clp_addlibs.txt
129endif
130endif
131
132uninstall-hook:
133        rm -f $(addlibsdir)/clp_addlibs.txt
134
135########################################################################
136#                         Maintainer Stuff                             #
137########################################################################
138
139CLEANFILES =
140
141# Files that are generated and should be cleaned with make distclean
142DISTCLEANFILES =
143
144include BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.