1994-05-24 10:09:53 +00:00
|
|
|
# @(#)Makefile 7.9 (Berkeley) 6/1/93
|
1995-10-05 14:46:07 +00:00
|
|
|
# $Id: Makefile,v 1.9 1995/03/23 07:02:14 rgrimes Exp $
|
1995-01-10 01:57:56 +00:00
|
|
|
|
|
|
|
.undef NOPROFILE
|
1994-05-24 10:09:53 +00:00
|
|
|
|
|
|
|
LIB= kern
|
1994-09-15 15:41:48 +00:00
|
|
|
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/.. -DKERNEL
|
1995-10-05 14:46:07 +00:00
|
|
|
|
|
|
|
# Stuff we call from the kernel
|
|
|
|
SRCS+= mcount.c
|
|
|
|
SRCS+= strcpy.c strcmp.c strncpy.c strncmp.c strcat.c
|
|
|
|
SRCS+= skpc.c scanc.c random.c inet_ntoa.c
|
|
|
|
|
|
|
|
# Stuff GCC generates
|
|
|
|
SRCS+= divdi3.c udivdi3.c moddi3.c umoddi3.c
|
|
|
|
SRCS+= qdivrem.c
|
|
|
|
|
|
|
|
# Stuff which isn't currently used, if at all..
|
|
|
|
# SRCS+= bcmp.c ffs.c locc.c rindex.c strlen.c
|
|
|
|
|
|
|
|
# Stuff GCC may need....
|
|
|
|
# SRCS+= adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c
|
|
|
|
# SRCS+= iordi3.c lshldi3.c lshrdi3.c muldi3.c negdi2.c notdi2.c
|
|
|
|
# SRCS+= subdi3.c ucmpdi2.c xordi3.c
|
1994-05-24 10:09:53 +00:00
|
|
|
|
|
|
|
.if exists(${.CURDIR}/${MACHINE}/Makefile.inc)
|
|
|
|
.PATH: ${.CURDIR}/${MACHINE}
|
|
|
|
.include "${.CURDIR}/${MACHINE}/Makefile.inc"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# mcount cannot be compiled with profiling
|
|
|
|
mcount.po: mcount.o
|
|
|
|
cp mcount.o mcount.po
|
|
|
|
|
1995-03-23 07:02:14 +00:00
|
|
|
install:
|
|
|
|
|
1994-05-24 10:09:53 +00:00
|
|
|
.include <bsd.lib.mk>
|