Changeset 9df2dd5


Ignore:
Timestamp:
Jan 25, 2015, 10:02:36 AM (10 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:
ad8e062
Parents:
1e8bf345
Message:

deal with newer built

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/Makefile.in

    r1e8bf345 r9df2dd5  
    22BACKEND_CC := @BACKEND_CC@
    33
    4 LIBRARIES := libcfa.a builtins.cf
     4LIBRARIES := libcfa.a builtins.cf builtins.c
    55
    6 all: $(LIBRARIES)
     6all: ${LIBRARIES}
    77
    88install: 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@
    1313
    1414# 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
     15builtins.c: Makefile builtins.def
     16        @BACKEND_CC@ -E prototypes.c | awk -f prototypes.awk > $@
     17
     18builtins.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/" > $@
    1820
    1921libcfa-prelude.c: ../translator/cfa-cpp prelude.cf builtins.cf
     
    2325
    2426libcfa-prelude.o: libcfa-prelude.c
    25         $(BACKEND_CC) -c -o $@ $<
     27        ${BACKEND_CC} -c -o $@ $<
    2628
    2729libcfa.a: libcfa-prelude.o
     
    3234# clean-up rule
    3335clean:
    34         rm -f $(LIBRARIES) $(EXTRA_OUTPUT)
     36        rm -f ${LIBRARIES} ${EXTRA_OUTPUT}
    3537
    3638distclean: clean
Note: See TracChangeset for help on using the changeset viewer.