Makefile revision 1.26
1# $NetBSD: Makefile,v 1.26 2013/07/18 22:14:10 matt Exp $ 2 3.include <bsd.own.mk> 4 5# These should always be a MACHINE_CPU value 6ARCHDIRS= alpha arm i386 m68k sparc x86_64 7 8.for arch in ${ARCHDIRS} 9.include "${.CURDIR}/${arch}/Makefile.inc" 10.PATH: ${.CURDIR}/${arch} 11.endfor 12 13OBJS+= ${ASM} 14POBJS+= ${ASM:.o=.po} 15CLEANFILES+= ${ASM} ${POBJS} 16 17# Build the library if SRCS is now defined ... 18.if defined(SRCS) 19.if defined(MLIBDIR) && ${MLIBDIR} != "none" && ${MACHINE_CPU} != "arm" 20LIB= ${MLIBDIR} 21.else 22LIB= ${MACHINE_CPU} 23.endif 24SHLIB_VERSION_FILE= ${.CURDIR}/${LIB}/shlib_version 25 26.include <bsd.lib.mk> 27.else 28# ... otherwise just build the manpages 29.include <bsd.man.mk> 30.endif 31.include <bsd.subdir.mk> 32