Changeset 5887db27
- Timestamp:
- May 25, 2015, 9:36:02 AM (9 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:
- 2bae7307, 7c64920
- Parents:
- 1f2061de
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/Makefile.in
r1f2061de r5887db27 11 11 ## Created On : Sat May 16 08:05:18 2015 12 12 ## Last Modified By : Peter A. Buhr 13 ## Last Modified On : Thu May 21 22:00:51201514 ## Update Count : 313 ## Last Modified On : Mon May 25 09:33:47 2015 14 ## Update Count : 4 15 15 ############################################################################### 16 16 … … 19 19 CFA_LIBDIR = @CFA_LIBDIR@ 20 20 21 LIBRARIES := libcfa.a builtins.cf builtins.c21 LIBRARIES := libcfa.a builtins.cf 22 22 23 all : ${LIBRARIES}23 all : ${LIBRARIES} Makefile 24 24 25 install : all25 install : all 26 26 ${INSTALL} -d @CFA_LIBDIR@ 27 27 ${INSTALL} prelude.cf @CFA_LIBDIR@ … … 29 29 30 30 # make forward declarations for gcc builtins 31 builtins.c: Makefile builtins.def 32 @BACKEND_CC@ -E prototypes.c | awk -f prototypes.awk > $@ 33 34 builtins.cf: builtins.c 31 builtins.cf : builtins.c 35 32 @BACKEND_CC@ -E -P $^ | sed -e "/targetm/s/.*//" -e "/_Decimal/s/.*//" -e "s/void (const char \*)0();//" -e "s/\"//g" -e "s/\(__builtin_\) /\1/" > $@ 36 33 ${INSTALL} builtins.cf @CFA_LIBDIR@ 37 34 38 libcfa-prelude.c: @CFA_LIBDIR@/cfa-cpp prelude.cf builtins.cf 35 builtins.c : builtins.def 36 @BACKEND_CC@ -E prototypes.c | awk -f prototypes.awk > $@ 37 38 libcfa-prelude.c : @CFA_LIBDIR@/cfa-cpp prelude.cf builtins.cf 39 39 sed -i -e "s#typedef.*ptrdiff_t.*#`@BACKEND_CC@ -E ptrdiff_t.c | grep 'typedef.*ptrdiff_t'`#" prelude.cf 40 40 @CFA_LIBDIR@/cfa-cpp -l prelude.cf $@ 41 41 rm -f prelude.c 42 42 43 libcfa-prelude.o : libcfa-prelude.c43 libcfa-prelude.o : libcfa-prelude.c 44 44 ${BACKEND_CC} -c -o $@ $< 45 45 46 libcfa.a : libcfa-prelude.o46 libcfa.a : libcfa-prelude.o 47 47 ar crs $@ $^ 48 48 … … 50 50 51 51 # clean-up rule 52 clean :52 clean : 53 53 rm -f ${LIBRARIES} ${EXTRA_OUTPUT} 54 54 55 distclean : clean55 distclean : clean
Note: See TracChangeset
for help on using the changeset viewer.