source: ThirdParty/ASL/trunk/Makefile.am

Last change on this file was 4156, checked in by stefan, 14 months ago

exclude xectim.c

  • that may use clock_gettime, which then may require -lrt and there seems to be noone in COIN-OR actually using this function
  • Property svn:keywords set to Author Date Id Revision
File size: 3.5 KB
Line 
1# Copyright (C) 2019 COIN-OR
2# All Rights Reserved.
3# This file is distributed under the Eclipse Public License.
4
5EXTRA_DIST = get.ASL INSTALL.ASL
6
7lib_LTLIBRARIES = libcoinasl.la
8
9libcoinasl_la_SOURCES = \
10        solvers/asldate.c \
11        solvers/atof.c \
12        solvers/auxinfo.c \
13        solvers/avltree.c \
14        solvers/b_search.c \
15        solvers/basename.c \
16        solvers/bscanf.c \
17        solvers/com2eval.c \
18        solvers/comeval.c \
19        solvers/con1ival.c \
20        solvers/con2ival.c \
21        solvers/con2val.c \
22        solvers/conadj.c \
23        solvers/conpval.c \
24        solvers/conscale.c \
25        solvers/conval.c \
26        solvers/degree.c \
27        solvers/derprop.c \
28        solvers/duthes.c \
29        solvers/dtoa1.c \
30        solvers/dynlink.c \
31        solvers/f_read.c \
32        solvers/fg_read.c \
33        solvers/fg_write.c \
34        solvers/fgh_read.c \
35        solvers/fpecatch.c \
36        solvers/fullhes.c \
37        solvers/func_add.c \
38        solvers/funcadd1.c \
39        solvers/g_fmt.c \
40        solvers/genrowno.c \
41        solvers/getenv.c \
42        solvers/getstub.c \
43        solvers/htcl.c \
44        solvers/indic_cons.c \
45        solvers/jac0dim.c \
46        solvers/jac2dim.c \
47        solvers/jacdim.c \
48        solvers/jacinc.c \
49        solvers/jacinc1.c \
50        solvers/libnamsave.c \
51        solvers/mach.c \
52        solvers/mainexit.c \
53        solvers/mip_pri.c \
54        solvers/misc.c \
55        solvers/mpec_adj.c \
56        solvers/mqpcheckv.c \
57        solvers/mypow.c \
58        solvers/names.c \
59        solvers/nl_obj.c \
60        solvers/nqpcheck.c \
61        solvers/nqpcheckZ.c \
62        solvers/obj2val.c \
63        solvers/obj_adj.c \
64        solvers/obj_prec.c \
65        solvers/objconst.c \
66        solvers/objval.c \
67        solvers/objval_.c \
68        solvers/op_type.c \
69        solvers/pfg_read.c \
70        solvers/pfghread.c \
71        solvers/printf.c \
72        solvers/pshvprod.c \
73        solvers/punknown.c \
74        solvers/qp_read.c \
75        solvers/qpcheck.c \
76        solvers/qpcheckZ.c \
77        solvers/qsortv.c \
78        solvers/readsol.c \
79        solvers/repwhere.c \
80        solvers/rops.c \
81        solvers/rops2.c \
82        solvers/sigcatch.c \
83        solvers/sos_add.c \
84        solvers/sphes.c \
85        solvers/sscanf.c \
86        solvers/stderr.c \
87        solvers/studchk0.c \
88        solvers/suf_sos.c \
89        solvers/value.c \
90        solvers/writesol.c \
91        solvers/wrtsol_.c \
92        solvers/ws_desc.c \
93        solvers/wsu_desc.c \
94        solvers/x2check.c \
95        solvers/xp1known.c \
96        solvers/xp2known.c \
97        details.c \
98        arith.h
99
100if CC_IS_CL
101  libcoinasl_la_SOURCES += solvers/fpinitmt.c
102else
103  libcoinasl_la_SOURCES += solvers/fpinit.c
104endif
105
106libcoinasl_la_LIBADD = $(ASL_LFLAGS)
107
108# This is for libtool
109libcoinasl_la_LDFLAGS = $(LT_LDFLAGS)
110
111# make sure that arith.h is build before any of the actual ASL sources
112BUILT_SOURCES = arith.h
113
114# program that generates arith.h
115# NOTE: current ASL provides an alternative that doesn't require
116#  building and executing something first
117noinst_PROGRAMS = arithchk
118arithchk_SOURCES = solvers/arithchk.c
119if CC_IS_CL
120  arithchk_CPPFLAGS = -DNO_FPINIT
121else
122  arithchk_CPPFLAGS = -DASL_NO_FPINITMT
123  arithchk_SOURCES += fpinit.c
124endif
125arithchk_LDADD = $(ASL_LFLAGS)
126
127arith.h : arithchk$(EXEEXT)
128        ./arithchk$(EXEEXT) > $@
129
130details.c :
131        echo "char sysdetails_ASL[] = \"$(build)\";" > $@
132
133# Suppress default defines from autoheader
134DEFS =
135
136########################################################################
137#                           Extra Targets                              #
138########################################################################
139
140test:
141        @echo "No test available for ASL."
142
143thirdpartyincludedir = $(includedir)/coin-or/asl
144thirdpartyinclude_HEADERS = \
145  solvers/asl.h solvers/asl_pfg.h solvers/asl_pfgh.h solvers/psinfo.h solvers/funcadd.h \
146  solvers/nlp.h solvers/nlp2.h solvers/getstub.h solvers/opcode.hd solvers/r_opn.hd \
147  stdio1.h arith.h
148
149pkgconfiglibdir = $(libdir)/pkgconfig
150pkgconfiglib_DATA = coinasl.pc
151
152CLEANFILES = arith.h details.c
Note: See TracBrowser for help on using the repository browser.