Ignore:
Timestamp:
Dec 14, 2016, 3:31:01 PM (8 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
74e5a3aa
Parents:
37efaf56
Message:

move builtin/prelude into different directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/Makefile.am

    r37efaf56 r375a068  
    1111## Created On       : Sun May 31 08:54:01 2015
    1212## Last Modified By : Peter A. Buhr
    13 ## Last Modified On : Fri Aug 26 12:03:37 2016
    14 ## Update Count     : 199
     13## Last Modified On : Wed Dec 14 15:17:30 2016
     14## Update Count     : 211
    1515###############################################################################
    1616
     
    2828endif
    2929
    30 # put into lib for now
    31 cfalibdir = ${libdir}
    32 cfalib_DATA = builtins.cf extras.cf prelude.cf
    33 
    34 # create extra forward types/declarations to reduce inclusion of library files
    35 extras.cf : extras.regx extras.c
    36         ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -E ${srcdir}/extras.c | grep -f extras.regx > ${srcdir}/extras.cf
    37 
    38 # create forward declarations for gcc builtins
    39 builtins.cf : builtins.c
    40         ${AM_V_GEN}if [ -e $< ] ; then \
    41                 @BACKEND_CC@ -E -P $^ | sed -e "/targetm/s/.*//" -e "/_Decimal/s/.*//" -e "s/void (const char \*)0();//" -e "s/\"//g" -e "s/\(__builtin_\) /\1/" > $@ ; \
    42         fi
    43 
    44 builtins.c : builtins.def prototypes.awk
    45         ${AM_V_GEN}if [ -e $< ] ; then \
    46                 @BACKEND_CC@ -E prototypes.c | awk -f prototypes.awk > $@ ; \
    47         fi
    48 
    49 builtins.def :
    50 
    51 prototypes.awk :
    52 
    53 MAINTAINERCLEANFILES = builtins.cf extras.cf ${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}}
    54 
    55 #--------------------------------------------------
    56 
    57 libcfa-prelude.c : ${srcdir}/prelude.cf ${srcdir}/extras.cf ${srcdir}/builtins.cf
    58         ${AM_V_GEN}${abs_top_srcdir}/src/driver/cfa-cpp -l ${srcdir}/prelude.cf $@  # use src/cfa-cpp as not in lib until after install
    59 
    6030libcfa_a-libcfa-prelude.o : libcfa-prelude.c
    6131         ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -O2 -c -o $@ $<
     
    6434         ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -D__CFA_DEBUG__ -O0 -c -o $@ $<
    6535
    66 EXTRA_FLAGS = -g -Wall -Wno-unused-function -I${abs_top_srcdir}/src/libcfa/libhdr       @CFA_FLAGS@
     36EXTRA_FLAGS = -g -Wall -Wno-unused-function -I${abs_top_srcdir}/src/libcfa/libhdr @CFA_FLAGS@
    6737
    6838AM_CCASFLAGS = @CFA_FLAGS@
     
    7747% : %.c
    7848        @true
     49
     50# %.$(OJBEXT) : libcfa-prelude.c
     51#       echo "FRED"
     52#       @false
     53#       ${AM_V_CC} ${abs_top_srcdir}/src/driver/cfa
    7954
    8055concurrency/libcfa_a-invoke.o : concurrency/invoke.c
Note: See TracChangeset for help on using the changeset viewer.