summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
Diffstat (limited to 'distrib')
-rw-r--r--distrib/special/libstubs/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/distrib/special/libstubs/Makefile b/distrib/special/libstubs/Makefile
index d515708103a..2654de0a9a1 100644
--- a/distrib/special/libstubs/Makefile
+++ b/distrib/special/libstubs/Makefile
@@ -1,16 +1,19 @@
-# $OpenBSD: Makefile,v 1.2 2009/04/17 03:47:16 deraadt Exp $
+# $OpenBSD: Makefile,v 1.3 2009/10/28 07:34:36 guenther Exp $
.include <bsd.own.mk>
LIB= stubs
-SRCS= setlocale.c db.c sha2.c
+SRCS= db.c setlocale.c sha2.c getgrent.c getpwent.c \
+ ethers.c getaddrinfo.c gethostnamadr.c getnetnamadr.c
NOPIC= Yes
NOPROFILE=Yes
NOMAN=1
-CFLAGS+=-Os -D__DBINTERFACE_PRIVATE -DSHA256_ONLY
+CFLAGS+=-Os -D__DBINTERFACE_PRIVATE -DSHA256_ONLY -UYP -I${LIBCSRCDIR}/include
LIBCSRCDIR=${.CURDIR}/../../../lib/libc
.PATH: ${.CURDIR}/../../../lib/libc/hash
+.PATH: ${.CURDIR}/../../../lib/libc/gen
+.PATH: ${.CURDIR}/../../../lib/libc/net
.include <bsd.lib.mk>