Makefile.subdir 3.05 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 \
Philip Carns's avatar
Philip Carns committed
9
              src/modelconfig/configlex.l 
10 11 12 13 14 15 16 17

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
18
	-rm -f codes/codeslexer.h
19 20 21 22 23 24 25 26 27
	-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

28
BUILT_SOURCES += codes/codesparser.h \
29
		 src/iokernellang/codesparser.c \
Philip Carns's avatar
Philip Carns committed
30 31
                 src/iokernellang/codeslexer.h \
                 codes/codeslexer.h
32 33 34


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

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

41 42
EXTRA_DIST += src/iokernellang/codesparser.y

43 44 45 46 47 48 49 50 51 52 53 54 55
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 \
56 57 58 59 60
    codes/quicklist.h \
    codes/codes_mapping.h \
    codes/lp-type-lookup.h \
    codes/codes.h \
    codes/configuration.h \
61 62
    codes/lp-io.h \
    codes/jenkins-hash.h
Philip Carns's avatar
Philip Carns committed
63

64
src_libcodes_base_a_SOURCES =  \
65
    codes/codesparser.h \
66
    src/iokernellang/codesparser.c \
67
    codes/codeslexer.h \
68 69
    src/iokernellang/codeslexer.c \
    src/iokernellang/codesImpl.c \
70 71 72 73
    codes/CodesIOKernelContext.h \
    codes/CodesIOKernelParser.h \
    codes/CodesIOKernelTypes.h \
    codes/CodesKernelHelpers.h \
74 75 76 77 78 79 80 81
    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 \
82
    codes/configfile.h \
83 84 85 86
    src/modelconfig/configstore.h \
    src/modelconfig/configstore.c \
    src/modelconfig/configstoreadapter.h \
    src/modelconfig/configstoreadapter.c \
87
    codes/txt_configfile.h \
Philip Carns's avatar
Philip Carns committed
88
    src/modelconfig/txt_configfile.c \
89
    codes/tools.h \
90 91 92
    src/util/tools.c \
    src/util/codes-callbacks.h \
    src/util/codes-callbacks.c \
93 94 95 96
    src/util/codes_mapping.c \
    src/util/lp-type-lookup.c \
    src/util/configuration.c \
    src/util/lp-io.c \
97
    src/util/lookup3.c \
98
    codes/codeslogging.h \
99
    src/logging/codeslogging.c \
100
    codes/timeline.h \
101
    src/logging/timeline.c