1 # $NetBSD: Makefile,v 1.12 1999/06/10 00:49:51 simonb Exp $ 2 3 ARCHDIRS= arm32 i386 m68k 4 5 .for arch in ${ARCHDIRS} 6 .include "${.CURDIR}/${arch:C/mipse[bl]/mips/}/Makefile.inc" 7 .PATH: ${.CURDIR}/${arch:C/mipse[bl]/mips/} 8 .endfor 9 10 OBJS+= ${ASM} 11 POBJS+= ${ASM:.o=.po} 12 CLEANFILES+= ${ASM} ${POBJS} 13 14 # Build the library if SRCS is now defined ... 15 .if defined(SRCS) 16 LIB= ${MACHINE_ARCH:C/mipse[bl]/mips/} 17 18 .include <bsd.lib.mk> 19 .else 20 # ... otherwise just build the manpages 21 .include <bsd.man.mk> 22 .endif 23