Changeset ff1e0f38 for libcfa/src


Ignore:
Timestamp:
Aug 3, 2018, 1:57:12 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
ba9baad
Parents:
c59712e
Message:

configure flags are now propagated properly to libcfa

Location:
libcfa/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/Makefile.am

    rc59712e rff1e0f38  
    2323
    2424libcfa-prelude.o : libcfa-prelude.c
    25          ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -Wall -O2 -c -o $@ $<
     25         ${AM_V_GEN}gcc -Wall -O2 -c -o $@ $<
    2626
    27 EXTRA_FLAGS = -g -Wall -Wno-unused-function -imacros libcfa-prelude.c @CFA_FLAGS@ $(DEFAULT_INCLUDES)
     27EXTRA_FLAGS = -g -Wall -Wno-unused-function -imacros libcfa-prelude.c $(DEFAULT_INCLUDES)
    2828
    29 AM_CCASFLAGS = @CFA_FLAGS@
     29AM_CCASFLAGS =
    3030
    3131#CFLAGS for most libcfa src
    3232#use -no-include-stdhdr to prevent rebuild cycles
    3333#The built sources must not depend on the installed headers
    34 CFLAGS = -quiet -no-include-stdhdr @BUILD_IN_TREE_FLAGS@ ${EXTRA_FLAGS}
     34CFLAGS = -quiet -no-include-stdhdr -XCFA -t -B@DRIVER_DIR@ ${EXTRA_FLAGS}
    3535CC = @CFACC@
    3636
     
    6060
    6161concurrency/invoke.o : concurrency/invoke.c
    62         ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $<
     62        ${AM_V_CC}gcc -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $<
    6363
    6464exception.o : exception.c
    65         ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $<
     65        ${AM_V_CC}gcc -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $<
    6666
    6767virtual.o : virtual.c
    68         ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $<
     68        ${AM_V_CC}gcc -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $<
    6969
    7070${libobjs} : @CFACPP@ ${cfalib_DATA} # add dependency to cfa-cpp so all libraries are rebuilt with new translator
  • libcfa/src/Makefile.in

    rc59712e rff1e0f38  
    9191PRE_UNINSTALL = :
    9292POST_UNINSTALL = :
     93build_triplet = @build@
     94host_triplet = @host@
    9395subdir = src
    9496ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     
    242244CCASFLAGS = @CCASFLAGS@
    243245CCDEPMODE = @CCDEPMODE@
     246CFACC = @CFACC@
     247CFACPP = @CFACPP@
     248CFA_BINDIR = @CFA_BINDIR@
     249CFA_INCDIR = @CFA_INCDIR@
     250CFA_LIBDIR = @CFA_LIBDIR@
     251CFA_PREFIX = @CFA_PREFIX@
    244252
    245253#CFLAGS for most libcfa src
    246254#use -no-include-stdhdr to prevent rebuild cycles
    247255#The built sources must not depend on the installed headers
    248 CFLAGS = -quiet -no-include-stdhdr @BUILD_IN_TREE_FLAGS@ ${EXTRA_FLAGS}
     256CFLAGS = -quiet -no-include-stdhdr -XCFA -t -B@DRIVER_DIR@ ${EXTRA_FLAGS}
     257CONFIGURATION = @CONFIGURATION@
    249258CPPFLAGS = @CPPFLAGS@
    250259CXX = @CXX@
     
    254263DEFS = @DEFS@
    255264DEPDIR = @DEPDIR@
     265DRIVER_DIR = @DRIVER_DIR@
    256266ECHO_C = @ECHO_C@
    257267ECHO_N = @ECHO_N@
     
    295305am__untar = @am__untar@
    296306bindir = @bindir@
     307build = @build@
    297308build_alias = @build_alias@
     309build_cpu = @build_cpu@
     310build_os = @build_os@
     311build_vendor = @build_vendor@
    298312builddir = @builddir@
    299313datadir = @datadir@
     
    302316dvidir = @dvidir@
    303317exec_prefix = @exec_prefix@
     318host = @host@
    304319host_alias = @host_alias@
     320host_cpu = @host_cpu@
     321host_os = @host_os@
     322host_vendor = @host_vendor@
    305323htmldir = @htmldir@
    306324includedir = @includedir@
     
    332350ARFLAGS = cr
    333351lib_LIBRARIES = libcfa.a
    334 EXTRA_FLAGS = -g -Wall -Wno-unused-function -imacros libcfa-prelude.c @CFA_FLAGS@ $(DEFAULT_INCLUDES)
    335 AM_CCASFLAGS = @CFA_FLAGS@
     352EXTRA_FLAGS = -g -Wall -Wno-unused-function -imacros libcfa-prelude.c $(DEFAULT_INCLUDES)
     353AM_CCASFLAGS =
    336354
    337355# not all platforms support concurrency, add option do disable it
     
    11881206
    11891207libcfa-prelude.o : libcfa-prelude.c
    1190          ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -Wall -O2 -c -o $@ $<
     1208         ${AM_V_GEN}gcc -Wall -O2 -c -o $@ $<
    11911209
    11921210# extensionless header files are overridden by -o flag in default makerule => explicitly override default rule to silently do nothing
     
    12021220
    12031221concurrency/invoke.o : concurrency/invoke.c
    1204         ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $<
     1222        ${AM_V_CC}gcc -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $<
    12051223
    12061224exception.o : exception.c
    1207         ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $<
     1225        ${AM_V_CC}gcc -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $<
    12081226
    12091227virtual.o : virtual.c
    1210         ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $<
     1228        ${AM_V_CC}gcc -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $<
    12111229
    12121230${libobjs} : @CFACPP@ ${cfalib_DATA} # add dependency to cfa-cpp so all libraries are rebuilt with new translator
Note: See TracChangeset for help on using the changeset viewer.