Changeset 9df2dd5
- Timestamp:
- Jan 25, 2015, 10:02:36 AM (10 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- ad8e062
- Parents:
- 1e8bf345
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/Makefile.in
r1e8bf345 r9df2dd5 2 2 BACKEND_CC := @BACKEND_CC@ 3 3 4 LIBRARIES := libcfa.a builtins.cf 4 LIBRARIES := libcfa.a builtins.cf builtins.c 5 5 6 all: $ (LIBRARIES)6 all: ${LIBRARIES} 7 7 8 8 install: all 9 $ (INSTALL)-d @CFA_LIBDIR@10 $ (INSTALL)prelude.cf @CFA_LIBDIR@11 $ (INSTALL)builtins.cf @CFA_LIBDIR@12 $ (INSTALL)libcfa.a @CFA_LIBDIR@9 ${INSTALL} -d @CFA_LIBDIR@ 10 ${INSTALL} prelude.cf @CFA_LIBDIR@ 11 ${INSTALL} builtins.cf @CFA_LIBDIR@ 12 ${INSTALL} libcfa.a @CFA_LIBDIR@ 13 13 14 14 # make forward declarations for gcc builtins 15 builtins.cf: Makefile builtins.c builtins.def 16 @BACKEND_CC@ -E prototypes.c | awk -f prototypes.awk > builtins.c 17 @BACKEND_CC@ -E -P builtins.c | sed -e "/targetm/s/.*//" -e "/_Decimal/s/.*//" -e "s/void (const char \*)0();//" -e "s/\"//g" -e "s/\(__builtin_\) /\1/" > builtins.cf 15 builtins.c: Makefile builtins.def 16 @BACKEND_CC@ -E prototypes.c | awk -f prototypes.awk > $@ 17 18 builtins.cf: builtins.c 19 @BACKEND_CC@ -E -P $^ | sed -e "/targetm/s/.*//" -e "/_Decimal/s/.*//" -e "s/void (const char \*)0();//" -e "s/\"//g" -e "s/\(__builtin_\) /\1/" > $@ 18 20 19 21 libcfa-prelude.c: ../translator/cfa-cpp prelude.cf builtins.cf … … 23 25 24 26 libcfa-prelude.o: libcfa-prelude.c 25 $ (BACKEND_CC)-c -o $@ $<27 ${BACKEND_CC} -c -o $@ $< 26 28 27 29 libcfa.a: libcfa-prelude.o … … 32 34 # clean-up rule 33 35 clean: 34 rm -f $ (LIBRARIES) $(EXTRA_OUTPUT)36 rm -f ${LIBRARIES} ${EXTRA_OUTPUT} 35 37 36 38 distclean: clean
Note: See TracChangeset
for help on using the changeset viewer.