source: git/libpolys/polys/Makefile.am @ 997a5b2

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