Add ${LIBKERN} ${LIBCOMPAT} to SYSTEM_DEP so they are built.

Move ${DEBUG} from ${CC} to ${CFLAGS} for compatibility.
This commit is contained in:
gwr 1995-07-01 00:51:15 +00:00
parent 7787772880
commit 38c03f8581
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.sun3,v 1.32 1995/06/24 20:48:36 christos Exp $
# $NetBSD: Makefile.sun3,v 1.33 1995/07/01 00:51:15 gwr Exp $
#
# Makefile for NetBSD
@ -23,7 +23,7 @@
DEBUG?=-O
# PROF is set to -pg by config if profiling is requested (config -p).
AS= as
CC= cc ${DEBUG}
CC= cc
CPP= cpp
LD= ld
TOUCH= touch -f -c
@ -35,7 +35,7 @@ SUN3= ../..
INCLUDES= -I. -I../.. -I$S/arch -I$S/sys -I$S
COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -Dmc68020 -Dsun3
# We do NOT want accidental FP instructions in the kernel.
CFLAGS= -msoft-float ${COPTS}
CFLAGS= -msoft-float ${DEBUG} ${COPTS}
# What to use for libkern:
.include "$S/lib/libkern/Makefile.inc"
@ -87,7 +87,7 @@ LDX=-X
LDX=-S
.endif
SYSTEM_OBJ= locore.o vnode_if.o ${OBJS} param.o ioconf.o
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ} ${LIBKERN} ${LIBCOMPAT}
SYSTEM_LD_HEAD= @echo loading $@; rm -f $@
SYSTEM_LD= -@echo ${LD} ${LDX} -n -N -e start -T 0E004000 -o $@ \
'$${SYSTEM_OBJ}' vers.o ${LIBKERN} ${LIBCOMPAT}; \