Changeset 92d684 in git for Singular/makefile


Ignore:
Timestamp:
Aug 10, 2011, 3:57:13 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
db45a2a06453f84672a9bd3c4a2c2230cb7fe17d
Parents:
cf41549933e3a2f719c447992e836d965e3be351
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-08-10 15:57:13+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:17:28+01:00
Message:
ADD: python - related changes
FIX: removed C++-related heades (unused anyway)
FIX: blackbox
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/makefile

    rcf4154 r92d684  
    3535## compiler and linker options
    3636##
    37 LIBPOLYS_CFLAGS = -I.. -I../libpolys
     37LIBPOLYS_INCLUDES = -I.. -I../libpolys
     38LIBPOLYS_CFLAGS = ${LIBPOLYS_INCLUDES}
    3839LIBPOLYS_LIBS   = -L../factory -L../omalloc -L../libpolys/misc -L../libpolys/reporter -L../libpolys/resources -L../libpolys/coeffs -L../libpolys/polys -lpolys -lcoeffs -lresources -lreporter -lmisc -lfactory -lomalloc
    3940LIBPOLYS_LIBSG   = -L../factory -L../omalloc -L../libpolys/misc -L../libpolys/reporter -L../libpolys/resources -L../libpolys/coeffs -L../libpolys/polys -lpolys_g -lcoeffs_g -lresources_g -lreporter_g -lmisc_g -lfactory -lomalloc_g
    4041
     42
     43PYTHON_INCLUDES = `python-config --includes`
     44PYTHON_CFLAGS = `python-config --cflags`
     45PYTHON_LIBS   = `python-config --libs`
     46
    4147PIPE            = -pipe
    42 CFLAGS          = -O3 -w -fomit-frame-pointer ${PIPE} ${LIBPOLYS_CFLAGS}
    43 CXXFLAGS        = -O3 -w -fomit-frame-pointer --no-rtti ${PIPE} ${LIBPOLYS_CFLAGS}
     48CFLAGS          = -O3 -fomit-frame-pointer ${PIPE} ${LIBPOLYS_CFLAGS} ${PYTHON_CFLAGS}
     49CXXFLAGS        = -O3 -fomit-frame-pointer --no-rtti ${PIPE} ${LIBPOLYS_CFLAGS} ${PYTHON_CFLAGS}
    4450CXXTEMPLFLAGS   = -fno-implicit-templates --no-exceptions
    45 CPPFLAGS        = -I${srcdir} -I..  -I${includedir}   ${LIBPOLYS_CFLAGS}
     51CPPFLAGS        = -I${srcdir} -I..  -I${includedir} ${LIBPOLYS_INCLUDES}  ${PYTHON_INCLUDES}
    4652DEFS            = -DNDEBUG -DOM_NDEBUG
    4753LDFLAGS         = -L${srcdir}/lib
     
    5258LD_LIBC         = -lc
    5359STATIC_LDFLAGS  = -static
    54 LIBS            = -lm -lsingfac -lsingcf -lntl -lgmp -lreadline -lncurses -lm  -lnsl  -lomalloc_ndebug
     60LIBS            = -lm -lsingfac -lsingcf -lntl -lgmp -lreadline -lncurses -lm  -lnsl  -lomalloc_ndebug ${PYTHON_LIBS}
    5561MP_LIBS         = -lMPT -lMP -lnsl
    5662
Note: See TracChangeset for help on using the changeset viewer.