spielwiese
Last change
on this file since c70920 was
c70920,
checked in by Oleksandr Motsak <motsak@…>, 10 years ago
|
Better BS: use libtool dependency libs and LIBADD automake feature + cleanup
NOTE: libpolys should not check for flint (only factory works with it)
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Line | |
---|
1 | ACLOCAL_AMFLAGS = -I ../../m4 |
---|
2 | |
---|
3 | AM_CPPFLAGS = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${top_builddir}/.. -I${srcdir} -I${top_srcdir}/../factory/include -I${top_builddir}/../factory/include ${FACTORY_CFLAGS} ${GMP_CFLAGS} ${NTL_CFLAGS} -DHAVE_CONFIG_H |
---|
4 | |
---|
5 | libcoeffs_LTLIBRARIES = libcoeffs.la |
---|
6 | libcoeffsdir = $(libdir)/singular |
---|
7 | |
---|
8 | # noinst_HEADERS= \ |
---|
9 | # gnumpc.h gnumpfl.h longrat.h modulop.h ffields.h \ |
---|
10 | # rintegers.h rmodulo2m.h rmodulon.h shortfl.h \ |
---|
11 | # mpr_complex.h mpr_global.h |
---|
12 | |
---|
13 | |
---|
14 | SOURCES = \ |
---|
15 | numbers.cc rintegers.cc rmodulo2m.cc rmodulon.cc shortfl.cc \ |
---|
16 | gnumpc.cc gnumpfl.cc longrat.cc longrat0.cc ffields.cc \ |
---|
17 | modulop.cc mpr_complex.cc \ |
---|
18 | bigintmat.cc AE.cc OPAE.cc AEp.cc OPAEp.cc AEQ.cc OPAEQ.cc |
---|
19 | |
---|
20 | libcoeffs_la_SOURCES = $(SOURCES) |
---|
21 | |
---|
22 | libcoeffs_includedir =$(includedir)/singular/coeffs |
---|
23 | libcoeffs_include_HEADERS = coeffs.h numbers.h si_gmp.h gnumpc.h gnumpfl.h longrat.h modulop.h ffields.h rintegers.h rmodulo2m.h rmodulon.h shortfl.h mpr_complex.h mpr_global.h \ |
---|
24 | bigintmat.h Enumerator.h AE.h OPAE.h AEp.h OPAEp.h AEQ.h OPAEQ.h |
---|
25 | |
---|
26 | if ENABLE_FACTORY |
---|
27 | USE_FACTORY = ${top_builddir}/../factory/libfactory.la |
---|
28 | else |
---|
29 | USE_FACTORY = |
---|
30 | endif |
---|
31 | |
---|
32 | libcoeffs_la_LIBADD = ${top_builddir}/reporter/libreporter.la ${top_builddir}/misc/libmisc.la \ |
---|
33 | ${USE_FACTORY} ${NTL_LIBS} ${GMP_LIBS} |
---|
34 | |
---|
35 | TESTS_ENVIRONMENT = SINGULARPATH='${top_srcdir}/../factory:${top_builddir}/../factory' |
---|
36 | TESTS_ENVIRONMENT += SINGULAR_ROOT_DIR='$(top_builddir)' |
---|
37 | |
---|
38 | TESTS = test |
---|
39 | |
---|
40 | check_PROGRAMS = $(TESTS) |
---|
41 | |
---|
42 | |
---|
43 | test_SOURCES = test.cc |
---|
44 | test_LDADD = libcoeffs.la |
---|
Note: See
TracBrowser
for help on using the repository browser.