Changeset c2eb2e in git
- Timestamp:
- Sep 28, 2011, 6:22:34 PM (12 years ago)
- Branches:
- (u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
- Children:
- a0acbc558a10c931620702cf1f67288945e04b23
- Parents:
- 83db8d3000b4078b3fa1965f387d1f5099e5426e
- git-author:
- Volker Braun <vbraun.name@gmail.com>2011-09-28 18:22:34+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:44+01:00
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.am
r83db8d rc2eb2e 14 14 15 15 TESTDIRS=$(ALLOC) $(USE_FACTORY) libpolys kernel Singular 16 17 # libfac doesn't use automake, just include it all in tarball 18 EXTRA_DIST = libfac -
Singular/Makefile.am
r83db8d rc2eb2e 1 # ACLOCAL_AMFLAGS = -I m42 1 # PIPE = -pipe 3 2 # ??? … … 19 18 ########################### libSingular* ######################### 20 19 21 lib_LIBRARIES = libSingular.a libSingular_g.a 20 libSingular_LIBRARIES = libSingular.a libSingular_g.a 21 libSingulardir = $(libdir)/singular 22 22 23 23 libSingular_a_CFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} … … 97 97 libSingular_g_a_SOURCES = $(SOURCES) 98 98 99 libSingular_a_includedir =${includedir}/Singular/100 libSingular_g_a_includedir=${includedir}/Singular/101 102 99 SingularHEADERS = Cache.h \ 103 100 CacheImplementation.h \ … … 113 110 distrib.h \ 114 111 eigenval_ip.h \ 115 feOpt.h \112 feOpt.h feOptTab.h fehelp.h \ 116 113 fglm.h \ 117 114 gms.h \ 118 115 grammar.h \ 119 116 interpolation.h \ 117 idrec.h \ 120 118 ipconv.h \ 121 119 ipid.h \ … … 125 123 libparse.h \ 126 124 libsingular.h \ 125 linearAlgebra_ip.h\ 127 126 lists.h \ 128 127 locals.h \ … … 156 155 tok.h \ 157 156 utils.h \ 157 version.h \ 158 158 walk.h \ 159 159 feOpt.h feOpt.inc \ 160 160 mpsr_Tok.inc iparith.inc feOptTS.inc feOptES.inc 161 161 162 163 libSingular_a_include_HEADERS = $(SingularHEADERS) 164 libSingular_g_a_include_HEADERS = $(SingularHEADERS) 162 libSingular_includedir = ${includedir}/singular/Singular/ 163 libSingular_include_HEADERS = $(SingularHEADERS) 165 164 166 165 if ENABLE_FACTORY … … 179 178 AM_LDFLAGS = -L${top_builddir}/Singular -L${top_builddir}/numeric -L${top_builddir}/kernel -L${top_builddir}/libpolys/polys -L${top_builddir}/libpolys/coeffs -L${top_builddir}/libpolys/reporter -L${top_builddir}/libpolys/resources -L${top_builddir}/libpolys/misc $(USE_FACTORY) -L${top_builddir}/omalloc 180 179 181 EXTRA_PROGRAMS = gentable2 gentable1 feOpt feOptES feOptTS180 noinst_PROGRAMS = gentable2 gentable1 feOpt feOptES feOptTS 182 181 183 182 gentable2_SOURCES = gentable2.cc grammar.h tok.h table.h … … 194 193 gentable1_CPPFLAGS = -DNDEBUG -DOM_NDEBUG 195 194 196 # plural_cmd.inc: iparith.inc197 198 195 feOpt_SOURCES = feOptGen.cc feOptGen.h 199 196 feOpt_CXXFLAGS = -O3 -fomit-frame-pointer --no-rtti -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) … … 252 249 ######################################################### 253 250 254 BUILT_SOURCES = feOpt.inc mpsr_Tok.inc iparith.inc feOptTS.inc feOptES.inc #files are built first255 # plural_cmd.inc256 257 CLEANFILES = $( TESTS) $(EXTRA_PROGRAMS) $(BUILT_SOURCES)251 # These files are built first 252 BUILT_SOURCES = feOpt.inc mpsr_Tok.inc iparith.inc plural_cmd.inc feOptTS.inc feOptES.inc 253 254 CLEANFILES = $(BUILT_SOURCES) 258 255 259 256 feOpt.inc: feOpt … … 266 263 ./feOptTS 267 264 268 iparith.inc: gentable1265 plural_cmd.inc iparith.inc: gentable1 269 266 ./gentable1 267 268 # fake rule to fix parallel make http://www.gnu.org/s/hello/manual/automake/Multiple-Outputs.html 269 plural_cmd.inc: iparith.inc 270 270 271 271 mpsr_Tok.inc: gentable2 -
configure.ac
r83db8d rc2eb2e 1 AC_INIT([singular], [3.1. 2.sw])1 AC_INIT([singular], [3.1.3.sw]) 2 2 3 3 AC_CONFIG_MACRO_DIR([m4]) -
factory/Makefile.am
r83db8d rc2eb2e 5 5 lib_LIBRARIES = libfactory.a libfactory_g.a 6 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 7 libfactory_a_libdir = $(libdir) 8 libfactory_g_a_libdir = $(libdir) 12 9 13 10 libfactory_a_CXXFLAGS = -O3 -fomit-frame-pointer --no-rtti ${CXXTEMPLFLAGS} … … 90 87 singext.cc \ 91 88 parseutil.cc \ 92 ftmpl_inst.cc \ 93 factory.h factoryconf.h 89 ftmpl_inst.cc 94 90 95 91 if WITH_PARSER_FOR_CANONICAL_FORM 96 92 SOURCES += readcf.yy 97 93 endif 98 99 94 100 95 libfactory_a_SOURCES = $(SOURCES) … … 106 101 canonicalform.h \ 107 102 cf_algorithm.h \ 103 cf_cyclo.h \ 108 104 cf_binom.h \ 109 105 cf_defs.h \ … … 113 109 cf_globals.h \ 114 110 cf_gcd_smallp.h \ 111 cf_gmp.h \ 115 112 cf_hnf.h \ 116 113 cf_irred.h \ 117 114 cf_iter.h \ 118 115 cf_map.h \ 116 cf_map_ext.h \ 119 117 cfNewtonPolygon.h \ 120 118 cfModResultant.h \ … … 168 166 lgs.h \ 169 167 algext.h \ 170 singext.h 168 singext.h \ 169 parseutil.h 171 170 172 171 noinst_HEADERS = $(factory_headers) 172 173 libfactory_includedir=$(includedir)/factory 174 libfactory_include_HEADERS = cplusplus.h factory.h factoryconf.h 175 173 176 174 177 # Documentation … … 185 188 rm -rf doxygen 186 189 187 # Support for building GF(q)-tables 188 189 templatesrc = \ 190 ftmpl_array.cc \ 191 ftmpl_factor.cc \ 192 ftmpl_functions.h \ 193 ftmpl_list.cc \ 194 ftmpl_matrix.cc 195 templateincl = \ 196 ftmpl_array.h \ 197 ftmpl_factor.h \ 198 ftmpl_list.h \ 199 ftmpl_matrix.h 200 201 # TODO: 202 # gengftables needs libfactory.a and factory.h AND is needed for generating gftable... 203 # somehow the current deps. seem to be broken... 204 # moreover factory.h needs a lot more generated headers, which wouldn't be installed yet 205 206 EXTRA_PROGRAMS = gengftables cplusplus 207 208 209 gengftables_SOURCES = gengftables-conway.cc 210 211 gengftables_LDADD = -L${builddir} -lfactory $(GMP_LIBS) $(NTL_LIBS) 190 # the precomputed GF(q)-tables 212 191 213 192 gftablesdir=$(datadir)/gftables 214 gftables_DATA = gftables/10201 gftables/1024 gftables/10609 gftables/11449 \193 dist_gftables_DATA = gftables/10201 gftables/1024 gftables/10609 gftables/11449 \ 215 194 gftables/11881 gftables/121 gftables/12167 gftables/125 gftables/12769 \ 216 195 gftables/128 gftables/1331 gftables/1369 gftables/14641 \ … … 235 214 236 215 237 gftables: gengftables 238 @if test -x ${srcdir}/gftables; then \ 239 if test ! -x ${builddir}/gftables; then \ 240 ln -snf ${srcdir}/gftables ${builddir}; \ 241 fi; \ 242 else \ 243 echo "This command will take quite a long time to execute;"; \ 244 echo "maybe you want to get the tables directly via ftp (see"; \ 245 echo "the INSTALL file)."; \ 246 ${builddir}/gengftables; \ 247 fi 248 249 .template.h: 250 ${srcdir}/bin/makeheader $< $@ 251 252 BUILT_SOURCES = cplusplus.h factory.h factoryconf.h readcf.cc 253 254 255 libfactory_a_include_HEADERS=$(BUILT_SOURCES) 256 libfactory_g_a_include_HEADERS=$(BUILT_SOURCES) 216 # Support for building GF(q)-tables 217 # 218 # gengftables needs libfactory.a and factory.h AND is needed for 219 # generating gftable but the tables are not necessarily needed to 220 # compile and use libfactory (though it will be a lot slower). 221 222 EXTRA_PROGRAMS = gengftables 223 gengftables_SOURCES = gengftables-conway.cc 224 gengftables_LDADD = -L${builddir} -lfactory $(GMP_LIBS) $(NTL_LIBS) 225 257 226 258 227 # These files listed below are not used anywhere but are included in 259 228 # the distribution. So they will be tacked on to EXTRA_DIST. 260 229 230 templatesrc = templates/ftmpl_array.cc \ 231 templates/ftmpl_factor.cc \ 232 templates/ftmpl_functions.h \ 233 templates/ftmpl_list.cc \ 234 templates/ftmpl_matrix.cc 235 236 templateincl = templates/ftmpl_array.h \ 237 templates/ftmpl_factor.h \ 238 templates/ftmpl_list.h \ 239 templates/ftmpl_matrix.h 240 261 241 # header templates 262 hdrtemplsrc = \ 263 factoryconf.template \ 242 hdrtemplsrc = factoryconf.template \ 264 243 factory.template 265 244 266 245 # FTE source files 267 ftestsrc = \ 268 ftest_io.cc \ 269 ftest_util.cc \ 270 ntl_util.cc 246 ftestsrc = ftest/ftest_io.cc \ 247 ftest/ftest_util.cc \ 248 ftest/ntl_util.cc 271 249 272 250 # FTE header files 273 ftestincl = \ 274 ftest_io.h \ 275 ftest_util.h \ 276 ntl_util.h 277 278 # FTE m4 source files (exported for `GNUmakefile' in `ftest/'). 279 # The variable `$(ftestm4develsrc)' may be already initialized 280 # from the development `GNUmakefile'. 281 ftestm4src = $(ftestm4develsrc) \ 282 commonden.m4 \ 283 degree.m4 \ 284 deriv.m4 \ 285 divides.m4 \ 286 divrem.m4 \ 287 extgcd.m4 \ 288 factorize.m4 \ 289 fbinops.m4 \ 290 feval.m4 \ 291 gcd.m4 \ 292 gcd.ntl.m4 \ 293 insert.m4 \ 294 norm.m4 \ 295 resultant.m4 \ 296 revert.m4 \ 297 sqrfree.m4 \ 298 size.m4 \ 299 totaldegree.m4 300 301 # other files from the FTE 251 ftestincl = ftest/ftest_io.h \ 252 ftest/ftest_util.h \ 253 ftest/ntl_util.h 254 255 ftestm4src = ftest/commonden.m4 \ 256 ftest/degree.m4 \ 257 ftest/deriv.m4 \ 258 ftest/divides.m4 \ 259 ftest/divrem.m4 \ 260 ftest/extgcd.m4 \ 261 ftest/factorize.m4 \ 262 ftest/fbinops.m4 \ 263 ftest/feval.m4 \ 264 ftest/gcd.m4 \ 265 ftest/gcd.ntl.m4 \ 266 ftest/insert.m4 \ 267 ftest/norm.m4 \ 268 ftest/resultant.m4 \ 269 ftest/revert.m4 \ 270 ftest/sqrfree.m4 \ 271 ftest/size.m4 \ 272 ftest/totaldegree.m4 273 302 274 ftestdistfiles = \ 303 ftest_util.m4 304 305 # gengftables.cc gengftables-conway.cc 275 ftest/ftest_util.m4 276 306 277 EXTRA_DIST = test_install.cc \ 307 278 $(templatesrc) $(templateincl) $(hdrtemplsrc) \ 308 279 $(ftestsrc) $(ftestincl) $(ftestm4src) $(ftestdistfiles) \ 309 doxygen.cfg factory.cfg gen_cf_gmp.template\280 doxygen.cfg factory.cfg \ 310 281 examples/application.cc \ 311 282 examples/factorize.cc examples/gcd.cc \ 312 283 bin/folding.el bin/fold-docu.el \ 313 bin/makeheader bin/gen-readcf $(gftables_DATA) 314 315 CLEANFILES = factory.h factoryconf.h cplusplus.h readcf.cc 316 317 284 bin/makeheader bin/gen-readcf 285 286 ################################################## 287 # autogenerated sources 288 289 noinst_PROGRAMS = cplusplus 290 291 BUILT_SOURCES = cplusplus.h factory.h factoryconf.h readcf.cc 292 293 CLEANFILES = $(BUILT_SOURCES) 318 294 319 295 cplusplus_SOURCES = cplusplus.cc … … 322 298 ${builddir}/cplusplus > ${builddir}/cplusplus.h 323 299 324 #ftmpl_inst.o: ftmpl_inst.cc factoryconf.h factory.h \ 325 # $(addprefix templates/,$(templatesrc)) \ 326 # $(addprefix templates/,$(templateincl)) 327 # $(CXX) -c $< $(libfactory_a_CXXFLAGS) $(INCLUDES) -o $@ 300 .template.h: 301 ${srcdir}/bin/makeheader $< $@ 302 303 # factory/gfops.cc has the gftables path hardcoded in, so we create a 304 # symlink. Remove this rule once gfopts.cc has been fixed. Note that 305 # check-local would run in parallel with check, so we can't use it 306 # here! 307 all-local: 308 [ -d ${builddir}/gftables ] || ln -s ${srcdir}/gftables ${builddir} 328 309 329 310 #################################################### … … 335 316 TESTSSOURCES = test.cc 336 317 337 test_g: libfactory_g.a338 339 318 test_g_SOURCES = $(TESTSSOURCES) 340 319 test_g_CFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long -fomit-frame-pointer --no-rtti #ftmpl_inst.o 341 320 test_g_LDADD = -L${builddir} -lfactory_g $(GMP_LIBS) $(NTL_LIBS) 342 321 343 test_r: libfactory.a344 345 322 test_r_SOURCES = $(TESTSSOURCES) 346 323 test_r_CFLAGS = -O3 -fomit-frame-pointer --no-rtti #ftmpl_inst.o 347 324 test_r_LDADD = -L${builddir} -lfactory $(GMP_LIBS) $(NTL_LIBS) 325 -
factory/configure.ac
r83db8d rc2eb2e 422 422 [test x$with_Singular != xyes && test x$enable_streamio != xno]) 423 423 424 AC_OUTPUT(Makefile ftest/GNUmakefile) 425 424 AC_CONFIG_FILES([Makefile ftest/GNUmakefile]) 425 AC_OUTPUT 426 -
kernel/Makefile.am
r83db8d rc2eb2e 10 10 11 11 12 13 12 CXXTEMPLFLAGS = --no-exceptions ## -fno-implicit-templates 14 13 15 16 lib_LIBRARIES = libkernel.a libkernel_g.a 17 14 libkernel_LIBRARIES = libkernel.a libkernel_g.a 15 libkerneldir = $(libdir)/singular 18 16 19 17 libkernel_a_CFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} … … 50 48 f5c.cc ratgring.cc shiftgb.cc gfan.cc \ 51 49 linearAlgebra.cc nc.cc preimage.cc \ 52 fegetopt.c kInline.h50 fegetopt.c 53 51 54 52 libkernel_a_SOURCES = $(SOURCES) 55 53 libkernel_g_a_SOURCES = $(SOURCES) 56 57 libkernel_a_includedir =${includedir}/kernel/58 libkernel_g_a_includedir=${includedir}/kernel/59 54 60 55 KERNELHEADERS = polys.h hutil.h stairc.h ideals.h \ … … 72 67 fegetopt.h \ 73 68 ratgring.h shiftgb.h nc.h \ 74 gfan.h preimage.h 69 gfan.h preimage.h mod2.h longrat.h timer.h kInline.h modulop.h fast_mult.h \ 70 digitech.h tgb.h ringgb.h tgbgauss.h tgb_internal.h \ 71 linearAlgebra.h page.h 75 72 76 libkernel_a_include_HEADERS = $(KERNELHEADERS) 77 libkernel_g_a_include_HEADERS = $(KERNELHEADERS) 78 73 libkernel_includedir =${includedir}/singular/kernel/ 74 libkernel_include_HEADERS = $(KERNELHEADERS) 79 75 80 76 if ENABLE_FACTORY … … 99 95 testg_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS) 100 96 101 testr_SOURCES = test.cc 102 testg_SOURCES = test.cc 97 testsources = test.cc f5c.h f5data.h f5gb.h f5lists.h 98 testr_SOURCES = $(testsources) 99 testg_SOURCES = $(testsources) 103 100 104 101 testr_LDADD = -lkernel -lpolys -lcoeffs -lresources -lreporter -lmisc $(FACTORY_LIBS) -lomalloc $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} … … 112 109 113 110 114 # noinst_HEADERS =115 -
libpolys/Makefile.am
r83db8d rc2eb2e 2 2 3 3 bin_SCRIPTS = libpolys-config 4 5 libpoly_libincludedir = $(libdir)/libpolys/include6 nodist_libpoly_libinclude_HEADERS = config.h7 8 4 9 5 PACKAGES=misc reporter resources coeffs polys tests -
libpolys/coeffs/Makefile.am
r83db8d rc2eb2e 1 lib_LIBRARIES = libcoeffs.a libcoeffs_g.a 1 libcoeffs_LIBRARIES = libcoeffs.a libcoeffs_g.a 2 libcoeffsdir = $(libdir)/singular 3 2 4 CXXTEMPLFLAGS = --no-exceptions 3 5 ## -fno-implicit-templates … … 29 31 libcoeffs_g_a_SOURCES = $(SOURCES) 30 32 31 ## include_HEADERS = coeffs.h numbers.h 32 33 libcoeffs_a_includedir =$(includedir)/libpolys/coeffs 34 libcoeffs_g_a_includedir=$(includedir)/libpolys/coeffs 35 36 COEFFSHEADERS = coeffs.h numbers.h si_gmp.h 37 libcoeffs_a_include_HEADERS = $(COEFFSHEADERS) 38 libcoeffs_g_a_include_HEADERS = $(COEFFSHEADERS) 39 33 libcoeffs_includedir =$(includedir)/singular/coeffs 34 libcoeffs_include_HEADERS = coeffs.h numbers.h si_gmp.h 40 35 41 36 if ENABLE_FACTORY -
libpolys/misc/Makefile.am
r83db8d rc2eb2e 1 lib_LIBRARIES=libmisc.a libmisc_g.a 1 libmisc_LIBRARIES = libmisc.a libmisc_g.a 2 libmiscdir = $(libdir)/singular 2 3 3 4 CXXTEMPLFLAGS = --no-exceptions ## -fno-implicit-templates … … 19 20 libmisc_g_a_SOURCES = $(SOURCES) 20 21 21 libmisc_a_includedir =$(includedir)/libpolys/misc 22 libmisc_g_a_includedir=$(includedir)/libpolys/misc 23 24 ###???? 25 #libmisc_a_libdir =${libdir}/libpolys 26 #libmisc_g_a_libdir=${libdir}/libpolys 27 28 MISCHEADERS = auxiliary.h mylimits.h options.h intvec.h int64vec.h 29 libmisc_a_include_HEADERS = $(MISCHEADERS) 30 libmisc_g_a_include_HEADERS = $(MISCHEADERS) 22 libmisc_includedir = $(includedir)/singular/misc 23 libmisc_include_HEADERS = auxiliary.h mylimits.h options.h intvec.h int64vec.h 31 24 32 25 33 26 27 -
libpolys/polys/Makefile.am
r83db8d rc2eb2e 1 1 CXXTEMPLFLAGS = --no-exceptions ## -fno-implicit-templates 2 3 2 4 3 DEBUGCXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long … … 28 27 endif 29 28 30 prCopy.inc: prCopy.pl 31 perl ${srcdir}/prCopy.pl > prCopy.inc 32 33 lib_LIBRARIES=libpolys.a libpolys_g.a 34 35 libpolys_a_includedir=$(includedir)/libpolys/polys 36 libpolys_g_a_includedir=$(includedir)/libpolys/polys 29 libpolys_LIBRARIES = libpolys.a libpolys_g.a 30 libpolysdir = $(libdir)/singular 37 31 38 32 SOURCES = \ 39 33 monomials/monomials.cc monomials/p_polys.cc monomials/ring.cc monomials/maps.cc \ 40 operations/pShallowCopyDelete.cc operations/p_Mult_q.cc operations/p_Mult_q.h \ 41 templates/p_Procs_Lib.cc templates/p_MemCmp.h templates/p_MemCopy.h templates/p_Numbers.h \ 42 templates/p_Procs_Set.h templates/p_Procs_Static.h templates/p_Procs_Dynamic.h \ 43 templates/p_Procs_Impl.h \ 34 operations/pShallowCopyDelete.cc operations/p_Mult_q.cc \ 44 35 nc/sca.cc nc/summator.cc nc/ncSAFormula.cc nc/ncSACache.cc nc/ncSAMult.cc \ 45 36 pDebug.cc polys0.cc prCopy.cc prCopyMacros.h \ 46 37 kbuckets.cc sbuckets.cc weight.cc weight0.c simpleideals.cc matpol.cc \ 47 38 sparsmat.cc \ 48 ${USE_P_PROCS_STATIC_CC} ${USE_P_PROCS_DYNAMIC_CC} 49 ext_fields/algext.cc ext_fields/ algext.h\50 ext_fields/transext.ccclapsing.cc clapconv.cc \39 ${USE_P_PROCS_STATIC_CC} ${USE_P_PROCS_DYNAMIC_CC} mod_raw.cc \ 40 ext_fields/algext.cc ext_fields/transext.cc \ 41 clapsing.cc clapconv.cc \ 51 42 nc/old.gring.cc 52 53 # OLD?:54 55 BUILT_SOURCES = prCopy.inc templates/p_Procs.inc56 57 noinst_HEADERS =58 43 59 44 LIBPOLYSHEADERS = monomials/ring.h monomials/monomials.h \ 60 45 nc/nc.h nc/sca.h nc/summator.h nc/ncSAFormula.h nc/ncSACache.h nc/ncSAMult.h \ 61 operations/pShallowCopyDelete.h \ 62 templates/p_MemAdd.h \ 46 operations/pShallowCopyDelete.h operations/p_Mult_q.h \ 63 47 templates/p_Procs.h mod_raw.h \ 64 48 monomials/p_polys.h monomials/maps.h prCopy.h \ 65 49 kbuckets.h sbuckets.h simpleideals.h weight.h matpol.h \ 66 sparsmat.h clapsing.h clapconv.h 50 sparsmat.h clapsing.h clapconv.h coeffrings.h \ 51 ext_fields/algext.h ext_fields/transext.h 67 52 68 ### nobase_include_HEADERS = $(LIBPOLYSHEADERS) 69 70 53 EXTRA_DIST = \ 54 prCopy.pl prCopyTemplate.cc \ 55 templates/p_Procs_Lib.cc templates/p_MemCmp.h templates/p_MemCopy.h templates/p_Numbers.h \ 56 templates/p_Procs_Set.h templates/p_Procs_Static.h templates/p_Procs_Dynamic.h \ 57 templates/p_Procs_Impl.h templates/p_Delete__T.cc templates/p_Copy__T.cc \ 58 templates/p_ShallowCopyDelete__T.cc templates/p_MemAdd.h templates/p_Mult_nn__T.cc \ 59 templates/pp_Mult_nn__T.cc templates/pp_Mult_mm__T.cc templates/p_Mult_mm__T.cc \ 60 templates/pp_Mult_Coeff_mm_DivSelect__T.cc templates/pp_Mult_nn__T.cc \ 61 templates/pp_Mult_Coeff_mm_DivSelectMult__T.cc \ 62 templates/pp_Mult_mm_Noether__T.cc \ 63 templates/p_kBucketSetLm__T.cc templates/p_Minus_mm_Mult_qq__T.cc \ 64 templates/p_Merge_q__T.cc templates/p_Add_q__T.cc templates/p_Neg__T.cc 71 65 72 66 P_PROCS_CPPFLAGS_COMMON = -DDYNAMIC_VERSION … … 121 115 122 116 123 moduledir = $(libdir)/ libpolys/MOD/117 moduledir = $(libdir)/singular/MOD/ 124 118 125 119 if ENABLE_P_PROCS_DYNAMIC … … 128 122 endif 129 123 124 libpolys_includedir=$(includedir)/singular/polys 130 125 131 nobase_libpolys_a_include_HEADERS = $(LIBPOLYSHEADERS) 132 nobase_libpolys_g_a_include_HEADERS = $(LIBPOLYSHEADERS) 133 126 libpolys_include_HEADERS = $(LIBPOLYSHEADERS) 134 127 135 128 libpolys_a_SOURCES = ${SOURCES} 136 129 libpolys_g_a_SOURCES = ${SOURCES} 137 130 138 ## libpolys_adir = $(libdir)/libpolys139 ## libpolys_g_adir = $(libdir)/libpolys140 141 131 EXTRA_libpolys_a_SOURCES = templates/p_Procs_Static.cc templates/p_Procs_Dynamic.cc 142 132 143 EXTRA_PROGRAMS = templates/p_Procs_Generate 144 templates_p_Procs_Generate_SOURCES = templates/p_Procs_Generate.cc 133 libpolys_g_a_CXXFLAGS = ${DEBUGCXXFLAGS} 134 libpolys_a_CPPFLAGS = ${NODEBUGDEFS} 145 135 146 136 147 ###test_LDADD = libcoeffs.a -lresources -lreporter -lgmp -lomalloc 137 ################################################# 138 # autogenerated sources 148 139 140 BUILT_SOURCES = prCopy.inc templates/p_Procs.inc 141 142 noinst_PROGRAMS = templates/p_Procs_Generate 143 templates_p_Procs_Generate_SOURCES = templates/p_Procs_Generate.cc 149 144 templates_p_Procs_Generate_CFLAGS = ${NODEBUGCFLAGS} 150 145 templates_p_Procs_Generate_CXXFLAGS = ${NODEBUGCXXFLAGS} … … 156 151 ${builddir}/templates/p_Procs_Generate > ${builddir}/templates/p_Procs.inc 157 152 158 libpolys_g_a_CXXFLAGS = ${DEBUGCXXFLAGS} 159 libpolys_a_CPPFLAGS = ${NODEBUGDEFS} 153 prCopy.inc: prCopy.pl 154 perl ${srcdir}/prCopy.pl > prCopy.inc 160 155 161 # -fdiagnostics-show-option 156 CLEANFILES = $(BUILT_SOURCES) 162 157 163 dynamic_modules: ${module_LTLIBRARIES}164 -
libpolys/reporter/Makefile.am
r83db8d rc2eb2e 1 lib_LIBRARIES=libreporter.a libreporter_g.a 1 libreporter_LIBRARIES=libreporter.a libreporter_g.a 2 libreporterdir = $(libdir)/singular 2 3 3 4 CXXTEMPLFLAGS = --no-exceptions ## -fno-implicit-templates … … 19 20 libreporter_g_a_SOURCES = $(SOURCES) 20 21 21 libreporter_a_includedir =$(includedir)/libpolys/reporter 22 libreporter_g_a_includedir=$(includedir)/libpolys/reporter 22 libreporter_includedir =$(includedir)/singular/reporter 23 23 24 REPORTERHEADERS = reporter.h 25 libreporter_a_include_HEADERS = $(REPORTERHEADERS) 26 libreporter_g_a_include_HEADERS = $(REPORTERHEADERS) 24 libreporter_include_HEADERS = reporter.h 27 25 28 26 -
libpolys/resources/Makefile.am
r83db8d rc2eb2e 1 lib_LIBRARIES=libresources.a libresources_g.a 1 libresources_LIBRARIES=libresources.a libresources_g.a 2 libresourcesdir = $(libdir)/singular 2 3 3 4 CXXTEMPLFLAGS = --no-exceptions ## -fno-implicit-templates … … 19 20 libresources_g_a_SOURCES = $(SOURCES) 20 21 21 libresources_a_includedir =$(includedir)/libpolys/resources 22 libresources_g_a_includedir=$(includedir)/libpolys/resources 22 libresources_includedir =$(includedir)/singular/resources 23 23 24 RESOURCESHEADERS = feFopen.h feResource.h 25 libresources_a_include_HEADERS = $(RESOURCESHEADERS) 26 libresources_g_a_include_HEADERS = $(RESOURCESHEADERS) 24 libresources_include_HEADERS = feFopen.h feResource.h 27 25 28 26 -
libpolys/tests/Makefile.am
r83db8d rc2eb2e 23 23 24 24 simple_test_SOURCES = simple_test_runner.cpp 25 coeffs_test_SOURCES = coeffs_test_runner.cpp gftables 26 polys_test_SOURCES = polys_test_runner.cpp gftables MOD 27 rings_test_SOURCES = rings_test_runner.cpp gftables MOD 28 29 25 coeffs_test_SOURCES = coeffs_test_runner.cpp 26 polys_test_SOURCES = polys_test_runner.cpp 27 rings_test_SOURCES = rings_test_runner.cpp 30 28 31 29 polys_test_LDFLAGS = ${AM_LDFLAGS} ${USEPPROCSDYNAMICLDFLAGS} … … 37 35 38 36 39 BUILT_SOURCES = $(simple_test_SOURCES) $(coeffs_test_SOURCES) $(rings_test_SOURCES) $(polys_test_SOURCES) 37 BUILT_SOURCES = gftables MOD \ 38 $(simple_test_SOURCES) $(coeffs_test_SOURCES) $(rings_test_SOURCES) $(polys_test_SOURCES) 40 39 41 40 gftables: ${top_srcdir}/../factory/gftables … … 59 58 60 59 CLEANFILES = $(BUILT_SOURCES) 60 61 EXTRA_DIST = simple_test.h coeffs_test.h polys_test.h rings_test.h common.h \ 62 cxxtest/Descriptions.h cxxtest/ParenPrinter.h cxxtest/TestListener.h \ 63 cxxtest/DummyDescriptions.h cxxtest/QtGui.h cxxtest/TestRunner.h \ 64 cxxtest/ErrorFormatter.h cxxtest/RealDescriptions.h cxxtest/TestSuite.h \ 65 cxxtest/ErrorPrinter.h cxxtest/SelfTest.h cxxtest/TestTracker.h \ 66 cxxtest/Flags.h cxxtest/StdHeaders.h cxxtest/ValueTraits.h \ 67 cxxtest/GlobalFixture.h cxxtest/StdioFilePrinter.h cxxtest/Win32Gui.h \ 68 cxxtest/Gui.h cxxtest/StdioPrinter.h cxxtest/X11Gui.h \ 69 cxxtest/LinkedList.h cxxtest/StdValueTraits.h cxxtest/YesNoRunner.h \ 70 cxxtest/Mock.h cxxtest/TeeListener.h \ 71 cxxtest/Descriptions.cpp cxxtest/LinkedList.cpp cxxtest/TestSuite.cpp \ 72 cxxtest/DummyDescriptions.cpp cxxtest/RealDescriptions.cpp cxxtest/TestTracker.cpp \ 73 cxxtest/GlobalFixture.cpp cxxtest/Root.cpp cxxtest/ValueTraits.cpp -
numeric/Makefile.am
r83db8d rc2eb2e 1 lib_LIBRARIES=libnumeric.a libnumeric_g.a 1 libnumeric_LIBRARIES = libnumeric.a libnumeric_g.a 2 libnumericdir = $(libdir)/singular 2 3 3 4 CXXTEMPLFLAGS = --no-exceptions ## -fno-implicit-templates … … 19 20 libnumeric_g_a_SOURCES = $(SOURCES) 20 21 21 libnumeric_a_includedir =$(includedir)/numeric/ 22 libnumeric_g_a_includedir=$(includedir)/numeric/ 22 libnumeric_includedir =$(includedir)/singular/numeric/ 23 23 24 NUMERICHEADERS = mpr_base.h mpr_inout.h mpr_numeric.h 25 26 libnumeric_a_include_HEADERS = $(NUMERICHEADERS) 27 libnumeric_g_a_include_HEADERS = $(NUMERICHEADERS) 24 libnumeric_include_HEADERS = mpr_base.h mpr_inout.h mpr_numeric.h 28 25 29 26 -
omalloc/Makefile.am
r83db8d rc2eb2e 1 ACLOCAL_AMFLAGS = -I ../m4 1 2 AM_LDFLAGS = -L${top_builddir}/omalloc -L${top_builddir}/../omalloc 2 3 3 4 lib_LIBRARIES=libomalloc.a libomalloc_g.a 4 5 5 libomalloc_ a_includedir=$(includedir)/omalloc6 libomalloc_includedir=$(includedir)/omalloc 6 7 7 libomalloc_ a_include_HEADERS=\8 libomalloc_include_HEADERS = \ 8 9 omalloc.h omConfig.h omDerivedConfig.h \ 9 10 omError.h omStructs.h omAllocDecl.h \ … … 15 16 omAllocFunc.h omlimits.h mylimits.h 16 17 17 18 19 noinst_HEADERS= omPage.h omDefaultConfig.h omReturn.h 18 noinst_HEADERS= omPage.h omDefaultConfig.h omReturn.h omGetPageSize.h \ 19 omMalloc.h omMallocSystem.h 20 20 21 21 SOURCES=\ … … 23 23 om_Alloc.c omDebugCheck.c omOpts.c omGetBackTrace.c \ 24 24 omAllocSystem.c omError.c omStats.c omRet2Info.c \ 25 omBin.c omFindExec.c omDebugTrack.c 25 omBin.c omFindExec.c omDebugTrack.c \ 26 26 omalloc_provide.c omAllocFunc.c 27 28 EXTRA_DIST = omalloc.c omtTestAlloc.c omtTest.h 27 29 28 30 INCLUDES=-I${top_srcdir}/.. -I${top_builddir}/.. … … 31 33 libomalloc_g_a_SOURCES=$(SOURCES) $(noinst_HEADERS) 32 34 33 nodist_libomalloc_a_SOURCES = omConfig.h omlimits.h mylimits.h om Tables.h omalloc.h omTables.inc34 nodist_libomalloc_g_a_SOURCES = omConfig.h omlimits.h om Tables.h omalloc.h omTables.inc35 nodist_libomalloc_a_SOURCES = omConfig.h omlimits.h mylimits.h omalloc.h omTables.inc 36 nodist_libomalloc_g_a_SOURCES = omConfig.h omlimits.h omalloc.h omTables.inc 35 37 36 38 libomalloc_a_CPPFLAGS= -DOM_NDEBUG … … 48 50 omTables_CPPFLAGS = -DOM_GENERATE_INC 49 51 52 CLEANFILES = $(BUILT_SOURCES) 53 50 54 #################################################### 51 55 ## Test program … … 54 58 check_PROGRAMS = $(TESTS) 55 59 56 OMTTESTSSOURCES = omtTestReal.c omtTestDebug.c omtTestKeep.c omtTestError.c omtTest.c 60 OMTTESTSSOURCES = omtTestReal.c omtTestDebug.c omtTestKeep.c omtTestError.c omtTest.c 57 61 58 62 omtTest_g: libomalloc_g.a -
omalloc/configure.ac
r83db8d rc2eb2e 1 1 dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll 2 dnl File: configure. in2 dnl File: configure.ac 3 3 dnl Purpose: Process this file with autoconf to produce configure 4 4 dnl Author: obachman@mathematik.uni-kl.de (Olaf Bachmann) … … 516 516 517 517 AC_MSG_CHECKING(whether to track return addresses) 518 if test "$with_track_return" = no || test "$ac_cv_get_return_addr_works" = no || test "$ac_cv_prog_addr2line_works "!= yes; then518 if test "$with_track_return" = no || test "$ac_cv_get_return_addr_works" = no || test "$ac_cv_prog_addr2line_works "!= yes; then 519 519 with_track_return=no 520 520 else … … 582 582 dnl 583 583 AC_CONFIG_HEADER(config.h omConfig.h omlimits.h) 584 585 AC_OUTPUT(Makefile, \ 586 if test "$CONFIG_HEADERS"; then echo timestamp > stamp-h; fi) 587 588 584 AC_CONFIG_FILES([Makefile]) 585 AC_OUTPUT 586
Note: See TracChangeset
for help on using the changeset viewer.