summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--module/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/module/Makefile.am b/module/Makefile.am
index 49845d9..e67916c 100644
--- a/module/Makefile.am
+++ b/module/Makefile.am
@@ -6,11 +6,13 @@ module_LTLIBRARIES = snmp_ping.la
snmp_ping_la_LDFLAGS = -module
snmp_ping_la_SOURCES = ping_tree.c ping_tree.h ping_oid.h \
- bsnmp-ping.c
+ bsnmp-ping.c usuals.h
ping_tree.c: ping-tree.def
- gensnmptree -e ping > ping_oid.h < ping-tree.def
- gensnmptree -p ping_ < ping-tree.def
+ gensnmptree -e ping > ping_oid.h < $(srcdir)/ping-tree.def
+ gensnmptree -p ping_ < $(srcdir)/ping-tree.def
+
+EXTRA_DIST = ping-tree.def
CLEANFILES = ping_tree.* \
ping_oid.h