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