source: git/libpolys/polys/Makefile.am @ c0bbad

spielwiese
Last change on this file since c0bbad was c0bbad, checked in by Oleksandr Motsak <motsak@…>, 10 years ago
Minor BS cleanup
  • Property mode set to 100644
File size: 4.6 KB
RevLine 
[9ba92b]1ACLOCAL_AMFLAGS = -I ../../m4
[57c6ed2]2
[55b6460]3AM_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 ${GMP_CFLAGS} 
[4bc0ab9]4
[6bec87]5
[812138]6if ENABLE_P_PROCS_STATIC
7  USE_P_PROCS_STATIC_CC = templates/p_Procs_Static.cc
[6d28ba7]8  USE_P_PROCS_STATIC = -Dp_Procs_Static
[812138]9else
10  USE_P_PROCS_STATIC_CC =
[6d28ba7]11  USE_P_PROCS_STATIC =
[812138]12endif
13
14if ENABLE_P_PROCS_DYNAMIC
15  USE_P_PROCS_DYNAMIC_CC = templates/p_Procs_Dynamic.cc
[825fb7]16  P_PROCS_CPPFLAGS_COMMON = ${AM_CPPFLAGS} -DDYNAMIC_VERSION
[812138]17else
18  USE_P_PROCS_DYNAMIC_CC =
[825fb7]19  P_PROCS_CPPFLAGS_COMMON = ${AM_CPPFLAGS}
[812138]20endif
21
[2b43ac]22
[9ba92b]23libpolys_LTLIBRARIES = libpolys.la
[276a00]24libpolysdir = $(libdir)
[148d3c]25
[6bec87]26SOURCES = \
[0cf29ee]27        monomials/monomials.cc monomials/p_polys.cc monomials/ring.cc monomials/maps.cc \
[c2eb2e]28        operations/pShallowCopyDelete.cc operations/p_Mult_q.cc \
[210e07]29        nc/sca.cc nc/summator.cc nc/ncSAFormula.cc nc/ncSACache.cc nc/ncSAMult.cc \
[d2f64e]30        pDebug.cc polys0.cc prCopy.cc prCopyMacros.h \
[8c9912]31        kbuckets.cc sbuckets.cc weight.cc weight0.c simpleideals.cc matpol.cc \
[bf6a4d]32        sparsmat.cc \
[c2eb2e]33        ${USE_P_PROCS_STATIC_CC} ${USE_P_PROCS_DYNAMIC_CC} mod_raw.cc \
34        ext_fields/algext.cc ext_fields/transext.cc \
35        clapsing.cc clapconv.cc \
[9952bd]36        nc/old.gring.cc PolyEnumerator.cc
[35eaf8]37
[e078e0]38LIBPOLYSHEADERS = monomials/ring.h monomials/monomials.h \
[975db18]39  monomials/p_polys.h monomials/maps.h PolyEnumerator.h  prCopy.h \
[80ca3c]40        nc/nc.h nc/sca.h nc/summator.h nc/ncSAFormula.h nc/ncSACache.h nc/ncSAMult.h nc/gb_hack.h \
[0ff203]41        operations/pShallowCopyDelete.h \
42        templates/p_Procs.h templates/p_MemAdd.h templates/p_MemCmp.h \
[af598e]43        kbuckets.h sbuckets.h simpleideals.h weight.h matpol.h \
[c2eb2e]44        sparsmat.h clapsing.h clapconv.h coeffrings.h \
[0ff203]45        ext_fields/algext.h ext_fields/transext.h mod_raw.h 
[148d3c]46
[c2eb2e]47EXTRA_DIST = \
48        prCopy.pl prCopyTemplate.cc \
[0ff203]49        templates/p_Procs_Lib.cc templates/p_MemCopy.h templates/p_Numbers.h \
[c2eb2e]50        templates/p_Procs_Set.h templates/p_Procs_Static.h templates/p_Procs_Dynamic.h \
51        templates/p_Procs_Impl.h templates/p_Delete__T.cc templates/p_Copy__T.cc \
[0ff203]52        templates/p_ShallowCopyDelete__T.cc templates/p_Mult_nn__T.cc \
[c2eb2e]53        templates/pp_Mult_nn__T.cc templates/pp_Mult_mm__T.cc templates/p_Mult_mm__T.cc \
54        templates/pp_Mult_Coeff_mm_DivSelect__T.cc templates/pp_Mult_nn__T.cc \
55        templates/pp_Mult_Coeff_mm_DivSelectMult__T.cc \
[0ff203]56        templates/pp_Mult_mm_Noether__T.cc operations/p_Mult_q.h \
[c2eb2e]57        templates/p_kBucketSetLm__T.cc templates/p_Minus_mm_Mult_qq__T.cc \
58        templates/p_Merge_q__T.cc templates/p_Add_q__T.cc templates/p_Neg__T.cc
[148d3c]59
[57c6ed2]60
[933be8]61p_Procs_FieldGeneral_la_CPPFLAGS = -Dp_Procs_FieldGeneral ${P_PROCS_CPPFLAGS_COMMON}
62p_Procs_FieldIndep_la_CPPFLAGS = -Dp_Procs_FieldIndep ${P_PROCS_CPPFLAGS_COMMON}
63p_Procs_FieldQ_la_CPPFLAGS = -Dp_Procs_FieldQ ${P_PROCS_CPPFLAGS_COMMON}
64p_Procs_FieldZp_la_CPPFLAGS = -Dp_Procs_FieldZp ${P_PROCS_CPPFLAGS_COMMON}
[57c6ed2]65
[99b54a]66P_PROCS_MODULE_LDFLAGS = -shared -module -dynamic -export-dynamic -avoid-version -weak_reference_mismatches weak -undefined dynamic_lookup -Wl,-undefined -Wl,dynamic_lookup -flat_namespace
[44105a7]67
68p_Procs_FieldGeneral_la_LDFLAGS = ${P_PROCS_MODULE_LDFLAGS}
69p_Procs_FieldIndep_la_LDFLAGS = ${P_PROCS_MODULE_LDFLAGS}
70p_Procs_FieldQ_la_LDFLAGS = ${P_PROCS_MODULE_LDFLAGS}
71p_Procs_FieldZp_la_LDFLAGS = ${P_PROCS_MODULE_LDFLAGS}
72
[f47f56]73P_PROCS = templates/p_Procs_Lib.cc
74
[44105a7]75p_Procs_FieldGeneral_la_SOURCES = ${P_PROCS}
76p_Procs_FieldIndep_la_SOURCES = ${P_PROCS}
77p_Procs_FieldQ_la_SOURCES = ${P_PROCS}
78p_Procs_FieldZp_la_SOURCES = ${P_PROCS}
[f47f56]79
[57c6ed2]80
[b0857ee]81moduledir = $(libexecdir)/singular/MOD
[f47f56]82
[2dcf453]83if ENABLE_P_PROCS_DYNAMIC
[f4cb99a]84  module_LTLIBRARIES=p_Procs_FieldGeneral.la p_Procs_FieldIndep.la p_Procs_FieldQ.la p_Procs_FieldZp.la
[2dcf453]85endif
[f47f56]86
[c2eb2e]87libpolys_includedir=$(includedir)/singular/polys
[148d3c]88
[0ff203]89nobase_libpolys_include_HEADERS = $(LIBPOLYSHEADERS)
[148d3c]90
[6d672b4]91libpolys_la_SOURCES = ${SOURCES}
[6bec87]92
[6d672b4]93EXTRA_libpolys_la_SOURCES = templates/p_Procs_Static.cc templates/p_Procs_Dynamic.cc
[57c6ed2]94
[db6ce3]95libpolys_la_LDFLAGS= ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} -release ${PACKAGE_VERSION}
96libpolys_la_LIBADD = ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} ${top_builddir}/coeffs/libcoeffs.la
[4fdf15]97
98
[c2eb2e]99#################################################
100# autogenerated sources
[57c6ed2]101
[c2eb2e]102BUILT_SOURCES = prCopy.inc templates/p_Procs.inc
[57c6ed2]103
[c2eb2e]104noinst_PROGRAMS = templates/p_Procs_Generate
105templates_p_Procs_Generate_SOURCES = templates/p_Procs_Generate.cc
[9ba92b]106templates_p_Procs_Generate_CPPFLAGS = ${USE_P_PROCS_STATIC} ${AM_CPPFLAGS}
[c0bbad]107templates_p_Procs_Generate_LDADD    = \
108${top_builddir}/reporter/libreporter.la ${top_builddir}/misc/libmisc.la
[57c6ed2]109
[48e8e1]110templates/p_Procs.inc: templates/p_Procs_Generate$(EXEEXT)
111        ${builddir}/templates/p_Procs_Generate$(EXEEXT) > ${builddir}/templates/p_Procs.inc
[ce2120e]112
[c2eb2e]113prCopy.inc: prCopy.pl
114        perl ${srcdir}/prCopy.pl >  prCopy.inc
[78eba1]115
[c2eb2e]116CLEANFILES = $(BUILT_SOURCES)
[e0d8d1]117
Note: See TracBrowser for help on using the repository browser.