summaryrefslogtreecommitdiff
path: root/module/Makefile.am
blob: e77f249ed9dab6fa6f9ae3f8bedd6f95af5be9bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

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 usuals.h

regex_tree.c: $(srcdir)/regex-tree.def
	gensnmptree -p regex_ < $(srcdir)/regex-tree.def
	gensnmptree -e regex > regex_oid.h < $(srcdir)/regex-tree.def

CLEANFILES = regex_tree.* \
             regex_oid.h

EXTRA_DIST = regex-tree.def