Home | History | Annotate | Line # | Download | only in libsa
Makefile revision 1.32.2.1
      1 #	$NetBSD: Makefile,v 1.32.2.1 2011/03/05 20:51:19 rmind Exp $
      2 
      3 S!= cd ${.CURDIR}/../../../..; pwd
      4 
      5 # DBG= -DDEBUG -DNETIF_DEBUG -DNFS_DEBUG -DRPC_DEBUG \
      6 # 	-DNET_DEBUG -DRARP_DEBUG -DETHER_DEBUG
      7 
      8 DEFS= ${DBG} #-fno-defer-pop
      9 
     10 CPPFLAGS+= -DSUPPORT_BOOTP -DSUPPORT_DHCP
     11 CPPFLAGS+= -DSUPPORT_RARP -DSUPPORT_BOOTPARAM
     12 CPPFLAGS+= -DSUPPORT_NFS -DNFS_NOSYMLINK
     13 
     14 .include "../Makefile.booters"
     15 
     16 # only needed during build
     17 libinstall::
     18 
     19 .include <bsd.prog.mk>
     20 
     21 ### find out what to use for libsa
     22 SA_AS= library
     23 SAMISCMAKEFLAGS= SA_USE_LOADFILE=yes SA_EXTRADIR=${.CURDIR}
     24 .include "${S}/lib/libsa/Makefile.inc"
     25 LIBSA= ${SALIB}
     26 
     27 ### find out what to use for libkern
     28 KERN_AS= library
     29 .include "${S}/lib/libkern/Makefile.inc"
     30 LIBKERN= ${KERNLIB}
     31 
     32 LIBS= ${LIBSA} ${LIBKERN}
     33 
     34 all realall: ${LIBS}
     35 
     36 cleandir distclean: .WAIT cleanlibdir
     37 
     38 cleanlibdir:
     39 	-rm -rf lib
     40