Makefile.subdir 5.19 KB
Newer Older
1 2
lib_LIBRARIES += src/libcodes-base.a 

3 4 5 6 7 8
BUILT_SOURCES += src/modelconfig/configparser.h \
                 src/modelconfig/configlex.h

EXTRA_DIST += src/iokernellang/codesparser.y.in \
              src/iokernellang/codeslexer.l \
              src/modelconfig/configparser.y \
Jonathan Jenkins's avatar
Jonathan Jenkins committed
9 10 11 12 13 14 15 16
              src/modelconfig/configlex.l \
			  src/modelconfig/README.txt \
			  src/util/templates/README.txt
			  src/util/README.codes-mapping.txt \
			  src/util/README.lp-io.txt \
			  src/workload/README.codes-workload \
			  src/workload/TODO.codes-workload

17 18 19
#src/network-workload/README
#src/network-workload/offsets
#src/network-workload/scala-trace-data
Jonathan Jenkins's avatar
Jonathan Jenkins committed
20

21 22 23 24 25 26 27 28 29 30 31

PHONY: maintainer-clean-local
maintainer-clean-local::
	-rm -f src/modelconfig/configlex.h
	-rm -f src/modelconfig/configlex.c
	-rm -f src/modelconfig/configparser.h
	-rm -f src/modelconfig/configparser.c

src/modelconfig/configparser.h: src/modelconfig/configparser.y
src/modelconfig/configlex.h: src/modelconfig/configlex.l

32 33 34 35
#BUILT_SOURCES += codes/codesparser.h \
#		 src/iokernellang/codesparser.c \
#                 src/iokernellang/codeslexer.h \
#                 codes/codeslexer.h
36 37 38


#src/iokernellang/codesparser.y: src/iokernellang/codesparser.y.in Makefile
39 40

#src/iokernellang/codesparser.c codes/codesparser.h: src/iokernellang/codesparser.y
41

Jonathan Jenkins's avatar
Jonathan Jenkins committed
42 43 44
#codes/codeslexer.h: $(top_srcdir)/src/iokernellang/codeslexer.h
#mkdir -p codes
#cp $(top_srcdir)/src/iokernellang/codeslexer.h codes/codeslexer.h
Philip Carns's avatar
Philip Carns committed
45

46 47 48 49 50 51 52 53 54 55 56 57 58
nobase_include_HEADERS = \
    codes/CodesKernelHelpers.h \
    codes/CodesIOKernelContext.h \
    codes/CodesIOKernelParser.h \
    codes/CodesIOKernelTypes.h \
    codes/codeslexer.h \
    codes/txt_configfile.h \
    codes/tools.h \
    codes/codeslogging.h \
    codes/timeline.h \
    codes/codesparser.h \
    codes/quickhash.h \
    codes/configfile.h \
59 60 61 62 63
    codes/quicklist.h \
    codes/codes_mapping.h \
    codes/lp-type-lookup.h \
    codes/codes.h \
    codes/configuration.h \
64
    codes/lp-io.h \
65
	codes/lp-msg.h \
66
    codes/jenkins-hash.h \
67 68
    codes/codes-workload.h \
	codes/resource.h \
69
	codes/resource-lp.h \
70 71
	codes/local-storage-model.h \
	codes/rc-stack.h
Philip Carns's avatar
Philip Carns committed
72

Jonathan Jenkins's avatar
Jonathan Jenkins committed
73 74
#codes/codes-nw-workload.h

75
src_libcodes_base_a_SOURCES =  \
76
    codes/codesparser.h \
77
    src/iokernellang/codesparser.c \
78
    codes/codeslexer.h \
79 80
    src/iokernellang/codeslexer.c \
    src/iokernellang/codesImpl.c \
81 82 83 84
    codes/CodesIOKernelContext.h \
    codes/CodesIOKernelParser.h \
    codes/CodesIOKernelTypes.h \
    codes/CodesKernelHelpers.h \
