1# $NetBSD: Makefile,v 1.16 2011/01/21 15:59:08 joerg 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 14OBJS+= bugstart.o 15CLEANFILES+= bugstart.o 16 17.include "../Makefile.booters" 18 19# only needed during build 20libinstall:: 21 22# separate rule for bugstart.c 23# this is build separately from rest of libbug 24bugstart.o: bugstart.s 25 ${CC} -x assembler-with-cpp -nostdinc ${INCPATH} \ 26 -D_STANDALONE -c ${.IMPSRC} 27 28all realall: lib${LIB}.a 29 30.include <bsd.own.mk> 31.undef DESTDIR 32.include <bsd.lib.mk> 33