Makefile.subdir 4 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
lib_LIBRARIES += src/libcodesmodelconfig.a \
                 src/libcodesutil.a \
                 src/libcodeslogging.a
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 \
              src/util/quicklist.h \
              src/util/quickhash.h

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
	-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

lib_LIBRARIES += src/libcodeskernellang.a

BUILT_SOURCES += src/iokernellang/codesparser.h \
		 src/iokernellang/codesparser.c \
                 src/iokernellang/codeslexer.h


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

EXTRA_DIST += src/iokernellang/codesparser.y

src_libcodeskernellang_a_SOURCES = src/iokernellang/codesparser.h \
                                          src/iokernellang/codesparser.c \
                                          src/iokernellang/codeslexer.h \
                                          src/iokernellang/codeslexer.c \
                                          src/iokernellang/codesImpl.c \
                                          src/iokernellang/CodesIOKernelContext.h \
                                          src/iokernellang/CodesIOKernelParser.h \
                                          src/iokernellang/CodesIOKernelTypes.h \
                                          src/iokernellang/CodesKernelHelpers.h \
                                          src/iokernellang/CodesKernelHelpers.c

src_libcodesmodelconfig_a_SOURCES = \
                                           src/modelconfig/configlex.c \
                                           src/modelconfig/configlex.h \
                                           src/modelconfig/configparser.c \
                                           src/modelconfig/configparser.h \
                                           src/modelconfig/configfile.c \
                                           src/modelconfig/configfile.h \
                                           src/modelconfig/configglue.h \
                                           src/modelconfig/configglue.c \
                                           src/modelconfig/configfile.h \
                                           src/modelconfig/configstore.h \
                                           src/modelconfig/configstore.c \
                                           src/modelconfig/configstoreadapter.h \
                                           src/modelconfig/configstoreadapter.c \
                                           src/modelconfig/txt_configfile.c \
                                           src/modelconfig/txt_configfile.h

src_libcodesutil_a_SOURCES = src/util/tools.h \
                                    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

src_libcodeslogging_a_SOURCES = src/logging/codeslogging.h \
                                       src/logging/codeslogging.c \
                                       src/logging/timeline.h \
                                       src/logging/timeline.c