Home | History | Annotate | Line # | Download | only in libkern
Makefile revision 1.6
      1 #	$Id: Makefile,v 1.6 1994/03/09 21:24:03 ws 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 .PATH:	${.CURDIR}/kernel
     13 
     14 LIBC=	${.CURDIR}/../../../lib/libc
     15 .PATH: ${LIBC}/string ${LIBC}/arch/${MACHINE_ARCH}/string
     16 .PATH: ${LIBC}/net ${LIBC}/arch/${MACHINE_ARCH}/net
     17 .PATH: ${LIBC}/gen ${LIBC}/arch/${MACHINE_ARCH}/gen
     18 .PATH: ${LIBC}/stdlib ${LIBC}/arch/${MACHINE_ARCH}/stdlib
     19 .PATH: ${LIBC}/sys ${LIBC}/arch/${MACHINE_ARCH}/sys
     20 AINC+=	-I${LIBC}/arch/${MACHINE_ARCH}
     21 
     22 # Quad support
     23 SRCS+=	adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c iordi3.c \
     24 	lshldi3.c lshrdi3.c moddi3.c muldi3.c negdi2.c notdi2.c qdivrem.c \
     25 	subdi3.c  ucmpdi2.c udivdi3.c umoddi3.c xordi3.c
     26 
     27 # Disk subroutines
     28 SRCS+=	disklib.c
     29 
     30 .PATH: ${LIBC}/arch/${MACHINE_ARCH}/quad ${LIBC}/quad
     31 
     32 install:
     33 
     34 .include <bsd.lib.mk>
     35