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