Changeset 6d672b4 in git


Ignore:
Timestamp:
Nov 18, 2011, 11:31:17 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
e050c2c52ddb1b4df2ac2ffdead80b4c34feb2c2
Parents:
80c102e75622524947cd27fb319c231bc62c9233
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-11-18 23:31:17+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-11-19 03:27:47+01:00
Message:
ADD: build LTlibraries .la (.a & .so) EVERYWHERE!
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • Singular/Makefile.am

    r80c102 r6d672b4  
    1818########################### libSingular* #########################
    1919
    20 libSingular_LIBRARIES = libSingular.a libSingular_g.a
     20libSingular_LTLIBRARIES = libSingular.la libSingular_g.la
    2121libSingulardir = $(libdir)/singular
    2222
    23 libSingular_a_CFLAGS   = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE}
    24 libSingular_g_a_CFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE}
    25 
    26 libSingular_a_CXXFLAGS   = -O3 -fomit-frame-pointer --no-rtti -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    27 libSingular_g_a_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
     23libSingular_la_CFLAGS   = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE}
     24libSingular_g_la_CFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE}
     25
     26libSingular_la_CXXFLAGS   = -O3 -fomit-frame-pointer --no-rtti -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     27libSingular_g_la_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
    2828# -fdiagnostics-show-option
    2929
    30 libSingular_a_CPPFLAGS   = -DNDEBUG -DOM_NDEBUG -DLIBSINGULAR
    31 libSingular_g_a_CPPFLAGS = -DLIBSINGULAR
     30libSingular_la_CPPFLAGS   = -DNDEBUG -DOM_NDEBUG -DLIBSINGULAR
     31libSingular_g_la_CPPFLAGS = -DLIBSINGULAR
    3232
    3333SOURCES =    Minor.cc\
     
    9494#   slInit_Dynamic.cc
    9595
    96 libSingular_a_SOURCES   = $(SOURCES)
    97 libSingular_g_a_SOURCES = $(SOURCES)
     96libSingular_la_SOURCES   = $(SOURCES)
     97libSingular_g_la_SOURCES = $(SOURCES)
    9898
    9999SingularHEADERS =    Cache.h \
  • factory/Makefile.am

    r80c102 r6d672b4  
    55INCLUDES = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${top_builddir}/.. -I${srcdir} ${GMP_CFLAGS} ${NTL_CFLAGS}
    66
    7 lib_LIBRARIES = libfactory.a libfactory_g.a
    8 
    9 libfactory_a_libdir = $(libdir)
    10 libfactory_g_a_libdir = $(libdir)
    11 
    12 libfactory_a_CXXFLAGS   = -O3 -fomit-frame-pointer --no-rtti ${CXXTEMPLFLAGS}
    13 libfactory_g_a_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${CXXTEMPLFLAGS}
     7lib_LTLIBRARIES = libfactory.la libfactory_g.la
     8
     9libfactory_la_libdir = $(libdir)
     10libfactory_g_la_libdir = $(libdir)
     11
     12libfactory_la_CXXFLAGS   = -O3 -fomit-frame-pointer --no-rtti ${CXXTEMPLFLAGS}
     13libfactory_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${CXXTEMPLFLAGS}
    1414
    1515# factory source files
     
    9595endif
    9696
    97 libfactory_a_SOURCES = $(SOURCES)
    98 libfactory_g_a_SOURCES = $(SOURCES)
     97libfactory_la_SOURCES = $(SOURCES)
     98libfactory_g_la_SOURCES = $(SOURCES)
    9999
    100100# factory header files
     
    216216# Support for building GF(q)-tables
    217217#
    218 # gengftables needs libfactory.a and factory.h AND is needed for
     218# gengftables needs libfactory.la and factory.h AND is needed for
    219219# generating gftable but the tables are not necessarily needed to
    220220# compile and use libfactory (though it will be a lot slower).
  • kernel/Makefile.am

    r80c102 r6d672b4  
    1212CXXTEMPLFLAGS = --no-exceptions ## -fno-implicit-templates
    1313
    14 libkernel_LIBRARIES = libkernel.a libkernel_g.a
     14libkernel_LTLIBRARIES = libkernel.la libkernel_g.la
    1515libkerneldir = $(libdir)/singular
    1616
    17 libkernel_a_CFLAGS   = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE}
    18 libkernel_g_a_CFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE}
     17libkernel_la_CFLAGS   = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE}
     18libkernel_g_la_CFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE}
    1919## -pedantic
    2020
    21 libkernel_a_CXXFLAGS   = -O3 -fomit-frame-pointer --no-rtti -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    22 libkernel_g_a_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
     21libkernel_la_CXXFLAGS   = -O3 -fomit-frame-pointer --no-rtti -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     22libkernel_g_la_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
    2323# -fdiagnostics-show-option
    2424
    25 libkernel_a_CPPFLAGS   = -DNDEBUG -DOM_NDEBUG
    26 #libkernel_g_a_CPPFLAGS =
     25libkernel_la_CPPFLAGS   = -DNDEBUG -DOM_NDEBUG
     26#libkernel_g_la_CPPFLAGS =
    2727
    2828INCLUDES = -I${top_srcdir} -I${top_builddir} -I${top_srcdir}/libpolys -I${top_builddir}/libpolys $(GMP_CFLAGS) $(FACTORY_CFLAGS) $(NTL_CFLAGS)
     
    4949    fegetopt.c mod2.h
    5050
    51 libkernel_a_SOURCES   = $(SOURCES)
    52 libkernel_g_a_SOURCES = $(SOURCES)
     51libkernel_la_SOURCES   = $(SOURCES)
     52libkernel_g_la_SOURCES = $(SOURCES)
    5353
    5454KERNELHEADERS = polys.h hutil.h stairc.h ideals.h \
  • libpolys/coeffs/Makefile.am

    r80c102 r6d672b4  
    1 libcoeffs_LIBRARIES = libcoeffs.a libcoeffs_g.a
     1libcoeffs_LTLIBRARIES = libcoeffs.la libcoeffs_g.la
    22libcoeffsdir = $(libdir)/singular
    33
     
    55## -fno-implicit-templates
    66
    7 libcoeffs_a_CFLAGS   = -O3 -fomit-frame-pointer ${PIPE}
    8 libcoeffs_g_a_CFLAGS = ${PIPE}
     7libcoeffs_la_CFLAGS   = -O3 -fomit-frame-pointer ${PIPE}
     8libcoeffs_g_la_CFLAGS = ${PIPE}
    99
    10 libcoeffs_a_CXXFLAGS   = -O3 -fomit-frame-pointer --no-rtti ${PIPE} ${CXXTEMPLFLAGS}
    11 libcoeffs_g_a_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
     10libcoeffs_la_CXXFLAGS   = -O3 -fomit-frame-pointer --no-rtti ${PIPE} ${CXXTEMPLFLAGS}
     11libcoeffs_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
    1212# -fdiagnostics-show-option
    1313
    14 libcoeffs_a_CPPFLAGS   = -DNDEBUG -DOM_NDEBUG
    15 libcoeffs_g_a_CPPFLAGS =
     14libcoeffs_la_CPPFLAGS   = -DNDEBUG -DOM_NDEBUG
     15libcoeffs_g_la_CPPFLAGS =
    1616
    1717
     
    2828        modulop.cc mpr_complex.cc
    2929
    30 libcoeffs_a_SOURCES   = $(SOURCES)
    31 libcoeffs_g_a_SOURCES = $(SOURCES)
     30libcoeffs_la_SOURCES   = $(SOURCES)
     31libcoeffs_g_la_SOURCES = $(SOURCES)
    3232
    3333libcoeffs_includedir  =$(includedir)/singular/coeffs
  • libpolys/misc/Makefile.am

    r80c102 r6d672b4  
    1 libmisc_LIBRARIES = libmisc.a libmisc_g.a
     1libmisc_LTLIBRARIES = libmisc.la libmisc_g.la
    22libmiscdir = $(libdir)/singular
    33
    44CXXTEMPLFLAGS      =  --no-exceptions ## -fno-implicit-templates
    55
    6 libmisc_a_CFLAGS   = -O3 -fomit-frame-pointer ${PIPE}
    7 libmisc_g_a_CFLAGS = ${PIPE}
     6libmisc_la_CFLAGS   = -O3 -fomit-frame-pointer ${PIPE}
     7libmisc_g_la_CFLAGS = ${PIPE}
    88
    9 libmisc_a_CXXFLAGS   = -O3 -fomit-frame-pointer --no-rtti ${PIPE} ${CXXTEMPLFLAGS}
    10 libmisc_g_a_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
     9libmisc_la_CXXFLAGS   = -O3 -fomit-frame-pointer --no-rtti ${PIPE} ${CXXTEMPLFLAGS}
     10libmisc_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
    1111# -fdiagnostics-show-option
    1212
    13 libmisc_a_CPPFLAGS   = -DNDEBUG -DOM_NDEBUG
    14 #libmisc_g_a_CPPFLAGS =
     13libmisc_la_CPPFLAGS   = -DNDEBUG -DOM_NDEBUG
     14#libmisc_g_la_CPPFLAGS =
    1515
    1616INCLUDES = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${top_builddir}/..
    1717
    1818SOURCES  = intvec.cc int64vec.cc options.c
    19 libmisc_a_SOURCES   = $(SOURCES)
    20 libmisc_g_a_SOURCES = $(SOURCES)
     19libmisc_la_SOURCES   = $(SOURCES)
     20libmisc_g_la_SOURCES = $(SOURCES)
    2121
    2222libmisc_includedir = $(includedir)/singular/misc
  • libpolys/polys/Makefile.am

    r80c102 r6d672b4  
    2727endif
    2828
    29 libpolys_LIBRARIES = libpolys.a libpolys_g.a
     29libpolys_LTLIBRARIES = libpolys.la libpolys_g.la
    3030libpolysdir = $(libdir)/singular
    3131
     
    126126nobase_libpolys_include_HEADERS = $(LIBPOLYSHEADERS)
    127127
    128 libpolys_a_SOURCES = ${SOURCES}
    129 libpolys_g_a_SOURCES = ${SOURCES}
     128libpolys_la_SOURCES = ${SOURCES}
     129libpolys_g_la_SOURCES = ${SOURCES}
    130130
    131 EXTRA_libpolys_a_SOURCES = templates/p_Procs_Static.cc templates/p_Procs_Dynamic.cc
     131EXTRA_libpolys_la_SOURCES = templates/p_Procs_Static.cc templates/p_Procs_Dynamic.cc
    132132
    133 libpolys_g_a_CXXFLAGS = ${DEBUGCXXFLAGS}
    134 libpolys_a_CPPFLAGS = ${NODEBUGDEFS}
     133libpolys_g_la_CXXFLAGS = ${DEBUGCXXFLAGS}
     134libpolys_la_CPPFLAGS = ${NODEBUGDEFS}
    135135
    136136
  • libpolys/reporter/Makefile.am

    r80c102 r6d672b4  
    1 libreporter_LIBRARIES=libreporter.a libreporter_g.a
     1libreporter_LTLIBRARIES=libreporter.la libreporter_g.la
    22libreporterdir = $(libdir)/singular
    33
    44CXXTEMPLFLAGS =  --no-exceptions ## -fno-implicit-templates
    55
    6 libreporter_a_CFLAGS   = -O3 -fomit-frame-pointer ${PIPE}
    7 libreporter_g_a_CFLAGS = ${PIPE}
     6libreporter_la_CFLAGS   = -O3 -fomit-frame-pointer ${PIPE}
     7libreporter_g_la_CFLAGS = ${PIPE}
    88
    9 libreporter_a_CXXFLAGS   = -O3 -fomit-frame-pointer --no-rtti ${PIPE} ${CXXTEMPLFLAGS}
    10 libreporter_g_a_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
     9libreporter_la_CXXFLAGS   = -O3 -fomit-frame-pointer --no-rtti ${PIPE} ${CXXTEMPLFLAGS}
     10libreporter_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
    1111# -fdiagnostics-show-option
    1212
    13 libreporter_a_CPPFLAGS   = -DNDEBUG -DOM_NDEBUG -DHAVE_CONFIG_H
    14 libreporter_g_a_CPPFLAGS = -DHAVE_CONFIG_H
     13libreporter_la_CPPFLAGS   = -DNDEBUG -DOM_NDEBUG -DHAVE_CONFIG_H
     14libreporter_g_la_CPPFLAGS = -DHAVE_CONFIG_H
    1515
    1616INCLUDES = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${top_builddir}/..
    1717
    1818SOURCES  = dError.c reporter.cc
    19 libreporter_a_SOURCES   = $(SOURCES)
    20 libreporter_g_a_SOURCES = $(SOURCES)
     19libreporter_la_SOURCES   = $(SOURCES)
     20libreporter_g_la_SOURCES = $(SOURCES)
    2121
    2222libreporter_includedir  =$(includedir)/singular/reporter
  • libpolys/resources/Makefile.am

    r80c102 r6d672b4  
    1 libresources_LIBRARIES=libresources.a libresources_g.a
     1libresources_LTLIBRARIES=libresources.la libresources_g.la
    22libresourcesdir = $(libdir)/singular
    33
    44CXXTEMPLFLAGS      =  --no-exceptions ## -fno-implicit-templates
    55
    6 libresources_a_CFLAGS   = -O3 -fomit-frame-pointer ${PIPE}
    7 libresources_g_a_CFLAGS = ${PIPE}
     6libresources_la_CFLAGS   = -O3 -fomit-frame-pointer ${PIPE}
     7libresources_g_la_CFLAGS = ${PIPE}
    88
    9 libresources_a_CXXFLAGS   = -O3 -fomit-frame-pointer --no-rtti ${PIPE} ${CXXTEMPLFLAGS}
    10 libresources_g_a_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
     9libresources_la_CXXFLAGS   = -O3 -fomit-frame-pointer --no-rtti ${PIPE} ${CXXTEMPLFLAGS}
     10libresources_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
    1111# -fdiagnostics-show-option
    1212
    13 libresources_a_CPPFLAGS   = -DNDEBUG -DOM_NDEBUG
    14 #libresources_g_a_CPPFLAGS =
     13libresources_la_CPPFLAGS   = -DNDEBUG -DOM_NDEBUG
     14#libresources_g_la_CPPFLAGS =
    1515
    1616INCLUDES = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${top_builddir}/..
    1717
    1818SOURCES = feFopen.cc feResource.cc
    19 libresources_a_SOURCES   = $(SOURCES)
    20 libresources_g_a_SOURCES = $(SOURCES)
     19libresources_la_SOURCES   = $(SOURCES)
     20libresources_g_la_SOURCES = $(SOURCES)
    2121
    2222libresources_includedir  =$(includedir)/singular/resources
  • numeric/Makefile.am

    r80c102 r6d672b4  
    1 libnumeric_LIBRARIES = libnumeric.a libnumeric_g.a
     1libnumeric_LTLIBRARIES = libnumeric.la libnumeric_g.la
    22libnumericdir = $(libdir)/singular
    33
    44CXXTEMPLFLAGS =  --no-exceptions ## -fno-implicit-templates
    55
    6 libnumeric_a_CFLAGS   = -O3 -fomit-frame-pointer ${PIPE}
    7 libnumeric_g_a_CFLAGS = ${PIPE}
     6libnumeric_la_CFLAGS   = -O3 -fomit-frame-pointer ${PIPE}
     7libnumeric_g_la_CFLAGS = ${PIPE}
    88
    9 libnumeric_a_CXXFLAGS   = -O3 -fomit-frame-pointer --no-rtti ${PIPE} ${CXXTEMPLFLAGS}
    10 libnumeric_g_a_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
     9libnumeric_la_CXXFLAGS   = -O3 -fomit-frame-pointer --no-rtti ${PIPE} ${CXXTEMPLFLAGS}
     10libnumeric_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
    1111# -fdiagnostics-show-option
    1212
    13 libnumeric_a_CPPFLAGS   = -DNDEBUG -DOM_NDEBUG
    14 #libnumeric_g_a_CPPFLAGS =
     13libnumeric_la_CPPFLAGS   = -DNDEBUG -DOM_NDEBUG
     14#libnumeric_g_la_CPPFLAGS =
    1515
    1616INCLUDES = -I${top_srcdir} -I${top_builddir} -I${top_srcdir}/libpolys -I${top_builddir}/libpolys ${GMP_CFLAGS} ${FACTORY_CFLAGS} ${NTL_CFLAGS}
    1717
    1818SOURCES  = mpr_base.cc mpr_inout.cc mpr_numeric.cc
    19 libnumeric_a_SOURCES   = $(SOURCES)
    20 libnumeric_g_a_SOURCES = $(SOURCES)
     19libnumeric_la_SOURCES   = $(SOURCES)
     20libnumeric_g_la_SOURCES = $(SOURCES)
    2121
    2222libnumeric_includedir  =$(includedir)/singular/numeric/
  • omalloc/Makefile.am

    r80c102 r6d672b4  
    22AM_LDFLAGS = -L${top_builddir}/omalloc -L${top_builddir}/../omalloc
    33
    4 lib_LIBRARIES=libomalloc.a libomalloc_g.a
     4lib_LTLIBRARIES=libomalloc.la libomalloc_g.la
    55
    66libomalloc_includedir=$(includedir)/omalloc
     
    3030INCLUDES=-I${top_srcdir}/.. -I${top_builddir}/..
    3131
    32 libomalloc_a_SOURCES=$(SOURCES) $(noinst_HEADERS)
    33 libomalloc_g_a_SOURCES=$(SOURCES) $(noinst_HEADERS)
     32libomalloc_la_SOURCES=$(SOURCES) $(noinst_HEADERS)
     33libomalloc_g_la_SOURCES=$(SOURCES) $(noinst_HEADERS)
    3434
    35 nodist_libomalloc_a_SOURCES = omConfig.h mylimits.h omalloc.h omTables.inc
    36 nodist_libomalloc_g_a_SOURCES = omConfig.h omalloc.h omTables.inc
     35nodist_libomalloc_la_SOURCES = omConfig.h mylimits.h omalloc.h omTables.inc
     36nodist_libomalloc_g_la_SOURCES = omConfig.h omalloc.h omTables.inc
    3737
    38 libomalloc_a_CPPFLAGS= -DHAVE_CONFIG_H -DOM_NDEBUG
    39 libomalloc_g_a_CPPFLAGS= -DHAVE_CONFIG_H
     38libomalloc_la_CPPFLAGS= -DHAVE_CONFIG_H -DOM_NDEBUG
     39libomalloc_g_la_CPPFLAGS= -DHAVE_CONFIG_H
    4040
    4141BUILT_SOURCES = omTables.inc omTables.h
Note: See TracChangeset for help on using the changeset viewer.