This commit is contained in:
Wolfgang Hottgenroth
2025-02-14 17:39:57 +01:00
commit f160c0f4e3
8 changed files with 1144 additions and 0 deletions

15
Makefile Normal file
View File

@ -0,0 +1,15 @@
PROG= snmpd_ntpd
SRCS= mib.c log.c timer.c util.c
MAN=
CFLAGS+= -Wall -I${.CURDIR}
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare
LDADD= -lagentx -levent -lkvm
DPADD= ${LIBAGENTX} ${LIBEVENT} ${LIBKVM}
BINDIR= /usr/libexec/snmpd/
.include <bsd.prog.mk>