summaryrefslogtreecommitdiff
path: root/module/Makefile.am
blob: 0874973c6c1aac23937ef76daa6ff0ec6d1f79c0 (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 regexData > regex_oid.h < $(srcdir)/regex-tree.def

CLEANFILES = regex_tree.* \
             regex_oid.h

EXTRA_DIST = regex-tree.def