1 # $Id: Makefile,v 1.2 1993/10/13 05:55:19 cgd Exp $ 2 3 LIB= kern 4 NOPIC= 5 6 .if exists (${.CURDIR}/${MACHINE}/Makefile.inc) 7 .PATH: ${.CURDIR}/${MACHINE} 8 .include "${.CURDIR}/${MACHINE}/Makefile.inc" 9 .endif 10 11 .if defined(ARCH) && !empty(ARCH) 12 .if exists (${.CURDIR}/${ARCH}/Makefile.inc) 13 .PATH: ${.CURDIR}/${ARCH} 14 .include "${.CURDIR}/${ARCH}/Makefile.inc" 15 .endif 16 .endif 17 18 LIBC= ${.CURDIR}/../../../lib/libc 19 .PATH: ${LIBC}/string ${LIBC}/arch/${MACHINE}/string 20 .PATH: ${LIBC}/net ${LIBC}/arch/${MACHINE}/net 21 .PATH: ${LIBC}/gen ${LIBC}/arch/${MACHINE}/gen 22 .PATH: ${LIBC}/stdlib ${LIBC}/arch/${MACHINE}/stdlib 23 .PATH: ${LIBC}/sys ${LIBC}/arch/${MACHINE}/sys 24 AINC+= -I${LIBC}/arch/${MACHINE} 25 26 install: 27 28 .include <bsd.lib.mk> 29