2002-03-27 01:48:04 +03:00
|
|
|
# $NetBSD: Makefile,v 1.17 2002/03/26 22:48:04 fredette Exp $
|
1993-09-19 22:52:40 +04:00
|
|
|
|
2000-02-26 22:39:35 +03:00
|
|
|
ARCHDIRS= alpha arm32 i386 m68k
|
1999-03-05 15:19:17 +03:00
|
|
|
|
1999-06-10 04:49:51 +04:00
|
|
|
.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
|
|
|
|
1999-06-10 04:49:51 +04:00
|
|
|
# Build the library if SRCS is now defined ...
|
|
|
|
.if defined(SRCS)
|
2002-03-27 01:48:04 +03:00
|
|
|
LIB= ${MACHINE_ARCH:C/mipse[bl]/mips/:C/arm.*/arm32/:C/m68000/m68k/}
|
2001-07-14 07:18:33 +04:00
|
|
|
SHLIB_VERSION_FILE= ${.CURDIR}/${LIB}/shlib_version
|
1999-06-10 04:49:51 +04:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.else
|
|
|
|
# ... otherwise just build the manpages
|
|
|
|
.include <bsd.man.mk>
|
|
|
|
.endif
|