1 # $Id: Makefile,v 1.8 1994/05/14 06:00:34 cgd Exp $ 2 3 LIB= kern 4 NOPIC= 5 OBJMACHINE= 6 CFLAGS+= -DKERNEL 7 8 .if exists (${.CURDIR}/${MACHINE_ARCH}/Makefile.inc) 9 .PATH: ${.CURDIR}/${MACHINE_ARCH} 10 .include "${.CURDIR}/${MACHINE_ARCH}/Makefile.inc" 11 .endif 12 13 LIBC= ${.CURDIR}/../../../lib/libc 14 .PATH: ${LIBC}/string ${LIBC}/arch/${MACHINE_ARCH}/string 15 .PATH: ${LIBC}/net ${LIBC}/arch/${MACHINE_ARCH}/net 16 .PATH: ${LIBC}/gen ${LIBC}/arch/${MACHINE_ARCH}/gen 17 .PATH: ${LIBC}/stdlib ${LIBC}/arch/${MACHINE_ARCH}/stdlib 18 .PATH: ${LIBC}/sys ${LIBC}/arch/${MACHINE_ARCH}/sys 19 AINC+= -I${LIBC}/arch/${MACHINE_ARCH} 20 21 # Quad support 22 SRCS+= adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c iordi3.c \ 23 lshldi3.c lshrdi3.c moddi3.c muldi3.c negdi2.c notdi2.c qdivrem.c \ 24 subdi3.c ucmpdi2.c udivdi3.c umoddi3.c xordi3.c 25 26 # Other stuff 27 SRCS+= mcount.c 28 29 .PATH: ${LIBC}/arch/${MACHINE_ARCH}/quad ${LIBC}/quad 30 31 install: 32 33 .include <bsd.lib.mk> 34