make this build again after the mips->mipse? transition
This commit is contained in:
parent
a34eb7c1b7
commit
3654576f9f
|
@ -1,12 +1,16 @@
|
|||
# $NetBSD: Makefile,v 1.13 1999/02/03 10:55:12 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.14 1999/02/24 15:10:16 drochner Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if ${OBJECT_FMT} == "ELF" && exists(${MACHINE_ARCH}_elf)
|
||||
SUBDIR= ${MACHINE_ARCH}_elf
|
||||
.else
|
||||
.if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
|
||||
SUBDIR= mips
|
||||
.else
|
||||
SUBDIR= ${MACHINE_ARCH}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if (${MACHINE_ARCH} != "alpha") && (${MACHINE_ARCH} != "powerpc") && \
|
||||
(${MACHINE_ARCH} != "arm32")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.27 1998/02/19 23:35:36 thorpej Exp $
|
||||
# $NetBSD: Makefile,v 1.28 1999/02/24 15:10:16 drochner Exp $
|
||||
# from: @(#)Makefile 8.1 (Berkeley) 6/4/93
|
||||
|
||||
LIB= kvm
|
||||
|
@ -11,7 +11,11 @@ SRCS= kvm.c kvm_file.c kvm_getloadavg.c kvm_proc.c
|
|||
# If it is necessary to run different code based on ${MACHINE} then
|
||||
# the dispatch on ${MACHINE} should be done at run time (see m68k).
|
||||
|
||||
.if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
|
||||
SRCS+= kvm_mips.c
|
||||
.else
|
||||
SRCS+= kvm_${MACHINE_ARCH}.c
|
||||
.endif
|
||||
|
||||
# Additional modules needed for m68k
|
||||
.if (${MACHINE_ARCH} == "m68k")
|
||||
|
|
|
@ -1,9 +1,14 @@
|
|||
# $NetBSD: Makefile,v 1.4 1997/10/23 02:58:54 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.5 1999/02/24 15:10:16 drochner Exp $
|
||||
|
||||
LIB= posix
|
||||
|
||||
CPPFLAGS+=-D_REENTRANT -I${.CURDIR}/../libc/include
|
||||
AINC= -I${.CURDIR}/../libc/arch/${MACHINE_ARCH}
|
||||
.if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
|
||||
ARCHDIR= ${.CURDIR}/../libc/arch/mips
|
||||
.else
|
||||
ARCHDIR= ${.CURDIR}/../libc/arch/${MACHINE_ARCH}
|
||||
.endif
|
||||
AINC= -I${ARCHDIR}
|
||||
.if defined(DESTDIR)
|
||||
AINC+= -nostdinc -idirafter ${DESTDIR}/usr/include
|
||||
.endif
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# $NetBSD: Makefile.inc,v 1.8 1998/02/14 20:44:06 kleink Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.9 1999/02/24 15:10:17 drochner Exp $
|
||||
|
||||
# sys sources
|
||||
.PATH: ${.CURDIR}/../libc/arch/${MACHINE_ARCH}/sys ${.CURDIR}/sys
|
||||
.PATH: ${ARCHDIR}/sys ${.CURDIR}/sys
|
||||
|
||||
# stubs providing an entry "foo" but calling "__posix_foo()"
|
||||
PSEUDO= chown.o fchown.o lchown.o rename.o
|
||||
|
@ -10,7 +10,7 @@ SPSEUDO=${PSEUDO:.o=.so}
|
|||
|
||||
OBJS+= ${PSEUDO}
|
||||
|
||||
${PPSEUDO}: ${.CURDIR}/../libc/arch/${MACHINE_ARCH}/SYS.h \
|
||||
${PPSEUDO}: ${ARCHDIR}/SYS.h \
|
||||
${DESTDIR}/usr/include/sys/syscall.h
|
||||
@echo creating ${.TARGET}
|
||||
@printf '#include "SYS.h"\n \
|
||||
|
@ -19,7 +19,7 @@ ${PPSEUDO}: ${.CURDIR}/../libc/arch/${MACHINE_ARCH}/SYS.h \
|
|||
@${LD} -X -r ${.TARGET}.o -o ${.TARGET}
|
||||
@rm -f ${.TARGET}.o
|
||||
|
||||
${SPSEUDO}: ${.CURDIR}/../libc/arch/${MACHINE_ARCH}/SYS.h \
|
||||
${SPSEUDO}: ${ARCHDIR}/SYS.h \
|
||||
${DESTDIR}/usr/include/sys/syscall.h
|
||||
@echo creating ${.TARGET}
|
||||
@printf '#include "SYS.h"\n \
|
||||
|
@ -27,7 +27,7 @@ ${SPSEUDO}: ${.CURDIR}/../libc/arch/${MACHINE_ARCH}/SYS.h \
|
|||
${CPP} ${CPPPICFLAGS} ${CPPFLAGS:M-[ID]*} ${AINC} | \
|
||||
${AS} ${APICFLAGS} -o ${.TARGET}
|
||||
|
||||
${PSEUDO}: ${.CURDIR}/../libc/arch/${MACHINE_ARCH}/SYS.h \
|
||||
${PSEUDO}: ${ARCHDIR}/SYS.h \
|
||||
${DESTDIR}/usr/include/sys/syscall.h
|
||||
@echo creating ${.TARGET}
|
||||
@printf '#include "SYS.h"\n \
|
||||
|
|
Loading…
Reference in New Issue