22 lines
443 B
Makefile
22 lines
443 B
Makefile
|
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>
|