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