Put into . Remove hooks for `config-dependent' and

`device-driver' flags.
This commit is contained in:
mycroft 1996-08-12 00:51:24 +00:00
parent 88578318ca
commit 558d72128e
15 changed files with 139 additions and 238 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.alpha,v 1.20 1996/08/10 06:07:57 mycroft Exp $
# $NetBSD: Makefile.alpha,v 1.21 1996/08/12 00:51:24 mycroft Exp $
# Makefile for NetBSD
#
@ -32,7 +32,8 @@ S!= cd ../../../..; pwd
ALPHA= $S/arch/alpha
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dalpha
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dalpha
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
CFLAGS= ${DEBUG} ${CWARNFLAGS} -O2 -mno-fp-regs
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
@ -54,21 +55,13 @@ LIBCOMPAT= ${COMPATLIB}
LIBCOMPAT= ${COMPATLIB_PROF}
.endif
# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP}
# where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix,
# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file
# is marked as config-dependent.
# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
# HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).
NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
DRIVER_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
DRIVER_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
NORMAL_S_C= ${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
HOSTED_C_C= ${NORMAL_C_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
HOSTED_C= ${NORMAL_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
%OBJS
@ -108,14 +101,14 @@ genassym: genassym.o
${CC} -o $@ genassym.o
genassym.o: ${ALPHA}/alpha/genassym.c
${HOSTED_C_C}
${HOSTED_C}
param.c: $S/conf/param.c
rm -f param.c
cp $S/conf/param.c .
param.o: param.c Makefile
${NORMAL_C_C}
${NORMAL_C}
ioconf.o: ioconf.c
${NORMAL_C}
@ -130,7 +123,7 @@ clean::
[Ee]rrs linterrs makelinks genassym genassym.o assym.h
lint:
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \
${ALPHA}/alpha/Locore.c ${CFILES} ${ALPHA}/alpha/swapgeneric.c \
ioconf.c param.c | \
grep -v 'static function .* unused'
@ -153,7 +146,7 @@ depend:: .depend
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${ALPHA}/alpha/locore.s
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${ALPHA}/alpha/genassym.c
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${ALPHA}/alpha/genassym.c
# depend on root or device configuration

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.amiga,v 1.47 1996/08/10 06:08:15 mycroft Exp $
# $NetBSD: Makefile.amiga,v 1.48 1996/08/12 00:51:27 mycroft Exp $
# Makefile for NetBSD
#
@ -32,7 +32,8 @@ S!= cd ../../../..; pwd
AMIGA= $S/arch/amiga
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dmc68020 -Damiga
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dmc68020 -Damiga
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes
.if empty(IDENT:M-DM68060)
CMACHFLAGS= -m68020
@ -65,21 +66,13 @@ LIBCOMPAT= ${COMPATLIB_PROF}
### for the Motorola 68060 Software Support Package
.include "$S/arch/m68k/060sp/Makefile.inc"
# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP}
# where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix,
# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file
# is marked as config-dependent.
# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
# HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).
NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
DRIVER_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
DRIVER_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
NORMAL_S_C= ${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
HOSTED_C_C= ${NORMAL_C_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
HOSTED_C= ${NORMAL_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
.SUFFIXES: .o .g
@ -125,14 +118,14 @@ genassym: genassym.o
${CC} -o $@ genassym.o
genassym.o: ${AMIGA}/amiga/genassym.c
${HOSTED_C_C}
${HOSTED_C}
param.c: $S/conf/param.c
rm -f param.c
cp $S/conf/param.c .
param.o: param.c Makefile
${NORMAL_C_C}
${NORMAL_C}
ioconf.o: ioconf.c
${NORMAL_C}
@ -147,7 +140,7 @@ clean::
[Ee]rrs linterrs makelinks genassym genassym.o assym.h
lint:
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \
${AMIGA}/amiga/Locore.c ${CFILES} ${AMIGA}/amiga/swapgeneric.c \
ioconf.c param.c | \
grep -v 'static function .* unused'
@ -170,7 +163,7 @@ depend:: .depend
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${AMIGA}/amiga/locore.s
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${AMIGA}/amiga/genassym.c
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${AMIGA}/amiga/genassym.c
# depend on root or device configuration

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.arm32,v 1.14 1996/08/10 06:08:26 mycroft Exp $
# $NetBSD: Makefile.arm32,v 1.15 1996/08/12 00:51:29 mycroft Exp $
# Makefile for NetBSD
#
@ -32,7 +32,8 @@ S!= cd ../../../..; pwd
ARM32= $S/arch/arm32
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Darm32
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Darm32
CWARNFLAGS= -Werror
CFLAGS= ${DEBUG} ${CWARNFLAGS} -O2
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
@ -54,21 +55,13 @@ LIBCOMPAT= ${COMPATLIB}
LIBCOMPAT= ${COMPATLIB_PROF}
.endif
# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP}
# where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix,
# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file
# is marked as config-dependent.
# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
# HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).
NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
DRIVER_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
DRIVER_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
NORMAL_S_C= ${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
HOSTED_C_C= ${NORMAL_C_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
HOSTED_C= ${NORMAL_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
%OBJS
@ -108,14 +101,14 @@ genassym: genassym.o
${CC} -o $@ genassym.o
genassym.o: ${ARM32}/arm32/genassym.c
${HOSTED_C_C}
${HOSTED_C}
param.c: $S/conf/param.c
rm -f param.c
cp $S/conf/param.c .
param.o: param.c Makefile
${NORMAL_C_C}
${NORMAL_C}
ioconf.o: ioconf.c
${NORMAL_C}
@ -130,7 +123,7 @@ clean::
[Ee]rrs linterrs makelinks genassym genassym.o assym.h
lint:
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \
${ARM32}/arm32/Locore.c ${CFILES} ${ARM32}/arm32/swapgeneric.c \
ioconf.c param.c | \
grep -v 'static function .* unused'
@ -154,7 +147,7 @@ depend:: .depend
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} modedefs.c
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${ARM32}/arm32/genassym.c
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${ARM32}/arm32/genassym.c
# depend on root or device configuration
@ -183,6 +176,6 @@ makemodes: makemodes.o
${CC} -o $@ makemodes.o
makemodes.o: ${ARM32}/arm32/makemodes.c
${NORMAL_C_C}
${NORMAL_C}
%RULES

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.atari,v 1.20 1996/08/10 06:08:41 mycroft Exp $
# $NetBSD: Makefile.atari,v 1.21 1996/08/12 00:51:31 mycroft Exp $
# Makefile for NetBSD
#
@ -32,7 +32,8 @@ S!= cd ../../../..; pwd
ATARI= $S/arch/atari
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dmc68020 -Datari
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dmc68020 -Datari
CWARNFLAGS= -Werror
CFLAGS= ${DEBUG} ${CWARNFLAGS} -O2 -msoft-float -mc68020
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
@ -57,21 +58,13 @@ LIBCOMPAT= ${COMPATLIB_PROF}
### for the Motorola 68040 Floating Point Software Product
.include "$S/arch/m68k/fpsp/Makefile.inc"
# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP}
# where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix,
# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file
# is marked as config-dependent.
# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
# HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).
NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
DRIVER_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
DRIVER_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
NORMAL_S_C= ${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
HOSTED_C_C= ${NORMAL_C_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
HOSTED_C= ${NORMAL_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
%OBJS
@ -111,14 +104,14 @@ genassym: genassym.o
${CC} -o $@ genassym.o
genassym.o: ${ATARI}/atari/genassym.c
${HOSTED_C_C}
${HOSTED_C}
param.c: $S/conf/param.c
rm -f param.c
cp $S/conf/param.c .
param.o: param.c Makefile
${NORMAL_C_C}
${NORMAL_C}
ioconf.o: ioconf.c
${NORMAL_C}
@ -133,7 +126,7 @@ clean::
[Ee]rrs linterrs makelinks genassym genassym.o assym.h
lint:
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \
${ATARI}/atari/Locore.c ${CFILES} ${ATARI}/atari/swapgeneric.c \
ioconf.c param.c | \
grep -v 'static function .* unused'
@ -156,7 +149,7 @@ depend:: .depend
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${ATARI}/atari/locore.s
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${ATARI}/atari/genassym.c
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${ATARI}/atari/genassym.c
# depend on root or device configuration

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.hp300,v 1.41 1996/08/10 06:08:51 mycroft Exp $
# $NetBSD: Makefile.hp300,v 1.42 1996/08/12 00:51:35 mycroft Exp $
# Makefile for NetBSD
#
@ -32,7 +32,8 @@ S!= cd ../../../..; pwd
HP300= $S/arch/hp300
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dmc68020 -Dhp300 -DFPCOPROC
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dmc68020 -Dhp300 -DFPCOPROC
CWARNFLAGS= -Werror
CFLAGS= ${DEBUG} ${CWARNFLAGS} -O2 -msoft-float
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
@ -57,21 +58,13 @@ LIBCOMPAT= ${COMPATLIB_PROF}
### for the Motorola 68040 Floating Point Software Product
.include "$S/arch/m68k/fpsp/Makefile.inc"
# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP}
# where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix,
# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file
# is marked as config-dependent.
# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
# HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).
NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
DRIVER_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
DRIVER_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
NORMAL_S_C= ${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
HOSTED_C_C= ${NORMAL_C_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
HOSTED_C= ${NORMAL_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
%OBJS
@ -111,14 +104,14 @@ genassym: genassym.o
${CC} -o $@ genassym.o
genassym.o: ${HP300}/hp300/genassym.c
${HOSTED_C_C}
${HOSTED_C}
param.c: $S/conf/param.c
rm -f param.c
cp $S/conf/param.c .
param.o: param.c Makefile
${NORMAL_C_C}
${NORMAL_C}
ioconf.o: ioconf.c
${NORMAL_C}
@ -133,7 +126,7 @@ clean::
[Ee]rrs linterrs makelinks genassym genassym.o assym.h
lint:
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \
${HP300}/hp300/Locore.c ${CFILES} ${HP300}/hp300/swapgeneric.c \
ioconf.c param.c | \
grep -v 'static function .* unused'
@ -158,7 +151,7 @@ depend:: .depend
-if test -n "${SFILES}"; then \
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}; \
fi
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${HP300}/hp300/genassym.c
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${HP300}/hp300/genassym.c
# depend on root or device configuration

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.i386,v 1.70 1996/08/10 08:40:53 mycroft Exp $
# $NetBSD: Makefile.i386,v 1.71 1996/08/12 00:51:40 mycroft Exp $
# Makefile for NetBSD
#
@ -32,7 +32,8 @@ S!= cd ../../../..; pwd
I386= $S/arch/i386
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Di386
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Di386
CWARNFLAGS= -Werror -Wreturn-type
CFLAGS= ${DEBUG} ${CWARNFLAGS} -O2
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
@ -54,21 +55,13 @@ LIBCOMPAT= ${COMPATLIB}
LIBCOMPAT= ${COMPATLIB_PROF}
.endif
# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP}
# where TYPE is NORMAL, DRIVER, or PROFILE; SUFFIX is the file suffix,
# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file
# is marked as config-dependent.
# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
# HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).
NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
DRIVER_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
DRIVER_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
NORMAL_S_C= ${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
HOSTED_C_C= ${NORMAL_C_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
HOSTED_C= ${NORMAL_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
%OBJS
@ -108,14 +101,14 @@ genassym: genassym.o
${CC} -o $@ genassym.o
genassym.o: ${I386}/i386/genassym.c
${HOSTED_C_C}
${HOSTED_C}
param.c: $S/conf/param.c
rm -f param.c
cp $S/conf/param.c .
param.o: param.c Makefile
${NORMAL_C_C}
${NORMAL_C}
ioconf.o: ioconf.c
${NORMAL_C}
@ -130,7 +123,7 @@ clean::
[Ee]rrs linterrs makelinks genassym genassym.o assym.h
lint:
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \
${I386}/i386/Locore.c ${CFILES} ${I386}/i386/swapgeneric.c \
ioconf.c param.c | \
grep -v 'static function .* unused'
@ -153,7 +146,7 @@ depend:: .depend
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${I386}/i386/locore.s
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${I386}/i386/genassym.c
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${I386}/i386/genassym.c
# depend on root or device configuration

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.mac68k,v 1.40 1996/08/10 06:09:07 mycroft Exp $
# $NetBSD: Makefile.mac68k,v 1.41 1996/08/12 00:51:44 mycroft Exp $
# Makefile for NetBSD
#
@ -32,7 +32,8 @@ S!= cd ../../../..; pwd
MAC68K= $S/arch/mac68k
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dmc68020 -Dmac68k
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dmc68020 -Dmac68k
CWARNFLAGS= -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
CFLAGS= ${DEBUG} ${CWARNFLAGS} -O -msoft-float
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
@ -57,21 +58,13 @@ LIBCOMPAT=${COMPATLIB_PROF}
### for the Motorola 68040 Floating Point Software Product
.include "$S/arch/m68k/fpsp/Makefile.inc"
# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP}
# where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix,
# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file
# is marked as config-dependent.
# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
# HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).
NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
DRIVER_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
DRIVER_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
NORMAL_S_C= ${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
HOSTED_C_C= ${NORMAL_C_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
HOSTED_C= ${NORMAL_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
%OBJS
@ -111,14 +104,14 @@ genassym: genassym.o
${CC} -o $@ genassym.o
genassym.o: ${MAC68K}/mac68k/genassym.c
${HOSTED_C_C}
${HOSTED_C}
param.c: $S/conf/param.c
rm -f param.c
cp $S/conf/param.c .
param.o: param.c Makefile
${NORMAL_C_C}
${NORMAL_C}
ioconf.o: ioconf.c
${NORMAL_C}
@ -133,7 +126,7 @@ clean::
[Ee]rrs linterrs makelinks genassym genassym.o assym.h
lint:
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \
${MAC68K}/mac68k/Locore.c ${CFILES} ${MAC68K}/mac68k/swapgeneric.c \
ioconf.c param.c | \
grep -v 'static function .* unused'
@ -156,7 +149,7 @@ depend:: .depend
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${MAC68K}/mac68k/locore.s
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${MAC68K}/mac68k/genassym.c
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${MAC68K}/mac68k/genassym.c
# depend on root or device configuration

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.mvme68k,v 1.13 1996/08/10 06:09:16 mycroft Exp $
# $NetBSD: Makefile.mvme68k,v 1.14 1996/08/12 00:51:48 mycroft Exp $
# Makefile for NetBSD
#
@ -32,7 +32,8 @@ S!= cd ../../../..; pwd
MVME68K=$S/arch/mvme68k
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dmc68020 -Dmvme68k -DFPCOPROC
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dmc68020 -Dmvme68k -DFPCOPROC
CWARNFLAGS= -Werror
CFLAGS= ${DEBUG} ${CWARNFLAGS} -O2 -msoft-float
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
@ -57,21 +58,13 @@ LIBCOMPAT= ${COMPATLIB_PROF}
### for the Motorola 68040 Floating Point Software Product
.include "$S/arch/m68k/fpsp/Makefile.inc"
# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP}
# where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix,
# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file
# is marked as config-dependent.
# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
# HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).
NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
DRIVER_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
DRIVER_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
NORMAL_S_C= ${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
HOSTED_C_C= ${NORMAL_C_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
HOSTED_C= ${NORMAL_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
%OBJS
@ -111,14 +104,14 @@ genassym: genassym.o
${CC} -o $@ genassym.o
genassym.o: ${MVME68K}/mvme68k/genassym.c
${HOSTED_C_C}
${HOSTED_C}
param.c: $S/conf/param.c
rm -f param.c
cp $S/conf/param.c .
param.o: param.c Makefile
${NORMAL_C_C}
${NORMAL_C}
ioconf.o: ioconf.c
${NORMAL_C}
@ -133,7 +126,7 @@ clean::
[Ee]rrs linterrs makelinks genassym genassym.o assym.h
lint:
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \
${MVME68K}/mvme68k/Locore.c ${CFILES} ${MVME68K}/mvme68k/swapgeneric.c \
ioconf.c param.c | \
grep -v 'static function .* unused'
@ -156,7 +149,7 @@ depend:: .depend
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${MVME68K}/mvme68k/locore.s
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${MVME68K}/mvme68k/genassym.c
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${MVME68K}/mvme68k/genassym.c
# depend on root or device configuration

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.pc532,v 1.28 1996/08/10 06:09:22 mycroft Exp $
# $NetBSD: Makefile.pc532,v 1.29 1996/08/12 00:51:52 mycroft Exp $
# Makefile for NetBSD
#
@ -32,7 +32,7 @@ S!= cd ../../../..; pwd
PC532= $S/arch/pc532
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL
CWARNFLAGS= -Werror
CFLAGS= ${DEBUG} ${CWARNFLAGS} -O2 -msb
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
@ -54,21 +54,13 @@ LIBCOMPAT= ${COMPATLIB}
LIBCOMPAT= ${COMPATLIB_PROF}
.endif
# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP}
# where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix,
# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file
# is marked as config-dependent.
# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
# HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).
NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
DRIVER_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
DRIVER_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
NORMAL_S_C= ${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
HOSTED_C_C= ${NORMAL_C_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
HOSTED_C= ${NORMAL_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
%OBJS
@ -108,14 +100,14 @@ genassym: genassym.o
${CC} -o $@ genassym.o
genassym.o: ${PC532}/pc532/genassym.c
${HOSTED_C_C}
${HOSTED_C}
param.c: $S/conf/param.c
rm -f param.c
cp $S/conf/param.c .
param.o: param.c Makefile
${NORMAL_C_C}
${NORMAL_C}
ioconf.o: ioconf.c
${NORMAL_C}
@ -130,7 +122,7 @@ clean::
[Ee]rrs linterrs makelinks genassym genassym.o assym.h
lint:
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \
${PC532}/pc532/Locore.c ${CFILES} ${PC532}/pc532/swapgeneric.c \
ioconf.c param.c | \
grep -v 'static function .* unused'
@ -153,7 +145,7 @@ depend:: .depend
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${PC532}/pc532/locore.s
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${PC532}/pc532/genassym.c
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PC532}/pc532/genassym.c
# depend on root or device configuration

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.pica,v 1.6 1996/08/10 06:09:28 mycroft Exp $
# $NetBSD: Makefile.pica,v 1.7 1996/08/12 00:51:56 mycroft Exp $
# Makefile for NetBSD
#
@ -32,7 +32,8 @@ S!= cd ../../../..; pwd
PICA= $S/arch/pica
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dpica -D__NetBSD__ ${GP}
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dpica -D__NetBSD__ ${GP}
CWARNFLAGS= -Werror
CFLAGS= ${DEBUG} ${CWARNFLAGS} -O2 -mips2 -mcpu=r4000
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
@ -54,21 +55,13 @@ LIBCOMPAT= ${COMPATLIB}
LIBCOMPAT= ${COMPATLIB_PROF}
.endif
# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP}
# where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix,
# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file
# is marked as config-dependent.
# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
# HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).
NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
DRIVER_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
DRIVER_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
NORMAL_S_C= ${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
HOSTED_C_C= ${NORMAL_C_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
HOSTED_C= ${NORMAL_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
%OBJS
@ -114,14 +107,14 @@ genassym: genassym.o
${CC} -o $@ genassym.o
genassym.o: ${PICA}/pica/genassym.c
${HOSTED_C_C}
${HOSTED_C}
param.c: $S/conf/param.c
rm -f param.c
cp $S/conf/param.c .
param.o: param.c Makefile
${NORMAL_C_C}
${NORMAL_C}
ioconf.o: ioconf.c
${NORMAL_C}
@ -136,7 +129,7 @@ clean::
[Ee]rrs linterrs makelinks genassym genassym.o assym.h
lint:
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \
${PICA}/pica/Locore.c ${CFILES} ${PICA}/pica/swapgeneric.c \
ioconf.c param.c | \
grep -v 'static function .* unused'
@ -159,7 +152,7 @@ depend:: .depend
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${PMAX}/pmax/locore.S ${PMAX}/pica/fp.S
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${PMAX}/pmax/genassym.c
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PMAX}/pmax/genassym.c
# depend on root or device configuration

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.pmax,v 1.31 1996/08/10 06:09:41 mycroft Exp $
# $NetBSD: Makefile.pmax,v 1.32 1996/08/12 00:52:01 mycroft Exp $
# Makefile for NetBSD
#
@ -32,7 +32,8 @@ S!= cd ../../../..; pwd
PMAX= $S/arch/pmax
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dpmax ${GP}
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dpmax ${GP}
CWARNFLAGS= -Werror
CFLAGS= ${DEBUG} ${CWARNFLAGS} -O2
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
@ -54,21 +55,13 @@ LIBCOMPAT= ${COMPATLIB}
LIBCOMPAT= ${COMPATLIB_PROF}
.endif
# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP}
# where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix,
# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file
# is marked as config-dependent.
# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
# HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).
NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
DRIVER_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
DRIVER_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
NORMAL_S_C= ${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
HOSTED_C_C= ${NORMAL_C_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
HOSTED_C= ${NORMAL_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
%OBJS
@ -112,15 +105,15 @@ assym.h: genassym
genassym: genassym.o
${CC} -o $@ genassym.o
genassym.o: ${S}/arch/mips/mips/genassym.c
${HOSTED_C_C}
genassym.o: $S/arch/mips/mips/genassym.c
${HOSTED_C}
param.c: $S/conf/param.c
rm -f param.c
cp $S/conf/param.c .
param.o: param.c Makefile
${NORMAL_C_C}
${NORMAL_C}
ioconf.o: ioconf.c
${NORMAL_C}
@ -135,7 +128,7 @@ clean::
[Ee]rrs linterrs makelinks genassym genassym.o assym.h
lint:
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \
${PMAX}/pmax/Locore.c ${CFILES} ${PMAX}/pmax/swapgeneric.c \
ioconf.c param.c | \
grep -v 'static function .* unused'
@ -158,7 +151,7 @@ depend:: .depend
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${PMAX}/pmax/locore.S ${PMAX}/pmax/fp.S
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${S}/arch/mips/mips/genassym.c
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} $S/arch/mips/mips/genassym.c
# depend on root or device configuration

Binary file not shown.

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.sun3,v 1.48 1996/08/10 06:10:07 mycroft Exp $
# $NetBSD: Makefile.sun3,v 1.49 1996/08/12 00:52:11 mycroft Exp $
# Makefile for NetBSD
#
@ -34,7 +34,8 @@ SUN3= $S/arch/sun3
# Override CPP defaults entirely, so cross-compilation works.
INCLUDES= -I. -I$S/arch -I$S -nostdinc
XDEFS= -undef -D__NetBSD__ -Dm68k -Dmc68000
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dmc68020 -Dsun3 ${XDEFS}
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dmc68020 -Dsun3 ${XDEFS}
CWARNFLAGS= -Werror # -Wall -Wstrict-prototypes -Wmissing-prototypes
CFLAGS= ${DEBUG} ${CWARNFLAGS} -O2 -msoft-float
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
@ -56,21 +57,13 @@ LIBCOMPAT= ${COMPATLIB}
LIBCOMPAT= ${COMPATLIB_PROF}
.endif
# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP}
# where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix,
# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file
# is marked as config-dependent.
# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
# HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).
NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
DRIVER_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
DRIVER_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
NORMAL_S_C= ${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
HOSTED_C_C= ${NORMAL_C_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
HOSTED_C= ${NORMAL_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
%OBJS
@ -110,14 +103,14 @@ genassym: genassym.o
${CC} -o $@ genassym.o
genassym.o: ${SUN3}/sun3/genassym.c
${HOSTED_C_C}
${HOSTED_C}
param.c: $S/conf/param.c
rm -f param.c
cp $S/conf/param.c .
param.o: param.c Makefile
${NORMAL_C_C}
${NORMAL_C}
ioconf.o: ioconf.c
${NORMAL_C}
@ -132,7 +125,7 @@ clean::
[Ee]rrs linterrs makelinks genassym genassym.o assym.h
lint:
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \
${SUN3}/sun3/Locore.c ${CFILES} ${SUN3}/sun3/swapgeneric.c \
ioconf.c param.c | \
grep -v 'static function .* unused'
@ -153,7 +146,7 @@ SRCS= ${SUN3}/sun3/locore.s \
depend:: .depend
.depend: ${SRCS} assym.h param.c
${MKDEP} ${AFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${SUN3}/sun3/genassym.c
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${SUN3}/sun3/genassym.c
# XXX - see below
# ${MKDEP} -a ${APPFLAGS} ${SUN3}/sun3/locore.s

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.vax,v 1.24 1996/08/10 06:10:18 mycroft Exp $
# $NetBSD: Makefile.vax,v 1.25 1996/08/12 00:52:16 mycroft Exp $
# Makefile for NetBSD
#
@ -33,7 +33,8 @@ S!= cd ../../../..; pwd
VAX= $S/arch/vax
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -D_VAX_INLINE_
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-D_VAX_INLINE_
CWARNFLAGS= -Werror
CFLAGS= ${DEBUG} ${CWARNFLAGS} -O2
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
@ -55,21 +56,13 @@ LIBCOMPAT= ${COMPATLIB}
LIBCOMPAT= ${COMPATLIB_PROF}
.endif
# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP}
# where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix,
# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file
# is marked as config-dependent.
# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
# HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).
NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
DRIVER_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
DRIVER_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
NORMAL_S_C= ${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
HOSTED_C_C= ${NORMAL_C_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
HOSTED_C= ${NORMAL_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
%OBJS
@ -107,7 +100,7 @@ param.c: $S/conf/param.c
cp $S/conf/param.c .
param.o: param.c Makefile
${NORMAL_C_C}
${NORMAL_C}
ioconf.o: ioconf.c
${NORMAL_C}
@ -122,7 +115,7 @@ clean::
[Ee]rrs linterrs makelinks
lint:
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \
${VAX}/vax/Locore.c ${CFILES} ${VAX}/vax/swapgeneric.c \
ioconf.c param.c | \
grep -v 'static function .* unused'

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.x68k,v 1.5 1996/08/10 06:10:27 mycroft Exp $
# $NetBSD: Makefile.x68k,v 1.6 1996/08/12 00:52:20 mycroft Exp $
# Makefile for NetBSD
#
@ -32,7 +32,8 @@ S!= cd ../../../..; pwd
X68K= $S/arch/x68k
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dmc68020 -Dx68k -DFPCOPROC
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dmc68020 -Dx68k -DFPCOPROC
CWARNFLAGS= -Werror
CFLAGS= ${DEBUG} ${CWARNFLAGS} -O2 -msoft-float
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
@ -60,21 +61,13 @@ LIBCOMPAT= ${COMPATLIB_PROF}
### for the Motorola 68060 Software Support Package
.include "$S/arch/m68k/060sp/Makefile.inc"
# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP}
# where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix,
# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file
# is marked as config-dependent.
# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
# HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).
NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
DRIVER_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
DRIVER_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
NORMAL_S_C= ${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
HOSTED_C_C= ${NORMAL_C_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
HOSTED_C= ${NORMAL_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
%OBJS
@ -114,14 +107,14 @@ genassym: genassym.o
${CC} -o $@ genassym.o
genassym.o: ${X68K}/x68k/genassym.c
${HOSTED_C_C}
${HOSTED_C}
param.c: $S/conf/param.c
rm -f param.c
cp $S/conf/param.c .
param.o: param.c Makefile
${NORMAL_C_C}
${NORMAL_C}
ioconf.o: ioconf.c
${NORMAL_C}
@ -136,7 +129,7 @@ clean::
[Ee]rrs linterrs makelinks genassym genassym.o assym.h
lint:
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \
${X68K}/x68k/Locore.c ${CFILES} ${X68K}/x68k/swapgeneric.c \
ioconf.c param.c | \
grep -v 'static function .* unused'
@ -161,7 +154,7 @@ depend:: .depend
-if test -n "${SFILES}"; then \
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}; \
fi
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${X68K}/x68k/genassym.c
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${X68K}/x68k/genassym.c
# depend on root or device configuration