source: git/Singular/Makefile.am @ f4cb99a

spielwiese
Last change on this file since f4cb99a was f4cb99a, checked in by Oleksandr Motsak <motsak@…>, 11 years ago
Updating the BS + search pathes for better binary distribution (due to Hans)
  • Property mode set to 100644
File size: 14.3 KB
RevLine 
[151a06]1# PIPE = -pipe
2# ???
3#LD_DYN_FLAGS   = -ldl -rdynamic
4#SFLAGS         = -fpic -DPIC
5#SLDFLAGS       = -shared
6#LD_LIBC                = -lc
7#STATIC_LDFLAGS = -static
8
[dd156fc]9WARNCFLAGS = -Wunused-parameter
10# clang has also: -Wunneeded-internal-declaration
[151a06]11
[dd156fc]12NODEBUGCFLAGS   = -O3 -w -fomit-frame-pointer $(WARNCFLAGS)
13NODEBUGCXXFLAGS = -O3 -w -fomit-frame-pointer $(WARNCFLAGS)
[151a06]14NODEBUGDEFS = -DNDEBUG -DOM_NDEBUG
15
[8e7e6d4]16CXXTEMPLFLAGS =-ftrapv ## -fno-implicit-templates
[151a06]17
[c1e7a6]18AM_CPPFLAGS = -I${top_srcdir} -I${top_builddir} -I${top_srcdir}/numeric -I${top_builddir}/numeric -I${top_srcdir}/kernel -I${top_builddir}/kernel -I${top_srcdir}/libpolys -I${top_builddir}/libpolys $(GMP_CFLAGS) -I${top_srcdir}/factory/include -I${top_builddir}/factory/include $(FACTORY_CFLAGS) $(NTL_CFLAGS) $(FLINT_CFLAGS) ${EMBED_PYOBJECT_CFLAGS}
[151a06]19
[b9e11ba]20########################### libSingular* #########################
21
[2b43ac]22if WANT_DEBUG
23  LIB_G=libSingular_g.la
24else
25  LIB_G=
26endif
27
28libSingular_LTLIBRARIES = libSingular.la ${LIB_G}
[c2eb2e]29libSingulardir = $(libdir)/singular
[151a06]30
[5e28ea]31libSingular_la_CFLAGS   = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE}  $(WARNCFLAGS)
32libSingular_g_la_CFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE}  $(WARNCFLAGS)
[151a06]33
[5e28ea]34libSingular_la_CXXFLAGS   = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)  $(WARNCFLAGS)
35libSingular_g_la_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)   $(WARNCFLAGS)
[151a06]36# -fdiagnostics-show-option
37
[1d3be3]38
[bd795d]39libSingular_la_CPPFLAGS   = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DLIBSINGULAR
40libSingular_g_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DLIBSINGULAR
[151a06]41
42SOURCES =    Minor.cc\
43   MinorInterface.cc\
44   MinorProcessor.cc\
[4da485]45   links/asciiLink.cc\
[151a06]46   attrib.cc\
47   bbcone.cc\
48   bbfan.cc\
49   bigintm.cc\
50   blackbox.cc\
51   calcSVD.cc\
52   cntrlc.cc\
[ee1465]53   countedref.cc\
[151a06]54   denom_list.cc\
55   eigenval_ip.cc\
56   extra.cc\
57   feOpt.cc\
58   fehelp.cc\
59   fevoices.cc\
60   fglm.cc\
61   gms.cc\
62   grammar.cc\
63   interpolation.cc\
64   iparith.cc\
65   ipassign.cc\
66   ipconv.cc\
67   ipid.cc\
68   iplib.cc\
69   ipprint.cc\
70   ipshell.cc\
71   janet.cc\
72   libparse.cc\
73   linearAlgebra_ip.cc\
74   lists.cc\
75   maps_ip.cc\
76   minpoly.cc\
77   misc_ip.cc\
[47367fd]78   links/ndbm.cc\
[151a06]79   newstruct.cc\
80   pcv.cc\
[47367fd]81   links/pipeLink.cc\
[151a06]82   scanner.cc\
83   sdb.cc\
[00e336]84   links/s_buff.cc\
[47367fd]85   links/silink.cc\
86   links/sing_dbm.cc\
[151a06]87   sing_win.cc\
[44ca2f]88   links/slInit_Static.cc\
[47367fd]89   links/ssiLink.cc\
[281e8e]90   links/semaphore.c\
[151a06]91   subexpr.cc\
[b36460]92   pyobject_setup.cc\
[151a06]93   walk.cc\
94   walk_ip.cc\
95   wrapper.cc\
[281e8e]96   fereadl.c mmstd.c claptmpl.cc
[151a06]97
[44ca2f]98#   links/slInit_Dynamic.cc
[151a06]99
[bd795d]100libSingular_la_SOURCES   = $(SOURCES) feOpt.inc
101libSingular_g_la_SOURCES = $(SOURCES) feOpt.inc
[151a06]102
103SingularHEADERS =    Cache.h \
104   CacheImplementation.h \
105   Minor.h \
106   MinorInterface.h \
107   MinorProcessor.h \
108   attrib.h \
109   bigintm.h \
110   blackbox.h \
111   cntrlc.h \
[ee1465]112   countedref.h \
[47367fd]113   links/dbm_sl.h \
[151a06]114   distrib.h \
115   eigenval_ip.h \
[c2eb2e]116   feOpt.h feOptTab.h fehelp.h \
[151a06]117   fglm.h \
118   gms.h \
119   grammar.h \
120   interpolation.h \
[c2eb2e]121   idrec.h \
[151a06]122   ipconv.h \
123   ipid.h \
124   ipprint.h \
125   ipshell.h \
126   janet.h \
127   libparse.h \
128   libsingular.h \
[c2eb2e]129   linearAlgebra_ip.h\
[151a06]130   lists.h \
131   locals.h \
132   maps_ip.h \
133   minpoly.h \
134   misc_ip.h \
135   mmalloc.h \
136   omSingularConfig.h \
[47367fd]137   links/ndbm.h \
[151a06]138   newstruct.h \
139   pcv.h \
[47367fd]140   links/pipeLink.h \
[151a06]141   pyobject_setup.h \
142   run.h \
143   sdb.h \
[44ca2f]144   links/silink.h \
[00e336]145   links/s_buff.h \
[47367fd]146   links/sing_dbm.h \
[151a06]147   sing_win.h \
[44ca2f]148   links/slInit.h \
[47367fd]149   links/ssiLink.h \
[281e8e]150   links/simpleipc.h \
[151a06]151   stype.h \
152   subexpr.h \
153   table.h \
154   tok.h \
[bd795d]155   walk.h
[dd5fa6]156
[28b503]157# plural_cmd.inc
[d828d63]158nodist_libSingular_la_SOURCES = iparith.inc
159nodist_libSingular_g_la_SOURCES = iparith.inc
[151a06]160
[772990]161noinst_HEADERS = version.h
162
163
[c2eb2e]164libSingular_includedir = ${includedir}/singular/Singular/
[0ff203]165nobase_libSingular_include_HEADERS = $(SingularHEADERS)
[151a06]166
167if ENABLE_FACTORY
168  USE_FACTORY = -L${top_builddir}/factory
169else
170  USE_FACTORY =
171endif
172
173#########################################################
174# handle all the generated *.inc
175
[0419ab]176noinst_PROGRAMS = gentable1 feOptGen feOptES feOptTS
[151a06]177
178gentable1_SOURCES = gentable.cc grammar.h tok.h table.h
179gentable1_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
[5e28ea]180gentable1_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
[bd795d]181gentable1_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG
[151a06]182
[bd795d]183feOptGen_SOURCES = feOptGen.cc feOptGen.h
[5e28ea]184feOptGen_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
[bd795d]185feOptGen_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG
[151a06]186
[69ad7e]187feOptES_SOURCES = feOptGen.cc feOptGen.h
[5e28ea]188feOptES_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
[bd795d]189feOptES_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DESINGULAR
[151a06]190
[69ad7e]191feOptTS_SOURCES = feOptGen.cc feOptGen.h
[5e28ea]192feOptTS_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
[bd795d]193feOptTS_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DTSINGULAR
[151a06]194
195########################### Singular* #########################
196
[0d59f94]197EXTRA_PROGRAMS = Singulard libparse
[0ee865]198
[bd795d]199# the "optional_programs" variable should be defined in the configure
200# script, and listed in an AC_SUBST macro
201optional_Singular_programs =
202
[0d59f94]203bin_PROGRAMS = Singular ESingular TSingular $(optional_Singular_programs)
204
[2b43ac]205if WANT_DEBUG
[0d59f94]206  bin_PROGRAMS += Singularg
207  EXTRA_PROGRAMS += Singulardg
[2b43ac]208endif
[151a06]209
[b773c0]210Singular Singularg ESingular TSingular $(optional_Singular_programs): ${abs_builddir}/LIB
211
[240fe3]212AMLDFLAGS = -L${top_builddir}/Singular -L${top_builddir}/numeric -L${top_builddir}/kernel -L${top_builddir}/libpolys/polys  -L${top_builddir}/libpolys/coeffs -L${top_builddir}/libpolys/reporter -L${top_builddir}/libpolys/misc $(USE_FACTORY) -L${top_builddir}/omalloc -L${top_builddir}/findexec
[3b8a6e]213
[151a06]214Singular_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
[69ad7e]215Singularg_CFLAGS = -g ${PIPE}
[151a06]216
[5e28ea]217Singular_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
218Singularg_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
[151a06]219
[383ba5e]220nodist_Singular_SOURCES = libSingular.la
221nodist_Singularg_SOURCES =  libSingular_g.la
222
[bd795d]223Singular_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc  utils.h
224Singularg_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc  utils.h
[151a06]225
[c1e7a6]226Singular_LDADD = libSingular.la ${top_builddir}/numeric/libnumeric.la ${top_builddir}/kernel/libkernel.la ${top_builddir}/libpolys/polys/libpolys.la -lcoeffs -lreporter -lmisc $(FACTORY_LIBS) -lomalloc -lfindexec $(FLINT_LIBS) $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} ${EMBED_PYOBJECT_LDFLAGS}
227Singularg_LDADD = libSingular_g.la ${top_builddir}/numeric/libnumeric_g.la ${top_builddir}/kernel/libkernel_g.la ${top_builddir}/libpolys/polys/libpolys_g.la -lcoeffs_g -lreporter_g -lmisc_g $(FACTORY_LIBS) -lomalloc_g -lfindexec_g $(FLINT_LIBS) $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS}  ${USEPPROCSDYNAMICLD} ${EMBED_PYOBJECT_LDFLAGS}
[151a06]228
[bd795d]229Singular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG
230Singularg_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H
[151a06]231
[3b8a6e]232Singular_LDFLAGS = -static ${AMLDFLAGS}
233Singularg_LDFLAGS = -static ${AMLDFLAGS}
[8ccf01]234
235
236Singulard_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
237Singulardg_CFLAGS = -g ${PIPE}
238
[5e28ea]239Singulard_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
240Singulardg_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
[8ccf01]241
[bd795d]242Singulard_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc  utils.h
[8ccf01]243nodist_Singulard_SOURCES = libSingular.la
244
[bd795d]245Singulardg_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc  utils.h
[8ccf01]246nodist_Singulardg_SOURCES =  libSingular_g.la
247
[c1e7a6]248Singulard_LDADD = libSingular.la -lnumeric -lkernel -lpolys -lcoeffs -lreporter -lmisc $(FACTORY_LIBS) -lomalloc -lfindexec $(FLINT_LIBS) $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} ${EMBED_PYOBJECT_LDFLAGS}
249Singulardg_LDADD = libSingular_g.la -lnumeric_g -lkernel_g -lpolys_g -lcoeffs_g -lreporter_g -lmisc_g $(FACTORY_LIBS) -lomalloc_g -lfindexec_g $(FLINT_LIBS) $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS}  ${USEPPROCSDYNAMICLD} ${EMBED_PYOBJECT_LDFLAGS}
[8ccf01]250
[bd795d]251Singulard_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG
252Singulardg_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H
253
[3b8a6e]254Singulard_LDFLAGS = ${AMLDFLAGS}
255Singulardg_LDFLAGS = ${AMLDFLAGS}
256
[bd795d]257
258#### ESingular
259
260ESingular_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
[5e28ea]261ESingular_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
[bd795d]262ESingular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DESINGULAR -DPROTO
[3b8a6e]263ESingular_LDFLAGS = -static ${AMLDFLAGS}
[b4a676]264ESingular_LDADD =   -lreporter -lmisc -lomalloc -lfindexec
[bd795d]265
266ESingular_SOURCES = emacs.cc fegetopt.c fegetopt.h feOptES.inc feOpt.cc
[8ccf01]267
[bd795d]268#### same for TSingular
269
270TSingular_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
[5e28ea]271TSingular_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
[bd795d]272TSingular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DTSINGULAR -DPROTO
[3b8a6e]273TSingular_LDFLAGS = -static ${AMLDFLAGS}
[b4a676]274TSingular_LDADD =   -lreporter -lmisc -lomalloc -lfindexec
[bd795d]275
276TSingular_SOURCES = emacs.cc fegetopt.c fegetopt.h feOptTS.inc feOpt.cc
277# utils.cc utils.h
278
279
280#### libparse
281libparse_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DSTANDALONE_PARSER
282libparse_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
[5e28ea]283libparse_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
[bd795d]284 
285libparse_SOURCES = libparse.cc fegetopt.c fegetopt.h utils.cc  utils.h
286# nodist_libparse_SOURCES = libSingular.la
287 
288# # libSingular.la -lnumeric
289libparse_LDADD = -lomalloc
[3b8a6e]290libparse_LDFLAGS = -static ${AMLDFLAGS}
[bd795d]291# TODO for libparse:
292# multiple definition of `category_out': libparse.cc v.s. utils.cc
293# undefined reference to `iiInitSingularProcinfo(procinfo*, char const*, char const*, int, long, int)'
[ff7e14a]294
295#########################################################
296# the Singular library (*.lib files)
297
298include ${srcdir}/singular-libs
299
300singularlibrarydir = ${datadir}/singular
[bebd746]301singularlibrary = $(SLIB0:%=LIB/%) $(SLIB1:%=LIB/%) $(PLIBS:%=LIB/%)
[b773c0]302nobase_dist_singularlibrary_DATA = LIB/tst.lib LIB/help.cnf ${singularlibrary}
[281e8e]303EXTRA_DIST = make_alllib.sh LIB/all.lib.tmpl singular-libs \
304             LIB/help.cnf links/slInit_Dynamic.cc
[ff7e14a]305
[bebd746]306# ${nobase_dist_singularlibrary_DATA}
[bd795d]307
[b773c0]308singularalllibrarydir = ${datadir}/singular/LIB
309singularalllibrary = all.lib
310nobase_dist_singularalllibrary_DATA = all.lib
[ff7e14a]311
[b773c0]312all.lib: ${srcdir}/make_alllib.sh ${srcdir}/LIB/all.lib.tmpl ${singularlibrary}
313        ${srcdir}/make_alllib.sh ${srcdir}/LIB/all.lib.tmpl ${SLIB0} ${PLIBS}
[bd795d]314
[151a06]315########################### TEST #########################
316
[240fe3]317TESTS_ENVIRONMENT = SINGULARPATH='${top_builddir}/Singular/LIB:${top_srcdir}/Singular/LIB:${top_builddir}/libpolys/polys/.libs:${top_builddir}/factory/gftables'
318TESTS_ENVIRONMENT += SINGULAR_ROOT_DIR='${top_builddir}'
[151a06]319
[17228e]320TESTS=test-s-r test-d-r
[0d59f94]321
322if WANT_DEBUG
323TESTS += test-s-g test-d-g
[17228e]324endif
[0d59f94]325
[151a06]326check_PROGRAMS=$(TESTS)
327
[8ccf01]328# Static versions
329
[097c71]330test_s_r_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
331test_s_g_CFLAGS = ${PIPE}
[151a06]332
[5e28ea]333test_s_r_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
334test_s_g_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
[151a06]335
[097c71]336test_s_r_SOURCES = test.cc
337test_s_g_SOURCES = test.cc
[151a06]338
[c1e7a6]339test_s_r_LDADD = libSingular.la -lnumeric -lkernel -lpolys -lcoeffs -lreporter -lmisc $(FACTORY_LIBS) -lomalloc -lfindexec $(FLINT_LIBS) $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} ${EMBED_PYOBJECT_LDFLAGS}
340test_s_g_LDADD = libSingular_g.la -lnumeric_g -lkernel_g -lpolys_g -lcoeffs_g -lreporter_g -lmisc_g $(FACTORY_LIBS) -lomalloc_g -lfindexec_g $(FLINT_LIBS) $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS}  ${USEPPROCSDYNAMICLD} ${EMBED_PYOBJECT_LDFLAGS}
[151a06]341
[bd795d]342test_s_r_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG
343test_s_g_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H
[151a06]344
[3b8a6e]345test_s_r_LDFLAGS = -static ${AMLDFLAGS}
346test_s_g_LDFLAGS = -static ${AMLDFLAGS}
[8ccf01]347
348
349# Dynamic versions
350
[097c71]351test_d_r_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
352test_d_g_CFLAGS = ${PIPE}
[8ccf01]353
[5e28ea]354test_d_r_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
355test_d_g_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
[8ccf01]356
[097c71]357test_d_r_SOURCES = test.cc
358test_d_g_SOURCES = test.cc
[8ccf01]359
[c1e7a6]360test_d_r_LDADD = libSingular.la -lnumeric -lkernel -lpolys -lcoeffs -lreporter -lmisc $(FACTORY_LIBS) -lomalloc -lfindexec $(FLINT_LIBS) $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} ${EMBED_PYOBJECT_LDFLAGS}
361test_d_g_LDADD = libSingular_g.la -lnumeric_g -lkernel_g -lpolys_g -lcoeffs_g -lreporter_g -lmisc_g $(FACTORY_LIBS) -lomalloc_g -lfindexec_g $(FLINT_LIBS) $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS}  ${USEPPROCSDYNAMICLD} ${EMBED_PYOBJECT_LDFLAGS}
[8ccf01]362
[bd795d]363test_d_r_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG
364test_d_g_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H
[8ccf01]365
[3b8a6e]366test_d_r_LDFLAGS = ${AMLDFLAGS}
367test_d_g_LDFLAGS = ${AMLDFLAGS}
368
[151a06]369#########################################################
370
[c2eb2e]371# These files are built first
[b773c0]372BUILT_SOURCES = feOpt.inc feOptTS.inc feOptES.inc iparith.inc all.lib plural_cmd.inc \
373                gftables MOD
[151a06]374
[bd795d]375CLEANFILES = $(BUILT_SOURCES) $(EXTRA_PROGRAMS)
[151a06]376
[b773c0]377clean-local:
[4255b3]378        if [ "${abs_builddir}" != "${abs_srcdir}" ]; then \
[8b57f5]379          if [ -L ${abs_builddir}/LIB ]; then unlink ${abs_builddir}/LIB; fi \
[4255b3]380        fi
381
[bd795d]382feOpt.inc: feOptGen
[240fe3]383        ${builddir}/feOptGen
[151a06]384
385feOptES.inc: feOptES
[240fe3]386        ${builddir}/feOptES
[151a06]387
388feOptTS.inc: feOptTS
[240fe3]389        ${builddir}/feOptTS
[151a06]390
[c2eb2e]391plural_cmd.inc iparith.inc: gentable1
[240fe3]392        ${builddir}/gentable1
[151a06]393
[28b503]394# # fake rule to fix parallel make http://www.gnu.org/s/hello/manual/automake/Multiple-Outputs.html
395# plural_cmd.inc: iparith.inc
[c2eb2e]396
[91ecf18]397
[240fe3]398gftables: ${top_srcdir}/factory/gftables
399        ln -snf ${top_srcdir}/factory/gftables ${builddir}/gftables
[b3cd39]400
[b773c0]401${abs_builddir}/LIB: ${srcdir}/LIB
[4255b3]402        if [ "${abs_builddir}" != "${abs_srcdir}" ]; then \
[8b57f5]403          ln -snf ${abs_srcdir}/LIB ${abs_builddir}/; \
[4255b3]404        fi
[b773c0]405
[240fe3]406MOD: ${top_builddir}/libpolys/polys/.libs
407        ln -snf ${top_builddir}/libpolys/polys/.libs/ ${builddir}/MOD
[b3cd39]408
[f4cb99a]409moduledir = $(libexecdir)/singular/MOD
[f28640]410
411module_LTLIBRARIES =
[24bfd7]412
[c1e7a6]413if PYTHON_MODULE
[f28640]414module_LTLIBRARIES += pyobject.la
[0d59f94]415endif
416
[24bfd7]417pyobject_la_SOURCES = pyobject.cc
[f28640]418pyobject_la_CPPFLAGS   = ${AM_CPPFLAGS} ${NODEBUGDEFS}
419pyobject_g_la_CPPFLAGS = ${AM_CPPFLAGS}
[b3cd39]420
[f28640]421pyobject_la_CXXFLAGS   = ${NODEBUGCXXFLAGS} @PYTHON_CSPEC@
422pyobject_g_la_CXXFLAGS = ${DEBUGCXXFLAGS} @PYTHON_CSPEC@
[b3cd39]423
[f28640]424pyobject_la_LDFLAGS = -export-dynamic -shared -module -avoid-version \
425  ${AMLDFLAGS} @PYTHON_LSPEC@
Note: See TracBrowser for help on using the repository browser.