File: Makefile.am

package info (click to toggle)
singular 1%3A4.0.3-p3%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 33,040 kB
  • ctags: 19,347
  • sloc: cpp: 271,589; ansic: 13,500; lisp: 4,242; yacc: 1,656; lex: 1,377; makefile: 1,264; perl: 632; sh: 467; python: 233; xml: 182
file content (64 lines) | stat: -rw-r--r-- 1,837 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
ACLOCAL_AMFLAGS = -I ../m4

noinst_LTLIBRARIES = libkernelCommon.la libkernel.la

AM_CPPFLAGS = \
-I${top_srcdir} -I${top_builddir} -I${top_srcdir}/libpolys -I${top_builddir}/libpolys \
$(FACTORY_INCLUDES) $(NTL_CFLAGS) $(FLINT_CFLAGS) $(GMP_CFLAGS)

SOURCES = polys.cc \
    ideals.cc \
    fast_mult.cc digitech.cc \
    preimage.cc \
    mod2.h

libkernelCommon_la_SOURCES  = $(SOURCES)
libkernelCommon_la_LIBADD   = ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} \
${abs_top_builddir}/libpolys/polys/libsingular-polys.la

###### libkerneldir = $(libdir)/singular

KERNELHEADERS = mod2.h structs.h polys.h ideals.h \
	preimage.h fast_mult.h digitech.h

libkernel_la_SOURCES=$(KERNELHEADERS)

libkernel_la_includedir=${includedir}/singular/singular/kernel
libkernel_la_include_HEADERS=$(KERNELHEADERS)

SUBDIRS=numeric fglm groebner_walk combinatorics spectrum linear_algebra maps GBEngine oswrapper

libkernel_la_LIBADD   = \
${builddir}/numeric/libnumeric.la \
${builddir}/fglm/libfglm.la \
${builddir}/groebner_walk/libgroebner_walk.la \
${builddir}/combinatorics/libcombinatorics.la \
${builddir}/spectrum/libspectrum.la \
${builddir}/linear_algebra/liblinear_algebra.la \
${builddir}/maps/libmaps.la \
${builddir}/GBEngine/libGBEngine.la \
${builddir}/oswrapper/liboswrapper.la \
${builddir}/libkernelCommon.la

### TODO: the following has to be addapted...
TESTS_ENVIRONMENT = SINGULARPATH='${abs_top_builddir}/libpolys/polys/.libs:${abs_top_builddir}/factory/gftables'
TESTS_ENVIRONMENT += SINGULAR_ROOT_DIR='${abs_top_builddir}'

TESTS = test

check_PROGRAMS = $(TESTS)

test_SOURCES = test.cc
test_LDADD   = libkernel.la

# These files are built first
# BUILT_SOURCES = MOD

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


CLEANFILES = $(TESTS)
# $(BUILT_SOURCES)