Changeset 7cd8827 for libcfa


Ignore:
Timestamp:
Aug 14, 2018, 4:10:58 PM (7 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, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
636e1b9
Parents:
c3a8ecd (diff), 5a5d31a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg2:software/cfa/cfa-cc

Location:
libcfa
Files:
16 added
119 moved

Legend:

Unmodified
Added
Removed
  • libcfa/prelude/Makefile.am

    rc3a8ecd r7cd8827  
    1616
    1717# create object files in directory with source files
    18 AUTOMAKE_OPTIONS = subdir-objects
     18AUTOMAKE_OPTIONS = foreign subdir-objects
    1919
    2020# put into lib for now
    2121cfalibdir = ${CFA_LIBDIR}
    2222cfalib_DATA = gcc-builtins.cf builtins.cf extras.cf prelude.cf bootloader.c
    23 noinst_DATA = ../libcfa/libcfa-prelude.c
     23noinst_DATA = ../src/prelude.c
    2424
    2525CC = @CFACC@
     26AM_CFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@
     27AM_CFAFLAGS = @CONFIG_CFAFLAGS@
    2628
    2729$(DEPDIR) :
     
    3335# create extra forward types/declarations to reduce inclusion of library files
    3436extras.cf : ${srcdir}/extras.regx ${srcdir}/extras.c
    35         ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -E ${srcdir}/extras.c | grep -f ${srcdir}/extras.regx > extras.cf
     37        ${AM_V_GEN}gcc ${AM_CFLAGS} -E ${srcdir}/extras.c | grep -f ${srcdir}/extras.regx > extras.cf
    3638
    3739# create forward declarations for gcc builtins
    3840gcc-builtins.cf : gcc-builtins.c ${srcdir}/prototypes.sed
    39         ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -I${srcdir} -E -P $< | sed -r -f ${srcdir}/prototypes.sed > $@
     41        ${AM_V_GEN}gcc -I${srcdir} -E -P $< | sed -r -f ${srcdir}/prototypes.sed > $@
    4042
    4143gcc-builtins.c : ${srcdir}/builtins.def ${srcdir}/prototypes.awk ${srcdir}/sync-builtins.cf ${srcdir}/prototypes.c
    42         ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -I${srcdir} -E ${srcdir}/prototypes.c | awk -f ${srcdir}/prototypes.awk > $@
     44        ${AM_V_GEN}gcc -I${srcdir} -E ${srcdir}/prototypes.c | awk -f ${srcdir}/prototypes.awk > $@
    4345
    4446prelude.cf : prelude-gen.cc
    45         ${AM_V_GEN}${CXX} ${AM_CXXFLAGS} ${CXXFLAGS} ${<} -o prelude-gen -Wall -Wextra -O2 -g -std=c++14
     47        ${AM_V_GEN}${CXX} ${AM_CXXFLAGS} ${CXXFLAGS} ${AM_CFLAGS} ${<} -o prelude-gen -Wall -Wextra -O2 -g -std=c++14
    4648        @./prelude-gen > $@
    4749        @rm ./prelude-gen
     
    5355# create forward declarations for cfa builtins
    5456builtins.cf : builtins.c ${CC}
    55         ${AM_V_GEN}${CC} -E -P ${<} -o ${@} -MD -MP -MF $(DEPDIR)/builtins.Po
     57        ${AM_V_GEN}gcc ${AM_CFLAGS} -E -P ${<} -o ${@} -MD -MP -MF $(DEPDIR)/builtins.Po
    5658        ${AM_V_at}sed -i 's/builtins.o/builtins.cf/g' $(DEPDIR)/builtins.Po
    5759
    5860include $(DEPDIR)/builtins.Po
    5961
    60 ../libcfa/libcfa-prelude.c : prelude.cf extras.cf gcc-builtins.cf builtins.cf @CFACPP@
    61         ${AM_V_GEN}@CFACPP@ -l prelude.cf $@  # use src/cfa-cpp as not in lib until after install
     62../src/prelude.c : prelude.cf extras.cf gcc-builtins.cf builtins.cf @CFACPP@
     63        ${AM_V_GEN}@CFACPP@ --prelude-dir=${builddir} -l prelude.cf $@  # use src/cfa-cpp as not in lib until after install
    6264
    6365bootloader.c : ${srcdir}/bootloader.cf prelude.cf extras.cf gcc-builtins.cf builtins.cf @CFACPP@
    64         ${AM_V_GEN}@CFACPP@ -tpm ${srcdir}/bootloader.cf $@  # use src/cfa-cpp as not in lib until after install
     66        ${AM_V_GEN}@CFACPP@ --prelude-dir=${builddir} -tpm ${srcdir}/bootloader.cf $@  # use src/cfa-cpp as not in lib until after install
    6567
    6668maintainer-clean-local :
    6769        rm -rf $(DEPDIR)
    6870
    69 MAINTAINERCLEANFILES = gcc-builtins.c gcc-builtins.cf builtins.cf extras.cf bootloader.c prelude.cf ${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}}
     71MOSTLYCLEANFILES = bootloader.c builtins.cf extras.cf gcc-builtins.c gcc-builtins.cf prelude.cf
     72MAINTAINERCLEANFILES = ${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}}
  • libcfa/prelude/Makefile.in

    rc3a8ecd r7cd8827  
    9090PRE_UNINSTALL = :
    9191POST_UNINSTALL = :
    92 build_triplet = @build@
    93 host_triplet = @host@
    94 subdir = src/prelude
     92subdir = prelude
    9593ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    96 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
     94am__aclocal_m4_deps = $(top_srcdir)/../automake/cfa.m4 \
     95        $(top_srcdir)/configure.ac
    9796am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    9897        $(ACLOCAL_M4)
    9998DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
    10099mkinstalldirs = $(install_sh) -d
    101 CONFIG_HEADER = $(top_builddir)/config.h
    102100CONFIG_CLEAN_FILES =
    103101CONFIG_CLEAN_VPATH_FILES =
     
    154152DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    155153ACLOCAL = @ACLOCAL@
    156 ALLOCA = @ALLOCA@
    157154AMTAR = @AMTAR@
    158155AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
     156ARCHITECTURE = @ARCHITECTURE@
     157ARCH_FLAGS = @ARCH_FLAGS@
    159158AUTOCONF = @AUTOCONF@
    160159AUTOHEADER = @AUTOHEADER@
    161160AUTOMAKE = @AUTOMAKE@
    162161AWK = @AWK@
    163 BACKEND_CC = @BACKEND_CC@
    164 BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@
    165 BUILD_IN_TREE_FLAGS_NOLIB = @BUILD_IN_TREE_FLAGS_NOLIB@
    166162CC = @CFACC@
    167163CCAS = @CCAS@
     
    171167CFACC = @CFACC@
    172168CFACPP = @CFACPP@
    173 CFA_BACKEND_CC = @CFA_BACKEND_CC@
    174169CFA_BINDIR = @CFA_BINDIR@
    175 CFA_FLAGS = @CFA_FLAGS@
    176170CFA_INCDIR = @CFA_INCDIR@
    177171CFA_LIBDIR = @CFA_LIBDIR@
     
    179173CFA_PREFIX = @CFA_PREFIX@
    180174CFLAGS = @CFLAGS@
    181 CPP = @CPP@
     175CONFIGURATION = @CONFIGURATION@
     176CONFIG_CFAFLAGS = @CONFIG_CFAFLAGS@
     177CONFIG_CFLAGS = @CONFIG_CFLAGS@
    182178CPPFLAGS = @CPPFLAGS@
    183179CXX = @CXX@
     
    191187ECHO_N = @ECHO_N@
    192188ECHO_T = @ECHO_T@
    193 EGREP = @EGREP@
    194189EXEEXT = @EXEEXT@
    195 GREP = @GREP@
    196190INSTALL = @INSTALL@
    197191INSTALL_DATA = @INSTALL_DATA@
     
    200194INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
    201195LDFLAGS = @LDFLAGS@
    202 LEX = @LEX@
    203 LEXLIB = @LEXLIB@
    204 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
    205196LIBOBJS = @LIBOBJS@
    206197LIBS = @LIBS@
    207198LTLIBOBJS = @LTLIBOBJS@
    208 MACHINE_TYPE = @MACHINE_TYPE@
    209199MAKEINFO = @MAKEINFO@
    210200MKDIR_P = @MKDIR_P@
     
    223213STRIP = @STRIP@
    224214VERSION = @VERSION@
    225 YACC = @YACC@
    226 YFLAGS = @YFLAGS@
    227215abs_builddir = @abs_builddir@
    228216abs_srcdir = @abs_srcdir@
     
    237225am__untar = @am__untar@
    238226bindir = @bindir@
    239 build = @build@
    240227build_alias = @build_alias@
    241 build_cpu = @build_cpu@
    242 build_os = @build_os@
    243 build_vendor = @build_vendor@
    244228builddir = @builddir@
    245229datadir = @datadir@
     
    248232dvidir = @dvidir@
    249233exec_prefix = @exec_prefix@
    250 host = @host@
    251234host_alias = @host_alias@
    252 host_cpu = @host_cpu@
    253 host_os = @host_os@
    254 host_vendor = @host_vendor@
    255235htmldir = @htmldir@
    256236includedir = @includedir@
     
    279259
    280260# create object files in directory with source files
    281 AUTOMAKE_OPTIONS = subdir-objects
     261AUTOMAKE_OPTIONS = foreign subdir-objects
    282262
    283263# put into lib for now
    284264cfalibdir = ${CFA_LIBDIR}
    285265cfalib_DATA = gcc-builtins.cf builtins.cf extras.cf prelude.cf bootloader.c
    286 noinst_DATA = ../libcfa/libcfa-prelude.c
    287 MAINTAINERCLEANFILES = gcc-builtins.c gcc-builtins.cf builtins.cf extras.cf bootloader.c prelude.cf ${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}}
     266noinst_DATA = ../src/prelude.c
     267AM_CFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@
     268AM_CFAFLAGS = @CONFIG_CFAFLAGS@
     269MOSTLYCLEANFILES = bootloader.c builtins.cf extras.cf gcc-builtins.c gcc-builtins.cf prelude.cf
     270MAINTAINERCLEANFILES = ${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}}
    288271all: all-am
    289272
     
    298281          esac; \
    299282        done; \
    300         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/prelude/Makefile'; \
     283        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign prelude/Makefile'; \
    301284        $(am__cd) $(top_srcdir) && \
    302           $(AUTOMAKE) --foreign src/prelude/Makefile
     285          $(AUTOMAKE) --foreign prelude/Makefile
    303286Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    304287        @case '$?' in \
     
    403386        fi
    404387mostlyclean-generic:
     388        -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
    405389
    406390clean-generic:
     
    506490# create extra forward types/declarations to reduce inclusion of library files
    507491extras.cf : ${srcdir}/extras.regx ${srcdir}/extras.c
    508         ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -E ${srcdir}/extras.c | grep -f ${srcdir}/extras.regx > extras.cf
     492        ${AM_V_GEN}gcc ${AM_CFLAGS} -E ${srcdir}/extras.c | grep -f ${srcdir}/extras.regx > extras.cf
    509493
    510494# create forward declarations for gcc builtins
    511495gcc-builtins.cf : gcc-builtins.c ${srcdir}/prototypes.sed
    512         ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -I${srcdir} -E -P $< | sed -r -f ${srcdir}/prototypes.sed > $@
     496        ${AM_V_GEN}gcc -I${srcdir} -E -P $< | sed -r -f ${srcdir}/prototypes.sed > $@
    513497
    514498gcc-builtins.c : ${srcdir}/builtins.def ${srcdir}/prototypes.awk ${srcdir}/sync-builtins.cf ${srcdir}/prototypes.c
    515         ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -I${srcdir} -E ${srcdir}/prototypes.c | awk -f ${srcdir}/prototypes.awk > $@
     499        ${AM_V_GEN}gcc -I${srcdir} -E ${srcdir}/prototypes.c | awk -f ${srcdir}/prototypes.awk > $@
    516500
    517501prelude.cf : prelude-gen.cc
    518         ${AM_V_GEN}${CXX} ${AM_CXXFLAGS} ${CXXFLAGS} ${<} -o prelude-gen -Wall -Wextra -O2 -g -std=c++14
     502        ${AM_V_GEN}${CXX} ${AM_CXXFLAGS} ${CXXFLAGS} ${AM_CFLAGS} ${<} -o prelude-gen -Wall -Wextra -O2 -g -std=c++14
    519503        @./prelude-gen > $@
    520504        @rm ./prelude-gen
     
    526510# create forward declarations for cfa builtins
    527511builtins.cf : builtins.c ${CC}
    528         ${AM_V_GEN}${CC} -E -P ${<} -o ${@} -MD -MP -MF $(DEPDIR)/builtins.Po
     512        ${AM_V_GEN}gcc ${AM_CFLAGS} -E -P ${<} -o ${@} -MD -MP -MF $(DEPDIR)/builtins.Po
    529513        ${AM_V_at}sed -i 's/builtins.o/builtins.cf/g' $(DEPDIR)/builtins.Po
    530514
    531515include $(DEPDIR)/builtins.Po
    532516
    533 ../libcfa/libcfa-prelude.c : prelude.cf extras.cf gcc-builtins.cf builtins.cf @CFACPP@
    534         ${AM_V_GEN}@CFACPP@ -l prelude.cf $@  # use src/cfa-cpp as not in lib until after install
     517../src/prelude.c : prelude.cf extras.cf gcc-builtins.cf builtins.cf @CFACPP@
     518        ${AM_V_GEN}@CFACPP@ --prelude-dir=${builddir} -l prelude.cf $@  # use src/cfa-cpp as not in lib until after install
    535519
    536520bootloader.c : ${srcdir}/bootloader.cf prelude.cf extras.cf gcc-builtins.cf builtins.cf @CFACPP@
    537         ${AM_V_GEN}@CFACPP@ -tpm ${srcdir}/bootloader.cf $@  # use src/cfa-cpp as not in lib until after install
     521        ${AM_V_GEN}@CFACPP@ --prelude-dir=${builddir} -tpm ${srcdir}/bootloader.cf $@  # use src/cfa-cpp as not in lib until after install
    538522
    539523maintainer-clean-local :
  • libcfa/prelude/builtins.c

    rc3a8ecd r7cd8827  
    1818typedef unsigned long long __cfaabi_abi_exception_type_t;
    1919
    20 #include "../libcfa/virtual.h"
    21 #include "../libcfa/exception.h"
     20#include "../src/virtual.h"
     21#include "../src/exception.h"
    2222
    2323void exit( int status, const char fmt[], ... ) __attribute__ (( format(printf, 2, 3), __nothrow__, __leaf__, __noreturn__ ));
  • libcfa/src/Makefile.in

    rc3a8ecd r7cd8827  
    1717######################## -*- Mode: Makefile-Automake -*- ######################
    1818###############################################################################
     19
    1920
    2021VPATH = @srcdir@
     
    9091PRE_UNINSTALL = :
    9192POST_UNINSTALL = :
    92 build_triplet = @build@
    93 host_triplet = @host@
    94 noinst_PROGRAMS = fstream_test$(EXEEXT) vector_test$(EXEEXT) \
    95         avl_test$(EXEEXT) Bench$(EXEEXT)
    96 subdir = src/examples
     93subdir = src
    9794ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    98 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
     95am__aclocal_m4_deps = $(top_srcdir)/../automake/cfa.m4 \
     96        $(top_srcdir)/configure.ac
    9997am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    10098        $(ACLOCAL_M4)
    101 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
     99DIST_COMMON = $(srcdir)/Makefile.am $(nobase_cfa_include_HEADERS) \
     100        $(am__DIST_COMMON)
    102101mkinstalldirs = $(install_sh) -d
    103 CONFIG_HEADER = $(top_builddir)/config.h
    104102CONFIG_CLEAN_FILES =
    105103CONFIG_CLEAN_VPATH_FILES =
    106 PROGRAMS = $(noinst_PROGRAMS)
    107 Bench_SOURCES = Bench.c
    108 Bench_OBJECTS = Bench.$(OBJEXT)
    109 Bench_LDADD = $(LDADD)
     104am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     105am__vpath_adj = case $$p in \
     106    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     107    *) f=$$p;; \
     108  esac;
     109am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
     110am__install_max = 40
     111am__nobase_strip_setup = \
     112  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
     113am__nobase_strip = \
     114  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
     115am__nobase_list = $(am__nobase_strip_setup); \
     116  for p in $$list; do echo "$$p $$p"; done | \
     117  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
     118  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
     119    if (++n[$$2] == $(am__install_max)) \
     120      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
     121    END { for (dir in files) print dir, files[dir] }'
     122am__base_list = \
     123  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
     124  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
     125am__uninstall_files_from_dir = { \
     126  test -z "$$files" \
     127    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
     128    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
     129         $(am__cd) "$$dir" && rm -f $$files; }; \
     130  }
     131am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cfa_includedir)"
     132LIBRARIES = $(lib_LIBRARIES)
     133AR = ar
     134AM_V_AR = $(am__v_AR_@AM_V@)
     135am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
     136am__v_AR_0 = @echo "  AR      " $@;
     137am__v_AR_1 =
     138libcfa_a_AR = $(AR) $(ARFLAGS)
     139libcfa_a_LIBADD =
    110140am__dirstamp = $(am__leading_dot)dirstamp
    111 am_avl_test_OBJECTS = avltree/avl_test.$(OBJEXT) \
    112         avltree/avl0.$(OBJEXT) avltree/avl1.$(OBJEXT) \
    113         avltree/avl2.$(OBJEXT) avltree/avl3.$(OBJEXT) \
    114         avltree/avl4.$(OBJEXT) avltree/avl-private.$(OBJEXT)
    115 avl_test_OBJECTS = $(am_avl_test_OBJECTS)
    116 avl_test_LDADD = $(LDADD)
    117 am_fstream_test_OBJECTS = fstream_test.$(OBJEXT)
    118 fstream_test_OBJECTS = $(am_fstream_test_OBJECTS)
    119 fstream_test_LDADD = $(LDADD)
    120 am_vector_test_OBJECTS = vector_int.$(OBJEXT) array.$(OBJEXT) \
    121         vector_test.$(OBJEXT)
    122 vector_test_OBJECTS = $(am_vector_test_OBJECTS)
    123 vector_test_LDADD = $(LDADD)
     141am__objects_1 = fstream.$(OBJEXT) iostream.$(OBJEXT) \
     142        iterator.$(OBJEXT) limits.$(OBJEXT) rational.$(OBJEXT) \
     143        time.$(OBJEXT) stdlib.$(OBJEXT) common.$(OBJEXT) \
     144        containers/maybe.$(OBJEXT) containers/pair.$(OBJEXT) \
     145        containers/result.$(OBJEXT) containers/vector.$(OBJEXT) \
     146        concurrency/coroutine.$(OBJEXT) concurrency/thread.$(OBJEXT) \
     147        concurrency/kernel.$(OBJEXT) concurrency/monitor.$(OBJEXT) \
     148        concurrency/mutex.$(OBJEXT)
     149am__objects_2 = prelude.$(OBJEXT) startup.$(OBJEXT) \
     150        interpose.$(OBJEXT) bits/debug.$(OBJEXT) assert.$(OBJEXT) \
     151        exception.$(OBJEXT) virtual.$(OBJEXT) heap.$(OBJEXT) \
     152        $(am__objects_1) \
     153        concurrency/CtxSwitch-@ARCHITECTURE@.$(OBJEXT) \
     154        concurrency/alarm.$(OBJEXT) concurrency/invoke.$(OBJEXT) \
     155        concurrency/preemption.$(OBJEXT)
     156am_libcfa_a_OBJECTS = $(am__objects_2)
     157libcfa_a_OBJECTS = $(am_libcfa_a_OBJECTS)
    124158AM_V_P = $(am__v_P_@AM_V@)
    125159am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
     
    134168am__v_at_0 = @
    135169am__v_at_1 =
    136 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
    137 depcomp = $(SHELL) $(top_srcdir)/automake/depcomp
     170DEFAULT_INCLUDES = -I.@am__isrc@
     171depcomp = $(SHELL) $(top_srcdir)/./automake/depcomp
    138172am__depfiles_maybe = depfiles
    139173am__mv = mv -f
     174CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
     175        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
     176AM_V_CPPAS = $(am__v_CPPAS_@AM_V@)
     177am__v_CPPAS_ = $(am__v_CPPAS_@AM_DEFAULT_V@)
     178am__v_CPPAS_0 = @echo "  CPPAS   " $@;
     179am__v_CPPAS_1 =
    140180COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
    141181        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     
    150190am__v_CCLD_0 = @echo "  CCLD    " $@;
    151191am__v_CCLD_1 =
    152 SOURCES = Bench.c $(avl_test_SOURCES) $(fstream_test_SOURCES) \
    153         $(vector_test_SOURCES)
    154 DIST_SOURCES = Bench.c $(avl_test_SOURCES) $(fstream_test_SOURCES) \
    155         $(vector_test_SOURCES)
     192SOURCES = $(libcfa_a_SOURCES)
     193DIST_SOURCES = $(libcfa_a_SOURCES)
    156194am__can_run_installinfo = \
    157195  case $$AM_UPDATE_INFO_DIR in \
     
    159197    *) (install-info --version) >/dev/null 2>&1;; \
    160198  esac
     199HEADERS = $(nobase_cfa_include_HEADERS)
    161200am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
    162201# Read a list of newline-separated strings from the standard input,
     
    178217ETAGS = etags
    179218CTAGS = ctags
    180 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/automake/depcomp
     219am__DIST_COMMON = $(srcdir)/../../src/cfa.make $(srcdir)/Makefile.in \
     220        $(top_srcdir)/./automake/depcomp
    181221DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    182222ACLOCAL = @ACLOCAL@
    183 ALLOCA = @ALLOCA@
    184223AMTAR = @AMTAR@
    185224AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
     225ARCHITECTURE = @ARCHITECTURE@
     226ARCH_FLAGS = @ARCH_FLAGS@
    186227AUTOCONF = @AUTOCONF@
    187228AUTOHEADER = @AUTOHEADER@
    188229AUTOMAKE = @AUTOMAKE@
    189230AWK = @AWK@
    190 BACKEND_CC = @BACKEND_CC@
    191 BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@
    192 BUILD_IN_TREE_FLAGS_NOLIB = @BUILD_IN_TREE_FLAGS_NOLIB@
    193 CC = @CFA_BINDIR@/@CFA_NAME@
     231CC = @CC@
    194232CCAS = @CCAS@
    195233CCASDEPMODE = @CCASDEPMODE@
     
    198236CFACC = @CFACC@
    199237CFACPP = @CFACPP@
    200 CFA_BACKEND_CC = @CFA_BACKEND_CC@
    201238CFA_BINDIR = @CFA_BINDIR@
    202 CFA_FLAGS = @CFA_FLAGS@
    203239CFA_INCDIR = @CFA_INCDIR@
    204240CFA_LIBDIR = @CFA_LIBDIR@
    205241CFA_NAME = @CFA_NAME@
    206242CFA_PREFIX = @CFA_PREFIX@
    207 
    208 # applies to both programs
    209 CFLAGS =
    210 CPP = @CPP@
     243CFLAGS = @CFLAGS@
     244CONFIGURATION = @CONFIGURATION@
     245CONFIG_CFAFLAGS = @CONFIG_CFAFLAGS@
     246CONFIG_CFLAGS = @CONFIG_CFLAGS@
    211247CPPFLAGS = @CPPFLAGS@
    212248CXX = @CXX@
     
    220256ECHO_N = @ECHO_N@
    221257ECHO_T = @ECHO_T@
    222 EGREP = @EGREP@
    223258EXEEXT = @EXEEXT@
    224 GREP = @GREP@
    225259INSTALL = @INSTALL@
    226260INSTALL_DATA = @INSTALL_DATA@
     
    229263INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
    230264LDFLAGS = @LDFLAGS@
    231 LEX = @LEX@
    232 LEXLIB = @LEXLIB@
    233 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
    234265LIBOBJS = @LIBOBJS@
    235266LIBS = @LIBS@
    236267LTLIBOBJS = @LTLIBOBJS@
    237 MACHINE_TYPE = @MACHINE_TYPE@
    238268MAKEINFO = @MAKEINFO@
    239269MKDIR_P = @MKDIR_P@
     
    252282STRIP = @STRIP@
    253283VERSION = @VERSION@
    254 YACC = @YACC@
    255 YFLAGS = @YFLAGS@
    256284abs_builddir = @abs_builddir@
    257285abs_srcdir = @abs_srcdir@
     
    266294am__untar = @am__untar@
    267295bindir = @bindir@
    268 build = @build@
    269296build_alias = @build_alias@
    270 build_cpu = @build_cpu@
    271 build_os = @build_os@
    272 build_vendor = @build_vendor@
    273297builddir = @builddir@
    274298datadir = @datadir@
     
    277301dvidir = @dvidir@
    278302exec_prefix = @exec_prefix@
    279 host = @host@
    280303host_alias = @host_alias@
    281 host_cpu = @host_cpu@
    282 host_os = @host_os@
    283 host_vendor = @host_vendor@
    284304htmldir = @htmldir@
    285305includedir = @includedir@
    286306infodir = @infodir@
    287307install_sh = @install_sh@
    288 libdir = @libdir@
     308libdir = ${CFA_LIBDIR}
    289309libexecdir = @libexecdir@
    290310localedir = @localedir@
     
    306326top_builddir = @top_builddir@
    307327top_srcdir = @top_srcdir@
    308 AM_CFLAGS = -g -Wall -Wno-unused-function -O2
    309 fstream_test_SOURCES = fstream_test.c
    310 vector_test_SOURCES = vector_int.c array.c vector_test.c
    311 avl_test_SOURCES = avltree/avl_test.c avltree/avl0.c avltree/avl1.c avltree/avl2.c avltree/avl3.c avltree/avl4.c avltree/avl-private.c
     328
     329# create object files in directory with source files
     330AUTOMAKE_OPTIONS = subdir-objects
     331ARFLAGS = cr
     332CFACOMPILE = $(CFACC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) $(AM_CFLAGS) $(CFLAGS)
     333AM_V_CFA = $(am__v_CFA_@AM_V@)
     334am__v_CFA_ = $(am__v_CFA_@AM_DEFAULT_V@)
     335am__v_CFA_0 = @echo "  CFA     " $@;
     336am__v_CFA_1 =
     337lib_LIBRARIES = libcfa.a
     338
     339# AM_CFLAGS for all cfa source
     340# AM_CFAFLAGS for only cfa source
     341# use -no-include-stdhdr to prevent rebuild cycles
     342# The built sources must not depend on the installed headers
     343AM_CFAFLAGS = -quiet -in-tree -imacros prelude.c -I$(srcdir)/stdhdr @CONFIG_CFAFLAGS@
     344AM_CFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@
     345AM_CCASFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@
     346
     347#----------------------------------------------------------------------------------------------------------------
     348
     349# not all platforms support concurrency, add option do disable it
     350headers = fstream.hfa iostream.hfa iterator.hfa limits.hfa \
     351        rational.hfa time.hfa stdlib.hfa common.hfa \
     352        containers/maybe.hfa containers/pair.hfa containers/result.hfa \
     353        containers/vector.hfa concurrency/coroutine.hfa \
     354        concurrency/thread.hfa concurrency/kernel.hfa \
     355        concurrency/monitor.hfa concurrency/mutex.hfa
     356libobjs = ${headers:.hfa=.o}
     357
     358# not all platforms support concurrency, add option do disable it
     359libsrc = prelude.c startup.cfa interpose.cfa bits/debug.cfa assert.cfa \
     360        exception.c virtual.c heap.cfa ${headers:.hfa=.cfa} \
     361        concurrency/CtxSwitch-@ARCHITECTURE@.S concurrency/alarm.cfa \
     362        concurrency/invoke.c concurrency/preemption.cfa
     363libcfa_a_SOURCES = ${libsrc}
     364stdhdr = ${shell find ${srcdir}/stdhdr -type f -printf "%p "}
     365cfa_includedir = $(CFA_INCDIR)
     366nobase_cfa_include_HEADERS = \
     367        ${headers}             \
     368        ${stdhdr}              \
     369        math.hfa               \
     370        gmp.hfa                \
     371        time_t.hfa             \
     372        bits/align.hfa         \
     373        bits/containers.hfa    \
     374        bits/defs.hfa          \
     375        bits/debug.hfa         \
     376        bits/locks.hfa         \
     377        concurrency/invoke.h
     378
     379MOSTLYCLEANFILES = prelude.c
    312380all: all-am
    313381
    314382.SUFFIXES:
    315 .SUFFIXES: .c .o .obj
    316 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(am__configure_deps)
     383.SUFFIXES: .S .c .cfa .o .obj
     384$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(srcdir)/../../src/cfa.make $(am__configure_deps)
    317385        @for dep in $?; do \
    318386          case '$(am__configure_deps)' in \
     
    323391          esac; \
    324392        done; \
    325         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/examples/Makefile'; \
     393        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
    326394        $(am__cd) $(top_srcdir) && \
    327           $(AUTOMAKE) --foreign src/examples/Makefile
     395          $(AUTOMAKE) --foreign src/Makefile
    328396Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    329397        @case '$?' in \
     
    334402            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
    335403        esac;
     404$(srcdir)/../../src/cfa.make $(am__empty):
    336405
    337406$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     
    343412        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    344413$(am__aclocal_m4_deps):
    345 
    346 clean-noinstPROGRAMS:
    347         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
    348 avltree/$(am__dirstamp):
    349         @$(MKDIR_P) avltree
    350         @: > avltree/$(am__dirstamp)
    351 avltree/$(DEPDIR)/$(am__dirstamp):
    352         @$(MKDIR_P) avltree/$(DEPDIR)
    353         @: > avltree/$(DEPDIR)/$(am__dirstamp)
    354 avltree/avl_test.$(OBJEXT): avltree/$(am__dirstamp) \
    355         avltree/$(DEPDIR)/$(am__dirstamp)
    356 avltree/avl0.$(OBJEXT): avltree/$(am__dirstamp) \
    357         avltree/$(DEPDIR)/$(am__dirstamp)
    358 avltree/avl1.$(OBJEXT): avltree/$(am__dirstamp) \
    359         avltree/$(DEPDIR)/$(am__dirstamp)
    360 avltree/avl2.$(OBJEXT): avltree/$(am__dirstamp) \
    361         avltree/$(DEPDIR)/$(am__dirstamp)
    362 avltree/avl3.$(OBJEXT): avltree/$(am__dirstamp) \
    363         avltree/$(DEPDIR)/$(am__dirstamp)
    364 avltree/avl4.$(OBJEXT): avltree/$(am__dirstamp) \
    365         avltree/$(DEPDIR)/$(am__dirstamp)
    366 avltree/avl-private.$(OBJEXT): avltree/$(am__dirstamp) \
    367         avltree/$(DEPDIR)/$(am__dirstamp)
    368 
    369 avl_test$(EXEEXT): $(avl_test_OBJECTS) $(avl_test_DEPENDENCIES) $(EXTRA_avl_test_DEPENDENCIES)
    370         @rm -f avl_test$(EXEEXT)
    371         $(AM_V_CCLD)$(LINK) $(avl_test_OBJECTS) $(avl_test_LDADD) $(LIBS)
    372 
    373 fstream_test$(EXEEXT): $(fstream_test_OBJECTS) $(fstream_test_DEPENDENCIES) $(EXTRA_fstream_test_DEPENDENCIES)
    374         @rm -f fstream_test$(EXEEXT)
    375         $(AM_V_CCLD)$(LINK) $(fstream_test_OBJECTS) $(fstream_test_LDADD) $(LIBS)
    376 
    377 vector_test$(EXEEXT): $(vector_test_OBJECTS) $(vector_test_DEPENDENCIES) $(EXTRA_vector_test_DEPENDENCIES)
    378         @rm -f vector_test$(EXEEXT)
    379         $(AM_V_CCLD)$(LINK) $(vector_test_OBJECTS) $(vector_test_LDADD) $(LIBS)
     414install-libLIBRARIES: $(lib_LIBRARIES)
     415        @$(NORMAL_INSTALL)
     416        @list='$(lib_LIBRARIES)'; test -n "$(libdir)" || list=; \
     417        list2=; for p in $$list; do \
     418          if test -f $$p; then \
     419            list2="$$list2 $$p"; \
     420          else :; fi; \
     421        done; \
     422        test -z "$$list2" || { \
     423          echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
     424          $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
     425          echo " $(INSTALL_DATA) $$list2 '$(DESTDIR)$(libdir)'"; \
     426          $(INSTALL_DATA) $$list2 "$(DESTDIR)$(libdir)" || exit $$?; }
     427        @$(POST_INSTALL)
     428        @list='$(lib_LIBRARIES)'; test -n "$(libdir)" || list=; \
     429        for p in $$list; do \
     430          if test -f $$p; then \
     431            $(am__strip_dir) \
     432            echo " ( cd '$(DESTDIR)$(libdir)' && $(RANLIB) $$f )"; \
     433            ( cd "$(DESTDIR)$(libdir)" && $(RANLIB) $$f ) || exit $$?; \
     434          else :; fi; \
     435        done
     436
     437uninstall-libLIBRARIES:
     438        @$(NORMAL_UNINSTALL)
     439        @list='$(lib_LIBRARIES)'; test -n "$(libdir)" || list=; \
     440        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
     441        dir='$(DESTDIR)$(libdir)'; $(am__uninstall_files_from_dir)
     442
     443clean-libLIBRARIES:
     444        -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
     445bits/$(am__dirstamp):
     446        @$(MKDIR_P) bits
     447        @: > bits/$(am__dirstamp)
     448bits/$(DEPDIR)/$(am__dirstamp):
     449        @$(MKDIR_P) bits/$(DEPDIR)
     450        @: > bits/$(DEPDIR)/$(am__dirstamp)
     451bits/debug.$(OBJEXT): bits/$(am__dirstamp) \
     452        bits/$(DEPDIR)/$(am__dirstamp)
     453containers/$(am__dirstamp):
     454        @$(MKDIR_P) containers
     455        @: > containers/$(am__dirstamp)
     456containers/$(DEPDIR)/$(am__dirstamp):
     457        @$(MKDIR_P) containers/$(DEPDIR)
     458        @: > containers/$(DEPDIR)/$(am__dirstamp)
     459containers/maybe.$(OBJEXT): containers/$(am__dirstamp) \
     460        containers/$(DEPDIR)/$(am__dirstamp)
     461containers/pair.$(OBJEXT): containers/$(am__dirstamp) \
     462        containers/$(DEPDIR)/$(am__dirstamp)
     463containers/result.$(OBJEXT): containers/$(am__dirstamp) \
     464        containers/$(DEPDIR)/$(am__dirstamp)
     465containers/vector.$(OBJEXT): containers/$(am__dirstamp) \
     466        containers/$(DEPDIR)/$(am__dirstamp)
     467concurrency/$(am__dirstamp):
     468        @$(MKDIR_P) concurrency
     469        @: > concurrency/$(am__dirstamp)
     470concurrency/$(DEPDIR)/$(am__dirstamp):
     471        @$(MKDIR_P) concurrency/$(DEPDIR)
     472        @: > concurrency/$(DEPDIR)/$(am__dirstamp)
     473concurrency/coroutine.$(OBJEXT): concurrency/$(am__dirstamp) \
     474        concurrency/$(DEPDIR)/$(am__dirstamp)
     475concurrency/thread.$(OBJEXT): concurrency/$(am__dirstamp) \
     476        concurrency/$(DEPDIR)/$(am__dirstamp)
     477concurrency/kernel.$(OBJEXT): concurrency/$(am__dirstamp) \
     478        concurrency/$(DEPDIR)/$(am__dirstamp)
     479concurrency/monitor.$(OBJEXT): concurrency/$(am__dirstamp) \
     480        concurrency/$(DEPDIR)/$(am__dirstamp)
     481concurrency/mutex.$(OBJEXT): concurrency/$(am__dirstamp) \
     482        concurrency/$(DEPDIR)/$(am__dirstamp)
     483concurrency/CtxSwitch-@ARCHITECTURE@.$(OBJEXT):  \
     484        concurrency/$(am__dirstamp) \
     485        concurrency/$(DEPDIR)/$(am__dirstamp)
     486concurrency/alarm.$(OBJEXT): concurrency/$(am__dirstamp) \
     487        concurrency/$(DEPDIR)/$(am__dirstamp)
     488concurrency/invoke.$(OBJEXT): concurrency/$(am__dirstamp) \
     489        concurrency/$(DEPDIR)/$(am__dirstamp)
     490concurrency/preemption.$(OBJEXT): concurrency/$(am__dirstamp) \
     491        concurrency/$(DEPDIR)/$(am__dirstamp)
     492
     493libcfa.a: $(libcfa_a_OBJECTS) $(libcfa_a_DEPENDENCIES) $(EXTRA_libcfa_a_DEPENDENCIES)
     494        $(AM_V_at)-rm -f libcfa.a
     495        $(AM_V_AR)$(libcfa_a_AR) libcfa.a $(libcfa_a_OBJECTS) $(libcfa_a_LIBADD)
     496        $(AM_V_at)$(RANLIB) libcfa.a
    380497
    381498mostlyclean-compile:
    382499        -rm -f *.$(OBJEXT)
    383         -rm -f avltree/*.$(OBJEXT)
     500        -rm -f bits/*.$(OBJEXT)
     501        -rm -f concurrency/*.$(OBJEXT)
     502        -rm -f containers/*.$(OBJEXT)
    384503
    385504distclean-compile:
    386505        -rm -f *.tab.c
    387506
    388 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Bench.Po@am__quote@
    389 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/array.Po@am__quote@
    390 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fstream_test.Po@am__quote@
    391 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vector_int.Po@am__quote@
    392 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vector_test.Po@am__quote@
    393 @AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl-private.Po@am__quote@
    394 @AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl0.Po@am__quote@
    395 @AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl1.Po@am__quote@
    396 @AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl2.Po@am__quote@
    397 @AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl3.Po@am__quote@
    398 @AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl4.Po@am__quote@
    399 @AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl_test.Po@am__quote@
     507@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exception.Po@am__quote@
     508@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prelude.Po@am__quote@
     509@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virtual.Po@am__quote@
     510@AMDEP_TRUE@@am__include@ @am__quote@concurrency/$(DEPDIR)/CtxSwitch-@ARCHITECTURE@.Po@am__quote@
     511@AMDEP_TRUE@@am__include@ @am__quote@concurrency/$(DEPDIR)/invoke.Po@am__quote@
     512
     513.S.o:
     514@am__fastdepCCAS_TRUE@  $(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
     515@am__fastdepCCAS_TRUE@  $(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
     516@am__fastdepCCAS_TRUE@  $(am__mv) $$depbase.Tpo $$depbase.Po
     517@AMDEP_TRUE@@am__fastdepCCAS_FALSE@     $(AM_V_CPPAS)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
     518@AMDEP_TRUE@@am__fastdepCCAS_FALSE@     DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     519@am__fastdepCCAS_FALSE@ $(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ $<
     520
     521.S.obj:
     522@am__fastdepCCAS_TRUE@  $(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
     523@am__fastdepCCAS_TRUE@  $(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
     524@am__fastdepCCAS_TRUE@  $(am__mv) $$depbase.Tpo $$depbase.Po
     525@AMDEP_TRUE@@am__fastdepCCAS_FALSE@     $(AM_V_CPPAS)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
     526@AMDEP_TRUE@@am__fastdepCCAS_FALSE@     DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     527@am__fastdepCCAS_FALSE@ $(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
    400528
    401529.c.o:
     
    414542@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    415543@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
     544install-nobase_cfa_includeHEADERS: $(nobase_cfa_include_HEADERS)
     545        @$(NORMAL_INSTALL)
     546        @list='$(nobase_cfa_include_HEADERS)'; test -n "$(cfa_includedir)" || list=; \
     547        if test -n "$$list"; then \
     548          echo " $(MKDIR_P) '$(DESTDIR)$(cfa_includedir)'"; \
     549          $(MKDIR_P) "$(DESTDIR)$(cfa_includedir)" || exit 1; \
     550        fi; \
     551        $(am__nobase_list) | while read dir files; do \
     552          xfiles=; for file in $$files; do \
     553            if test -f "$$file"; then xfiles="$$xfiles $$file"; \
     554            else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
     555          test -z "$$xfiles" || { \
     556            test "x$$dir" = x. || { \
     557              echo " $(MKDIR_P) '$(DESTDIR)$(cfa_includedir)/$$dir'"; \
     558              $(MKDIR_P) "$(DESTDIR)$(cfa_includedir)/$$dir"; }; \
     559            echo " $(INSTALL_HEADER) $$xfiles '$(DESTDIR)$(cfa_includedir)/$$dir'"; \
     560            $(INSTALL_HEADER) $$xfiles "$(DESTDIR)$(cfa_includedir)/$$dir" || exit $$?; }; \
     561        done
     562
     563uninstall-nobase_cfa_includeHEADERS:
     564        @$(NORMAL_UNINSTALL)
     565        @list='$(nobase_cfa_include_HEADERS)'; test -n "$(cfa_includedir)" || list=; \
     566        $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \
     567        dir='$(DESTDIR)$(cfa_includedir)'; $(am__uninstall_files_from_dir)
    416568
    417569ID: $(am__tagged_files)
     
    499651check-am: all-am
    500652check: check-am
    501 all-am: Makefile $(PROGRAMS)
     653all-am: Makefile $(LIBRARIES) $(HEADERS)
    502654installdirs:
     655        for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cfa_includedir)"; do \
     656          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
     657        done
    503658install: install-am
    504659install-exec: install-exec-am
     
    521676        fi
    522677mostlyclean-generic:
     678        -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
    523679
    524680clean-generic:
     
    527683        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
    528684        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
    529         -rm -f avltree/$(DEPDIR)/$(am__dirstamp)
    530         -rm -f avltree/$(am__dirstamp)
     685        -rm -f bits/$(DEPDIR)/$(am__dirstamp)
     686        -rm -f bits/$(am__dirstamp)
     687        -rm -f concurrency/$(DEPDIR)/$(am__dirstamp)
     688        -rm -f concurrency/$(am__dirstamp)
     689        -rm -f containers/$(DEPDIR)/$(am__dirstamp)
     690        -rm -f containers/$(am__dirstamp)
    531691
    532692maintainer-clean-generic:
     
    535695clean: clean-am
    536696
    537 clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
     697clean-am: clean-generic clean-libLIBRARIES mostlyclean-am
    538698
    539699distclean: distclean-am
    540         -rm -rf ./$(DEPDIR) avltree/$(DEPDIR)
     700        -rm -rf ./$(DEPDIR) concurrency/$(DEPDIR)
    541701        -rm -f Makefile
    542702distclean-am: clean-am distclean-compile distclean-generic \
     
    555715info-am:
    556716
    557 install-data-am:
     717install-data-am: install-nobase_cfa_includeHEADERS
    558718
    559719install-dvi: install-dvi-am
     
    561721install-dvi-am:
    562722
    563 install-exec-am:
     723install-exec-am: install-libLIBRARIES
    564724
    565725install-html: install-html-am
     
    584744
    585745maintainer-clean: maintainer-clean-am
    586         -rm -rf ./$(DEPDIR) avltree/$(DEPDIR)
     746        -rm -rf ./$(DEPDIR) concurrency/$(DEPDIR)
    587747        -rm -f Makefile
    588 maintainer-clean-am: distclean-am maintainer-clean-generic
     748maintainer-clean-am: distclean-am maintainer-clean-generic \
     749        maintainer-clean-local
    589750
    590751mostlyclean: mostlyclean-am
     
    600761ps-am:
    601762
    602 uninstall-am:
     763uninstall-am: uninstall-libLIBRARIES \
     764        uninstall-nobase_cfa_includeHEADERS
    603765
    604766.MAKE: install-am install-strip
    605767
    606768.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
    607         clean-noinstPROGRAMS cscopelist-am ctags ctags-am distclean \
     769        clean-libLIBRARIES cscopelist-am ctags ctags-am distclean \
    608770        distclean-compile distclean-generic distclean-tags distdir dvi \
    609771        dvi-am html html-am info info-am install install-am \
    610772        install-data install-data-am install-dvi install-dvi-am \
    611773        install-exec install-exec-am install-html install-html-am \
    612         install-info install-info-am install-man install-pdf \
    613         install-pdf-am install-ps install-ps-am install-strip \
    614         installcheck installcheck-am installdirs maintainer-clean \
    615         maintainer-clean-generic mostlyclean mostlyclean-compile \
    616         mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
    617         uninstall-am
     774        install-info install-info-am install-libLIBRARIES install-man \
     775        install-nobase_cfa_includeHEADERS install-pdf install-pdf-am \
     776        install-ps install-ps-am install-strip installcheck \
     777        installcheck-am installdirs maintainer-clean \
     778        maintainer-clean-generic maintainer-clean-local mostlyclean \
     779        mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
     780        tags tags-am uninstall uninstall-am uninstall-libLIBRARIES \
     781        uninstall-nobase_cfa_includeHEADERS
    618782
    619783.PRECIOUS: Makefile
    620784
    621785
    622 Bench$(EXEEXT) : Bench.c
    623         @for ccflags in "-debug" "-nodebug"; do \
    624                 echo ${CC} ${AM_CFLAGS} ${CFLAGS} $${ccflags} -lrt Bench.c;\
    625                 ${CC} ${AM_CFLAGS} ${CFLAGS} $${ccflags} -lrt Bench.c;\
    626                 ./a.out ; \
    627         done ; \
    628         rm -f ./a.out ;
     786.cfa.o: $(CFACC) $(CFACPP)
     787        $(AM_V_CFA)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
     788        $(CFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
     789        $(am__mv) $$depbase.Tpo $$depbase.Po
     790
     791#----------------------------------------------------------------------------------------------------------------
     792# add dependency to cfa-cpp so all libraries are rebuilt with new translator
     793${libobjs} : ${cfalib_DATA}
     794
     795#----------------------------------------------------------------------------------------------------------------
     796maintainer-clean-local:
     797        -rm -rf ${CFA_INCDIR} ${CFA_LIBDIR}
    629798
    630799# Tell versions [3.59,3.63) of GNU make to not export all variables.
  • libcfa/src/assert.cfa

    rc3a8ecd r7cd8827  
    1717#include <stdarg.h>                                                             // varargs
    1818#include <stdio.h>                                                              // fprintf
    19 #include "bits/debug.h"
     19#include "bits/debug.hfa"
    2020
    2121extern "C" {
  • libcfa/src/bits/algorithm.hfa

    rc3a8ecd r7cd8827  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // bits/algorithms.h -- Builtins for exception handling.
     7// bits/algorithms.hfa -- Builtins for exception handling.
    88//
    99// Author           : Thierry Delisle
  • libcfa/src/bits/align.hfa

    rc3a8ecd r7cd8827  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // align.h --
     7// align.hfa --
    88//
    99// Author           : Thierry Delisle
  • libcfa/src/bits/containers.hfa

    rc3a8ecd r7cd8827  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // bits/containers.h -- Intrusive generic containers.h
     7// bits/containers.hfa -- Intrusive generic containers.hfa
    88//
    99// Author           : Thierry Delisle
     
    1515#pragma once
    1616
    17 #include "bits/align.h"
    18 #include "bits/defs.h"
     17#include "bits/align.hfa"
     18#include "bits/defs.hfa"
    1919
    2020//-----------------------------------------------------------------------------
  • libcfa/src/bits/debug.hfa

    rc3a8ecd r7cd8827  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // debug.h --
     7// debug.hfa --
    88//
    99// Author           : Thierry Delisle
  • libcfa/src/bits/defs.hfa

    rc3a8ecd r7cd8827  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // defs.h --
     7// defs.hfa --
    88//
    99// Author           : Thierry Delisle
  • libcfa/src/bits/locks.hfa

    rc3a8ecd r7cd8827  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // bits/locks.h -- Fast internal locks.
     7// bits/locks.hfa -- Fast internal locks.
    88//
    99// Author           : Thierry Delisle
     
    1616#pragma once
    1717
    18 #include "bits/debug.h"
    19 #include "bits/defs.h"
     18#include "bits/debug.hfa"
     19#include "bits/defs.hfa"
    2020#include <assert.h>
    2121
  • libcfa/src/bits/signal.hfa

    rc3a8ecd r7cd8827  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // bits/signal.h -- Helper functions and defines to use signals
     7// bits/signal.hfa -- Helper functions and defines to use signals
    88//
    99// Author           : Thierry Delisle
     
    1616#pragma once
    1717
    18 #include "bits/debug.h"
    19 #include "bits/defs.h"
     18#include "bits/debug.hfa"
     19#include "bits/defs.hfa"
    2020
    2121extern "C" {
  • libcfa/src/clock.hfa

    rc3a8ecd r7cd8827  
    1 // 
     1//
    22// Cforall Version 1.0.0 Copyright (C) 2018 University of Waterloo
    33//
    44// The contents of this file are covered under the licence agreement in the
    55// file "LICENCE" distributed with Cforall.
    6 // 
    7 // clock -- 
    8 // 
     6//
     7// clock --
     8//
    99// Author           : Peter A. Buhr
    1010// Created On       : Thu Apr 12 14:36:06 2018
     
    1212// Last Modified On : Mon Jul  2 21:40:01 2018
    1313// Update Count     : 7
    14 // 
     14//
    1515
    16 #include <time>
     16#include <time.hfa>
    1717
    1818
  • libcfa/src/common.cfa

    rc3a8ecd r7cd8827  
    1 //                               -*- Mode: C -*- 
    2 // 
     1//                               -*- Mode: C -*-
     2//
    33// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
    44//
    55// The contents of this file are covered under the licence agreement in the
    66// file "LICENCE" distributed with Cforall.
    7 // 
    8 // common.c -- 
    9 // 
     7//
     8// common.c --
     9//
    1010// Author           : Peter A. Buhr
    1111// Created On       : Thu Jul 12 08:02:29 2018
     
    1313// Last Modified On : Thu Jul 12 08:38:47 2018
    1414// Update Count     : 3
    15 // 
     15//
    1616
    17 #include "common"
     17#include "common.hfa"
    1818#include <stdlib.h>                                     // div_t, *div
    1919
  • libcfa/src/concurrency/alarm.cfa

    rc3a8ecd r7cd8827  
    2222}
    2323
    24 #include "alarm.h"
    25 #include "kernel_private.h"
    26 #include "preemption.h"
     24#include "alarm.hfa"
     25#include "kernel_private.hfa"
     26#include "preemption.hfa"
    2727
    2828//=============================================================================================
  • libcfa/src/concurrency/alarm.hfa

    rc3a8ecd r7cd8827  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // alarm.h --
     7// alarm.hfa --
    88//
    99// Author           : Thierry Delisle
     
    2121#include <assert.h>
    2222
    23 #include "time"
     23#include "time.hfa"
    2424
    2525struct thread_desc;
  • libcfa/src/concurrency/coroutine.cfa

    rc3a8ecd r7cd8827  
    1414//
    1515
    16 #include "coroutine"
     16#include "coroutine.hfa"
    1717
    1818extern "C" {
     
    2525}
    2626
    27 #include "kernel_private.h"
     27#include "kernel_private.hfa"
    2828
    2929#define __CFA_INVOKE_PRIVATE__
  • libcfa/src/concurrency/invoke.h

    rc3a8ecd r7cd8827  
    1414//
    1515
    16 #include "bits/containers.h"
    17 #include "bits/defs.h"
    18 #include "bits/locks.h"
     16#include "bits/containers.hfa"
     17#include "bits/defs.hfa"
     18#include "bits/locks.hfa"
    1919
    2020#ifdef __cforall
  • libcfa/src/concurrency/kernel.cfa

    rc3a8ecd r7cd8827  
    2727
    2828//CFA Includes
    29 #include "time"
    30 #include "kernel_private.h"
    31 #include "preemption.h"
    32 #include "startup.h"
     29#include "time.hfa"
     30#include "kernel_private.hfa"
     31#include "preemption.hfa"
     32#include "startup.hfa"
    3333
    3434//Private includes
  • libcfa/src/concurrency/kernel.hfa

    rc3a8ecd r7cd8827  
    1919
    2020#include "invoke.h"
    21 #include "time_t.h"
     21#include "time_t.hfa"
    2222
    2323extern "C" {
  • libcfa/src/concurrency/kernel_private.hfa

    rc3a8ecd r7cd8827  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // kernel_private.h --
     7// kernel_private.hfa --
    88//
    99// Author           : Thierry Delisle
     
    1616#pragma once
    1717
    18 #include "kernel"
    19 #include "thread"
     18#include "kernel.hfa"
     19#include "thread.hfa"
    2020
    21 #include "alarm.h"
     21#include "alarm.hfa"
    2222
    2323
  • libcfa/src/concurrency/monitor.cfa

    rc3a8ecd r7cd8827  
    1414//
    1515
    16 #include "monitor"
    17 
    18 #include <stdlib>
     16#include "monitor.hfa"
     17
     18#include <stdlib.hfa>
    1919#include <inttypes.h>
    2020
    21 #include "kernel_private.h"
    22 
    23 #include "bits/algorithms.h"
     21#include "kernel_private.hfa"
     22
     23#include "bits/algorithm.hfa"
    2424
    2525//-----------------------------------------------------------------------------
  • libcfa/src/concurrency/monitor.hfa

    rc3a8ecd r7cd8827  
    2020#include <assert.h>
    2121#include "invoke.h"
    22 #include "stdlib"
     22#include "stdlib.hfa"
    2323
    2424trait is_monitor(dtype T) {
  • libcfa/src/concurrency/mutex.cfa

    rc3a8ecd r7cd8827  
    1616//
    1717
    18 #include "mutex"
     18#include "mutex.hfa"
    1919
    20 #include "kernel_private.h"
     20#include "kernel_private.hfa"
    2121
    2222//-----------------------------------------------------------------------------
  • libcfa/src/concurrency/mutex.hfa

    rc3a8ecd r7cd8827  
    2020#include <stdbool.h>
    2121
    22 #include "bits/algorithms.h"
    23 #include "bits/locks.h"
     22#include "bits/algorithm.hfa"
     23#include "bits/locks.hfa"
    2424
    2525#include "invoke.h"
    26 #include "time_t.h"
     26#include "time_t.hfa"
    2727
    2828//-----------------------------------------------------------------------------
  • libcfa/src/concurrency/preemption.cfa

    rc3a8ecd r7cd8827  
    1414//
    1515
    16 #include "preemption.h"
     16#include "preemption.hfa"
    1717#include <assert.h>
    1818
     
    2424}
    2525
    26 #include "bits/signal.h"
     26#include "bits/signal.hfa"
    2727
    2828#if !defined(__CFA_DEFAULT_PREEMPTION__)
  • libcfa/src/concurrency/preemption.hfa

    rc3a8ecd r7cd8827  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // preemption.h --
     7// preemption.hfa --
    88//
    99// Author           : Thierry Delisle
     
    1616#pragma once
    1717
    18 #include "alarm.h"
    19 #include "kernel_private.h"
     18#include "alarm.hfa"
     19#include "kernel_private.hfa"
    2020
    2121void kernel_start_preemption();
  • libcfa/src/concurrency/thread.cfa

    rc3a8ecd r7cd8827  
    1414//
    1515
    16 #include "thread"
     16#include "thread.hfa"
    1717
    18 #include "kernel_private.h"
     18#include "kernel_private.hfa"
    1919
    2020#define __CFA_INVOKE_PRIVATE__
  • libcfa/src/concurrency/thread.hfa

    rc3a8ecd r7cd8827  
    1919#include "invoke.h"
    2020
    21 #include "coroutine"
    22 #include "kernel"
    23 #include "monitor"
     21#include "coroutine.hfa"
     22#include "kernel.hfa"
     23#include "monitor.hfa"
    2424
    2525//-----------------------------------------------------------------------------
  • libcfa/src/containers/maybe.cfa

    rc3a8ecd r7cd8827  
    1414//
    1515
    16 #include <containers/maybe>
     16#include <containers/maybe.hfa>
    1717#include <assert.h>
    1818
  • libcfa/src/containers/pair.cfa

    rc3a8ecd r7cd8827  
    1111//
    1212
    13 #include <containers/pair>
     13#include <containers/pair.hfa>
    1414
    15 forall(otype R, otype S 
     15forall(otype R, otype S
    1616        | { int ?==?(R, R); int ?<?(R, R); int ?<?(S, S); })
    1717int ?<?(pair(R, S) p, pair(R, S) q) {
     
    1919}
    2020
    21 forall(otype R, otype S 
     21forall(otype R, otype S
    2222        | { int ?==?(R, R); int ?<?(R, R); int ?<=?(S, S); })
    2323int ?<=?(pair(R, S) p, pair(R, S) q) {
     
    3535}
    3636
    37 forall(otype R, otype S 
     37forall(otype R, otype S
    3838        | { int ?==?(R, R); int ?>?(R, R); int ?>?(S, S); })
    3939int ?>?(pair(R, S) p, pair(R, S) q) {
     
    4141}
    4242
    43 forall(otype R, otype S 
     43forall(otype R, otype S
    4444        | { int ?==?(R, R); int ?>?(R, R); int ?>=?(S, S); })
    4545int ?>=?(pair(R, S) p, pair(R, S) q) {
  • libcfa/src/containers/result.cfa

    rc3a8ecd r7cd8827  
    1414//
    1515
    16 #include <containers/result>
     16#include <containers/result.hfa>
    1717#include <assert.h>
    1818
  • libcfa/src/containers/vector.cfa

    rc3a8ecd r7cd8827  
    1414//
    1515
    16 #include <containers/vector>
     16#include <containers/vector.hfa>
    1717
    18 #include <stdlib>
     18#include <stdlib.hfa>
    1919
    2020forall(otype T, otype allocator_t | allocator_c(T, allocator_t))
  • libcfa/src/exception.c

    rc3a8ecd r7cd8827  
    2323#include <stdio.h>
    2424#include <unwind.h>
    25 #include <bits/debug.h>
     25#include <bits/debug.hfa>
    2626
    2727// FIX ME: temporary hack to keep ARM build working
  • libcfa/src/fstream.cfa

    rc3a8ecd r7cd8827  
    1414//
    1515
    16 #include "fstream"
     16#include "fstream.hfa"
    1717
    1818#include <stdio.h>                                                                              // vfprintf, vfscanf
  • libcfa/src/fstream.hfa

    rc3a8ecd r7cd8827  
    1616#pragma once
    1717
    18 #include "iostream"
     18#include "iostream.hfa"
    1919
    2020enum { sepSize = 16 };
  • libcfa/src/gmp.hfa

    rc3a8ecd r7cd8827  
    1919
    2020#include <gmp.h>                                                                                // GNU multi-precise integers
    21 #include <fstream>                                                                              // sout
     21#include <fstream.hfa>                                                                          // sout
    2222
    2323struct Int { mpz_t mpz; };                                                              // wrap GMP implementation
  • libcfa/src/heap.cfa

    rc3a8ecd r7cd8827  
    1 // 
     1//
    22// Cforall Version 1.0.0 Copyright (C) 2017 University of Waterloo
    33//
    44// The contents of this file are covered under the licence agreement in the
    55// file "LICENCE" distributed with Cforall.
    6 // 
    7 // heap.c -- 
    8 // 
     6//
     7// heap.c --
     8//
    99// Author           : Peter A. Buhr
    1010// Created On       : Tue Dec 19 21:58:35 2017
     
    1212// Last Modified On : Sat Aug 11 08:22:16 2018
    1313// Update Count     : 495
    14 // 
     14//
    1515
    1616#include <unistd.h>                                                                             // sbrk, sysconf
     
    2222} // extern "C"
    2323
    24 #include "bits/align.h"                                                                 // libPow2
    25 #include "bits/defs.h"                                                                  // likely, unlikely
    26 #include "bits/locks.h"                                                                 // __spinlock_t
    27 #include "startup.h"                                                                    // STARTUP_PRIORITY_MEMORY
    28 #include "stdlib"                                                                               // bsearchl
     24#include "bits/align.hfa"                                                                       // libPow2
     25#include "bits/defs.hfa"                                                                        // likely, unlikely
     26#include "bits/locks.hfa"                                                                       // __spinlock_t
     27#include "startup.hfa"                                                                  // STARTUP_PRIORITY_MEMORY
     28#include "stdlib.hfa"                                                                           // bsearchl
    2929#include "malloc.h"
    3030
     
    282282static void ?{}( HeapManager & manager ) with ( manager ) {
    283283    pageSize = sysconf( _SC_PAGESIZE );
    284    
     284
    285285    for ( unsigned int i = 0; i < NoBucketSizes; i += 1 ) { // initialize the free lists
    286286                freeLists[i].blockSize = bucketSizes[i];
     
    758758                bool mapped __attribute__(( unused )) = headers( "calloc", area, header, freeElem, asize, alignment );
    759759                #ifndef __CFA_DEBUG__
    760                 // Mapped storage is zero filled, but in debug mode mapped memory is scrubbed in doMalloc, so it has to be reset to zero. 
     760                // Mapped storage is zero filled, but in debug mode mapped memory is scrubbed in doMalloc, so it has to be reset to zero.
    761761                if ( ! mapped )
    762762                #endif // __CFA_DEBUG__
     
    781781                bool mapped __attribute__(( unused )) = headers( "cmemalign", area, header, freeElem, asize, alignment );
    782782                #ifndef __CFA_DEBUG__
    783                 // Mapped storage is zero filled, but in debug mode mapped memory is scrubbed in doMalloc, so it has to be reset to zero. 
     783                // Mapped storage is zero filled, but in debug mode mapped memory is scrubbed in doMalloc, so it has to be reset to zero.
    784784                if ( ! mapped )
    785785                #endif // __CFA_DEBUG__
     
    826826                        bool mapped __attribute__(( unused )) = headers( "realloc", area, header, freeElem, asize, alignment );
    827827                        #ifndef __CFA_DEBUG__
    828                         // Mapped storage is zero filled, but in debug mode mapped memory is scrubbed in doMalloc, so it has to be reset to zero. 
     828                        // Mapped storage is zero filled, but in debug mode mapped memory is scrubbed in doMalloc, so it has to be reset to zero.
    829829                        if ( ! mapped )
    830830                        #endif // __CFA_DEBUG__
  • libcfa/src/interpose.cfa

    rc3a8ecd r7cd8827  
    2525}
    2626
    27 #include "bits/debug.h"
    28 #include "bits/defs.h"
    29 #include "bits/signal.h"                                                                // sigHandler_?
    30 #include "startup.h"                                                                    // STARTUP_PRIORITY_CORE
     27#include "bits/debug.hfa"
     28#include "bits/defs.hfa"
     29#include "bits/signal.hfa"                                                              // sigHandler_?
     30#include "startup.hfa"                                                                  // STARTUP_PRIORITY_CORE
    3131
    3232//=============================================================================================
  • libcfa/src/iostream.cfa

    rc3a8ecd r7cd8827  
    1414//
    1515
    16 #include "iostream"
     16#include "iostream.hfa"
    1717
    1818extern "C" {
  • libcfa/src/iostream.hfa

    rc3a8ecd r7cd8827  
    1616#pragma once
    1717
    18 #include "iterator"
     18#include "iterator.hfa"
    1919
    2020trait ostream( dtype ostype ) {
     
    164164
    165165
    166 #include <time_t.h>                                                                             // Duration (constructors) / Time (constructors)
     166#include <time_t.hfa>                                                                           // Duration (constructors) / Time (constructors)
    167167
    168168forall( dtype ostype | ostream( ostype ) ) ostype & ?|?( ostype & os, Duration dur );
  • libcfa/src/iterator.cfa

    rc3a8ecd r7cd8827  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // iterator.c -- 
     7// iterator.c --
    88//
    99// Author           : Richard C. Bilson
     
    1414//
    1515
    16 #include "iterator"
     16#include "iterator.hfa"
    1717
    1818forall( otype iterator_type, otype elt_type | iterator( iterator_type, elt_type ) )
  • libcfa/src/limits.cfa

    rc3a8ecd r7cd8827  
    1 // 
     1//
    22// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
    33//
    44// The contents of this file are covered under the licence agreement in the
    55// file "LICENCE" distributed with Cforall.
    6 // 
    7 // limits.c -- 
    8 // 
     6//
     7// limits.c --
     8//
    99// Author           : Peter A. Buhr
    1010// Created On       : Wed Apr  6 18:06:52 2016
     
    1212// Last Modified On : Thu Mar  1 16:22:51 2018
    1313// Update Count     : 74
    14 // 
     14//
    1515
    1616#include <limits.h>
     
    1919#include <math.h>
    2020#include <complex.h>
    21 #include "limits"
     21#include "limits.hfa"
    2222
    2323// Integral Constants
  • libcfa/src/math.hfa

    rc3a8ecd r7cd8827  
    350350//---------------------------------------
    351351
    352 #include "common"
     352#include "common.hfa"
    353353
    354354//---------------------------------------
  • libcfa/src/rational.cfa

    rc3a8ecd r7cd8827  
    1414//
    1515
    16 #include "rational"
    17 #include "fstream"
    18 #include "stdlib"
     16#include "rational.hfa"
     17#include "fstream.hfa"
     18#include "stdlib.hfa"
    1919
    2020forall( otype RationalImpl | arithmetic( RationalImpl ) ) {
  • libcfa/src/rational.hfa

    rc3a8ecd r7cd8827  
    1818#pragma once
    1919
    20 #include "iostream"
     20#include "iostream.hfa"
    2121
    2222trait scalar( otype T ) {
  • libcfa/src/startup.cfa

    rc3a8ecd r7cd8827  
    1414//
    1515
    16 #include "startup.h"
     16#include "startup.hfa"
    1717#include <unistd.h>
    1818
  • libcfa/src/startup.hfa

    rc3a8ecd r7cd8827  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // startup.h --
     7// startup.hfa --
    88//
    99// Author           : Thierry Delisle
  • libcfa/src/stdlib.cfa

    rc3a8ecd r7cd8827  
    1414//
    1515
    16 #include "stdlib"
     16#include "stdlib.hfa"
    1717
    1818//---------------------------------------
  • libcfa/src/stdlib.hfa

    rc3a8ecd r7cd8827  
    251251//---------------------------------------
    252252
    253 #include "common"
     253#include "common.hfa"
    254254
    255255// Local Variables: //
  • libcfa/src/time.cfa

    rc3a8ecd r7cd8827  
    1 // 
     1//
    22// Cforall Version 1.0.0 Copyright (C) 2018 University of Waterloo
    33//
    44// The contents of this file are covered under the licence agreement in the
    55// file "LICENCE" distributed with Cforall.
    6 // 
    7 // time.c -- 
    8 // 
     6//
     7// time.c --
     8//
    99// Author           : Peter A. Buhr
    1010// Created On       : Tue Mar 27 13:33:14 2018
     
    1212// Last Modified On : Sun May  6 22:26:00 2018
    1313// Update Count     : 37
    14 // 
     14//
    1515
    16 #include "time"
    17 #include "iostream"
     16#include "time.hfa"
     17#include "iostream.hfa"
    1818#include <stdio.h>                                                                              // snprintf
    1919#include <assert.h>
  • libcfa/src/time.hfa

    rc3a8ecd r7cd8827  
    2323#include <sys/time.h>                                                                   // timeval
    2424}
    25 #include <time_t.h>                                                                             // Duration/Time types
     25#include <time_t.hfa>                                                                           // Duration/Time types
    2626
    2727enum { TIMEGRAN = 1_000_000_000LL };                                    // nanosecond granularity, except for timeval
  • libcfa/src/time_t.hfa

    rc3a8ecd r7cd8827  
    1 // 
     1//
    22// Cforall Version 1.0.0 Copyright (C) 2018 University of Waterloo
    33//
    44// The contents of this file are covered under the licence agreement in the
    55// file "LICENCE" distributed with Cforall.
    6 // 
    7 // time_t.h --
    8 // 
     6//
     7// time_t.hfa --
     8//
    99// Author           : Peter A. Buhr
    1010// Created On       : Tue Apr 10 14:42:03 2018
     
    1212// Last Modified On : Fri Apr 13 07:51:47 2018
    1313// Update Count     : 6
    14 // 
     14//
    1515
    1616#pragma once
Note: See TracChangeset for help on using the changeset viewer.