Makefile revision 1.8
1# $NetBSD: Makefile,v 1.8 2000/07/24 18:39:38 jdolecek Exp $ 2 3LIB=bug 4 5MKPIC= no 6MKLINT= no 7MKPROFILE= no 8 9S=${.CURDIR}/../../../.. 10DIR_SA=$S/lib/libsa 11 12SRCS= delay.c diskrd.c diskwr.c getbrdid.c inchr.c instat.c outln.c \ 13 outstr.c putchar.c return.c rtc_rd.c 14CLEANFILES+= bugcrt.o bugcrt.o.tmp 15 16.include "../Makefile.booters" 17 18# only needed during build 19libinstall:: 20 21# separate rule for bugcrt.c - NEED NOT BE COMPILED WITH -O2 22# this is build separately from rest of libbug 23bugcrt.o: bugcrt.c 24 ${CC} -nostdinc ${INCPATH} -D_STANDALONE -o ${.TARGET}.tmp -c ${.IMPSRC} 25 ${LD} -x -r ${.TARGET}.tmp -o ${.TARGET} 26 27all: lib${LIB}.a bugcrt.o 28.include <bsd.lib.mk> 29