diff options
author | imp <imp@FreeBSD.org> | 1998-12-07 22:36:54 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1998-12-07 22:36:54 +0000 |
commit | 2cfcfef3a141c7b67148f1c4f6a90b53d8c90288 (patch) | |
tree | 5d15f8041da62f4a178af18a2fcaaa969d365dbc /sys/i386/conf/Makefile.i386 | |
parent | 60d13c7a9dd18f720483338ebef03609492ca98c (diff) | |
download | FreeBSD-src-2cfcfef3a141c7b67148f1c4f6a90b53d8c90288.zip FreeBSD-src-2cfcfef3a141c7b67148f1c4f6a90b53d8c90288.tar.gz |
If there is no .depends file, use the standard ad-hoc way of ensuring
that the generated files are generated before any of the object files.
Also minor cleanup of dependencies in conf/files that I bogusly added
before.
This should fix the requirement that make depend be done starting from
a clean config directory. If you don't have a clean directory, make
depend is still required if you want the proper .o's to be recompiled.
Reviewed by: bde
Diffstat (limited to 'sys/i386/conf/Makefile.i386')
-rw-r--r-- | sys/i386/conf/Makefile.i386 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/i386/conf/Makefile.i386 b/sys/i386/conf/Makefile.i386 index 39a24ee..ddf2f9b 100644 --- a/sys/i386/conf/Makefile.i386 +++ b/sys/i386/conf/Makefile.i386 @@ -1,7 +1,7 @@ # Makefile.i386 -- with config changes. # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.128 1998/11/04 15:27:41 peter Exp $ +# $Id: Makefile.i386,v 1.129 1998/11/15 18:07:35 dfr Exp $ # # Makefile for FreeBSD # @@ -117,6 +117,10 @@ SYSTEM_DEP+= $S/i386/conf/kernel.script %CLEAN +.if !exists(.depend) +${SYSTEM_OBJS}: ${BEFORE_DEPEND:M*.h} +.endif + clean: rm -f *.o *.so *.ko *.s eddep errs genassym gensetdefs kernel linterrs \ makelinks param.c setdefs.h symbols.exclude symbols.sort tags \ |