Changeset db82596


Ignore:
Timestamp:
Jun 1, 2015, 8:59:06 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:
76934fb, d1d17f5
Parents:
334163c
Message:

redo automake sixth attempt

Location:
libcfa
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • libcfa/Makefile.am

    r334163c rdb82596  
    1111## Created On       : Sun May 31 08:54:01 2015
    1212## Last Modified By : Peter A. Buhr
    13 ## Last Modified On : Sun May 31 08:54:36 2015
    14 ## Update Count     : 2
     13## Last Modified On : Mon Jun  1 08:55:17 2015
     14## Update Count     : 3
    1515###############################################################################
    1616
     
    2727
    2828builtins.cf : builtins.c
    29         @if [ -e builtins.c ] ; then \
     29        @if [ -e $< ] ; then \
    3030                @BACKEND_CC@ -E -P $^ | sed -e "/targetm/s/.*//" -e "/_Decimal/s/.*//" -e "s/void (const char \*)0();//" -e "s/\"//g" -e "s/\(__builtin_\) /\1/" > $@ ; \
    3131        fi
    3232
    3333builtins.c : builtins.def prototypes.awk
    34         @if [ -e builtins.def ] ; then \
     34        @if [ -e $< ] ; then \
    3535                @BACKEND_CC@ -E prototypes.c | awk -f prototypes.awk > $@ ; \
    3636        fi
     
    3838builtins.def :
    3939
     40prototypes.awk :
     41
    4042libcfa-prelude.c : ${libdir}/cfa-cpp ${libdir}/builtins.cf
    4143        sed -i -e "s#typedef.*ptrdiff_t.*#`@BACKEND_CC@ -E ${srcdir}/ptrdiff_t.c | grep 'typedef.*ptrdiff_t'`#" ${srcdir}/prelude.cf
    4244        ${libdir}/cfa-cpp -l ${srcdir}/prelude.cf $@
    43         rm -f ${srcdir}/prelude.c
    4445
    4546libcfa-prelude.o : libcfa-prelude.c
  • libcfa/Makefile.in

    r334163c rdb82596  
    525525
    526526builtins.cf : builtins.c
    527         @if [ -e builtins.c ] ; then \
     527        @if [ -e $< ] ; then \
    528528                @BACKEND_CC@ -E -P $^ | sed -e "/targetm/s/.*//" -e "/_Decimal/s/.*//" -e "s/void (const char \*)0();//" -e "s/\"//g" -e "s/\(__builtin_\) /\1/" > $@ ; \
    529529        fi
    530530
    531531builtins.c : builtins.def prototypes.awk
    532         @if [ -e builtins.def ] ; then \
     532        @if [ -e $< ] ; then \
    533533                @BACKEND_CC@ -E prototypes.c | awk -f prototypes.awk > $@ ; \
    534534        fi
    535535
    536536builtins.def :
     537
     538prototypes.awk :
    537539
    538540libcfa-prelude.c : ${libdir}/cfa-cpp ${libdir}/builtins.cf
    539541        sed -i -e "s#typedef.*ptrdiff_t.*#`@BACKEND_CC@ -E ${srcdir}/ptrdiff_t.c | grep 'typedef.*ptrdiff_t'`#" ${srcdir}/prelude.cf
    540542        ${libdir}/cfa-cpp -l ${srcdir}/prelude.cf $@
    541         rm -f ${srcdir}/prelude.c
    542543
    543544libcfa-prelude.o : libcfa-prelude.c
Note: See TracChangeset for help on using the changeset viewer.