Cross Reference: Makefile
xref: /src/sys/lib/libkern/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/sys/lib/libkern/
Makefile revision 1.8
1#	$Id: Makefile,v 1.8 1994/05/14 06:00:34 cgd Exp $
2
3LIB=	kern
4NOPIC=
5OBJMACHINE=
6CFLAGS+=	-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
13LIBC=	${.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
19AINC+=	-I${LIBC}/arch/${MACHINE_ARCH}
20
21# Quad support
22SRCS+=	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
27SRCS+=	mcount.c
28
29.PATH: ${LIBC}/arch/${MACHINE_ARCH}/quad ${LIBC}/quad
30
31install:
32
33.include <bsd.lib.mk>
34

Indexes created Sun Dec 21 20:09:38 GMT 2025