1 # $NetBSD: Makefile,v 1.12.8.1 2002/01/08 00:26:37 nathanw Exp $ 2 3 LIB=bug 4 5 NOPIC= # defined 6 NOLINT= # defined 7 NOPROFILE= # defined 8 9 S=${.CURDIR}/../../../.. 10 DIR_SA=$S/lib/libsa 11 12 SRCS= 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 14 CLEANFILES+= bugstart.o 15 16 .include "../Makefile.booters" 17 18 # only needed during build 19 libinstall:: 20 21 # separate rule for bugstart.c 22 # this is build separately from rest of libbug 23 bugstart.o: bugstart.s 24 ${CC} -x assembler-with-cpp -traditional-cpp -nostdinc ${INCPATH} \ 25 -D_STANDALONE -c ${.IMPSRC} 26 27 all realall: lib${LIB}.a bugstart.o 28 29 .include <bsd.own.mk> 30 .undef DESTDIR 31 .include <bsd.lib.mk> 32