summaryrefslogtreecommitdiff
path: root/module/Makefile.am
blob: fcdd5cbf6747f565469ac91e0aa909aaffd2f2fb (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_pcap.la

snmp_pcap_la_CFLAGS = -Wall -I$(top_srcdir)
snmp_pcap_la_LDFLAGS = -module
snmp_pcap_la_SOURCES = pcap_tree.c pcap_tree.h pcap_oid.h \
			bsnmp-pcap.c usuals.h

pcap_tree.c: pcap-tree.def
	gensnmptree -e pcap > pcap_oid.h < $(srcdir)/pcap-tree.def
	gensnmptree -p pcap_ < $(srcdir)/pcap-tree.def

EXTRA_DIST = pcap-tree.def

CLEANFILES = pcap_tree.* \
             pcap_oid.h