Ignore:
Timestamp:
Aug 3, 2018, 11:25:46 AM (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:
ff1e0f38
Parents:
25a9b5a
Message:

Parent make now seems to properly call libcfa

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/Makefile.am

    r25a9b5a rc59712e  
    2020
    2121libdir = ${CFA_LIBDIR}
    22 lib_LIBRARIES =
     22lib_LIBRARIES =  libcfa.a
    2323
    24 if BUILD_RELEASE
    25 lib_LIBRARIES += libcfa.a
    26 endif
    27 
    28 if BUILD_DEBUG
    29 lib_LIBRARIES += libcfa-d.a
    30 endif
    31 
    32 libcfa_a-libcfa-prelude.o : libcfa-prelude.c
     24libcfa-prelude.o : libcfa-prelude.c
    3325         ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -Wall -O2 -c -o $@ $<
    34 
    35 libcfa_d_a-libcfa-prelude.o : libcfa-prelude.c
    36          ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -D__CFA_DEBUG__ -Wall -O0 -c -o $@ $<
    3726
    3827EXTRA_FLAGS = -g -Wall -Wno-unused-function -imacros libcfa-prelude.c @CFA_FLAGS@ $(DEFAULT_INCLUDES)
     
    5039
    5140# not all platforms support concurrency, add option do disable it
    52 if BUILD_CONCURRENCY
    5341headers += concurrency/coroutine concurrency/thread concurrency/kernel concurrency/monitor concurrency/mutex
    54 endif
    5542
    5643libobjs = ${headers:=.o}
     
    5946
    6047# not all platforms support concurrency, add option do disable it
    61 if BUILD_CONCURRENCY
    6248libsrc += concurrency/CtxSwitch-@MACHINE_TYPE@.S concurrency/alarm.c concurrency/invoke.c concurrency/preemption.c
    63 endif
    6449
    6550# extensionless header files are overridden by -o flag in default makerule => explicitly override default rule to silently do nothing
     
    7459        false
    7560
    76 concurrency/libcfa_a-invoke.o : concurrency/invoke.c
    77         ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -O2 ${EXTRA_FLAGS} -c -o $@ $<
    78 
    79 libcfa_a-exception.o : exception.c
    80         ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -O2 ${EXTRA_FLAGS} -c -o $@ $<
    81 
    82 libcfa_a-virtual.o : virtual.c
    83         ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -O2 ${EXTRA_FLAGS} -c -o $@ $<
    84 
    85 concurrency/libcfa_d_a-invoke.o : concurrency/invoke.c
     61concurrency/invoke.o : concurrency/invoke.c
    8662        ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $<
    8763
    88 libcfa_d_a-exception.o : exception.c
     64exception.o : exception.c
    8965        ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $<
    9066
    91 libcfa_d_a-virtual.o : virtual.c
     67virtual.o : virtual.c
    9268        ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $<
    9369
     
    9672libcfa_a_SOURCES = ${libsrc}
    9773libcfa_a_CFLAGS = -nodebug -O2
    98 libcfa_d_a_SOURCES = ${libsrc}
    99 libcfa_d_a_CFLAGS = -debug -O0 #No need for __CFA_DEBUG__ since we pass -debug
    10074
    10175stdhdr = ${shell find ${srcdir}/stdhdr -type f -printf "%p "}
Note: See TracChangeset for help on using the changeset viewer.