xref: /netbsd/sys/arch/mvme68k/stand/libbug/Makefile (revision bf9ec67e)
1#	$NetBSD: Makefile,v 1.14 2001/12/12 01:49:46 tv Exp $
2
3LIB=bug
4
5NOPIC= # defined
6NOLINT= # defined
7NOPROFILE= # defined
8
9S=${.CURDIR}/../../../..
10DIR_SA=$S/lib/libsa
11
12SRCS=	bugcrt.c delay.c diskrd.c diskwr.c getbrdid.c inchr.c instat.c \
13	outln.c outstr.c putchar.c return.c rtc_rd.c
14CLEANFILES+= bugstart.o
15
16.include "../Makefile.booters"
17
18# only needed during build
19libinstall::
20
21# separate rule for bugstart.c
22# this is build separately from rest of libbug
23bugstart.o: bugstart.s
24	${CC} -x assembler-with-cpp -traditional-cpp -nostdinc ${INCPATH} \
25	-D_STANDALONE -c ${.IMPSRC}
26
27all realall: lib${LIB}.a bugstart.o
28
29.include <bsd.own.mk>
30.undef DESTDIR
31.include <bsd.lib.mk>
32