Changeset 8ccf01 in git


Ignore:
Timestamp:
Nov 17, 2011, 8:55:13 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
f6c7bb14eda269d1104f45d73c0d975301604307
Parents:
4fdf15dc5f04f6bfa4f107ac39009a4f0ab49777
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-11-17 20:55:13+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-11-19 03:27:49+01:00
Message:
ADD: static AND dynamic versions of Singular(g)? and tests
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/Makefile.am

    r4fdf15 r8ccf01  
    206206########################### Singular* #########################
    207207
    208 bin_PROGRAMS = Singular Singularg
     208bin_PROGRAMS = Singular Singularg Singulard Singulardg
    209209
    210210Singular_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
     
    225225Singular_CPPFLAGS = -DNDEBUG -DOM_NDEBUG
    226226# Singularg_CPPFLAGS =
     227
     228Singular_LDFLAGS = -static
     229Singularg_LDFLAGS = -static
     230
     231
     232Singulard_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
     233Singulardg_CFLAGS = -g ${PIPE}
     234
     235Singulard_CXXFLAGS = -O3 -fomit-frame-pointer --no-rtti -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     236Singulardg_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
     237
     238Singulard_SOURCES = tesths.cc
     239nodist_Singulard_SOURCES = libSingular.la
     240
     241Singulardg_SOURCES = tesths.cc
     242nodist_Singulardg_SOURCES =  libSingular_g.la
     243
     244Singulard_LDADD = libSingular.la -lnumeric -lkernel -lpolys $(FACTORY_LIBS) -lomalloc $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD}
     245Singulardg_LDADD = libSingular_g.la -lnumeric_g -lkernel_g -lpolys_g $(FACTORY_LIBS) -lomalloc_g $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS}  ${USEPPROCSDYNAMICLD}
     246
     247Singulard_CPPFLAGS = -DNDEBUG -DOM_NDEBUG
     248# Singulardg_CPPFLAGS =
    227249
    228250
     
    247269TESTS_ENVIRONMENT += SINGULAR_ROOT_DIR='${abs_top_builddir}'
    248270
    249 TESTS=testg testr
     271TESTS=testg testr testdg testdr
    250272check_PROGRAMS=$(TESTS)
     273
     274# Static versions
    251275
    252276testr_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
     
    265289# testg_CPPFLAGS =
    266290
     291testr_LDFLAGS = -static
     292testg_LDFLAGS = -static
     293
     294
     295# Dynamic versions
     296
     297testdr_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
     298testdg_CFLAGS = ${PIPE}
     299
     300testdr_CXXFLAGS = -O3 -fomit-frame-pointer --no-rtti -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     301testdg_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
     302
     303testdr_SOURCES = test.cc
     304testdg_SOURCES = test.cc
     305
     306testdr_LDADD = libSingular.la -lnumeric -lkernel -lpolys $(FACTORY_LIBS) -lomalloc $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD}
     307testdg_LDADD = libSingular_g.la -lnumeric_g -lkernel_g -lpolys_g $(FACTORY_LIBS) -lomalloc_g $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS}  ${USEPPROCSDYNAMICLD}
     308
     309testdr_CPPFLAGS = -DNDEBUG -DOM_NDEBUG
     310# testdg_CPPFLAGS =
     311
    267312#########################################################
    268313
Note: See TracChangeset for help on using the changeset viewer.