NetBSD/sys/arch/mvme68k/stand/libbug/Makefile
2001-12-12 01:48:43 +00:00

32 lines
680 B
Makefile

# $NetBSD: Makefile,v 1.14 2001/12/12 01:49:46 tv Exp $
LIB=bug
NOPIC= # defined
NOLINT= # defined
NOPROFILE= # defined
S=${.CURDIR}/../../../..
DIR_SA=$S/lib/libsa
SRCS= bugcrt.c delay.c diskrd.c diskwr.c getbrdid.c inchr.c instat.c \
outln.c outstr.c putchar.c return.c rtc_rd.c
CLEANFILES+= bugstart.o
.include "../Makefile.booters"
# only needed during build
libinstall::
# separate rule for bugstart.c
# this is build separately from rest of libbug
bugstart.o: bugstart.s
${CC} -x assembler-with-cpp -traditional-cpp -nostdinc ${INCPATH} \
-D_STANDALONE -c ${.IMPSRC}
all realall: lib${LIB}.a bugstart.o
.include <bsd.own.mk>
.undef DESTDIR
.include <bsd.lib.mk>