Changeset 148d3c in git
- Timestamp:
- May 19, 2011, 5:39:53 AM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a657104b677b4c461d018cbf3204d72d34ad66a9')
- Children:
- c8204aefe85bd27523a76a77f4ae555c156bdc21
- Parents:
- 3199ac3605af0f6ec91729ae32d5704af6105991
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-05-19 05:39:53+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:36:08+01:00
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/Makefile.am
r3199ac r148d3c 4 4 5 5 lib_LIBRARIES = libfactory.a libfactory_g.a 6 7 libfactory_a_includedir=$(includedir)/factory 8 libfactory_g_a_includedir=$(includedir)/factory 9 10 libfactory_a_libdir=$(libdir)/factory 11 libfactory_g_a_libdir=$(libdir)/factory 6 12 7 13 libfactory_a_CXXFLAGS = -O3 -fomit-frame-pointer --no-rtti ${CXXTEMPLFLAGS} … … 215 221 216 222 217 gftables: 223 gftables: gengftables 218 224 @if test -x ${srcdir}/gftables; then \ 219 225 if test ! -x ${builddir}/gftables; then \ … … 231 237 232 238 BUILT_SOURCES = factory.h factoryconf.h 239 240 libfactory_a_include_HEADERS=$(BUILT_SOURCES) 241 libfactory_g_a_include_HEADERS=$(BUILT_SOURCES) 233 242 234 243 # These files listed below are not used anywhere but are included in … … 289 298 290 299 CLEANFILES = factory.h factoryconf.h 300 301 302 -
libpolys/Makefile.am
r3199ac r148d3c 1 1 ACLOCAL_AMFLAGS = -I ../m4 2 2 3 bin_SCRIPTS = libpolys-config 4 5 libpoly_libincludedir = $(libdir)/libpolys/include 6 nodist_libpoly_libinclude_HEADERS = config.h 7 8 3 9 PACKAGES=misc reporter resources coeffs polys tests 4 5 10 SUBDIRS=$(PACKAGES) 6 11 7 12 TESTDIRS=coeffs tests 13 -
libpolys/coeffs/Makefile.am
r3199ac r148d3c 13 13 14 14 15 include_HEADERS = coeffs.h numbers.h16 17 15 noinst_HEADERS= \ 18 16 gnumpc.h gnumpfl.h longrat.h modulop.h ffields.h \ … … 20 18 mpr_complex.h mpr_global.h 21 19 22 INCLUDES = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${top_builddir}/.. -I${srcdir} ${ GMP_CFLAGS} ${NTL_CFLAGS}20 INCLUDES = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${top_builddir}/.. -I${srcdir} ${FACTORY_CFLAGS} ${GMP_CFLAGS} ${NTL_CFLAGS} 23 21 24 22 SOURCES = \ … … 29 27 libcoeffs_g_a_SOURCES = $(SOURCES) 30 28 29 30 ## include_HEADERS = coeffs.h numbers.h 31 31 32 libcoeffs_a_includedir =$(includedir)/libpolys/coeffs 32 33 libcoeffs_g_a_includedir=$(includedir)/libpolys/coeffs 33 34 34 COEFFSHEADERS = coeffs.h numbers.h 35 COEFFSHEADERS = coeffs.h numbers.h si_gmp.h 35 36 libcoeffs_a_include_HEADERS = $(COEFFSHEADERS) 36 37 libcoeffs_g_a_include_HEADERS = $(COEFFSHEADERS) … … 46 47 test_g_SOURCES = test.cc 47 48 48 test_LDADD = -lcoeffs ${GMP_LIBS} ${NTL_LIBS} -lresources -lreporter -lmisc -lfactory-lomalloc49 test_g_LDADD = -lcoeffs_g ${GMP_LIBS} ${NTL_LIBS} -lresources_g -lreporter_g -lmisc_g -lfactory_g -lomalloc_debug49 test_LDADD = -lcoeffs ${GMP_LIBS} ${NTL_LIBS} -lresources -lreporter -lmisc ${FACTORY_LIBS} -lomalloc 50 test_g_LDADD = -lcoeffs_g ${GMP_LIBS} ${NTL_LIBS} ${FACTORY_LIBS} -lresources_g -lreporter_g -lmisc_g ${FACTORY_LIBS} -lomalloc_g 50 51 51 52 -
libpolys/libpolys-config.in
-
Property
mode
changed from
100644
to100755
r3199ac r148d3c 1 #! /bin/ sh1 #! /bin/bash 2 2 3 3 prefix=@prefix@ … … 5 5 includedir=@includedir@ 6 6 libdir=@libdir@ 7 8 ECHO="echo" 9 ECHOn="printf" 7 10 8 11 usage() … … 33 36 while test $# -gt 0; do 34 37 case "$1" in 35 -*=*) optarg=` echo"$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;38 -*=*) optarg=`${ECHO} "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; 36 39 *) optarg= ;; 37 40 esac … … 43 46 44 47 --prefix) 45 echo$prefix48 ${ECHO} $prefix 46 49 ;; 47 50 48 51 --version) 49 echo@VERSION@52 ${ECHO} @VERSION@ 50 53 exit 0 51 54 ;; … … 56 59 57 60 --cflags) 58 echo -n " -I${includedir} @GMP_CFLAGS@"61 ${ECHOn} " -I${includedir} -I${includedir}/libpolys @GMP_CFLAGS@ @NTL_CFLAGS@ @FACTORY_CFLAGS@" 59 62 ;; 60 63 61 64 --libs) 62 echo -n " -L${libdir} -lpolys @GMP_LIBS@"65 ${ECHOn} " -L${libdir} -lpolys_g -lcoeffs_g -lresources_g -lreporter_g -lmisc_g -lomalloc_g @USEPPROCSDYNAMICLD@ @GMP_LIBS@ @NTL_LIBS@ @FACTORY_LIBS@" 63 66 ;; 64 67 … … 70 73 shift 71 74 done 72 echo 75 ${ECHO} 73 76 74 77 exit 0 -
Property
mode
changed from
-
libpolys/misc/Makefile.am
r3199ac r148d3c 22 22 libmisc_g_a_includedir=$(includedir)/libpolys/misc 23 23 24 ###???? 25 #libmisc_a_libdir =${libdir}/libpolys 26 #libmisc_g_a_libdir=${libdir}/libpolys 27 24 28 MISCHEADERS = auxiliary.h mylimits.h options.h intvec.h 25 29 libmisc_a_include_HEADERS = $(MISCHEADERS) -
libpolys/polys/Makefile.am
r3199ac r148d3c 30 30 endif 31 31 32 lib_LIBRARIES=libpolys.a libpolys_g.a 33 34 libpolys_a_includedir=$(includedir)/libpolys/polys 35 libpolys_g_a_includedir=$(includedir)/libpolys/polys 36 32 37 SOURCES = \ 33 38 monomials/monomials.cc monomials/p_polys.cc monomials/ring.cc monomials/maps.cc \ … … 44 49 noinst_HEADERS = 45 50 46 include_HEADERS = \ 47 monomials/ring.h nc/nc.h \ 48 nc/sca.h nc/summator.h nc/ncSAFormula.h nc/ncSACache.h nc/ncSAMult.h \ 51 LIBPOLYSHEADERS = monomials/ring.h monomials/monomials.h \ 52 nc/nc.h nc/sca.h nc/summator.h nc/ncSAFormula.h nc/ncSACache.h nc/ncSAMult.h \ 49 53 pInline0.h operations/pShallowCopyDelete.h \ 50 54 templates/p_MemAdd.h templates/p_MemCmp.h templates/p_MemCopy.h operations/p_Mult_q.h \ … … 54 58 kbuckets.h sbuckets.h simpleideals.h weight.h matpol.h \ 55 59 ext_fields/algext.h clapsing.h clapconv.h 60 61 ### nobase_include_HEADERS = $(LIBPOLYSHEADERS) 62 63 56 64 57 65 P_PROCS_CPPFLAGS_COMMON = -DHAVE_CONFIG_H -DDYNAMIC_VERSION … … 103 111 104 112 105 106 lib_LIBRARIES=libpolys.a libpolys_g.a 107 108 moduledir = ${libdir}/singular/MOD/ 113 moduledir = $(libdir)/libpolys/MOD/ 109 114 110 115 if ENABLE_P_PROCS_DYNAMIC … … 113 118 endif 114 119 120 121 nobase_libpolys_a_include_HEADERS = $(LIBPOLYSHEADERS) 122 nobase_libpolys_g_a_include_HEADERS = $(LIBPOLYSHEADERS) 123 124 115 125 libpolys_a_SOURCES = ${SOURCES} 116 126 libpolys_g_a_SOURCES = ${SOURCES} 117 127 128 ## libpolys_adir = $(libdir)/libpolys 129 ## libpolys_g_adir = $(libdir)/libpolys 130 118 131 EXTRA_libpolys_a_SOURCES = templates/p_Procs_Static.cc templates/p_Procs_Dynamic.cc 119 120 libpolys_a_includedir =$(includedir)/libpolys/polys121 libpolys_g_a_includedir=$(includedir)/libpolys/polys122 132 123 133 EXTRA_PROGRAMS = templates/p_Procs_Generate -
libpolys/tests/Makefile.am
r3199ac r148d3c 12 12 AM_CPPFLAGS = -DHAVE_CONFIG_H 13 13 14 INCLUDES = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${top_builddir}/.. -I${srcdir} ${GMP_CFLAGS} ${NTL_CFLAGS}14 INCLUDES = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${top_builddir}/.. -I${srcdir} ${GMP_CFLAGS} ${NTL_CFLAGS} ${FACTORY_CFLAGS} 15 15 16 16 … … 18 18 check_PROGRAMS = $(TESTS) 19 19 20 simple_test_SOURCES = simple_test_runner.cpp 21 coeffs_test_SOURCES = coeffs_test_runner.cpp 22 polys_test_SOURCES = polys_test_runner.cpp 23 rings_test_SOURCES = rings_test_runner.cpp 20 simple_test_SOURCES = simple_test_runner.cpp gftables 21 coeffs_test_SOURCES = coeffs_test_runner.cpp gftables 22 polys_test_SOURCES = polys_test_runner.cpp gftables 23 rings_test_SOURCES = rings_test_runner.cpp gftables 24 24 25 25 … … 27 27 rings_test_LDFLAGS = $(polys_test_LDFLAGS) 28 28 29 coeffs_test_LDADD = -lcoeffs_g ${GMP_LIBS} ${NTL_LIBS} -lresources_g -lreporter_g -lmisc_g -lfactory_g -lomalloc_debug29 coeffs_test_LDADD = -lcoeffs_g ${GMP_LIBS} ${NTL_LIBS} -lresources_g -lreporter_g -lmisc_g ${FACTORY_LIBS} -lomalloc_g 30 30 polys_test_LDADD = -lpolys_g ${USEPPROCSDYNAMICLD} $(coeffs_test_LDADD) 31 31 rings_test_LDADD = $(polys_test_LDADD) 32 32 33 noinst_SCRIPTS = p_Procs_FieldGeneral.so \ 34 p_Procs_FieldIndep.so \ 35 p_Procs_FieldQ.so \ 36 p_Procs_FieldZp.so 33 noinst_SCRIPTS = p_Procs_FieldGeneral.so \ 34 p_Procs_FieldIndep.so \ 35 p_Procs_FieldQ.so \ 36 p_Procs_FieldZp.so 37 38 gftables: ${top_srcdir}/../factory/gftables 39 ln -snf ${top_srcdir}/../factory/gftables ${builddir} 37 40 38 41 p_Procs_FieldGeneral.so: ${top_builddir}/polys/.libs/p_Procs_FieldGeneral.so -
m4/options.m4
r3199ac r148d3c 33 33 ENABLE_FACTORY="no" 34 34 fi 35 ],[ENABLE_FACTORY=" yes"])35 ],[ENABLE_FACTORY="no"]) 36 36 37 37 if test x$ENABLE_FACTORY = xyes; then 38 FACTORY_CFLAGS="" 39 FACTORY_LIBS="-lfactory" 40 41 AC_SUBST(FACTORY_CFLAGS) 42 AC_SUBST(FACTORY_LIBS) 43 38 44 AC_DEFINE(HAVE_FACTORY,1,Enable factory) 39 45 fi 46 47 40 48 41 49 AM_CONDITIONAL([ENABLE_FACTORY],[test x$ENABLE_FACTORY = xyes]) -
omalloc/Makefile.am
r3199ac r148d3c 1 lib_LIBRARIES=libomalloc.a libomalloc_ debug.a1 lib_LIBRARIES=libomalloc.a libomalloc_g.a 2 2 3 3 libomalloc_a_includedir=$(includedir)/omalloc … … 11 11 omBinPage.h omAllocSystem.h omTables.h \ 12 12 omAllocPrivate.h omDebug.h omInline.h \ 13 omAllocFunc.h 13 omAllocFunc.h omlimits.h mylimits.h 14 14 15 15 16 16 17 noinst_HEADERS=\ 18 mylimits.h omlimits.h omPage.h \ 19 omDefaultConfig.h omReturn.h 17 noinst_HEADERS= omPage.h omDefaultConfig.h omReturn.h 20 18 21 19 SOURCES=\ … … 29 27 30 28 libomalloc_a_SOURCES=$(SOURCES) $(noinst_HEADERS) 31 libomalloc_ debug_a_SOURCES=$(SOURCES) $(noinst_HEADERS)29 libomalloc_g_a_SOURCES=$(SOURCES) $(noinst_HEADERS) 32 30 33 31 nodist_libomalloc_a_SOURCES = omConfig.h omlimits.h mylimits.h omTables.h omalloc.h omTables.inc 34 nodist_libomalloc_ debug_a_SOURCES = omConfig.h omlimits.h omTables.h omalloc.h omTables.inc32 nodist_libomalloc_g_a_SOURCES = omConfig.h omlimits.h omTables.h omalloc.h omTables.inc 35 33 36 34 libomalloc_a_CPPFLAGS= -DOM_NDEBUG -
omalloc/mylimits.h
r3199ac r148d3c 16 16 17 17 #ifdef IRIX 18 #include <om limits.h>18 #include <omalloc/omlimits.h> 19 19 #else 20 20 #include <limits.h>
Note: See TracChangeset
for help on using the changeset viewer.