Convert Makefile to FreeBSD style.
Add libopenbsd to link line for imsg.
This commit is contained in:
parent
9e7c127f8d
commit
f6fe55842b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290932
@ -9,13 +9,12 @@ SRCS= parse.y ypldap.c log.c \
|
||||
|
||||
MAN= ypldap.8 ypldap.conf.5
|
||||
|
||||
DPADD= ${LIBEVENT} ${LIBUTIL} ${LIBRPCSVC}
|
||||
LDADD= -levent -lutil -lrpcsvc
|
||||
CFLAGS+= -I${.CURDIR}
|
||||
CFLAGS+= -Wall
|
||||
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
|
||||
CFLAGS+= -Wmissing-declarations
|
||||
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
|
||||
CFLAGS+= -Wsign-compare
|
||||
LIBADD= openbsd event util rpcsvc
|
||||
|
||||
CFLAGS+=-I${.CURDIR}
|
||||
CFLAGS+=-I${.CURDIR}/../../contrib/pf/libevent
|
||||
CFLAGS+=-I${.CURDIR}/../../lib/libopenbsd
|
||||
|
||||
WARNS= 2
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user