1993-09-13 23:53:18 +04:00
|
|
|
# $Id: Makefile,v 1.7 1993/09/13 19:53:18 jtc Exp $
|
1993-09-02 05:00:42 +04:00
|
|
|
|
1993-09-03 23:05:59 +04:00
|
|
|
LIB= kern
|
1993-09-11 03:32:17 +04:00
|
|
|
LIBDIR= ${.CURDIR}/../arch/${MACHINE}/compile
|
|
|
|
|
1993-09-03 23:05:59 +04:00
|
|
|
NOPROFILE=
|
|
|
|
|
|
|
|
.if exists (${.CURDIR}/${MACHINE}/Makefile.inc)
|
|
|
|
.PATH: ${.CURDIR}/${MACHINE}
|
|
|
|
.include "${.CURDIR}/${MACHINE}/Makefile.inc"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(ARCH) && !empty(ARCH)
|
|
|
|
.if exists (${.CURDIR}/${ARCH}/Makefile.inc)
|
|
|
|
.PATH: ${.CURDIR}/${ARCH}
|
|
|
|
.include "${.CURDIR}/${ARCH}/Makefile.inc"
|
|
|
|
.endif
|
|
|
|
.endif
|
1993-09-02 01:14:13 +04:00
|
|
|
|
1993-09-02 05:00:42 +04:00
|
|
|
LIBC= ${.CURDIR}/../../lib/libc
|
1993-09-06 01:39:52 +04:00
|
|
|
.PATH: ${LIBC}/string ${LIBC}/${MACHINE}/string
|
|
|
|
.PATH: ${LIBC}/net ${LIBC}/${MACHINE}/net
|
1993-09-02 05:00:42 +04:00
|
|
|
.PATH: ${LIBC}/gen ${LIBC}/${MACHINE}/gen
|
1993-09-06 01:39:52 +04:00
|
|
|
.PATH: ${LIBC}/stdlib ${LIBC}/${MACHINE}/stdlib
|
|
|
|
.PATH: ${LIBC}/sys ${LIBC}/${MACHINE}/sys
|
1993-09-02 05:00:42 +04:00
|
|
|
AINC+= -I${LIBC}/${MACHINE}
|
1993-09-02 01:14:13 +04:00
|
|
|
|
1993-09-13 23:53:18 +04:00
|
|
|
install:
|
|
|
|
install ${COPY} lib${LIB}.a ${LIBDIR}
|
|
|
|
${RANLIB} -t ${LIBDIR}/lib${LIB}.a
|
|
|
|
|
1993-09-02 01:14:13 +04:00
|
|
|
.include <bsd.lib.mk>
|