1 | ACLOCAL_AMFLAGS = -I ../m4 |
---|
2 | # TODO: use ${top_srcdir} instead of .. in the above? |
---|
3 | |
---|
4 | SUBDIRS=sample numeric fglm |
---|
5 | # kernelsample |
---|
6 | |
---|
7 | noinst_LTLIBRARIES = libkernel.la |
---|
8 | ###### libkerneldir = $(libdir)/singular |
---|
9 | |
---|
10 | AM_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 | |
---|
14 | SOURCES = polys.cc febase.cc feread.cc \ |
---|
15 | hdegree.cc hilb.cc hutil.cc \ |
---|
16 | ideals.cc \ |
---|
17 | khstd.cc kstdfac.cc \ |
---|
18 | kstd1.cc kstd2.cc kutil.cc \ |
---|
19 | nc.cc sca.cc gr_kstd2.cc \ |
---|
20 | misc.cc \ |
---|
21 | fast_maps.cc \ |
---|
22 | kspoly.cc kpolys.cc \ |
---|
23 | syz.cc syz0.cc syz1.cc syz2.cc syz3.cc \ |
---|
24 | timer.cc \ |
---|
25 | GMPrat.cc multicnt.cc npolygon.cc semic.cc spectrum.cc splist.cc \ |
---|
26 | walkProc.cc walkMain.cc walkSupport.cc \ |
---|
27 | eigenval.cc units.cc \ |
---|
28 | fast_mult.cc digitech.cc \ |
---|
29 | tgb.cc tgbgauss.cc ringgb.cc f5data.cc f5lists.cc f5gb.cc f5c.cc \ |
---|
30 | ratgring.cc shiftgb.cc \ |
---|
31 | linearAlgebra.cc preimage.cc \ |
---|
32 | mod2.h \ |
---|
33 | janet.cc interpolation.cc minpoly.cc \ |
---|
34 | Minor.cc MinorInterface.cc MinorProcessor.cc |
---|
35 | |
---|
36 | |
---|
37 | libkernel_la_SOURCES = $(SOURCES) |
---|
38 | |
---|
39 | KERNELHEADERS = mod2.h polys.h hutil.h stairc.h ideals.h \ |
---|
40 | structs.h \ |
---|
41 | syz.h \ |
---|
42 | fast_maps.h \ |
---|
43 | febase.h \ |
---|
44 | walkProc.h walkMain.h walkSupport.h\ |
---|
45 | kstdfac.h kmatrix.h\ |
---|
46 | kutil.h \ |
---|
47 | khstd.h kstd1.h \ |
---|
48 | GMPrat.h multicnt.h npolygon.h semic.h spectrum.h splist.h \ |
---|
49 | eigenval.h units.h \ |
---|
50 | ratgring.h shiftgb.h nc.h \ |
---|
51 | preimage.h timer.h kInline.h fast_mult.h \ |
---|
52 | digitech.h tgb.h ringgb.h tgbgauss.h tgb_internal.h \ |
---|
53 | linearAlgebra.h \ |
---|
54 | f5c.h f5data.h f5gb.h f5lists.h \ |
---|
55 | janet.h interpolation.h minpoly.h \ |
---|
56 | Minor.h MinorInterface.h MinorProcessor.h Cache.h CacheImplementation.h |
---|
57 | |
---|
58 | libkernel_la_includedir =${includedir}/singular/kernel |
---|
59 | libkernel_la_include_HEADERS = $(KERNELHEADERS) |
---|
60 | |
---|
61 | libkernel_la_LIBADD = \ |
---|
62 | ${builddir}/sample/libsample.la \ |
---|
63 | ${builddir}/numeric/libnumeric.la \ |
---|
64 | ${builddir}/fglm/libfglm.la \ |
---|
65 | ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} \ |
---|
66 | ${abs_top_builddir}/libpolys/polys/libpolys.la |
---|
67 | |
---|
68 | ### TODO: the following has to be addapted... |
---|
69 | TESTS_ENVIRONMENT = SINGULARPATH='${abs_top_builddir}/libpolys/polys/.libs:${abs_top_builddir}/factory/gftables' |
---|
70 | TESTS_ENVIRONMENT += SINGULAR_ROOT_DIR='${abs_top_builddir}' |
---|
71 | |
---|
72 | TESTS = test |
---|
73 | |
---|
74 | check_PROGRAMS = $(TESTS) |
---|
75 | |
---|
76 | test_SOURCES = test.cc |
---|
77 | test_LDADD = libkernel.la |
---|
78 | |
---|
79 | # These files are built first |
---|
80 | # BUILT_SOURCES = MOD |
---|
81 | |
---|
82 | # MOD: ${top_builddir}/libpolys/tests/MOD |
---|
83 | # ln -snf ${top_builddir}/libpolys/tests/MOD ${builddir}/MOD |
---|
84 | |
---|
85 | |
---|
86 | CLEANFILES = $(TESTS) |
---|
87 | # $(BUILT_SOURCES) |
---|
88 | |
---|