NetBSD/sys/libkern/Makefile

35 lines
904 B
Makefile
Raw Normal View History

# $Id: Makefile,v 1.8 1993/09/13 21:01:09 jtc Exp $
LIB= kern
LIBDIR= ${.CURDIR}/../arch/${MACHINE}/compile
.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
LIBC= ${.CURDIR}/../../lib/libc
.PATH: ${LIBC}/string ${LIBC}/${MACHINE}/string
.PATH: ${LIBC}/net ${LIBC}/${MACHINE}/net
.PATH: ${LIBC}/gen ${LIBC}/${MACHINE}/gen
.PATH: ${LIBC}/stdlib ${LIBC}/${MACHINE}/stdlib
.PATH: ${LIBC}/sys ${LIBC}/${MACHINE}/sys
AINC+= -I${LIBC}/${MACHINE}
1993-09-02 01:14:13 +04:00
install:
install ${COPY} lib${LIB}.a ${LIBDIR}
${RANLIB} -t ${LIBDIR}/lib${LIB}.a
.if !defined(NOPROFILE)
install ${COPY} lib${LIB}_p.a ${LIBDIR}
${RANLIB} -t ${LIBDIR}/lib${LIB}_p.a
.endif
1993-09-02 01:14:13 +04:00
.include <bsd.lib.mk>