Home | History | Annotate | Line # | Download | only in libbug
Makefile revision 1.13
      1 #	$NetBSD: Makefile,v 1.13 2001/11/14 23:01:14 tv Exp $
      2 
      3 LIB=bug
      4 
      5 MKPIC= no
      6 MKLINT= no
      7 MKPROFILE= no
      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