Changeset 5887db27


Ignore:
Timestamp:
May 25, 2015, 9:36:02 AM (9 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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
Message:

libcfa/Makefile.in does not require builtins.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/Makefile.in

    r1f2061de r5887db27  
    1111## Created On       : Sat May 16 08:05:18 2015
    1212## Last Modified By : Peter A. Buhr
    13 ## Last Modified On : Thu May 21 22:00:51 2015
    14 ## Update Count     : 3
     13## Last Modified On : Mon May 25 09:33:47 2015
     14## Update Count     : 4
    1515###############################################################################
    1616
     
    1919CFA_LIBDIR = @CFA_LIBDIR@
    2020
    21 LIBRARIES := libcfa.a builtins.cf builtins.c
     21LIBRARIES := libcfa.a builtins.cf
    2222
    23 all: ${LIBRARIES}
     23all : ${LIBRARIES} Makefile
    2424
    25 install: all
     25install : all
    2626        ${INSTALL} -d @CFA_LIBDIR@
    2727        ${INSTALL} prelude.cf @CFA_LIBDIR@
     
    2929
    3030# 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
     31builtins.cf : builtins.c
    3532        @BACKEND_CC@ -E -P $^ | sed -e "/targetm/s/.*//" -e "/_Decimal/s/.*//" -e "s/void (const char \*)0();//" -e "s/\"//g" -e "s/\(__builtin_\) /\1/" > $@
    3633        ${INSTALL} builtins.cf @CFA_LIBDIR@
    3734
    38 libcfa-prelude.c: @CFA_LIBDIR@/cfa-cpp prelude.cf builtins.cf
     35builtins.c : builtins.def
     36        @BACKEND_CC@ -E prototypes.c | awk -f prototypes.awk > $@
     37
     38libcfa-prelude.c : @CFA_LIBDIR@/cfa-cpp prelude.cf builtins.cf
    3939        sed -i -e "s#typedef.*ptrdiff_t.*#`@BACKEND_CC@ -E ptrdiff_t.c | grep 'typedef.*ptrdiff_t'`#" prelude.cf
    4040        @CFA_LIBDIR@/cfa-cpp -l prelude.cf $@
    4141        rm -f prelude.c
    4242
    43 libcfa-prelude.o: libcfa-prelude.c
     43libcfa-prelude.o : libcfa-prelude.c
    4444        ${BACKEND_CC} -c -o $@ $<
    4545
    46 libcfa.a: libcfa-prelude.o
     46libcfa.a : libcfa-prelude.o
    4747        ar crs $@ $^
    4848
     
    5050
    5151# clean-up rule
    52 clean:
     52clean :
    5353        rm -f ${LIBRARIES} ${EXTRA_OUTPUT}
    5454
    55 distclean: clean
     55distclean : clean
Note: See TracChangeset for help on using the changeset viewer.