GENERIC: Add COMPAT_IBCS2 in too by default.

Makefile.`arch`:	- Add -lcompat
			- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
			- Add genassym to the clean targets
This commit is contained in:
christos 1995-06-24 20:39:40 +00:00
parent fc741845e6
commit a94817a5de
2 changed files with 15 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: GENERIC,v 1.16 1995/05/12 03:18:05 cgd Exp $
# $NetBSD: GENERIC,v 1.17 1995/06/24 20:39:40 christos Exp $
#
# GENERIC -- everything that's currently supported
#
@ -42,7 +42,7 @@ options COMPAT_43 # and 4.3BSD
options TCP_COMPAT_42 # TCP bug compatibility with 4.2BSD
options COMPAT_SVR4 # binary compatibility with SVR4
#options COMPAT_IBCS2 # binary compatibility with SCO and ISC
options COMPAT_IBCS2 # binary compatibility with SCO and ISC
options COMPAT_LINUX # binary compatibility with Linux
options USER_LDT # user-settable LDT; used by WINE

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.i386,v 1.55 1995/05/16 22:24:50 jtc Exp $
# $NetBSD: Makefile.i386,v 1.56 1995/06/24 20:39:42 christos Exp $
# @(#)Makefile.hp300 8.2 (Berkeley) 1/23/94
#
# Makefile for NetBSD
@ -48,6 +48,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
@ -76,7 +84,8 @@ NORMAL_S_C= ${CPP} -DLOCORE ${COPTS} ${PARAM} $< | ${AS} -o $@
# ${SYSTEM_LD_HEAD}
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
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= rm -f $@
SYSTEM_LD= @if [ X${DEBUG} = X-g ]; then \
@ -100,9 +109,9 @@ vers.o: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP}
sh $S/conf/newvers.sh
${CC} ${CFLAGS} -c vers.c
clean:
clean::
rm -f eddep *netbsd netbsd.gdb tags vnode_if.[ch] *.o locore.i \
[a-z]*.s [Ee]rrs linterrs makelinks
[a-z]*.s [Ee]rrs linterrs makelinks genassym
lint: /tmp param.c
@lint -hbxn -DGENERIC -Dvolatile= ${COPTS} ${PARAM} -UKGDB \