85 86 87 88 89 90 91 92
    src/iokernellang/CodesKernelHelpers.c \
    src/modelconfig/configlex.c \
    src/modelconfig/configlex.h \
    src/modelconfig/configparser.c \
    src/modelconfig/configparser.h \
    src/modelconfig/configfile.c \
    src/modelconfig/configglue.h \
    src/modelconfig/configglue.c \
93
    codes/configfile.h \
94 95 96 97
    src/modelconfig/configstore.h \
    src/modelconfig/configstore.c \
    src/modelconfig/configstoreadapter.h \
    src/modelconfig/configstoreadapter.c \
98
    codes/txt_configfile.h \
Philip Carns's avatar
Philip Carns committed
99
    src/modelconfig/txt_configfile.c \
100
    codes/tools.h \
101 102 103
    src/util/tools.c \
    src/util/codes-callbacks.h \
    src/util/codes-callbacks.c \
104 105 106 107
    src/util/codes_mapping.c \
    src/util/lp-type-lookup.c \
    src/util/configuration.c \
    src/util/lp-io.c \
108
	src/util/lp-msg.c \
109
    src/util/lookup3.c \
110 111
	src/util/resource.c \
	src/util/resource-lp.c \
112
	src/util/local-storage-model.c \
113
    codes/codeslogging.h \
114
    src/logging/codeslogging.c \
115
    codes/timeline.h \
116 117
    src/logging/timeline.c \
    src/workload/codes-workload.c \
118
    src/workload/codes-workload-method.h \
119 120
    src/workload/methods/codes-bgp-io-wrkld.c \
    src/workload/methods/test-workload-method.c \
121 122
	codes/rc-stack.h \
	src/util/rc-stack.c
123

Jonathan Jenkins's avatar
Jonathan Jenkins committed
124
#codes/codes-nw-workload.h
125 126 127 128
#src/network-workload/codes-nw-workload.c
#src/network-workload/codes-nw-workload-method.h
#src/network-workload/codes-scala-trace-nw-wrkld.c

129 130 131
# stealth testing of the template code (actual test is not run, just compiled as
# a program - Make error signifies test failure)
check_PROGRAMS += src/util/templates/lp_template_dummy_main
132
src_util_templates_lp_template_dummy_main_LDADD = $(testlib) ${ROSS_LIBS}
133 134 135 136 137 138
src_util_templates_lp_template_dummy_main_LDFLAGS = ${ROSS_LDFLAGS}
src_util_templates_lp_template_dummy_main_SOURCES = \
 src/util/templates/lp_template_dummy_main.c \
 src/util/templates/lp_template.c \
 src/util/templates/lp_template.h
# get rid of annoying unused function in template
139 140 141 142 143 144 145

bin_PROGRAMS += src/workload/codes-workload-dump

src_workload_codes_workload_dump_SOURCES = \
 src/workload/codes-workload-dump.c
src_workload_codes_workload_dump_LDADD = $(testlib) ${DARSHAN_LIBS} ${ROSS_LIBS}
src_workload_codes_workload_dump_LDFLAGS =  ${DARSHAN_LDFLAGS} ${ROSS_LDFLAGS}
146

147
#bin_PROGRAMS += src/network-workload/codes-nw-test
148

149 150 151 152
#src_network_workload_codes_nw_test_SOURCES = \
 #src/network-workload/codes-nw-test.c
#src_network_workload_codes_nw_test_LDADD = $(testlib) ${ROSS_LIBS} ${DUMPI_LIBS}
#src_network_workload_codes_nw_test_LDFLAGS =  ${ROSS_LDFLAGS}
153

154 155 156 157 158 159 160
#bin_PROGRAMS += src/network-workload/codes-dumpi-wrkld

#src_network_workload_codes_dumpi_wrkld_SOURCES = \
 src/network-workload/codes-dumpi-wrkld.c
#src_network_workload_codes_dumpi_wrkld_LDADD = $(testlib) ${ROSS_LIBS} ${DUMPI_LIBS}
#src_network_workload_codes_dumpi_wrkld_LDFLAGS =  ${ROSS_LDFLAGS}