Makefile.`arch`: - Add -lcompat
- Change clean: target to be a double dep one, so libraries can use the clean target too
This commit is contained in:
parent
98df248f95
commit
a5c53e5068
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.sparc,v 1.20 1995/05/16 22:25:11 jtc Exp $
|
||||
# $NetBSD: Makefile.sparc,v 1.21 1995/06/24 20:47:36 christos Exp $
|
||||
|
||||
# @(#)Makefile.sparc 8.1 (Berkeley) 7/19/93
|
||||
# Makefile for 4.4 BSD
|
||||
|
@ -46,6 +46,14 @@ LIBKERN= ${KERNLIB}
|
|||
LIBKERN= ${KERNLIB_PROF}
|
||||
.endif
|
||||
|
||||
### find out what to use for libcompat
|
||||
.include "$S/compat/common/Makefile.inc"
|
||||
.ifndef PROF
|
||||
LIBCOMPAT= ${COMPATLIB}
|
||||
.else
|
||||
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
|
||||
|
@ -81,7 +89,8 @@ LDX=-X
|
|||
.else
|
||||
LDX=-x
|
||||
.endif
|
||||
SYSTEM_OBJ= locore.o vnode_if.o ${OBJS} param.o ioconf.o ${LIBKERN}
|
||||
SYSTEM_OBJ= locore.o vnode_if.o ${OBJS} param.o ioconf.o \
|
||||
${LIBKERN} ${LIBCOMPAT}
|
||||
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
|
||||
SYSTEM_LD_HEAD= @echo loading $@; rm -f $@
|
||||
SYSTEM_LD= @${LD} ${LDX} -p -N -e start -T f8004000 -o $@ \
|
||||
|
@ -98,7 +107,7 @@ newvers:
|
|||
sh $S/conf/newvers.sh
|
||||
${CC} ${CFLAGS} -c vers.c
|
||||
|
||||
clean:
|
||||
clean::
|
||||
rm -f eddep *netbsd netbsd.gdb tags vnode_if.[ch] tags1 *.[io] \
|
||||
[a-z]*.s Errs errs linterrs makelinks genassym
|
||||
|
||||
|
|
Loading…
Reference in New Issue