diff options
author | Martin Hedenfal <martinh@cvs.openbsd.org> | 2010-05-31 17:47:13 +0000 |
---|---|---|
committer | Martin Hedenfal <martinh@cvs.openbsd.org> | 2010-05-31 17:47:13 +0000 |
commit | dfe8c47b7e6355b03bc11e72dfb83a0909696888 (patch) | |
tree | 83bd3189817275a4c9bcfbde2315cca6727a24c1 /usr.sbin | |
parent | f702a9ca5a18026d1fe55b97db945c2f1f7dd068 (diff) |
Add -I${.CURDIR}, fixes building in obj/.
ok deraadt@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ldapd/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ldapd/Makefile b/usr.sbin/ldapd/Makefile index 3c056b44ad1..8dc73af5278 100644 --- a/usr.sbin/ldapd/Makefile +++ b/usr.sbin/ldapd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2010/05/31 17:36:31 martinh Exp $ +# $OpenBSD: Makefile,v 1.2 2010/05/31 17:47:12 martinh Exp $ PROG= ldapd MAN= ldapd.8 ldapd.conf.5 @@ -10,6 +10,7 @@ SRCS= ber.c log.c control.c \ LDADD= -levent -lcrypto -lssl -lz -lutil DPADD= ${LIBEVENT} ${LIBCRYPTO} ${LIBSSL} ${LIBZ} ${LIBUTIL} +CFLAGS+= -I${.CURDIR} CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual |