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 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
|
if ENABLE_PYTHON
module_LTLIBRARIES += modules/python/libmod-python.la
modules_python_libmod_python_la_CFLAGS = \
$(AM_CFLAGS) \
$(PYTHON_CFLAGS) \
$(SYSLOG_NG_CFLAGS) \
$(EVENTLOG_CFLAGS) \
$(IVYKIS_CFLAGS)
modules_python_libmod_python_la_CPPFLAGS = \
$(AM_CPPFLAGS) \
-I$(top_srcdir)/modules/python \
-I$(top_builddir)/modules/python
modules_python_libmod_python_la_LIBADD = \
$(MODULE_DEPS_LIBS) \
$(PYTHON_LIBS) \
$(EVENTLOG_LIBS) \
$(SYSLOG_NG_LIBS) \
$(IVYKIS_LIBS)
modules_python_libmod_python_la_SOURCES = \
modules/python/compat/compat-python.h \
modules/python/compat/compat-python.c \
modules/python/python-module.h \
modules/python/python-binding.h \
modules/python/python-binding.c \
modules/python/python-config.h \
modules/python/python-config.c \
modules/python/python-persist.h \
modules/python/python-persist.c \
modules/python/python-helpers.h \
modules/python/python-helpers.c \
modules/python/python-main.h \
modules/python/python-main.c \
modules/python/python-plugin.c \
modules/python/python-grammar.y \
modules/python/python-value-pairs.c \
modules/python/python-value-pairs.h \
modules/python/python-startup.c \
modules/python/python-startup.h \
modules/python/python-global.c \
modules/python/python-global.h \
modules/python/python-dest.c \
modules/python/python-dest.h \
modules/python/python-tf.c \
modules/python/python-tf.h \
modules/python/python-parser.c \
modules/python/python-parser.h \
modules/python/python-logmsg.h \
modules/python/python-logmsg.c \
modules/python/python-logtemplate.h \
modules/python/python-logtemplate.c \
modules/python/python-logtemplate-options.h\
modules/python/python-logtemplate-options.c\
modules/python/python-integerpointer.c \
modules/python/python-integerpointer.h \
modules/python/python-logger.c \
modules/python/python-logger.h \
modules/python/python-global-code-loader.h\
modules/python/python-global-code-loader.c\
modules/python/python-debugger.h \
modules/python/python-debugger.c \
modules/python/python-logparser.h \
modules/python/python-logparser.c \
modules/python/python-source.h \
modules/python/python-source.c \
modules/python/python-fetcher.h \
modules/python/python-fetcher.c \
modules/python/python-http-header.h \
modules/python/python-http-header.c \
modules/python/python-bookmark.h \
modules/python/python-bookmark.c \
modules/python/python-ack-tracker.h \
modules/python/python-ack-tracker.c \
modules/python/python-types.h \
modules/python/python-types.c \
modules/python/python-confgen.h \
modules/python/python-confgen.c \
modules/python/python-options.h \
modules/python/python-options.c \
modules/python/python-flags.h \
modules/python/python-flags.c \
modules/python/python-reloc.h \
modules/python/python-reloc.c
modules_python_libmod_python_la_LDFLAGS = \
$(MODULE_LDFLAGS) \
$(PYTHON_LDADD)
EXTRA_modules_python_libmod_python_la_DEPENDENCIES= \
$(MODULE_DEPS_LIBS)
modules/python mod-python: modules/python/libmod-python.la
else
modules/python mod-python:
endif
BUILT_SOURCES += \
modules/python/python-grammar.y \
modules/python/python-grammar.c \
modules/python/python-grammar.h
EXTRA_DIST += \
modules/python/python-grammar.ym \
modules/python/python-example.conf \
modules/python/sngexample.py \
modules/python/CMakeLists.txt
.PHONY: modules/python mod-python
include modules/python/tests/Makefile.am
|