Home | History | Annotate | Line # | Download | only in libsa
      1 #	$NetBSD: Makefile,v 1.11 2013/09/21 08:40:37 tsutsui 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_DHCP
     12 #CPPFLAGS+= -DSUPPORT_RARP -DSUPPORT_BOOTPARAM
     13 CPPFLAGS+= -DSUPPORT_NFS -DNFS_NOSYMLINK
     14 
     15 .include "../Makefile.booters"
     16 
     17 # only needed during build
     18 libinstall::
     19 
     20 .include <bsd.prog.mk>
     21 
     22 ### find out what to use for libsa
     23 SA_AS= library
     24 SAMISCMAKEFLAGS= SA_USE_LOADFILE=yes SA_EXTRADIR=${.CURDIR}
     25 .include "${S}/lib/libsa/Makefile.inc"
     26 LIBSA= ${SALIB}
     27 
     28 ### find out what to use for libkern
     29 KERN_AS= library
     30 .include "${S}/lib/libkern/Makefile.inc"
     31 LIBKERN= ${KERNLIB}
     32 
     33 LIBS= ${LIBSA} ${LIBKERN}
     34 
     35 CLEANFILES+=	srt0.o
     36 
     37 all realall: ${LIBS} srt0.o
     38 
     39 cleandir distclean: .WAIT cleanlibdir
     40  
     41 cleanlibdir:
     42 	rm -rf lib
     43