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