NetBSD/lib/libarch/Makefile
2002-03-30 06:24:34 +00:00

25 lines
542 B
Makefile

# $NetBSD: Makefile,v 1.18 2002/03/30 06:24:34 thorpej Exp $
# These should always be a MACHINE_CPU value
ARCHDIRS= alpha arm i386 m68k
.for arch in ${ARCHDIRS}
.include "${.CURDIR}/${arch}/Makefile.inc"
.PATH: ${.CURDIR}/${arch}
.endfor
OBJS+= ${ASM}
POBJS+= ${ASM:.o=.po}
CLEANFILES+= ${ASM} ${POBJS}
# Build the library if SRCS is now defined ...
.if defined(SRCS)
LIB= ${MACHINE_CPU}
SHLIB_VERSION_FILE= ${.CURDIR}/${LIB}/shlib_version
.include <bsd.lib.mk>
.else
# ... otherwise just build the manpages
.include <bsd.man.mk>
.endif