mirror of
https://github.com/opnsense/src.git
synced 2026-02-28 12:20:54 -05:00
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
16 lines
314 B
Makefile
16 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>
|