summaryrefslogtreecommitdiff
path: root/module/Makefile.am
blob: 6f10233e60e0bf5571dac0c711c6f20b38ce34d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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