Subject: make depend problem
To: None <current-users@NetBSD.ORG>
From: Gordon W. Ross <gwr@mc.com>
List: current-users
Date: 05/06/1997 14:23:50
When I try "make depend" in src/sbin/quotacheck I get:

	cannot open .depend: no such file
	*** Error code 2

and "make -dA depend" end with the following:

Examining quotacheck.c...modified 18:55:23 Mar 27, 1997...up-to-date.
Examining fsutil.c...modified 18:53:07 Mar 27, 1997...up-to-date.
Examining preen.c...modified 18:53:08 Mar 27, 1997...up-to-date.
Examining .depend...Searching for .depend.../play/gwr/netbsd/cur.cvs/src/sbin/quotacheck/../fsck...here...returning /play/gwr/netbsd/cur.cvs/src/sbin/quotacheck/../fsck/.depend
modified 13:10:51 May 6, 1997...up-to-date.
Examining afterdepend...Searching for afterdepend.../play/gwr/netbsd/cur.cvs/src/sbin/quotacheck/../fsck...failed.
non-existent...modified before source...out-of-date.
afterdepend:> = /play/gwr/netbsd/cur.cvs/src/sbin/quotacheck/../fsck/.depend
afterdepend:? = /play/gwr/netbsd/cur.cvs/src/sbin/quotacheck/../fsck/.depend
cannot open .depend: no such file

So, it appears that depend is finding the .depend file that exists
over in ../fsck because that exists and the local one does not.

Does anyone know how to tell make to use ./.depend instead?

Thanks,
Gordon