source: trunk/Clp/src/Makefile.am @ 754

Last change on this file since 754 was 754, checked in by andreasw, 13 years ago

first version

  • Property svn:eol-style set to native
  • Property svn:keywords set to "Author Date Id Revision"
File size: 4.7 KB
RevLine 
[754]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 754 2006-05-10 21:17:57Z andreasw $
6
7# Author:  Andreas Waechter           IBM    2006-04-13
8
9AUTOMAKE_OPTIONS = foreign
10
11########################################################################
12#                               libClp                                 #
13########################################################################
14
15# Name of the library compiled in this directory.  We want it to be installed
16# in the 'lib' directory
17lib_LTLIBRARIES = libClp.la
18
19# List all source files for this library, including headers
20libClp_la_SOURCES = \
21        ClpCholeskyBase.cpp ClpCholeskyBase.hpp \
22        ClpCholeskyDense.cpp ClpCholeskyDense.hpp \
23        ClpCholeskyUfl.cpp ClpCholeskyUfl.hpp \
24        Clp_C_Interface.cpp Clp_C_Interface.h \
25        ClpDualRowDantzig.cpp ClpDualRowDantzig.hpp \
26        ClpDualRowPivot.cpp ClpDualRowPivot.hpp \
27        ClpDualRowSteepest.cpp ClpDualRowSteepest.hpp \
28        ClpDummyMatrix.cpp ClpDummyMatrix.hpp \
29        ClpDynamicExampleMatrix.cpp ClpDynamicExampleMatrix.hpp \
30        ClpDynamicMatrix.cpp ClpDynamicMatrix.hpp \
31        ClpEventHandler.cpp ClpEventHandler.hpp \
32        ClpFactorization.cpp ClpFactorization.hpp \
33        ClpGubDynamicMatrix.cpp ClpGubDynamicMatrix.hpp \
34        ClpGubMatrix.cpp ClpGubMatrix.hpp \
35        ClpHelperFunctions.cpp ClpHelperFunctions.hpp \
36        ClpInterior.cpp ClpInterior.hpp \
37        ClpLinearObjective.cpp ClpLinearObjective.hpp \
38        ClpMatrixBase.cpp ClpMatrixBase.hpp \
39        ClpMessage.cpp ClpMessage.hpp \
40        ClpModel.cpp ClpModel.hpp \
41        ClpNetworkBasis.cpp ClpNetworkBasis.hpp \
42        ClpNetworkMatrix.cpp ClpNetworkMatrix.hpp \
43        ClpNonLinearCost.cpp ClpNonLinearCost.hpp \
44        ClpObjective.cpp ClpObjective.hpp \
45        ClpPackedMatrix.cpp ClpPackedMatrix.hpp \
46        ClpParameters.hpp \
47        ClpPlusMinusOneMatrix.cpp ClpPlusMinusOneMatrix.hpp \
48        ClpPredictorCorrector.cpp ClpPredictorCorrector.hpp \
49        ClpPresolve.cpp ClpPresolve.hpp \
50        ClpPrimalColumnDantzig.cpp ClpPrimalColumnDantzig.hpp \
51        ClpPrimalColumnPivot.cpp ClpPrimalColumnPivot.hpp \
52        ClpPrimalColumnSteepest.cpp ClpPrimalColumnSteepest.hpp \
53        ClpQuadraticObjective.cpp ClpQuadraticObjective.hpp \
54        ClpSimplex.cpp ClpSimplex.hpp \
55        ClpSimplexDual.cpp ClpSimplexDual.hpp \
56        ClpSimplexNonlinear.cpp ClpSimplexNonlinear.hpp \
57        ClpSimplexOther.cpp ClpSimplexOther.hpp \
58        ClpSimplexPrimal.cpp ClpSimplexPrimal.hpp \
59        ClpSolve.cpp ClpSolve.hpp \
60        Idiot.cpp Idiot.hpp \
61        IdiSolve.cpp
62
63# This is for libtool (on Windows)
64libClp_la_LDFLAGS = -no-undefined
65
66# Here list all include flags, relative to this "srcdir" directory.  This
67# "cygpath" stuff is necessary to compile with native compilers on Windows.
68# "top_srcdir" refers to the basic directory for the main package that is
69# being compiled.
70CXXFLAGS += \
71        -I`$(CYGPATH_W) $(COINBASESRCDIR)/src`
72
73########################################################################
74#                Headers that need to be installed                     #
75########################################################################
76
77# Here list all the header files that are required by a user of the library,
78# and that therefore should be installed in 'install'
79include_HEADERS = \
80        ClpDualRowDantzig.hpp \
81        ClpDualRowPivot.hpp \
82        ClpDualRowSteepest.hpp \
83        ClpEventHandler.hpp \
84        ClpFactorization.hpp \
85        ClpInterior.hpp \
86        ClpLinearObjective.hpp \
87        ClpMatrixBase.hpp \
88        ClpMessage.hpp \
89        ClpModel.hpp \
90        ClpNetworkMatrix.hpp \
91        ClpNonLinearCost.hpp \
92        ClpObjective.hpp \
93        ClpPackedMatrix.hpp \
94        ClpPlusMinusOneMatrix.hpp \
95        ClpParameters.hpp \
96        ClpPresolve.hpp \
97        ClpPrimalColumnDantzig.hpp \
98        ClpPrimalColumnPivot.hpp \
99        ClpPrimalColumnSteepest.hpp \
100        ClpSimplex.hpp \
101        ClpSimplexNonlinear.hpp \
102        ClpSimplexOther.hpp \
103        ClpSimplexPrimal.hpp \
104        ClpSolve.hpp \
105        Idiot.hpp
106
107########################################################################
108#     Generating the configure header that is to be distributed        #
109########################################################################
110
111# You should only need to adapt the following three lines
112CONFIG_DIST = ClpConfig.hpp
113CONFIG_H = config_clp.h
114$(libClp_la_OBJECTS): ../inc/$(CONFIG_DIST)
115
116nodist_include_HEADERS = ../inc/$(CONFIG_DIST)
117
118../inc/$(CONFIG_DIST): ../inc/$(CONFIG_H)
119        echo "/** Required defines from $(CONFIG_H) */" >bla.tmp
120        echo "#ifndef __$(CONFIG_DIST)__" | sed -e 's/\./_/g' >>bla.tmp
121        echo "#define __$(CONFIG_DIST)__" | sed -e 's/\./_/g' >>bla.tmp
122        $(EGREP) 'COIN_HAS' $< >>bla.tmp
123        echo "#endif" >>bla.tmp
124        if test -r ../inc/$(CONFIG_DIST); then \
125          if diff ./inc/$(CONFIG_DIST) bla.tmp >/dev/null 2>1 ; then \
126            rm -f bla.tmp; \
127          else \
128            rm -f ../inc/$(CONFIG_DIST); \
129            mv bla.tmp ../inc/$(CONFIG_DIST); \
130          fi; \
131        else \
132          mv bla.tmp ../inc/$(CONFIG_DIST); \
133        fi
134
135CLEANFILES = bla.tmp
136
137DISTCLEANFILES = $(CONFIG_DIST)
Note: See TracBrowser for help on using the repository browser.