Changeset aa30dc0


Ignore:
Timestamp:
Jun 4, 2015, 10:59:11 PM (7 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, 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, resolv-new, string, with_gc
Children:
472a8dd
Parents:
bb86117
Message:

eliminate prelude build on each make

Location:
src/libcfa
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/Makefile.am

    rbb86117 raa30dc0  
    1111## Created On       : Sun May 31 08:54:01 2015
    1212## Last Modified By : Peter A. Buhr
    13 ## Last Modified On : Mon Jun  1 08:55:17 2015
    14 ## Update Count     : 3
     13## Last Modified On : Thu Jun  4 22:49:16 2015
     14## Update Count     : 7
    1515###############################################################################
    1616
     
    2323
    2424# create forward declarations for gcc builtins
    25 ${libdir}/builtins.cf : ${srcdir}/builtins.cf ${libdir}
     25${libdir}/builtins.cf : ${libdir} ${srcdir}/builtins.cf
    2626        ${INSTALL} ${srcdir}/builtins.cf ${libdir}
     27        sed -i -e "s#typedef.*ptrdiff_t.*#`@BACKEND_CC@ -E ${srcdir}/ptrdiff_t.c | grep 'typedef.*ptrdiff_t'`#" ${srcdir}/prelude.cf
    2728
    2829builtins.cf : builtins.c
     
    4041prototypes.awk :
    4142
    42 libcfa-prelude.c : ${libdir}/cfa-cpp ${libdir}/builtins.cf
    43         sed -i -e "s#typedef.*ptrdiff_t.*#`@BACKEND_CC@ -E ${srcdir}/ptrdiff_t.c | grep 'typedef.*ptrdiff_t'`#" ${srcdir}/prelude.cf
     43MAINTAINERCLEANFILES = ${srcdir}/libcfa-prelude.c
     44
     45libcfa-prelude.c : ${srcdir}/prelude.cf
    4446        ${libdir}/cfa-cpp -l ${srcdir}/prelude.cf $@
    4547
  • src/libcfa/Makefile.in

    rbb86117 raa30dc0  
    206206cfalibdir = ${libdir}
    207207cfalib_DATA = prelude.cf builtins.cf
     208MAINTAINERCLEANFILES = ${srcdir}/libcfa-prelude.c
    208209all: all-am
    209210
     
    434435        @echo "This command is intended for maintainers to use"
    435436        @echo "it deletes files that may require special tools to rebuild."
     437        -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
    436438clean: clean-am
    437439
     
    521523
    522524# create forward declarations for gcc builtins
    523 ${libdir}/builtins.cf : ${srcdir}/builtins.cf ${libdir}
     525${libdir}/builtins.cf : ${libdir} ${srcdir}/builtins.cf
    524526        ${INSTALL} ${srcdir}/builtins.cf ${libdir}
     527        sed -i -e "s#typedef.*ptrdiff_t.*#`@BACKEND_CC@ -E ${srcdir}/ptrdiff_t.c | grep 'typedef.*ptrdiff_t'`#" ${srcdir}/prelude.cf
    525528
    526529builtins.cf : builtins.c
     
    538541prototypes.awk :
    539542
    540 libcfa-prelude.c : ${libdir}/cfa-cpp ${libdir}/builtins.cf
    541         sed -i -e "s#typedef.*ptrdiff_t.*#`@BACKEND_CC@ -E ${srcdir}/ptrdiff_t.c | grep 'typedef.*ptrdiff_t'`#" ${srcdir}/prelude.cf
     543libcfa-prelude.c : ${srcdir}/prelude.cf
    542544        ${libdir}/cfa-cpp -l ${srcdir}/prelude.cf $@
    543545
  • src/libcfa/prelude.cf

    rbb86117 raa30dc0  
    88// Created On       : Sat Nov 29 07:23:41 2014
    99// Last Modified By : Peter A. Buhr
    10 // Last Modified On : Mon May 25 21:30:29 2015
    11 // Update Count     : 71
     10// Last Modified On : Thu Jun  4 22:53:04 2015
     11// Update Count     : 74
    1212//
    1313
Note: See TracChangeset for help on using the changeset viewer.