Changeset 9f524d in git for libpolys


Ignore:
Timestamp:
Mar 29, 2012, 2:28:08 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
3b8a6e5e24ae48e883cb2e56532dd3352241948b
Parents:
4bc0ab9a99c6b2bc95e41d5541864a736e382642
Message:
reverted library packing with LIBADD

chg: correct _LDADD
chg: no use of LIBADD in libcoeffs & libpolys
chg: install all of libmisc, libreporter, libcoeffs & libpolys

NOTE: coeffs & polys should not pack libmisc & libreporter since it causes usage problems for shared libs from an installed package
Location:
libpolys
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/Makefile.am

    r4bc0ab9 r9f524d  
    1 noinst_LTLIBRARIES = libcoeffs.la libcoeffs_g.la
    2 # libcoeffsdir = $(libdir)/singular
    3 
    41CXXTEMPLFLAGS = 
    52## -fno-implicit-templates
    63
    74AM_CPPFLAGS = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${top_builddir}/.. -I${srcdir} -I${top_srcdir}/../factory/include -I${top_builddir}/../factory/include ${FACTORY_CFLAGS} ${GMP_CFLAGS} ${NTL_CFLAGS}
     5
     6lib_LTLIBRARIES = libcoeffs.la libcoeffs_g.la
     7libcoeffsdir = $(libdir)/singular
    88
    99libcoeffs_la_CFLAGS   = -O3 -fomit-frame-pointer ${PIPE}
     
    6767
    6868
    69 
    7069test_s_r_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
    7170test_s_g_CFLAGS = ${PIPE}
  • libpolys/libpolys-config.in

    r4bc0ab9 r9f524d  
    6969
    7070    --libsg)
    71         ${ECHOn} " -L${libdir} -L${libdir}/singular -lpolys_g @FACTORY_LIBS@ -lomalloc_g -lfindexec_g @NTL_LIBS@ @USEPPROCSDYNAMICLD@ @GMP_LIBS@"
     71        ${ECHOn} " -L${libdir} -L${libdir}/singular -lpolys_g -lcoeffs_g -lreporter_g -lmisc_g @FACTORY_LIBS@ -lomalloc_g -lfindexec_g @NTL_LIBS@ @USEPPROCSDYNAMICLD@ @GMP_LIBS@"
    7272        ;;
    7373
    7474    --libs)
    75         ${ECHOn} " -L${libdir} -L${libdir}/singular -lpolys @FACTORY_LIBS@ -lomalloc -lfindexec @NTL_LIBS@ @USEPPROCSDYNAMICLD@ @GMP_LIBS@"
     75        ${ECHOn} " -L${libdir} -L${libdir}/singular -lpolys -lcoeffs -lreporter -lmisc @FACTORY_LIBS@ -lomalloc -lfindexec @NTL_LIBS@ @USEPPROCSDYNAMICLD@ @GMP_LIBS@"
    7676        ;;
    7777
  • libpolys/misc/Makefile.am

    r4bc0ab9 r9f524d  
    11CXXTEMPLFLAGS      = 
    22## -fno-implicit-templates
    3 noinst_LTLIBRARIES = libmisc.la libmisc_g.la
    4 # libmiscdir = $(libdir)/singular
    53
    64AM_CPPFLAGS = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${top_builddir}/..
    75
     6lib_LTLIBRARIES = libmisc.la libmisc_g.la
     7libmiscdir = $(libdir)/singular
    88
    99libmisc_la_CFLAGS   = -O3 -fomit-frame-pointer ${PIPE}
  • libpolys/polys/Makefile.am

    r4bc0ab9 r9f524d  
    137137
    138138
    139 libpolys_la_LIBADD = ${abs_top_builddir}/misc/libmisc.la ${abs_top_builddir}/reporter/libreporter.la ${abs_top_builddir}/coeffs/libcoeffs.la
    140 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
    141139
    142140
     
    151149templates_p_Procs_Generate_CXXFLAGS = ${NODEBUGCXXFLAGS}
    152150templates_p_Procs_Generate_CPPFLAGS = ${NODEBUGDEFS} ${USE_P_PROCS_STATIC} ${AM_CPPFLAGS}
    153 templates_p_Procs_Generate_LDADD    = -lreporter -lomalloc
    154151
     152templates_p_Procs_Generate_LDADD    = -lreporter -lmisc -lomalloc -lfindexec
    155153
    156154templates/p_Procs.inc: templates/p_Procs_Generate
  • libpolys/reporter/Makefile.am

    r4bc0ab9 r9f524d  
    11CXXTEMPLFLAGS = 
    22## -fno-implicit-templates
    3 noinst_LTLIBRARIES=libreporter.la libreporter_g.la
    4 # libreporterdir = $(libdir)/singular
    53
    64AM_CPPFLAGS = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${top_builddir}/..
    75
     6lib_LTLIBRARIES = libreporter.la libreporter_g.la
     7libreporterdir = $(libdir)/singular
    88
    99libreporter_la_CFLAGS   = -O3 -fomit-frame-pointer ${PIPE}
  • libpolys/tests/Makefile.am

    r4bc0ab9 r9f524d  
    11CXXTEMPLFLAGS = -O0 ##  ## -fno-implicit-templates
    2 
    3 if ENABLE_FACTORY
    4   USE_FACTORY = -L${top_builddir}/../factory
    5 else
    6   USE_FACTORY =
    7 endif
    8 
    9 
    102
    113AM_CPPFLAGS = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${top_builddir}/.. -I${srcdir} -I${top_srcdir}/../factory/include -I${top_builddir}/../factory/include ${FACTORY_CFLAGS} ${GMP_CFLAGS} ${NTL_CFLAGS}
     
    9991rings_test_s_g_CPPFLAGS = ${DEBUGCPPFLAGS}
    10092
     93
     94if ENABLE_FACTORY
     95  USE_FACTORY = -L${top_builddir}/../factory
     96else
     97  USE_FACTORY =
     98endif
     99
    101100AM_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
     101
    102102
    103103coeffs_test_s_r_LDFLAGS = ${AM_LDFLAGS} -static
     
    119119
    120120coeffs_test_s_r_LDADD = -lcoeffs -lreporter -lmisc ${FACTORY_LIBS} -lomalloc -lfindexec ${NTL_LIBS} ${GMP_LIBS}
    121 polys_test_s_r_LDADD = -lpolys ${USEPPROCSDYNAMICLD} ${FACTORY_LIBS} -lomalloc -lfindexec ${NTL_LIBS} ${GMP_LIBS}
     121polys_test_s_r_LDADD = -lpolys -lcoeffs -lreporter -lmisc ${USEPPROCSDYNAMICLD} ${FACTORY_LIBS} -lomalloc -lfindexec ${NTL_LIBS} ${GMP_LIBS}
    122122rings_test_s_r_LDADD = $(polys_test_s_r_LDADD)
    123123
    124124coeffs_test_s_g_LDADD = -lcoeffs_g -lreporter_g -lmisc_g ${FACTORY_LIBS} -lomalloc_g -lfindexec_g ${NTL_LIBS} ${GMP_LIBS}
    125 polys_test_s_g_LDADD = -lpolys_g ${USEPPROCSDYNAMICLD} ${FACTORY_LIBS} -lomalloc_g -lfindexec_g ${NTL_LIBS} ${GMP_LIBS}
     125polys_test_s_g_LDADD = -lpolys_g -lcoeffs_g -lreporter_g -lmisc_g ${USEPPROCSDYNAMICLD} ${FACTORY_LIBS} -lomalloc_g -lfindexec_g ${NTL_LIBS} ${GMP_LIBS}
    126126rings_test_s_g_LDADD = $(polys_test_s_g_LDADD)
    127127
    128128coeffs_test_d_r_LDADD = -lcoeffs -lreporter -lmisc ${FACTORY_LIBS} -lomalloc -lfindexec ${NTL_LIBS} ${GMP_LIBS}
    129 polys_test_d_r_LDADD = -lpolys ${USEPPROCSDYNAMICLD} ${FACTORY_LIBS} -lomalloc -lfindexec ${NTL_LIBS} ${GMP_LIBS}
     129polys_test_d_r_LDADD = -lpolys -lcoeffs -lreporter -lmisc ${USEPPROCSDYNAMICLD} ${FACTORY_LIBS} -lomalloc -lfindexec ${NTL_LIBS} ${GMP_LIBS}
    130130rings_test_d_r_LDADD = $(polys_test_d_r_LDADD)
    131131
    132132coeffs_test_d_g_LDADD = -lcoeffs_g -lreporter_g -lmisc_g ${FACTORY_LIBS} -lomalloc_g -lfindexec_g ${NTL_LIBS} ${GMP_LIBS}
    133 polys_test_d_g_LDADD = -lpolys_g ${USEPPROCSDYNAMICLD} ${FACTORY_LIBS} -lomalloc_g -lfindexec_g ${NTL_LIBS} ${GMP_LIBS}
     133polys_test_d_g_LDADD = -lpolys_g -lcoeffs_g -lreporter_g -lmisc_g ${USEPPROCSDYNAMICLD} ${FACTORY_LIBS} -lomalloc_g -lfindexec_g ${NTL_LIBS} ${GMP_LIBS}
    134134rings_test_d_g_LDADD = $(polys_test_d_g_LDADD)
    135135
Note: See TracChangeset for help on using the changeset viewer.