summaryrefslogtreecommitdiff
path: root/module/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'module/Makefile.am')
-rw-r--r--module/Makefile.am16
1 files changed, 16 insertions, 0 deletions
diff --git a/module/Makefile.am b/module/Makefile.am
new file mode 100644
index 0000000..6f10233
--- /dev/null
+++ b/module/Makefile.am
@@ -0,0 +1,16 @@
+
+INCLUDES = -DCONF_PREFIX=\"$(sysconfdir)\"
+
+moduledir = $(prefix)/lib
+module_LTLIBRARIES = snmp_regex.la
+
+snmp_regex_la_LDFLAGS = -module
+snmp_regex_la_SOURCES = regex_tree.c regex_tree.h regex_oid.h \
+ bsnmp-regex.c
+
+regex_tree.c: regex-tree.def
+ gensnmptree -p regex_ < regex-tree.def
+ gensnmptree -e regexData > regex_oid.h < regex-tree.def
+
+CLEANFILES = regex_tree.* \
+ regex_oid.h