1
0

Initial commit

This commit is contained in:
Florian Obser
2018-05-07 14:54:39 +02:00
commit 52919f767c
3 changed files with 487 additions and 0 deletions

21
Makefile Normal file
View File

@ -0,0 +1,21 @@
BINDIR= /var/www/metrics
PROG= kmunin_exporter
SRCS= kmunin_exporter.c
LDSTATIC= ${STATIC}
NOMAN= YES
#DEBUG= -g -DDEBUG=3 -O0
CFLAGS+= -Wall
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare
CFLAGS+= -I/usr/local/include
LDADD+= -L/usr/local/lib -lkcgihtml -lkcgi -lz
LDADD+= -levent
DPADD+= ${LIBEVENT}
.include <bsd.prog.mk>