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

3 4 5 6 7 8 9
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 \
              src/modelconfig/configlex.l \
10 11
              codes/quicklist.h \
              codes/quickhash.h
12 13 14 15 16 17 18 19

PHONY: maintainer-clean-local
maintainer-clean-local::
	-rm -f src/iokernellang/codesparser.c
	-rm -f src/iokernellang/codesparser.h
	-rm -f src/iokernellang/codesparser.y
	-rm -f src/iokernellang/codeslexer.c
	-rm -f src/iokernellang/codeslexer.h
Philip Carns's avatar
Philip Carns committed
20
	-rm -f codes/codeslexer.h
21 22 23 24 25 26 27 28 29 30 31
	-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

BUILT_SOURCES += src/iokernellang/codesparser.h \
		 src/iokernellang/codesparser.c \
Philip Carns's avatar
Philip Carns committed
32 33
                 src/iokernellang/codeslexer.h \
                 codes/codeslexer.h
34 35 36 37 38


#src/iokernellang/codesparser.y: src/iokernellang/codesparser.y.in Makefile
src/iokernellang/codesparser.c src/iokernellang/codesparser.h: src/iokernellang/codesparser.y

Philip Carns's avatar
Philip Carns committed
39 40 41 42
codes/codeslexer.h: src/iokernellang/codeslexer.h
	mkdir -p codes
	cp src/iokernellang/codeslexer.h codes/codeslexer.h

43 44
EXTRA_DIST += src/iokernellang/codesparser.y

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 \
    codes/quicklist.h
Philip Carns's avatar
Philip Carns committed
59

60
src_libcodes_base_a_SOURCES =  \
61
    codes/codesparser.h \
62
    src/iokernellang/codesparser.c \
63
    codes/codeslexer.h \
64 65
    src/iokernellang/codeslexer.c \
    src/iokernellang/codesImpl.c \
66 67 68 69
    codes/CodesIOKernelContext.h \
    codes/CodesIOKernelParser.h \
    codes/CodesIOKernelTypes.h \
    codes/CodesKernelHelpers.h \
70 71 72 73 74 75 76 77
    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 \
78
    codes/configfile.h \
79 80 81 82
    src/modelconfig/configstore.h \
    src/modelconfig/configstore.c \
    src/modelconfig/configstoreadapter.h \
    src/modelconfig/configstoreadapter.c \
83
    codes/txt_configfile.h \
Philip Carns's avatar
Philip Carns committed
84
    src/modelconfig/txt_configfile.c \
85
    codes/tools.h \
86 87 88 89 90 91 92
    src/util/tools.c \
    src/util/interval-merge-tree.h \
    src/util/interval-merge-tree.c \
    src/util/red-black-tree.h \
    src/util/red-black-tree.c \
    src/util/codes-callbacks.h \
    src/util/codes-callbacks.c \
93
    codes/codeslogging.h \
94
    src/logging/codeslogging.c \
95
    codes/timeline.h \
96
    src/logging/timeline.c