Home | History | Annotate | Line # | Download | only in libsa
      1 #	$NetBSD: Makefile,v 1.31 2010/05/27 06:58:13 dholland Exp $
      2 
      3 # Logically src/sys
      4 S!=	cd ${.CURDIR}/../../../..; pwd
      5 
      6 .include "../Makefile.booters"
      7 
      8 CPPFLAGS+=	-I${S} -I.
      9 
     10 .include <bsd.prog.mk>
     11 
     12 ### find out what to use for libsa
     13 SA_AS= library
     14 SAMISCMAKEFLAGS= SA_INCLUDE_NET=no SA_EXTRADIR=${.CURDIR}
     15 .include "${S}/lib/libsa/Makefile.inc"
     16 LIBSA= ${SALIB}
     17 
     18 ### find out what to use for libkern
     19 KERN_AS= library
     20 .include "${S}/lib/libkern/Makefile.inc"
     21 LIBKERN= ${KERNLIB}
     22 
     23 LIBS=	${LIBSA} ${LIBKERN}
     24 
     25 realall: ${LIBS}
     26 
     27 cleandir distclean: .WAIT cleanlibdir
     28 
     29 cleanlibdir:
     30 	-rm -rf lib
     31