Files
netbsd/sys/arch/mvmeppc/stand/libsa/Makefile
2013-04-06 16:48:33 +02:00

41 lines
877 B
Makefile

# $NetBSD: Makefile,v 1.10 2011/01/02 09:40:52 tsutsui Exp $
S!= cd ${.CURDIR}/../../../..; pwd
# DBG= -DDEBUG -DNETIF_DEBUG -DNFS_DEBUG -DRPC_DEBUG \
# -DNET_DEBUG -DRARP_DEBUG -DETHER_DEBUG
DEFS= ${DBG} #-fno-defer-pop
CPPFLAGS+= -DSUPPORT_BOOTP -DSUPPORT_DHCP
#CPPFLAGS+= -DSUPPORT_DHCP
#CPPFLAGS+= -DSUPPORT_RARP -DSUPPORT_BOOTPARAM
CPPFLAGS+= -DSUPPORT_NFS -DNFS_NOSYMLINK
.include "../Makefile.booters"
# only needed during build
libinstall::
.include <bsd.prog.mk>
### find out what to use for libsa
SA_AS= library
SAMISCMAKEFLAGS= SA_USE_LOADFILE=yes SA_EXTRADIR=${.CURDIR}
.include "${S}/lib/libsa/Makefile.inc"
LIBSA= ${SALIB}
### find out what to use for libkern
KERN_AS= library
.include "${S}/lib/libkern/Makefile.inc"
LIBKERN= ${KERNLIB}
LIBS= ${LIBSA} ${LIBKERN}
all realall: ${LIBS}
cleandir distclean: .WAIT cleanlibdir
cleanlibdir:
rm -rf lib