From fe715089eeb418550820333f24ff4f284f1c16e7 Mon Sep 17 00:00:00 2001 From: ru Date: Wed, 10 Apr 2002 18:00:32 +0000 Subject: 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 --- lib/libpam/modules/pam_unix/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libpam') diff --git a/lib/libpam/modules/pam_unix/Makefile b/lib/libpam/modules/pam_unix/Makefile index d4a14c9..3a6050c 100644 --- a/lib/libpam/modules/pam_unix/Makefile +++ b/lib/libpam/modules/pam_unix/Makefile @@ -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 \ -- cgit v1.1