change handling of libkern:

-sys/lib/libkern builds as library per default (as it was documented all
 the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
 (for now; should depend on actual "option LKM" or -better- functions
 included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
 by libcompat, but not the other way
This commit is contained in:
drochner 1998-10-15 18:37:13 +00:00
parent 34f348a9e4
commit 2468738337
21 changed files with 57 additions and 43 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.alpha,v 1.44 1998/09/05 15:15:14 lukem Exp $
# $NetBSD: Makefile.alpha,v 1.45 1998/10/15 18:37:13 drochner Exp $
# Makefile for NetBSD
#
@ -91,7 +91,7 @@ NORMAL_S= ${CPP} ${AFLAGS} ${CPPFLAGS} $< | sed -e 's,^\#.*,,' | ${AS} -o ${.TAR
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ= locore.o transfer.o \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.amiga,v 1.76 1998/09/05 15:15:14 lukem Exp $
# $NetBSD: Makefile.amiga,v 1.77 1998/10/15 18:37:13 drochner Exp $
# Makefile for NetBSD
#
@ -61,6 +61,7 @@ LINKFLAGS= -n -Ttext 0 -e start
STRIPFLAGS= -d
### find out what to use for libkern
KERN_AS= obj
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF
LIBKERN= ${KERNLIB}
@ -107,7 +108,7 @@ NORMAL_G= gspa < $< | gspahextoc > $*.c; ${CC} -c ${CFLAGS} ${PROF} $*.c
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ= locore.o ${FPSP} \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.arm32,v 1.39 1998/09/06 02:41:19 mark Exp $
# $NetBSD: Makefile.arm32,v 1.40 1998/10/15 18:37:13 drochner Exp $
# Makefile for NetBSD
#
@ -60,6 +60,7 @@ HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//}
HOSTED_CFLAGS= ${CFLAGS}
### find out what to use for libkern
KERN_AS= obj
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF
LIBKERN= ${KERNLIB}
@ -97,10 +98,10 @@ HOSTED_C= ${HOSTED_CC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} -c $<
# ${SYSTEM_LD_TAIL}
.ifdef MONITOR
SYSTEM_OBJ= locore.o modedefs.o \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
.else
SYSTEM_OBJ= locore.o \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
.endif
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= rm -f $@

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.atari,v 1.47 1998/09/05 15:15:14 lukem Exp $
# $NetBSD: Makefile.atari,v 1.48 1998/10/15 18:37:14 drochner Exp $
# Makefile for NetBSD
#
@ -65,6 +65,7 @@ HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//}
HOSTED_CFLAGS= ${CFLAGS}
### find out what to use for libkern
KERN_AS= obj
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF
LIBKERN= ${KERNLIB}
@ -107,7 +108,7 @@ HOSTED_C= ${HOSTED_CC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} -c $<
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ= locore.o ${FPSP} \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.bebox,v 1.8 1998/09/05 15:15:15 lukem Exp $
# $NetBSD: Makefile.bebox,v 1.9 1998/10/15 18:37:14 drochner Exp $
# Makefile for NetBSD
#
@ -91,7 +91,7 @@ NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ= locore.o \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.hp300,v 1.64 1998/09/05 15:15:15 lukem Exp $
# $NetBSD: Makefile.hp300,v 1.65 1998/10/15 18:37:14 drochner Exp $
# Makefile for NetBSD
#
@ -60,6 +60,7 @@ HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//}
HOSTED_CFLAGS= ${CFLAGS}
### find out what to use for libkern
KERN_AS= obj
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF
LIBKERN= ${KERNLIB}
@ -99,7 +100,7 @@ HOSTED_C= ${HOSTED_CC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} -c $<
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ= locore.o ${FPSP} \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.i386,v 1.93 1998/09/05 15:15:15 lukem Exp $
# $NetBSD: Makefile.i386,v 1.94 1998/10/15 18:37:14 drochner Exp $
# Makefile for NetBSD
#
@ -56,6 +56,7 @@ LINKFLAGS= -z -Ttext F0100000 -e start
STRIPFLAGS= -d
### find out what to use for libkern
KERN_AS= obj
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF
LIBKERN= ${KERNLIB}
@ -90,7 +91,7 @@ NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ= locore.o \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.mac68k,v 1.64 1998/09/05 15:15:16 lukem Exp $
# $NetBSD: Makefile.mac68k,v 1.65 1998/10/15 18:37:15 drochner Exp $
# Makefile for NetBSD
#
@ -56,6 +56,7 @@ LINKFLAGS= -n -Ttext 0 -e start
STRIPFLAGS= -d
### Find out what to use for libkern.
KERN_AS= obj
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF
LIBKERN=${KERNLIB}
@ -93,7 +94,7 @@ NORMAL_S= ${CPP} ${AFLAGS} ${CPPFLAGS} $< | sed -e 's/^\#.*//' | ${AS} -o ${.TAR
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ= locore.o ${FPSP} \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.macppc,v 1.3 1998/09/05 15:15:16 lukem Exp $
# $NetBSD: Makefile.macppc,v 1.4 1998/10/15 18:37:15 drochner Exp $
#
# Makefile for NetBSD
#
@ -99,7 +99,7 @@ NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ= locore.o \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.mvme68k,v 1.35 1998/09/05 15:15:16 lukem Exp $
# $NetBSD: Makefile.mvme68k,v 1.36 1998/10/15 18:37:15 drochner Exp $
# Makefile for NetBSD
#
@ -62,6 +62,7 @@ HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//}
HOSTED_CFLAGS= ${CFLAGS}
### find out what to use for libkern
KERN_AS= obj
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF
LIBKERN= ${KERNLIB}
@ -101,7 +102,7 @@ HOSTED_C= ${HOSTED_CC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} -c $<
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ= locore.o ${FPSP} \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.newsmips,v 1.8 1998/09/05 15:15:17 lukem Exp $
# $NetBSD: Makefile.newsmips,v 1.9 1998/10/15 18:37:15 drochner Exp $
# Makefile for NetBSD
#
@ -93,7 +93,7 @@ NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ= locore.o fp.o locore_machdep.o \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o ; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.next68k,v 1.3 1998/09/05 15:15:17 lukem Exp $
# $NetBSD: Makefile.next68k,v 1.4 1998/10/15 18:37:15 drochner Exp $
# Makefile for NetBSD
#
@ -64,6 +64,7 @@ STRIPFLAGS?= -d
#STRIPFLAGS= -S
### Find out what to use for libkern.
KERN_AS= obj
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF
LIBKERN=${KERNLIB}
@ -101,7 +102,7 @@ NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ= locore.o ${FPSP} \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.ofppc,v 1.15 1998/09/05 15:15:17 lukem Exp $
# $NetBSD: Makefile.ofppc,v 1.16 1998/10/15 18:37:15 drochner Exp $
#
# Makefile for NetBSD
#
@ -100,7 +100,7 @@ NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ= locore.o \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.pc532,v 1.51 1998/09/05 15:15:17 lukem Exp $
# $NetBSD: Makefile.pc532,v 1.52 1998/10/15 18:37:16 drochner Exp $
# Makefile for NetBSD
#
@ -60,6 +60,7 @@ HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//}
HOSTED_CFLAGS= ${CFLAGS}
### find out what to use for libkern
KERN_AS= obj
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF
LIBKERN= ${KERNLIB}
@ -96,7 +97,7 @@ HOSTED_C= ${HOSTED_CC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} -c $<
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ= locore.o \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.pica,v 1.22 1998/09/05 15:15:17 lukem Exp $
# $NetBSD: Makefile.pica,v 1.23 1998/10/15 18:37:16 drochner Exp $
# Makefile for NetBSD
#
@ -93,7 +93,7 @@ NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ= locore.o fp.o locore_machdep.o \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o ; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.pmax,v 1.61 1998/09/05 15:15:17 lukem Exp $
# $NetBSD: Makefile.pmax,v 1.62 1998/10/15 18:44:11 drochner Exp $
# Makefile for NetBSD
#
@ -94,7 +94,7 @@ NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ= locore.o fp.o locore_machdep.o \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o ; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.sparc,v 1.53 1998/09/05 15:15:18 lukem Exp $
# $NetBSD: Makefile.sparc,v 1.54 1998/10/15 18:37:16 drochner Exp $
# Makefile for NetBSD
#
@ -57,6 +57,7 @@ LINKFLAGS= -N -p -Ttext F0004000 -e start
STRIPFLAGS= -d
### find out what to use for libkern
KERN_AS= obj
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF
LIBKERN= ${KERNLIB}
@ -91,7 +92,7 @@ NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ= locore.o \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.sparc64,v 1.5 1998/09/02 05:51:35 eeh Exp $
# $NetBSD: Makefile.sparc64,v 1.6 1998/10/15 18:37:16 drochner Exp $
# Makefile for NetBSD
#
@ -62,6 +62,7 @@ LINKFLAGS= -N -p -Ttext f8000000 -e start >lderr
#STRIPFLAGS= -d
### find out what to use for libkern
KERN_AS= obj
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF
LIBKERN= ${KERNLIB}
@ -95,7 +96,7 @@ NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ= locore.o \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.sun3,v 1.70 1998/09/05 15:15:18 lukem Exp $
# $NetBSD: Makefile.sun3,v 1.71 1998/10/15 18:37:16 drochner Exp $
# Makefile for NetBSD
#
@ -72,6 +72,7 @@ LINKFLAGS= -N -Ttext ${TEXTADDR} -e start
STRIPFLAGS= -d
### find out what to use for libkern
KERN_AS= obj
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF
LIBKERN= ${KERNLIB}
@ -116,7 +117,7 @@ NORMAL_S= ${CPP} ${APPFLAGS} $< > $*.s ;\
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ= locore.o \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.vax,v 1.44 1998/09/05 15:15:18 lukem Exp $
# $NetBSD: Makefile.vax,v 1.45 1998/10/15 18:37:17 drochner Exp $
# Makefile for NetBSD
#
@ -60,6 +60,7 @@ HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//}
HOSTED_CFLAGS= ${CFLAGS}
### find out what to use for libkern
KERN_AS= obj
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF
LIBKERN= ${KERNLIB}
@ -96,7 +97,7 @@ HOSTED_C= ${HOSTED_CC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} -c $<
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ= intvec.o subr.o \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.x68k,v 1.28 1998/09/05 15:15:18 lukem Exp $
# $NetBSD: Makefile.x68k,v 1.29 1998/10/15 18:37:17 drochner Exp $
# Makefile for NetBSD
#
@ -65,6 +65,7 @@ HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//}
HOSTED_CFLAGS= ${CFLAGS}
### find out what to use for libkern
KERN_AS= obj
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF
LIBKERN= ${KERNLIB}
@ -107,7 +108,7 @@ HOSTED_C= ${HOSTED_CC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} -c $<
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
SYSTEM_OBJ= locore.o ${FPSP} \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \