1 # $Id: Makefile,v 1.3 1993/10/23 02:33:18 cgd Exp $ 2 3 LIB= kern 4 NOPIC= 5 OBJMACHINE= 6 7 .if exists (${.CURDIR}/${MACHINE}/Makefile.inc) 8 .PATH: ${.CURDIR}/${MACHINE} 9 .include "${.CURDIR}/${MACHINE}/Makefile.inc" 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 .endif 17 .endif 18 19 LIBC= ${.CURDIR}/../../../lib/libc 20 .PATH: ${LIBC}/string ${LIBC}/arch/${MACHINE}/string 21 .PATH: ${LIBC}/net ${LIBC}/arch/${MACHINE}/net 22 .PATH: ${LIBC}/gen ${LIBC}/arch/${MACHINE}/gen 23 .PATH: ${LIBC}/stdlib ${LIBC}/arch/${MACHINE}/stdlib 24 .PATH: ${LIBC}/sys ${LIBC}/arch/${MACHINE}/sys 25 AINC+= -I${LIBC}/arch/${MACHINE} 26 27 install: 28 29 .include <bsd.lib.mk> 30