Changeset b4a676 in git
- Timestamp:
- Mar 29, 2012, 1:34:51 PM (11 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '1d362c315e551a5b527ab0759f8839cf0e94f3a5')
- Children:
- fca452a782a426cceaa9e98f3a95b5a5acccd04f
- Parents:
- da4e5cb9371055727eda739b44f619c7eabeab5e
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-29 13:34:51+02:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-29 13:49:42+02:00
- Files:
-
- 1 added
- 2 deleted
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.am
rda4e5c rb4a676 11 11 SUBDIRS=$(PACKAGES) 12 12 13 TESTDIRS=$( ALLOC) $(USE_FACTORY) libpolys kernel Singular13 TESTDIRS=$(PACKAGES) 14 14 15 15 -
Singular/Makefile.am
rda4e5c rb4a676 259 259 ESingular_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) 260 260 ESingular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DESINGULAR -DPROTO 261 ESingular_LDFLAGS = -static ${AM_LDFLAGS} -L${abs_top_builddir}/libpolys/resources-L${abs_top_builddir}/libpolys/reporter -L${abs_top_builddir}/libpolys/misc262 ESingular_LDADD = -lresources-lreporter -lmisc -lomalloc -lfindexec261 ESingular_LDFLAGS = -static ${AM_LDFLAGS} -L${abs_top_builddir}/libpolys/reporter -L${abs_top_builddir}/libpolys/misc 262 ESingular_LDADD = -lreporter -lmisc -lomalloc -lfindexec 263 263 264 264 ESingular_SOURCES = emacs.cc fegetopt.c fegetopt.h feOptES.inc feOpt.cc … … 269 269 TSingular_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS) 270 270 TSingular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DTSINGULAR -DPROTO 271 TSingular_LDFLAGS = -static ${AM_LDFLAGS} -L${abs_top_builddir}/libpolys/resources-L${abs_top_builddir}/libpolys/reporter -L${abs_top_builddir}/libpolys/misc272 TSingular_LDADD = -lresources-lreporter -lmisc -lomalloc -lfindexec271 TSingular_LDFLAGS = -static ${AM_LDFLAGS} -L${abs_top_builddir}/libpolys/reporter -L${abs_top_builddir}/libpolys/misc 272 TSingular_LDADD = -lreporter -lmisc -lomalloc -lfindexec 273 273 274 274 TSingular_SOURCES = emacs.cc fegetopt.c fegetopt.h feOptTS.inc feOpt.cc -
configure.ac
rda4e5c rb4a676 123 123 fi 124 124 125 AC_CONFIG_SUBDIRS([findexec]) 125 126 AC_CONFIG_SUBDIRS([omalloc]) 126 127 … … 131 132 AC_CONFIG_SUBDIRS([libpolys]) 132 133 AC_CONFIG_FILES([Makefile]) 133 AC_CONFIG_FILES([findexec/Makefile])134 134 AC_CONFIG_FILES([kernel/Makefile]) 135 135 AC_CONFIG_FILES([numeric/Makefile]) -
factory/Makefile.am
rda4e5c rb4a676 338 338 339 339 # The following ('..') is a hack for a while... 340 TESTADDLIBDIRS = ${OMALLOC_LDFLAGS} -L${builddir}/../findexec -L${builddir}/../libpolys340 TESTADDLIBDIRS = ${OMALLOC_LDFLAGS} 341 341 TESTADDLIB = $(TESTADDLIBDIRS) $(OMALLOC_R_LDADD) 342 342 TESTADDLIBDEBUG = $(TESTADDLIBDIRS) $(OMALLOC_G_LDADD) -
factory/configure.ac
rda4e5c rb4a676 372 372 if test "x$with_omalloc_extra_dir" != "x"; then 373 373 OMALLOC_CFLAGS="$OMALLOC_CFLAGS -I${with_omalloc_extra_dir}" 374 OMALLOC_LDFLAGS="$OMALLOC_LDFLAGS -L${with_omalloc_extra_dir}/omalloc -L${with_omalloc_extra_dir}/findexec -L${with_omalloc_extra_dir}/libpolys/resources -L${with_omalloc_extra_dir}/libpolys/reporter -L${with_omalloc_extra_dir}/libpolys/misc"374 OMALLOC_LDFLAGS="$OMALLOC_LDFLAGS -L${with_omalloc_extra_dir}/omalloc -L${with_omalloc_extra_dir}/findexec" 375 375 fi 376 376 … … 385 385 CPPFLAGS="$CPPFLAGS_save" 386 386 387 OMALLOC_G_LDADD="-l resources_g -lreporter_g -lmisc_g -lfindexec_g -lomalloc_g"388 OMALLOC_R_LDADD="-l resources -lreporter -lmisc -lfindexec -lomalloc"387 OMALLOC_G_LDADD="-lfindexec_g -lomalloc_g" 388 OMALLOC_R_LDADD="-lfindexec -lomalloc" 389 389 390 390 AC_DEFINE(HAVE_OMALLOC, 1, [omalloc support]) -
findexec/Makefile.am
rda4e5c rb4a676 1 ACLOCAL_AMFLAGS = -I ../m4 2 1 3 libfindexec_LTLIBRARIES = libfindexec.la libfindexec_g.la 2 4 libfindexecdir = $(libdir)/singular -
findexec/feFopen.cc
rda4e5c rb4a676 11 11 12 12 #include "feFopen.h" 13 #include <findexec/feResource.h>13 #include "feResource.h" 14 14 15 15 -
findexec/feResource.cc
rda4e5c rb4a676 14 14 #include "config.h" 15 15 16 #include <findexec/omFindExec.h>16 #include "omFindExec.h" 17 17 18 18 #include "feResource.h" … … 40 40 // #define RESOURCE_DEBUG 41 41 42 #define SINGULAR_DEFAULT_DIR "/usr/local/Singular/" PACKAGE_VERSION42 #define SINGULAR_DEFAULT_DIR "/usr/local/Singular/" 43 43 44 44 /***************************************************************** … … 71 71 "%b/../../factory", 72 72 ""}, 73 {"Singular", 'S', feResBinary,"SINGULAR_EXECUTABLE", "%d/ "S_UNAME"/Singular",(char *)""},74 {"BinDir", 'b', feResDir, "SINGULAR_BIN_DIR", "%d/" S_UNAME,(char *)""},73 {"Singular", 'S', feResBinary,"SINGULAR_EXECUTABLE", "%d/Singular", (char *)""}, 74 {"BinDir", 'b', feResDir, "SINGULAR_BIN_DIR", "%d/", (char *)""}, 75 75 {"RootDir", 'r', feResDir, "SINGULAR_ROOT_DIR", "%b/..", (char *)""}, 76 76 {"DataDir", 'D', feResDir, "SINGULAR_DATA_DIR", "%b/../share", (char *)""}, … … 82 82 {"HtmlHelpFile",'C', feResFile, "SINGULAR_CHM_FILE", "%r/doc/Manual.chm", (char *)""}, 83 83 #endif 84 {"ManualUrl", 'u', feResUrl, "SINGULAR_URL", "http://www.singular.uni-kl.de/ Manual/"PACKAGE_VERSION, (char *)""},84 {"ManualUrl", 'u', feResUrl, "SINGULAR_URL", "http://www.singular.uni-kl.de/index.php/singular-manual.html", (char *)""}, 85 85 {"ExDir", 'm', feResDir, "SINGULAR_EXAMPLES_DIR","%r/examples", (char *)""}, 86 86 {"Path", 'p', feResPath, NULL, "%b;$PATH", (char *)""}, -
kernel/Makefile.am
rda4e5c rb4a676 80 80 endif 81 81 82 AM_LDFLAGS = -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 -L${top_builddir}/findexec82 AM_LDFLAGS = -L${top_builddir}/kernel -L${top_builddir}/libpolys/polys -L${top_builddir}/libpolys/coeffs -L${top_builddir}/libpolys/reporter -L${top_builddir}/libpolys/misc $(USE_FACTORY) -L${top_builddir}/omalloc -L${top_builddir}/findexec 83 83 84 84 … … 100 100 test_s_g_SOURCES = $(testsources) 101 101 102 test_s_r_LDADD = -lkernel -lpolys -lcoeffs -lresources-lreporter -lmisc $(FACTORY_LIBS) -lomalloc -lfindexec $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD}103 test_s_g_LDADD = -lkernel_g -lpolys_g -lcoeffs_g -lresources_g-lreporter_g -lmisc_g $(FACTORY_LIBS) -lomalloc_g -lfindexec_g $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD}102 test_s_r_LDADD = -lkernel -lpolys -lcoeffs -lreporter -lmisc $(FACTORY_LIBS) -lomalloc -lfindexec $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} 103 test_s_g_LDADD = -lkernel_g -lpolys_g -lcoeffs_g -lreporter_g -lmisc_g $(FACTORY_LIBS) -lomalloc_g -lfindexec_g $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} 104 104 105 105 test_s_r_CPPFLAGS = -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG … … 119 119 test_d_g_SOURCES = $(testsources) 120 120 121 test_d_r_LDADD = -lkernel -lpolys -lcoeffs -lresources-lreporter -lmisc $(FACTORY_LIBS) -lomalloc -lfindexec $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD}122 test_d_g_LDADD = -lkernel_g -lpolys_g -lcoeffs_g -lresources_g-lreporter_g -lmisc_g $(FACTORY_LIBS) -lomalloc_g -lfindexec_g $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD}121 test_d_r_LDADD = -lkernel -lpolys -lcoeffs -lreporter -lmisc $(FACTORY_LIBS) -lomalloc -lfindexec $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} 122 test_d_g_LDADD = -lkernel_g -lpolys_g -lcoeffs_g -lreporter_g -lmisc_g $(FACTORY_LIBS) -lomalloc_g -lfindexec_g $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} 123 123 124 124 test_d_r_CPPFLAGS = -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -
libpolys/Makefile.am
rda4e5c rb4a676 3 3 bin_SCRIPTS = libpolys-config 4 4 5 PACKAGES=misc reporter resourcescoeffs polys tests5 PACKAGES=misc reporter coeffs polys tests 6 6 SUBDIRS=$(PACKAGES) 7 7 -
libpolys/coeffs/Makefile.am
rda4e5c rb4a676 43 43 44 44 ## for testing... 45 AM_LDFLAGS = -L${ top_builddir}/coeffs -L${top_builddir}/reporter -L${top_builddir}/resources -L${top_builddir}/misc ${USE_FACTORY} -L${top_builddir}/../omalloc -L${top_builddir}/../findexec45 AM_LDFLAGS = -L${abs_top_builddir}/coeffs -L${abs_top_builddir}/reporter -L${top_builddir}/misc ${USE_FACTORY} -L${top_builddir}/../omalloc -L${abs_top_builddir}/../findexec -L${abs_builddir} 46 46 47 47 … … 60 60 61 61 62 test_s_r_LDADD = -lcoeffs -lre sources -lreporter -lmisc ${FACTORY_LIBS} -lomalloc -lfindexec ${NTL_LIBS} ${GMP_LIBS}63 test_s_g_LDADD = -lcoeffs_g -lre sources_g -lreporter_g -lmisc_g ${FACTORY_LIBS} -lomalloc_g -lfindexec_g ${NTL_LIBS} ${GMP_LIBS}62 test_s_r_LDADD = -lcoeffs -lreporter -lmisc ${FACTORY_LIBS} -lomalloc -lfindexec ${NTL_LIBS} ${GMP_LIBS} 63 test_s_g_LDADD = -lcoeffs_g -lreporter_g -lmisc_g ${FACTORY_LIBS} -lomalloc_g -lfindexec_g ${NTL_LIBS} ${GMP_LIBS} 64 64 65 test_d_r_LDADD = -lcoeffs -lre sources -lreporter -lmisc ${FACTORY_LIBS} -lomalloc -lfindexec ${NTL_LIBS} ${GMP_LIBS}66 test_d_g_LDADD = -lcoeffs_g -lre sources_g -lreporter_g -lmisc_g ${FACTORY_LIBS} -lomalloc_g -lfindexec_g ${NTL_LIBS} ${GMP_LIBS}65 test_d_r_LDADD = -lcoeffs -lreporter -lmisc ${FACTORY_LIBS} -lomalloc -lfindexec ${NTL_LIBS} ${GMP_LIBS} 66 test_d_g_LDADD = -lcoeffs_g -lreporter_g -lmisc_g ${FACTORY_LIBS} -lomalloc_g -lfindexec_g ${NTL_LIBS} ${GMP_LIBS} 67 67 68 68 -
libpolys/configure.ac
rda4e5c rb4a676 121 121 AC_CONFIG_FILES([misc/Makefile]) 122 122 AC_CONFIG_FILES([reporter/Makefile]) 123 AC_CONFIG_FILES([resources/Makefile])124 123 AC_CONFIG_FILES([coeffs/Makefile]) 125 124 AC_CONFIG_FILES([polys/Makefile]) -
libpolys/polys/Makefile.am
rda4e5c rb4a676 11 11 12 12 INCLUDES = -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} 13 AM_LDFLAGS = -L${abs_top_builddir}/coeffs -L${abs_top_builddir}/reporter -L${abs_top_builddir}/ resources -L${abs_top_builddir}/../omalloc -L${abs_builddir}13 AM_LDFLAGS = -L${abs_top_builddir}/coeffs -L${abs_top_builddir}/reporter -L${abs_top_builddir}/../omalloc -L${abs_builddir} 14 14 15 15 if ENABLE_P_PROCS_STATIC … … 136 136 137 137 138 libpolys_la_LIBADD = ${abs_top_builddir}/misc/libmisc.la ${abs_top_builddir}/reporter/libreporter.la ${abs_top_builddir}/ resources/libresources.la ${abs_top_builddir}/coeffs/libcoeffs.la139 libpolys_g_la_LIBADD = ${abs_top_builddir}/misc/libmisc_g.la ${abs_top_builddir}/reporter/libreporter_g.la ${abs_top_builddir}/ resources/libresources_g.la ${abs_top_builddir}/coeffs/libcoeffs_g.la138 libpolys_la_LIBADD = ${abs_top_builddir}/misc/libmisc.la ${abs_top_builddir}/reporter/libreporter.la ${abs_top_builddir}/coeffs/libcoeffs.la 139 libpolys_g_la_LIBADD = ${abs_top_builddir}/misc/libmisc_g.la ${abs_top_builddir}/reporter/libreporter_g.la ${abs_top_builddir}/coeffs/libcoeffs_g.la 140 140 141 141 -
libpolys/tests/Makefile.am
rda4e5c rb4a676 99 99 rings_test_s_g_CPPFLAGS = ${DEBUGCPPFLAGS} 100 100 101 AM_LDFLAGS = -L${top_builddir}/polys -L${top_builddir}/coeffs -L${top_builddir}/reporter -L${top_builddir}/ resources -L${top_builddir}/misc ${USE_FACTORY} -L${top_builddir}/../omalloc -L${top_builddir}/../findexec101 AM_LDFLAGS = -L${top_builddir}/polys -L${top_builddir}/coeffs -L${top_builddir}/reporter -L${top_builddir}/misc ${USE_FACTORY} -L${top_builddir}/../omalloc -L${top_builddir}/../findexec 102 102 103 103 coeffs_test_s_r_LDFLAGS = ${AM_LDFLAGS} -static … … 118 118 119 119 120 coeffs_test_s_r_LDADD = -lcoeffs -lre sources -lreporter -lmisc ${FACTORY_LIBS} -lomalloc -lfindexec ${NTL_LIBS} ${GMP_LIBS}120 coeffs_test_s_r_LDADD = -lcoeffs -lreporter -lmisc ${FACTORY_LIBS} -lomalloc -lfindexec ${NTL_LIBS} ${GMP_LIBS} 121 121 polys_test_s_r_LDADD = -lpolys ${USEPPROCSDYNAMICLD} ${FACTORY_LIBS} -lomalloc -lfindexec ${NTL_LIBS} ${GMP_LIBS} 122 122 rings_test_s_r_LDADD = $(polys_test_s_r_LDADD) 123 123 124 coeffs_test_s_g_LDADD = -lcoeffs_g -lre sources_g -lreporter_g -lmisc_g ${FACTORY_LIBS} -lomalloc_g -lfindexec_g ${NTL_LIBS} ${GMP_LIBS}124 coeffs_test_s_g_LDADD = -lcoeffs_g -lreporter_g -lmisc_g ${FACTORY_LIBS} -lomalloc_g -lfindexec_g ${NTL_LIBS} ${GMP_LIBS} 125 125 polys_test_s_g_LDADD = -lpolys_g ${USEPPROCSDYNAMICLD} ${FACTORY_LIBS} -lomalloc_g -lfindexec_g ${NTL_LIBS} ${GMP_LIBS} 126 126 rings_test_s_g_LDADD = $(polys_test_s_g_LDADD) 127 127 128 coeffs_test_d_r_LDADD = -lcoeffs -lre sources -lreporter -lmisc ${FACTORY_LIBS} -lomalloc -lfindexec ${NTL_LIBS} ${GMP_LIBS}128 coeffs_test_d_r_LDADD = -lcoeffs -lreporter -lmisc ${FACTORY_LIBS} -lomalloc -lfindexec ${NTL_LIBS} ${GMP_LIBS} 129 129 polys_test_d_r_LDADD = -lpolys ${USEPPROCSDYNAMICLD} ${FACTORY_LIBS} -lomalloc -lfindexec ${NTL_LIBS} ${GMP_LIBS} 130 130 rings_test_d_r_LDADD = $(polys_test_d_r_LDADD) 131 131 132 coeffs_test_d_g_LDADD = -lcoeffs_g -lre sources_g -lreporter_g -lmisc_g ${FACTORY_LIBS} -lomalloc_g -lfindexec_g ${NTL_LIBS} ${GMP_LIBS}132 coeffs_test_d_g_LDADD = -lcoeffs_g -lreporter_g -lmisc_g ${FACTORY_LIBS} -lomalloc_g -lfindexec_g ${NTL_LIBS} ${GMP_LIBS} 133 133 polys_test_d_g_LDADD = -lpolys_g ${USEPPROCSDYNAMICLD} ${FACTORY_LIBS} -lomalloc_g -lfindexec_g ${NTL_LIBS} ${GMP_LIBS} 134 134 rings_test_d_g_LDADD = $(polys_test_d_g_LDADD) -
standalone.test/libpolys-config.sample
rda4e5c rb4a676 63 63 64 64 --libs) 65 ${ECHOn} " -L${libdir} -lpolys_g -lcoeffs_g -lresources_g-lreporter_g -lmisc_g -lomalloc_g -ldl -lgmp "65 ${ECHOn} " -L${libdir} -lpolys_g -lcoeffs_g -lreporter_g -lmisc_g -lomalloc_g -ldl -lgmp " 66 66 ;; 67 67
Note: See TracChangeset
for help on using the changeset viewer.