1 | ACLOCAL_AMFLAGS = -I ../m4 |
---|

2 | |
---|

3 | noinst_LTLIBRARIES = libkernelCommon.la libkernel.la |
---|

4 | |
---|

5 | AM_CPPFLAGS = \ |
---|

6 | -I${top_srcdir} -I${top_builddir} -I${top_srcdir}/libpolys -I${top_builddir}/libpolys \ |
---|

7 | $(FACTORY_INCLUDES) $(NTL_CXXFLAGS) ${NTL_CPPFLAGS} ${FLINT_CFLAGS} $(GMP_CPPFLAGS) |
---|

8 | |
---|

9 | SOURCES = polys.cc \ |
---|

10 | ideals.cc \ |
---|

11 | fast_mult.cc digitech.cc \ |
---|

12 | preimage.cc \ |
---|

13 | mod2.h |
---|

14 | |
---|

15 | libkernelCommon_la_SOURCES = $(SOURCES) |
---|

16 | libkernelCommon_la_LIBADD = ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} \ |
---|

17 | ${abs_top_builddir}/libpolys/polys/libpolys.la |
---|

18 | libkernelCommon_la_LDFLAGS = $(SINGULAR_LDFLAGS) |
---|

19 | |
---|

20 | ###### libkerneldir = $(libdir)/singular |
---|

21 | |
---|

22 | KERNELHEADERS = mod2.h structs.h polys.h ideals.h \ |
---|

23 | preimage.h fast_mult.h digitech.h |
---|

24 | |
---|

25 | libkernel_la_SOURCES=$(KERNELHEADERS) |
---|

26 | libkernel_la_LDFLAGS = $(SINGULAR_LDFLAGS) |
---|

27 | |
---|

28 | libkernel_la_includedir=${includedir}/singular/kernel |
---|

29 | libkernel_la_include_HEADERS=$(KERNELHEADERS) |
---|

30 | |
---|

31 | SUBDIRS=numeric fglm groebner_walk combinatorics spectrum linear_algebra maps GBEngine oswrapper |
---|

32 | |
---|

33 | libkernel_la_LIBADD = \ |
---|

34 | ${builddir}/numeric/libnumeric.la \ |
---|

35 | ${builddir}/fglm/libfglm.la \ |
---|

36 | ${builddir}/groebner_walk/libgroebner_walk.la \ |
---|

37 | ${builddir}/combinatorics/libcombinatorics.la \ |
---|

38 | ${builddir}/spectrum/libspectrum.la \ |
---|

39 | ${builddir}/linear_algebra/liblinear_algebra.la \ |
---|

40 | ${builddir}/maps/libmaps.la \ |
---|

41 | ${builddir}/GBEngine/libGBEngine.la \ |
---|

42 | ${builddir}/oswrapper/liboswrapper.la \ |
---|

43 | ${builddir}/libkernelCommon.la |
---|

44 | |
---|

45 | ### TODO: the following has to be adapted... |
---|

46 | TESTS_ENVIRONMENT = SINGULARPATH='${abs_top_builddir}/libpolys/polys/.libs:${abs_top_builddir}/factory/gftables' |
---|

47 | TESTS_ENVIRONMENT += SINGULAR_ROOT_DIR='${abs_top_builddir}' |
---|

48 | |
---|

49 | TESTS = test |
---|

50 | |
---|

51 | check_PROGRAMS = $(TESTS) |
---|

52 | |
---|

53 | test_SOURCES = test.cc |
---|

54 | test_LDADD = libkernel.la ${builddir}/../omalloc/libomalloc.la ${builddir}/../Singular/libSingular.la |
---|

55 | |
---|

56 | # These files are built first |
---|

57 | # BUILT_SOURCES = MOD |
---|

58 | |
---|

59 | # MOD: ${top_builddir}/libpolys/tests/MOD |
---|

60 | # ln -snf ${top_builddir}/libpolys/tests/MOD ${builddir}/MOD |
---|

61 | |
---|

62 | |
---|

63 | CLEANFILES = $(TESTS) |
---|

64 | # $(BUILT_SOURCES) |
---|

65 | |
---|

66 | |
---|