Changeset b7fe2e6
- Timestamp:
- Aug 25, 2020, 4:01:33 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 856dff8
- Parents:
- 5339a87
- Files:
-
- 1 deleted
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.am
r5339a87 rb7fe2e6 21 21 22 22 SUBDIRS = driver src . @LIBCFA_TARGET_DIRS@ 23 DIST_SUBDIRS = driver src . @LIBCFA_TARGET_DIRS@benchmark longrun_tests tests tools tools/prettyprinter23 DIST_SUBDIRS = driver src . libcfa benchmark longrun_tests tests tools tools/prettyprinter 24 24 25 25 @LIBCFA_TARGET_MAKEFILES@ : Makefile $(srcdir)/libcfa/configure … … 33 33 34 34 man1_MANS = doc/man/cfa.1 35 36 EXTRA_DIST = LICENSE doc/man/cfa.1 libcfa/configure automake 35 37 36 38 debug=yes -
libcfa/Makefile.am
r5339a87 rb7fe2e6 16 16 17 17 AUTOMAKE_OPTIONS = foreign # do not require all the GNU file names 18 ACLOCAL_AMFLAGS = -I automake18 ACLOCAL_AMFLAGS = -I ../automake 19 19 SUBDIRS = prelude src # order important -
libcfa/configure.ac
r5339a87 rb7fe2e6 4 4 AC_PREREQ([2.68]) 5 5 AC_INIT([cfa-cc],[1.0.0.0],[cforall@plg.uwaterloo.ca]) 6 AC_CONFIG_AUX_DIR([ automake])7 AC_CONFIG_MACRO_DIRS([ automake])6 AC_CONFIG_AUX_DIR([../automake]) 7 AC_CONFIG_MACRO_DIRS([../automake]) 8 8 AM_SILENT_RULES([yes]) 9 9 -
libcfa/prelude/Makefile.am
r5339a87 rb7fe2e6 17 17 # create object files in directory with source files 18 18 AUTOMAKE_OPTIONS = foreign subdir-objects 19 ACLOCAL_AMFLAGS = -I automake19 ACLOCAL_AMFLAGS = -I ../automake 20 20 21 21 # put into lib for now 22 22 cfalibdir = ${CFA_LIBDIR} 23 23 cfalib_DATA = gcc-builtins.cf builtins.cf extras.cf prelude.cfa bootloader.c defines.hfa 24 25 EXTRA_DIST = bootloader.cf builtins.c builtins.def extras.c extras.regx extras.regx2 prelude-gen.cc prototypes.awk prototypes.c prototypes.sed sync-builtins.cf 24 26 25 27 CC = @LOCAL_CFACC@ -
libcfa/src/Makefile.am
r5339a87 rb7fe2e6 17 17 # create object files in directory with source files 18 18 AUTOMAKE_OPTIONS = foreign subdir-objects 19 ACLOCAL_AMFLAGS = -I automake19 ACLOCAL_AMFLAGS = -I ../automake 20 20 21 21 include $(top_srcdir)/../tools/build/cfa.make … … 31 31 # AM_CFAFLAGS for only cfa source 32 32 # use -no-include-stdhdr to prevent rebuild cycles 33 # The built sources must not depend on the installed headers33 # The built sources must not depend on the installed inst_headers_src 34 34 AM_CFAFLAGS = -quiet -cfalib -I$(srcdir)/stdhdr $(if $(findstring ${gdbwaittarget}, ${@}), -XCFA --gdb) @CONFIG_CFAFLAGS@ 35 35 AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC -fexceptions -pthread @ARCH_FLAGS@ @CONFIG_CFLAGS@ … … 39 39 #---------------------------------------------------------------------------------------------------------------- 40 40 if BUILDLIB 41 headers_nosrc = bitmanip.hfa exception.hfa math.hfa gmp.hfa time_t.hfa clock.hfa \ 42 bits/align.hfa bits/containers.hfa bits/defs.hfa bits/debug.hfa bits/locks.hfa \ 43 containers/list.hfa containers/stackLockFree.hfa concurrency/iofwd.hfa 41 inst_headers_nosrc = \ 42 bitmanip.hfa \ 43 clock.hfa \ 44 exception.hfa \ 45 gmp.hfa \ 46 math.hfa \ 47 time_t.hfa \ 48 bits/align.hfa \ 49 bits/containers.hfa \ 50 bits/debug.hfa \ 51 bits/defs.hfa \ 52 bits/locks.hfa \ 53 concurrency/iofwd.hfa \ 54 containers/list.hfa \ 55 containers/stackLockFree.hfa 44 56 45 headers = common.hfa fstream.hfa heap.hfa iostream.hfa iterator.hfa limits.hfa rational.hfa \ 46 time.hfa stdlib.hfa parseargs.hfa \ 47 containers/maybe.hfa containers/pair.hfa containers/result.hfa containers/vector.hfa 57 inst_headers_src = \ 58 common.hfa \ 59 fstream.hfa \ 60 heap.hfa \ 61 iostream.hfa \ 62 iterator.hfa \ 63 limits.hfa \ 64 parseargs.hfa \ 65 rational.hfa \ 66 stdlib.hfa \ 67 time.hfa \ 68 containers/maybe.hfa \ 69 containers/pair.hfa \ 70 containers/result.hfa \ 71 containers/vector.hfa 48 72 49 libsrc = startup.cfa interpose.cfa bits/debug.cfa assert.cfa exception.c virtual.c ${headers:.hfa=.cfa} 73 libsrc = ${inst_headers_src} ${inst_headers_src:.hfa=.cfa} \ 74 assert.cfa \ 75 bits/algorithm.hfa \ 76 bits/debug.cfa \ 77 exception.c \ 78 exception.h \ 79 interpose.cfa \ 80 lsda.h \ 81 startup.cfa \ 82 startup.hfa \ 83 virtual.c \ 84 virtual.h 50 85 51 86 # not all platforms support concurrency, add option do disable it 52 thread_headers_nosrc = bits/random.hfa concurrency/invoke.h concurrency/kernel/fwd.hfa 87 inst_thread_headers_nosrc = \ 88 bits/random.hfa \ 89 concurrency/invoke.h \ 90 concurrency/kernel/fwd.hfa 53 91 54 thread_headers = concurrency/coroutine.hfa concurrency/thread.hfa concurrency/kernel.hfa \ 55 concurrency/monitor.hfa concurrency/mutex.hfa 92 inst_thread_headers_src = \ 93 concurrency/coroutine.hfa \ 94 concurrency/kernel.hfa \ 95 concurrency/monitor.hfa \ 96 concurrency/mutex.hfa \ 97 concurrency/thread.hfa 56 98 57 thread_libsrc = concurrency/CtxSwitch-@ARCHITECTURE@.S concurrency/alarm.cfa \ 58 concurrency/invoke.c concurrency/io.cfa concurrency/iocall.cfa \ 59 concurrency/io/setup.cfa \ 60 concurrency/kernel/startup.cfa concurrency/preemption.cfa \ 61 concurrency/ready_queue.cfa concurrency/stats.cfa \ 62 ${thread_headers:.hfa=.cfa} 99 thread_libsrc = ${inst_thread_headers_src} ${inst_thread_headers_src:.hfa=.cfa} \ 100 bits/signal.hfa \ 101 concurrency/alarm.cfa \ 102 concurrency/alarm.hfa \ 103 concurrency/CtxSwitch-@ARCHITECTURE@.S \ 104 concurrency/invoke.c \ 105 concurrency/io.cfa \ 106 concurrency/io/setup.cfa \ 107 concurrency/io/types.hfa \ 108 concurrency/iocall.cfa \ 109 concurrency/iofwd.hfa \ 110 concurrency/kernel_private.hfa \ 111 concurrency/kernel/startup.cfa \ 112 concurrency/preemption.cfa \ 113 concurrency/preemption.hfa \ 114 concurrency/ready_queue.cfa \ 115 concurrency/ready_subqueue.hfa \ 116 concurrency/snzi.hfa \ 117 concurrency/stats.cfa \ 118 concurrency/stats.hfa \ 119 concurrency/stats.hfa 120 63 121 else 64 headers=65 thread_headers=66 headers_nosrc =67 thread_headers_nosrc =122 inst_headers_src = 123 inst_thread_headers_src = 124 inst_headers_nosrc = 125 inst_thread_headers_nosrc = 68 126 libsrc = 69 127 endif … … 125 183 126 184 cfa_includedir = $(CFA_INCDIR) 127 nobase_cfa_include_HEADERS = ${stdhdr} ${headers} ${headers_nosrc} ${thread_headers} ${thread_headers_nosrc} 185 nobase_cfa_include_HEADERS = ${stdhdr} ${inst_headers_src} ${inst_headers_nosrc} ${inst_thread_headers_src} ${inst_thread_headers_nosrc} 186 EXTRA_DIST = stdhdr 128 187 129 188 #---------------------------------------------------------------------------------------------------------------- -
src/Makefile.am
r5339a87 rb7fe2e6 68 68 ___driver_cfa_cpp_SOURCES = $(SRC) 69 69 ___driver_cfa_cpp_LDADD = -ldl $(LIBPROFILER) $(LIBTCMALLOC) 70 EXTRA_DIST = include/cassert include/optional 70 EXTRA_DIST = include/cassert include/optional BasicTypes-gen.cc 71 71 72 72 AM_CXXFLAGS = @HOST_FLAGS@ -Wno-deprecated -Wall -Wextra -DDEBUG_ALL -I./Parser -I$(srcdir)/Parser -I$(srcdir)/include -DYY_NO_INPUT -O3 -g -std=c++14 $(TCMALLOCFLAG) -
tests/Makefile.am
r5339a87 rb7fe2e6 67 67 avl_test_SOURCES = avltree/avl_test.cfa avltree/avl0.cfa avltree/avl1.cfa avltree/avl2.cfa avltree/avl3.cfa avltree/avl4.cfa avltree/avl-private.cfa 68 68 # automake doesn't know we still need C/CPP rules so pretend like we have a C program 69 _dummy_hack_SOURCES = .dummy_hack.c .dummy_hackxx.cpp69 nodist__dummy_hack_SOURCES = .dummy_hack.c .dummy_hackxx.cpp 70 70 71 71 #---------------------------------------------------------------------------------------------------------------- -
tools/Makefile.am
r5339a87 rb7fe2e6 21 21 22 22 noinst_PROGRAMS = busy catchsig repeat watchdog 23 EXTRA_DIST = build/distcc_hash build/push2dist.sh 23 24 24 busy_SOURCES = busy.c25 busy_LDFLAGS = -pthread26 catchsig_SOURCES = catchsig.c27 repeat_SOURCES = repeat.c28 watchdog_SOURCES = watchdog.c25 nodist_busy_SOURCES = busy.c 26 nodist_busy_LDFLAGS = -pthread 27 nodist_catchsig_SOURCES = catchsig.c 28 nodist_repeat_SOURCES = repeat.c 29 nodist_watchdog_SOURCES = watchdog.c -
tools/prettyprinter/Makefile.am
r5339a87 rb7fe2e6 30 30 tools_prettyprinter_PROGRAMS = pretty 31 31 tools_prettyprinterdir = ../ 32 pretty_SOURCES = ${SRC}32 nodist_pretty_SOURCES = ${SRC} 33 33 pretty_LDADD = ${LEXLIB} -ldl # yywrap 34 34 pretty_CXXFLAGS = -Wno-deprecated -Wall -DYY_NO_INPUT -O2 -g -std=c++14
Note: See TracChangeset
for help on using the changeset viewer.