Makefile revision 1.22
11.22Smrg# $NetBSD: Makefile,v 1.22 2009/12/13 08:25:20 mrg Exp $ 21.1Sbrezak 31.18Sthorpej# These should always be a MACHINE_CPU value 41.20SpkARCHDIRS= alpha arm i386 m68k sparc x86_64 51.11Sdrochner 61.12Ssimonb.for arch in ${ARCHDIRS} 71.18Sthorpej.include "${.CURDIR}/${arch}/Makefile.inc" 81.18Sthorpej.PATH: ${.CURDIR}/${arch} 91.12Ssimonb.endfor 101.12Ssimonb 111.12SsimonbOBJS+= ${ASM} 121.12SsimonbPOBJS+= ${ASM:.o=.po} 131.12SsimonbCLEANFILES+= ${ASM} ${POBJS} 141.12Ssimonb 151.12Ssimonb# Build the library if SRCS is now defined ... 161.12Ssimonb.if defined(SRCS) 171.22Smrg.if defined(MLIBDIR) && ${MLIBDIR} != "none" 181.22SmrgLIB= ${MLIBDIR} 191.21Smrg.else 201.18SthorpejLIB= ${MACHINE_CPU} 211.21Smrg.endif 221.15SmattSHLIB_VERSION_FILE= ${.CURDIR}/${LIB}/shlib_version 231.12Ssimonb 241.12Ssimonb.include <bsd.lib.mk> 251.12Ssimonb.else 261.12Ssimonb# ... otherwise just build the manpages 271.12Ssimonb.include <bsd.man.mk> 281.1Sbrezak.endif 291.20Spk.include <bsd.subdir.mk> 30