Changeset 630ca9 in git for libpolys/coeffs/Makefile.am


Ignore:
Timestamp:
Mar 23, 2011, 6:39:21 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
20d9284f2e2a49cb47ad41808ddefe8b058c7647
Parents:
1b49fffcc09b3cc35d86a2d919252c972d6515eb
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-03-23 18:39:21+01:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:04:12+01:00
Message:
FIX: separate debug/optimized flags for resources and coeffs
FIX: longrat.cc: missing "coeff" arguments!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/Makefile.am

    r1b49ff r630ca9  
    1 AM_CXXFLAGS     = -fno-implicit-templates --no-exceptions
    2 INCLUDES        = -I${top_srcdir}/.. -I${top_srcdir}/../.. -I${top_builddir}/.. -I${srcdir}
    3 AM_LDFLAGS      = -L${top_builddir}/../coeffs -L${top_builddir}/../reporter -L${top_builddir}/../resources -L${top_builddir}/../../omalloc
    4 AM_CPPFLAGS     = -DNDEBUG -DOM_NDEBUG
    5 
    6 SOURCES = \
    7         gnumpc.cc gnumpfl.cc longrat.cc longrat0.cc ffields.cc \
    8         modulop.cc mpr_complex.cc \
    9         numbers.cc rintegers.cc rmodulo2m.cc rmodulon.cc shortfl.cc
    10 
    111lib_LIBRARIES=libcoeffs.a libcoeffs_g.a
    122
    13 libcoeffs_a_SOURCES = ${SOURCES}
    14 libcoeffs_g_a_SOURCES = ${SOURCES}
     3CXXTEMPLFLAGS      = -fno-implicit-templates --no-exceptions
    154
    16 libcoeffs_g_a_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long
    17 # -fdiagnostics-show-option
    18 noinst_HEADERS= \
    19         gnumpc.h gnumpfl.h longrat.h modulop.h ffields.h \
    20         mpr_complex.h mpr_global.h \
    21         rintegers.h rmodulo2m.h rmodulon.h shortfl.h
     5libcoeffs_a_CFLAGS   = -O3 -fomit-frame-pointer ${PIPE}
     6libcoeffs_g_a_CFLAGS = ${PIPE}
     7
     8libcoeffs_a_CXXFLAGS   = -O3 -fomit-frame-pointer --no-rtti ${PIPE} ${CXXTEMPLFLAGS}
     9libcoeffs_g_a_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
     10# -fdiagnostics-show-option
     11
     12libcoeffs_a_CPPFLAGS   = -DNDEBUG -DOM_NDEBUG -DHAVE_CONFIG_H
     13libcoeffs_g_a_CPPFLAGS = -DHAVE_CONFIG_H
     14
    2215
    2316include_HEADERS = coeffs.h numbers.h
    2417
    25 ## debug version:
     18noinst_HEADERS= \
     19        gnumpc.h gnumpfl.h longrat.h modulop.h ffields.h \
     20        rintegers.h rmodulo2m.h rmodulon.h shortfl.h \
     21        mpr_complex.h mpr_global.h
    2622
    27 check_PROGRAMS=test test-g
     23INCLUDES = -I${top_srcdir}/.. -I${top_srcdir}/../.. -I${top_builddir}/.. -I${srcdir}
    2824
    29 test_SOURCES=test.cc
    30 test_g_SOURCES=test.cc
     25SOURCES = \
     26        numbers.cc rintegers.cc rmodulo2m.cc rmodulon.cc shortfl.cc \
     27        gnumpc.cc gnumpfl.cc longrat.cc longrat0.cc ffields.cc \
     28        modulop.cc mpr_complex.cc
     29libcoeffs_a_SOURCES   = $(SOURCES)
     30libcoeffs_g_a_SOURCES = $(SOURCES)
    3131
    32 test_LDADD = libcoeffs.a -lresources -lreporter -lgmp -lomalloc
    33 test_g_LDADD = libcoeffs_g.a -lresources -lreporter -lgmp -lomalloc_debug
     32libcoeffs_a_includedir  =$(includedir)/libpolys/coeffs
     33libcoeffs_g_a_includedir=$(includedir)/libpolys/coeffs
    3434
    35 test_g_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long
    36 #  -fdiagnostics-show-option
     35COEFFSHEADERS  = coeffs.h numbers.h
     36libcoeffs_a_include_HEADERS   = $(COEFFSHEADERS)
     37libcoeffs_g_a_include_HEADERS = $(COEFFSHEADERS)
     38
     39
     40
     41## for testing...
     42AM_LDFLAGS      = -L${top_builddir}/../coeffs -L${top_builddir}/../reporter -L${top_builddir}/../resources -L${top_builddir}/../../omalloc
     43
     44check_PROGRAMS = test test-g
     45
     46test_SOURCES   = test.cc
     47test_g_SOURCES = test.cc
     48
     49test_LDADD   = libcoeffs.a -lresources -lreporter -lgmp -lomalloc
     50test_g_LDADD = libcoeffs_g.a -lresources_g -lreporter_g -lgmp -lomalloc_debug
     51
     52
     53test_CFLAGS   = -O3 -fomit-frame-pointer ${PIPE}
     54test_g_CFLAGS = ${PIPE}
     55
     56test_CXXFLAGS   = -O3 -fomit-frame-pointer --no-rtti ${PIPE} ${CXXTEMPLFLAGS}
     57test_g_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
     58# -fdiagnostics-show-option
     59
     60test_CPPFLAGS   = -DNDEBUG -DOM_NDEBUG -DHAVE_CONFIG_H
     61test_g_CPPFLAGS = -DHAVE_CONFIG_H
Note: See TracChangeset for help on using the changeset viewer.