1 # Makefile,v 1.6 1993/09/10 23:32:17 jtc Exp 2 3 ARCH?=${MACHINE} 4 LIB= ${ARCH} 5 6 .if exists (${.CURDIR}/${MACHINE}/Makefile.inc) 7 .PATH: ${.CURDIR}/${MACHINE} 8 .include "${.CURDIR}/${MACHINE}/Makefile.inc" 9 AINC+= -I${.CURDIR}/${MACHINE} 10 .endif 11 12 .if defined(ARCH) && !empty(ARCH) 13 .if exists (${.CURDIR}/${ARCH}/Makefile.inc) 14 .PATH: ${.CURDIR}/${ARCH} 15 .include "${.CURDIR}/${ARCH}/Makefile.inc" 16 AINC+= -I${.CURDIR}/${ARCH} 17 .endif 18 .endif 19 20 OBJS+= ${ASM} 21 POBJS+= ${ASM:.o=.po} 22 CLEANFILES+= ${ASM} ${POBJS} 23 24 .include <bsd.lib.mk> 25