Changeset c59712e for libcfa/src/Makefile.am
- Timestamp:
- Aug 3, 2018, 11:25:46 AM (7 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/Makefile.am
r25a9b5a rc59712e 20 20 21 21 libdir = ${CFA_LIBDIR} 22 lib_LIBRARIES = 22 lib_LIBRARIES = libcfa.a 23 23 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 24 libcfa-prelude.o : libcfa-prelude.c 33 25 ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -Wall -O2 -c -o $@ $< 34 35 libcfa_d_a-libcfa-prelude.o : libcfa-prelude.c36 ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -D__CFA_DEBUG__ -Wall -O0 -c -o $@ $<37 26 38 27 EXTRA_FLAGS = -g -Wall -Wno-unused-function -imacros libcfa-prelude.c @CFA_FLAGS@ $(DEFAULT_INCLUDES) … … 50 39 51 40 # not all platforms support concurrency, add option do disable it 52 if BUILD_CONCURRENCY53 41 headers += concurrency/coroutine concurrency/thread concurrency/kernel concurrency/monitor concurrency/mutex 54 endif55 42 56 43 libobjs = ${headers:=.o} … … 59 46 60 47 # not all platforms support concurrency, add option do disable it 61 if BUILD_CONCURRENCY62 48 libsrc += concurrency/CtxSwitch-@MACHINE_TYPE@.S concurrency/alarm.c concurrency/invoke.c concurrency/preemption.c 63 endif64 49 65 50 # extensionless header files are overridden by -o flag in default makerule => explicitly override default rule to silently do nothing … … 74 59 false 75 60 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 61 concurrency/invoke.o : concurrency/invoke.c 86 62 ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $< 87 63 88 libcfa_d_a-exception.o : exception.c64 exception.o : exception.c 89 65 ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $< 90 66 91 libcfa_d_a-virtual.o : virtual.c67 virtual.o : virtual.c 92 68 ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $< 93 69 … … 96 72 libcfa_a_SOURCES = ${libsrc} 97 73 libcfa_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 -debug100 74 101 75 stdhdr = ${shell find ${srcdir}/stdhdr -type f -printf "%p "}
Note: See TracChangeset
for help on using the changeset viewer.