Changeset b9e11ba in git


Ignore:
Timestamp:
Sep 27, 2011, 2:08:00 PM (12 years ago)
Author:
Volker Braun <vbraun.name@…>
Branches:
(u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
Children:
d44785a8156c784941520a04a858b1fab8213861
Parents:
de7521eef6abc64c1312e46961fc93fb053d9bd5
git-author:
Volker Braun <vbraun.name@gmail.com>2011-09-27 14:08:00+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:40+01:00
Message:
FIX: race with generated include files (in particular feOpt.inc).
Some general cleanup in Singular/Makefile.am
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/Makefile.am

    rde7521 rb9e11ba  
    1 lib_LIBRARIES = libSingular.a libSingular_g.a
    2 
    3 all: libSingular.a libSingular_g.a Singular Singularg
    4 
    51# ACLOCAL_AMFLAGS = -I m4
    6 
    72# PIPE = -pipe
    83# ???
     
    1813NODEBUGDEFS = -DNDEBUG -DOM_NDEBUG
    1914
    20 
    21 
    22 
    2315CXXTEMPLFLAGS = --no-exceptions ## -fno-implicit-templates
    2416
    25 
    26 
    2717INCLUDES = -I${top_srcdir} -I${top_builddir} -I${top_srcdir}/numeric -I${top_builddir}/numeric -I${top_srcdir}/kernel -I${top_builddir}/kernel -I${top_srcdir}/libpolys -I${top_builddir}/libpolys $(GMP_CFLAGS) $(FACTORY_CFLAGS) $(NTL_CFLAGS)
    28 AM_CPPFLAGS     = -DHAVE_CONFIG_H
    29 
    30 ########################### liSingular* #########################
     18
     19########################### libSingular* #########################
     20
     21lib_LIBRARIES = libSingular.a libSingular_g.a
    3122
    3223libSingular_a_CFLAGS   = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE}
    3324libSingular_g_a_CFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE}
    34 ## -pedantic
    3525
    3626libSingular_a_CXXFLAGS   = -O3 -fomit-frame-pointer --no-rtti -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     
    10191   walk_ip.cc\
    10292   wrapper.cc\
    103    fereadl.c mmstd.c claptmpl.cc feOpt.h
    104    
    105 #   tesths.cc
     93   fereadl.c mmstd.c claptmpl.cc
    10694
    10795
     
    169157   utils.h \
    170158   walk.h \
    171    feOpt.inc mpsr_Tok.inc iparith.inc feOptTS.inc feOptES.inc
     159   feOpt.h feOpt.inc \
     160   mpsr_Tok.inc iparith.inc feOptTS.inc feOptES.inc
    172161
    173162
     
    182171
    183172# noinst_HEADERS = feOpt.h
    184 ## TODO: install all the *.inc?!
    185 
    186 #EXTRA_libSingular_a_SOURCES = feOpt.h
    187 #EXTRA_libSingular_g_a_SOURCES = feOpt.h
    188 
    189 BUILT_SOURCES=feOpt.inc mpsr_Tok.inc iparith.inc feOptTS.inc feOptES.inc
    190 # plural_cmd.inc
     173## TODO: install all the *.inc?! 
     174## If not, move feOpt.h to SOURCES and remove *inc from HEADERS
    191175
    192176#########################################################
     
    195179AM_LDFLAGS = -L${top_builddir}/Singular -L${top_builddir}/numeric -L${top_builddir}/kernel -L${top_builddir}/libpolys/polys -L${top_builddir}/libpolys/coeffs -L${top_builddir}/libpolys/reporter -L${top_builddir}/libpolys/resources -L${top_builddir}/libpolys/misc $(USE_FACTORY) -L${top_builddir}/omalloc
    196180
    197 EXTRA_PROGRAMS=gentable2 gentable1 feOpt feOptES feOptTS
     181EXTRA_PROGRAMS = gentable2 gentable1 feOpt feOptES feOptTS
    198182
    199183gentable2_SOURCES = gentable2.cc grammar.h tok.h table.h
     
    211195
    212196# plural_cmd.inc: iparith.inc                         
    213                                  
     197
    214198feOpt_SOURCES = feOptGen.cc feOptGen.h
    215199feOpt_CXXFLAGS = -O3 -fomit-frame-pointer --no-rtti -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     
    268252#########################################################
    269253
    270 CLEANFILES = $(TESTS) $(EXTRA_PROGRAMS)
    271 
    272 
    273 #########################################################
    274 
    275 #mpsr_Tok.cc: mpsr_Tok.inc
    276 #iparith.cc: iparith.inc
    277 #cntrlc.cc: feOpt.inc
    278 #misc_ip.cc: feOpt.inc
     254BUILT_SOURCES = feOpt.inc mpsr_Tok.inc iparith.inc feOptTS.inc feOptES.inc  # files are built first
     255# plural_cmd.inc
     256
     257CLEANFILES = $(TESTS) $(EXTRA_PROGRAMS) $(BUILT_SOURCES)
    279258
    280259feOpt.inc: feOpt
Note: See TracChangeset for help on using the changeset viewer.