NetBSD/lib/libarch/Makefile

24 lines
568 B
Makefile

# $NetBSD: Makefile,v 1.15 2001/07/14 03:18:33 matt Exp $
ARCHDIRS= alpha 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}
# Build the library if SRCS is now defined ...
.if defined(SRCS)
LIB= ${MACHINE_ARCH:C/mipse[bl]/mips/:C/arm*/arm32/}
SHLIB_VERSION_FILE= ${.CURDIR}/${LIB}/shlib_version
.include <bsd.lib.mk>
.else
# ... otherwise just build the manpages
.include <bsd.man.mk>
.endif