source: git/kernel/Makefile.am @ 49638b

spielwiese
Last change on this file since 49638b was 49638b, checked in by Adi Popescu <adi_popescum@…>, 10 years ago
Separating Headers kernel/maps
  • Property mode set to 100644
File size: 2.3 KB
Line 
1ACLOCAL_AMFLAGS = -I ../m4
2# TODO: use ${top_srcdir} instead of .. in the above?
3
4SUBDIRS=sample numeric fglm groebner_walk combinatorics spectrum linear_algebra maps
5# kernelsample   
6
7noinst_LTLIBRARIES = libkernel.la
8###### libkerneldir = $(libdir)/singular
9
10AM_CPPFLAGS = \
11-I${top_srcdir} -I${top_builddir} -I${top_srcdir}/libpolys -I${top_builddir}/libpolys \
12$(FACTORY_INCLUDES) $(NTL_CFLAGS) $(FLINT_CFLAGS) $(GMP_CFLAGS)
13
14SOURCES = polys.cc febase.cc feread.cc \
15    ideals.cc \
16    khstd.cc kstdfac.cc \
17    kstd1.cc kstd2.cc kutil.cc \
18    nc.cc sca.cc gr_kstd2.cc \
19    misc.cc \
20    kspoly.cc kpolys.cc \
21    syz.cc syz0.cc syz1.cc syz2.cc syz3.cc \
22    timer.cc \
23    units.cc \
24    fast_mult.cc digitech.cc \
25    tgb.cc tgbgauss.cc ringgb.cc f5data.cc f5lists.cc f5gb.cc f5c.cc \
26    ratgring.cc shiftgb.cc \
27    preimage.cc \
28    mod2.h \
29    janet.cc interpolation.cc minpoly.cc
30 
31libkernel_la_SOURCES   = $(SOURCES)
32
33KERNELHEADERS = mod2.h polys.h stairc.h ideals.h \
34        structs.h \
35        syz.h \
36        febase.h \
37        kstdfac.h \
38        kutil.h \
39        khstd.h kstd1.h \
40        units.h \
41        ratgring.h shiftgb.h nc.h \
42        preimage.h timer.h kInline.h fast_mult.h \
43        digitech.h tgb.h ringgb.h tgbgauss.h tgb_internal.h \
44        f5c.h f5data.h f5gb.h f5lists.h \
45        janet.h interpolation.h minpoly.h \
46        Cache.h CacheImplementation.h
47
48libkernel_la_includedir  =${includedir}/singular/kernel
49libkernel_la_include_HEADERS   = $(KERNELHEADERS)
50
51libkernel_la_LIBADD   = \
52${builddir}/sample/libsample.la \
53${builddir}/numeric/libnumeric.la \
54${builddir}/fglm/libfglm.la \
55${builddir}/groebner_walk/libgroebner_walk.la \
56${builddir}/combinatorics/libcombinatorics.la \
57${builddir}/spectrum/libspectrum.la \
58${builddir}/linear_algebra/liblinear_algebra.la \
59${builddir}/maps/libmaps.la \
60${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} \
61${abs_top_builddir}/libpolys/polys/libpolys.la
62
63### TODO: the following has to be addapted...
64TESTS_ENVIRONMENT = SINGULARPATH='${abs_top_builddir}/libpolys/polys/.libs:${abs_top_builddir}/factory/gftables'
65TESTS_ENVIRONMENT += SINGULAR_ROOT_DIR='${abs_top_builddir}'
66
67TESTS = test
68
69check_PROGRAMS = $(TESTS)
70
71test_SOURCES = test.cc
72test_LDADD   = libkernel.la
73
74# These files are built first
75# BUILT_SOURCES = MOD
76
77# MOD: ${top_builddir}/libpolys/tests/MOD
78#       ln -snf ${top_builddir}/libpolys/tests/MOD ${builddir}/MOD
79
80
81CLEANFILES = $(TESTS)
82# $(BUILT_SOURCES)
83
Note: See TracBrowser for help on using the repository browser.