Fixed broken "make depend; make clean; make all" sequence.

I've looked for this example for a long time, to demonstrate
some people why it's a really BAD idea to use ${.OBJDIR}
instead of ".".  I hope these people are reading this.  :-)

Approved by:	des
This commit is contained in:
Ruslan Ermilov 2002-04-10 18:00:32 +00:00
parent e348eb5318
commit 196f4c26f4

View File

@ -28,7 +28,7 @@ LIB= pam_unix
SHLIB_NAME= ${LIB}.so.${SHLIB_MAJOR}
SRCS= pam_unix.c pw_copy.c pw_yp.c pw_util.c ypxfr_misc.c ${GENSRCS}
CFLAGS+= -DYP -Dyp_error=warnx \
-I${.OBJDIR} \
-I. \
-I${.CURDIR}/../../../../libexec/ypxfr \
-I${.CURDIR}/../../../../usr.sbin/vipw \
-I${.CURDIR}/../../../../usr.bin/chpass \