diff options
author | wollman <wollman@FreeBSD.org> | 1994-08-13 03:50:34 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-08-13 03:50:34 +0000 |
commit | 07e1c7f69db19a5ad89c222176423820048eccc7 (patch) | |
tree | 07eb9071a15263c4512c588b90a4dc8f336abc9f /sys/conf | |
parent | 0bd3f2acaeda2f9008a0871df619278c12e9e1fc (diff) | |
download | FreeBSD-src-07e1c7f69db19a5ad89c222176423820048eccc7.zip FreeBSD-src-07e1c7f69db19a5ad89c222176423820048eccc7.tar.gz |
Change all #includes to follow the current Berkeley style. Some of these
``changes'' are actually not changes at all, but CVS sometimes has trouble
telling the difference.
This also includes support for second-directory compiles. This is not
quite complete yet, as `config' doesn't yet do the right thing. You can
still make it work trivially, however, by doing the following:
rm /sys/compile
mkdir /usr/obj/sys/compile
ln -s M-. /sys/compile
cd /sys/i386/conf
config MYKERNEL
cd ../../compile/MYKERNEL
ln -s /sys @
rm machine
ln -s @/i386/include machine
make depend
make
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/Makefile.i386 | 8 | ||||
-rw-r--r-- | sys/conf/Makefile.powerpc | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index 084fcfd..73df15a 100644 --- a/sys/conf/Makefile.i386 +++ b/sys/conf/Makefile.i386 @@ -1,6 +1,6 @@ # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.26 1994/05/26 13:38:01 rgrimes Exp $ +# $Id: Makefile.i386,v 1.27 1994/08/06 10:52:15 davidg Exp $ # # Makefile for FreeBSD # @@ -26,8 +26,12 @@ CC= cc CPP= cpp DBSYM= /usr/sbin/dbsym +.if exists(./@/.) +S= ./@ +.else S= ../.. -I386= ../../i386 +.endif +I386= ${S}/i386 CWARNFLAGS=-W -Wreturn-type -Wcomment # diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index 084fcfd..73df15a 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -1,6 +1,6 @@ # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.26 1994/05/26 13:38:01 rgrimes Exp $ +# $Id: Makefile.i386,v 1.27 1994/08/06 10:52:15 davidg Exp $ # # Makefile for FreeBSD # @@ -26,8 +26,12 @@ CC= cc CPP= cpp DBSYM= /usr/sbin/dbsym +.if exists(./@/.) +S= ./@ +.else S= ../.. -I386= ../../i386 +.endif +I386= ${S}/i386 CWARNFLAGS=-W -Wreturn-type -Wcomment # |