Changeset 807ce84
- Timestamp:
- Jun 26, 2017, 12:05:01 PM (7 years ago)
- 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:
- 6385d62
- Parents:
- c038214
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
rc038214 r807ce84 31 31 32 32 src/prelude/builtins.cf 33 src/prelude/builtins.c34 33 src/prelude/gcc-builtins.cf 35 34 src/prelude/gcc-builtins.c -
src/main.cc
rc038214 r807ce84 186 186 if ( ! nopreludep ) { // include gcc builtins 187 187 // -l is for initial build ONLY and builtins.cf is not in the lib directory so access it here. 188 // Read to cfa builtins, if not generating the cfa library 189 FILE * builtins = fopen( libcfap | treep ? "../prelude/builtins.cf" : CFA_LIBDIR "/builtins.cf", "r" ); 190 assertf( builtins, "cannot open builtins.cf\n" ); 191 parse( builtins, LinkageSpec::Compiler ); 192 193 // Read to gcc builtins, if not generating the cfa library 188 194 FILE * gcc_builtins = fopen( libcfap | treep ? "../prelude/gcc-builtins.cf" : CFA_LIBDIR "/gcc-builtins.cf", "r" ); 189 195 assertf( gcc_builtins, "cannot open gcc-builtins.cf\n" ); -
src/prelude/Makefile.am
rc038214 r807ce84 20 20 # put into lib for now 21 21 cfalibdir = ${CFA_LIBDIR} 22 cfalib_DATA = gcc-builtins.cf extras.cf prelude.cf bootloader.c22 cfalib_DATA = gcc-builtins.cf builtins.cf extras.cf prelude.cf bootloader.c 23 23 noinst_DATA = ../libcfa/libcfa-prelude.c 24 24 … … 38 38 prototypes.awk : 39 39 40 ../libcfa/libcfa-prelude.c : prelude.cf extras.cf gcc-builtins.cf ${abs_top_srcdir}/src/driver/cfa-cpp 40 # create forward declarations for cfa builtins 41 builtins.cf : builtins.c 42 ${AM_V_GEN}@BACKEND_CC@ -E -P ${<} -o ${@} 43 44 ../libcfa/libcfa-prelude.c : prelude.cf extras.cf gcc-builtins.cf builtins.cf ${abs_top_srcdir}/src/driver/cfa-cpp 41 45 ${AM_V_GEN}${abs_top_srcdir}/src/driver/cfa-cpp -l prelude.cf $@ # use src/cfa-cpp as not in lib until after install 42 46 43 bootloader.c : bootloader.cf prelude.cf extras.cf gcc-builtins.cf ${abs_top_srcdir}/src/driver/cfa-cpp47 bootloader.c : bootloader.cf prelude.cf extras.cf gcc-builtins.cf builtins.cf ${abs_top_srcdir}/src/driver/cfa-cpp 44 48 ${AM_V_GEN}${abs_top_srcdir}/src/driver/cfa-cpp -tpmL bootloader.cf $@ # use src/cfa-cpp as not in lib until after install 45 49 46 MAINTAINERCLEANFILES = gcc-builtins.c gcc-builtins.cf extras.cf bootloader.c ${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}}50 MAINTAINERCLEANFILES = gcc-builtins.c gcc-builtins.cf builtins.cf extras.cf bootloader.c ${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}} -
src/prelude/Makefile.in
rc038214 r807ce84 211 211 # put into lib for now 212 212 cfalibdir = ${CFA_LIBDIR} 213 cfalib_DATA = gcc-builtins.cf extras.cf prelude.cf bootloader.c213 cfalib_DATA = gcc-builtins.cf builtins.cf extras.cf prelude.cf bootloader.c 214 214 noinst_DATA = ../libcfa/libcfa-prelude.c 215 MAINTAINERCLEANFILES = gcc-builtins.c gcc-builtins.cf extras.cf bootloader.c ${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}}215 MAINTAINERCLEANFILES = gcc-builtins.c gcc-builtins.cf builtins.cf extras.cf bootloader.c ${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}} 216 216 all: all-am 217 217 … … 435 435 prototypes.awk : 436 436 437 ../libcfa/libcfa-prelude.c : prelude.cf extras.cf gcc-builtins.cf ${abs_top_srcdir}/src/driver/cfa-cpp 437 # create forward declarations for cfa builtins 438 builtins.cf : builtins.c 439 ${AM_V_GEN}@BACKEND_CC@ -E -P ${<} -o ${@} 440 441 ../libcfa/libcfa-prelude.c : prelude.cf extras.cf gcc-builtins.cf builtins.cf ${abs_top_srcdir}/src/driver/cfa-cpp 438 442 ${AM_V_GEN}${abs_top_srcdir}/src/driver/cfa-cpp -l prelude.cf $@ # use src/cfa-cpp as not in lib until after install 439 443 440 bootloader.c : bootloader.cf prelude.cf extras.cf gcc-builtins.cf ${abs_top_srcdir}/src/driver/cfa-cpp444 bootloader.c : bootloader.cf prelude.cf extras.cf gcc-builtins.cf builtins.cf ${abs_top_srcdir}/src/driver/cfa-cpp 441 445 ${AM_V_GEN}${abs_top_srcdir}/src/driver/cfa-cpp -tpmL bootloader.cf $@ # use src/cfa-cpp as not in lib until after install 442 446
Note: See TracChangeset
for help on using the changeset viewer.