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