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

INCLUDES = -DCONF_PREFIX=\"$(sysconfdir)\"

moduledir = $(prefix)/lib
module_LTLIBRARIES = snmp_jails.la

snmp_jails_la_CFLAGS = -Wall -I$(top_srcdir) -DJAIL_MEASURE_PATH=\""$(libexecdir)/jail-measure"\"
snmp_jails_la_LDFLAGS = -module
snmp_jails_la_SOURCES = jails_tree.c jails_tree.h jails_oid.h \
			bsnmp-jails.c usuals.h ../common/hash.c ../common/hash.h

jails_tree.c: jails-tree.def
	gensnmptree -e jails > jails_oid.h < $(srcdir)/jails-tree.def
	gensnmptree -p jails_ < $(srcdir)/jails-tree.def

EXTRA_DIST = jails-tree.def

CLEANFILES = jails_tree.* \
             jails_oid.h