mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 11:14:18 +01:00
dfb98e350c
My change to allow bootstrapping pwd_mkdb (r363992) resulted in i386 build failures because the bootstrap header was being included in non-bootstrap chpass. Dropping the no longer required pwd_mkdb include path from chpass fixes the build, but to be certain that the failure doesn't get re-introduced, I've also moved the bootstrap pwd.h into a subdirectory so that adding -I${SRCTOP}/usr.sbin/pwd_mkdb doesn't pull it in. Reported by: mjg
17 lines
314 B
Makefile
17 lines
314 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/lib/libc/gen # for pw_scan.c
|
|
|
|
PACKAGE= runtime
|
|
PROG= pwd_mkdb
|
|
MAN= pwd_mkdb.8
|
|
SRCS= pw_scan.c pwd_mkdb.c
|
|
|
|
CFLAGS+= -I${SRCTOP}/lib/libc/gen # for pw_scan.h
|
|
.if defined(BOOTSTRAPPING)
|
|
CFLAGS+=-I${.CURDIR}/bootstrap
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|