NetBSD/lib/libarch/Makefile

25 lines
546 B
Makefile
Raw Normal View History

2002-07-06 14:19:08 +04:00
# $NetBSD: Makefile,v 1.19 2002/07/06 10:19:08 fvdl Exp $
1993-09-19 22:52:40 +04:00
2002-03-30 09:24:34 +03:00
# These should always be a MACHINE_CPU value
2002-07-06 14:19:08 +04:00
ARCHDIRS= alpha arm i386 m68k x86_64
.for arch in ${ARCHDIRS}
2002-03-30 09:24:34 +03:00
.include "${.CURDIR}/${arch}/Makefile.inc"
.PATH: ${.CURDIR}/${arch}
.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)
2002-03-30 09:24:34 +03:00
LIB= ${MACHINE_CPU}
2001-07-14 07:18:33 +04:00
SHLIB_VERSION_FILE= ${.CURDIR}/${LIB}/shlib_version
.include <bsd.lib.mk>
.else
# ... otherwise just build the manpages
.include <bsd.man.mk>
.endif