source: src/prelude/Makefile.am @ 307a732

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 307a732 was 307a732, checked in by Andrew Beach <ajbeach@…>, 7 years ago

The exception handling code compilers and translates, but the translation crashes.

  • Property mode set to 100644
File size: 2.3 KB
RevLine 
[375a068]1######################## -*- Mode: Makefile-Automake -*- ######################
2##
3## Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
4##
5## The contents of this file are covered under the licence agreement in the
6## file "LICENCE" distributed with Cforall.
7##
8## Makefile.am --
9##
10## Author           : Peter A. Buhr
11## Created On       : Sun May 31 08:54:01 2015
12## Last Modified By : Peter A. Buhr
13## Last Modified On : Wed Dec 14 15:00:35 2016
14## Update Count     : 205
15###############################################################################
16
17# create object files in directory with source files
18AUTOMAKE_OPTIONS = subdir-objects
19
20# put into lib for now
[088a5cd]21cfalibdir = ${CFA_LIBDIR}
[807ce84]22cfalib_DATA = gcc-builtins.cf builtins.cf extras.cf prelude.cf bootloader.c
[375a068]23noinst_DATA = ../libcfa/libcfa-prelude.c
24
[307a732]25CC = ${abs_top_srcdir}/src/driver/cfa
26
[8c680e9]27$(DEPDIR) :
28        mkdir $(DEPDIR)
29
30$(DEPDIR)/builtins.Po : $(DEPDIR)
31        touch ${@}
32
[375a068]33# create extra forward types/declarations to reduce inclusion of library files
34extras.cf : extras.regx extras.c
35        ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -E ${srcdir}/extras.c | grep -f extras.regx > ${srcdir}/extras.cf
36
37# create forward declarations for gcc builtins
[6ce3ae9]38gcc-builtins.cf : gcc-builtins.c prototypes.sed
[dc99f38]39        ${AM_V_GEN}@BACKEND_CC@ -E -P $< | sed -f prototypes.sed > $@
[375a068]40
[6ce3ae9]41gcc-builtins.c : builtins.def prototypes.awk
[99b75cab]42        ${AM_V_GEN}@BACKEND_CC@ -E prototypes.c | awk -f prototypes.awk > $@
[375a068]43
44builtins.def :
45
46prototypes.awk :
47
[807ce84]48# create forward declarations for cfa builtins
[307a732]49builtins.cf : builtins.c ${CC}
50        ${AM_V_GEN}${CC} -E -P ${<} -o ${@} -MD -MP -MF $(DEPDIR)/builtins.Po
[8c680e9]51        ${AM_V_at}sed -i 's/builtins.o/builtins.cf/g' $(DEPDIR)/builtins.Po
52
53include $(DEPDIR)/builtins.Po
[807ce84]54
55../libcfa/libcfa-prelude.c : prelude.cf extras.cf gcc-builtins.cf builtins.cf ${abs_top_srcdir}/src/driver/cfa-cpp
[375a068]56        ${AM_V_GEN}${abs_top_srcdir}/src/driver/cfa-cpp -l prelude.cf $@  # use src/cfa-cpp as not in lib until after install
57
[807ce84]58bootloader.c : bootloader.cf prelude.cf extras.cf gcc-builtins.cf builtins.cf ${abs_top_srcdir}/src/driver/cfa-cpp
[9923861]59        ${AM_V_GEN}${abs_top_srcdir}/src/driver/cfa-cpp -tpmL bootloader.cf $@  # use src/cfa-cpp as not in lib until after install
[375a068]60
[8c680e9]61maintainer-clean-local :
62        rm -rf $(DEPDIR)
63
[807ce84]64MAINTAINERCLEANFILES = gcc-builtins.c gcc-builtins.cf builtins.cf extras.cf bootloader.c ${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}}
Note: See TracBrowser for help on using the repository browser.