Changeset 667d33 in git for kernel


Ignore:
Timestamp:
Jan 6, 2014, 5:18:21 PM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38077648e7239f98078663eb941c3c979511150a')
Children:
b1b9e1f448aca273a22cb770fd8bde277e3e8a1d
Parents:
17fe09de3facd16159d0da4c0fb5bd476fb4180d
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-01-06 17:18:21+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-01-06 17:19:39+01:00
Message:
Only test once (no more dynamic AND static tests)

chg: also BS cleanup
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/Makefile.am

    r17fe09 r667d33  
    22# TODO: use ${top_srcdir} instead of .. in the above?
    33
    4 # PIPE = -pipe
    5 # ???
    6 #LD_DYN_FLAGS   = -ldl -rdynamic
    7 #SFLAGS         = -fpic -DPIC
    8 #SLDFLAGS       = -shared
    9 #LD_LIBC                = -lc
    10 #STATIC_LDFLAGS = -static
    114
    125
    13 # CXXTEMPLFLAGS =-ftrapv ## -fno-implicit-templates
    14 #
    15 # if WANT_DEBUG
    16 #   LIB_G=libkernel_g.la
    17 # else
    18 #   LIB_G=
    19 # endif
    20 
    216libkernel_LTLIBRARIES = libkernel.la
    22 # ${LIB_G}
    237libkerneldir = $(libdir)/singular
    248
    25 #libkernel_la_CFLAGS   = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE}
    26 #libkernel_g_la_CFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE}
    27 ## -pedantic
    28 
    29 #libkernel_la_CXXFLAGS   = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    30 #libkernel_g_la_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
    31 # -fdiagnostics-show-option
    32 
    339AM_CPPFLAGS = -I${top_srcdir} -I${top_builddir} -I${top_srcdir}/libpolys -I${top_builddir}/libpolys $(GMP_CFLAGS) -I${top_srcdir}/factory/include -I${top_builddir}/factory/include $(FACTORY_CFLAGS) $(NTL_CFLAGS)  -DHAVE_CONFIG_H
    34 
    35 # libkernel_la_CPPFLAGS   = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG
    36 # libkernel_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H
    37 
    38 ### libkernel_la_LDFLAGS    = -release ${PACKAGE_VERSION}
    39 
    4010
    4111SOURCES = polys.cc febase.cc feread.cc \
     
    6131
    6232libkernel_la_SOURCES   = $(SOURCES)
    63 # libkernel_g_la_SOURCES = $(SOURCES)
    6433
    6534KERNELHEADERS = mod2.h polys.h hutil.h stairc.h ideals.h \
     
    9766TESTS_ENVIRONMENT += SINGULAR_ROOT_DIR='${abs_top_builddir}'
    9867
    99 # if WANT_DEBUG
    100 # TESTS = test-s-g test-s-r test-d-g test-d-r
    101 # else
    102 TESTS = test-s-r test-d-r
    103 # endif
     68TESTS = test
     69
    10470check_PROGRAMS = $(TESTS)
    10571
    106 # test_s_r_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
    107 # test_s_g_CFLAGS = ${PIPE}
    108 #
    109 # test_s_r_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    110 # test_s_g_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
     72test_SOURCES = test.cc
     73test_LDADD = -lkernel -lpolys -lcoeffs -lreporter -lmisc \
     74$(FACTORY_LIBS) -lomalloc -lresources $(NTL_LIBS) $(GMP_LIBS) \
     75${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD}
    11176
    112 testsources = test.cc
    113 test_s_r_SOURCES = $(testsources)
    114 # test_s_g_SOURCES = $(testsources)
    115 
    116 test_s_r_LDADD = -lkernel -lpolys -lcoeffs -lreporter -lmisc $(FACTORY_LIBS) -lomalloc -lresources $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD}
    117 # test_s_g_LDADD = -lkernel_g -lpolys_g -lcoeffs_g -lreporter_g -lmisc_g $(FACTORY_LIBS) -lomalloc_g -lresources_g $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS}  ${USEPPROCSDYNAMICLD}
    118 
    119 # test_s_r_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG
    120 # test_s_g_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H
    121 test_s_r_CPPFLAGS = ${AM_CPPFLAGS}
    122 
    123 test_s_r_LDFLAGS = -static ${AM_LDFLAGS}
    124 # test_s_g_LDFLAGS = -static ${AM_LDFLAGS}
    125 
    126 
    127 # test_d_r_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
    128 # test_d_g_CFLAGS = ${PIPE}
    129 #
    130 # test_d_r_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    131 # test_d_g_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
    132 
    133 test_d_r_SOURCES = $(testsources)
    134 # test_d_g_SOURCES = $(testsources)
    135 
    136 test_d_r_LDADD = -lkernel -lpolys -lcoeffs  -lreporter -lmisc $(FACTORY_LIBS) -lomalloc -lresources $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD}
    137 # test_d_g_LDADD = -lkernel_g -lpolys_g -lcoeffs_g  -lreporter_g -lmisc_g $(FACTORY_LIBS) -lomalloc_g -lresources_g $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS}  ${USEPPROCSDYNAMICLD}
    138 
    139 # test_d_r_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG
    140 # test_d_g_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H
    141 test_d_r_CPPFLAGS = ${AM_CPPFLAGS}
    142 
    143 test_d_r_LDFLAGS = ${AM_LDFLAGS}
    144 # test_d_g_LDFLAGS = ${AM_LDFLAGS}
    14577
    14678# These files are built first
Note: See TracChangeset for help on using the changeset viewer.