NetBSD/lib/libarch/Makefile

23 lines
498 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.12 1999/06/10 00:49:51 simonb Exp $
1993-09-19 22:52:40 +04:00
ARCHDIRS= arm32 i386 m68k
.for arch in ${ARCHDIRS}
.include "${.CURDIR}/${arch:C/mipse[bl]/mips/}/Makefile.inc"
.PATH: ${.CURDIR}/${arch:C/mipse[bl]/mips/}
.endfor
OBJS+= ${ASM}
POBJS+= ${ASM:.o=.po}
CLEANFILES+= ${ASM} ${POBJS}
1993-09-19 22:52:40 +04:00
# Build the library if SRCS is now defined ...
.if defined(SRCS)
LIB= ${MACHINE_ARCH:C/mipse[bl]/mips/}
.include <bsd.lib.mk>
.else
# ... otherwise just build the manpages
.include <bsd.man.mk>
.endif