Add pwd_mkdb as a toolchain bit for builds
This commit is contained in:
parent
0a1ce99f56
commit
0ce9aa8e6c
@ -1,4 +1,4 @@
|
||||
# $NetBSD: bsd.own.mk,v 1.228 2001/12/04 04:25:21 jmc Exp $
|
||||
# $NetBSD: bsd.own.mk,v 1.229 2001/12/07 02:28:53 jmc Exp $
|
||||
|
||||
.if !defined(_BSD_OWN_MK_)
|
||||
_BSD_OWN_MK_=1
|
||||
@ -123,6 +123,7 @@ OBJC= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-gcc
|
||||
OBJCOPY= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-objcopy
|
||||
OBJDUMP= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-objdump
|
||||
PIC= ${TOOLDIR}/bin/nbpic
|
||||
PWD_MKDB= ${TOOLDIR}/bin/nbpwd_mkdb
|
||||
RANLIB= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-ranlib
|
||||
REFER= ${TOOLDIR}/bin/nbrefer
|
||||
RPCGEN= ${TOOLDIR}/bin/nbrpcgen
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.20 2001/11/29 23:51:38 thorpej Exp $
|
||||
# $NetBSD: Makefile,v 1.21 2001/12/07 02:28:53 jmc Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -13,7 +13,8 @@ SUBDIR= mkdep .WAIT \
|
||||
yacc .WAIT \
|
||||
groff \
|
||||
lex .WAIT \
|
||||
asn1_compile compile_et config lint1 msgc menuc mklocale
|
||||
asn1_compile compile_et config lint1 msgc menuc mklocale \
|
||||
pwd_mkdb
|
||||
.endif
|
||||
|
||||
.if ${MKTOOLS:Uyes} == "no" || ${USETOOLS} != "yes"
|
||||
|
6
tools/pwd_mkdb/Makefile
Normal file
6
tools/pwd_mkdb/Makefile
Normal file
@ -0,0 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.1 2001/12/07 02:28:54 jmc Exp $
|
||||
|
||||
HOSTPROGNAME= nbpwd_mkdb
|
||||
HOST_SRCDIR= usr.sbin/pwd_mkdb
|
||||
|
||||
.include "${.CURDIR}/../Makefile.host"
|
@ -1,5 +1,5 @@
|
||||
# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
# $NetBSD: Makefile,v 1.13 2000/01/23 19:59:32 mycroft Exp $
|
||||
# $NetBSD: Makefile,v 1.14 2001/12/07 02:28:54 jmc Exp $
|
||||
|
||||
PROG= pwd_mkdb
|
||||
SRCS= pwd_mkdb.c getpwent.c
|
||||
@ -10,7 +10,9 @@ CPPFLAGS+= -I${.CURDIR}/../../lib/libc/include -D__DBINTERFACE_PRIVATE
|
||||
|
||||
.PATH: ${.CURDIR}/../../lib/libc/gen
|
||||
|
||||
.ifndef HOSTPROG
|
||||
.include <bsd.prog.mk>
|
||||
.endif
|
||||
|
||||
getpwent.o: getpwent.c
|
||||
${COMPILE.c} -UYP ${.IMPSRC}
|
||||
|
Loading…
Reference in New Issue
Block a user