xref: /netbsd-src/sys/arch/mvmeppc/stand/libsa/Makefile (revision 2b3d1ee8a773e028429b331332895d44f445d720)
1#	$NetBSD: Makefile,v 1.10 2011/01/02 09:40:52 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
11#CPPFLAGS+= -DSUPPORT_DHCP
12#CPPFLAGS+= -DSUPPORT_RARP -DSUPPORT_BOOTPARAM
13CPPFLAGS+= -DSUPPORT_NFS -DNFS_NOSYMLINK
14
15.include "../Makefile.booters"
16
17# only needed during build
18libinstall::
19
20.include <bsd.prog.mk>
21
22### find out what to use for libsa
23SA_AS= library
24SAMISCMAKEFLAGS= SA_USE_LOADFILE=yes SA_EXTRADIR=${.CURDIR}
25.include "${S}/lib/libsa/Makefile.inc"
26LIBSA= ${SALIB}
27
28### find out what to use for libkern
29KERN_AS= library
30.include "${S}/lib/libkern/Makefile.inc"
31LIBKERN= ${KERNLIB}
32
33LIBS= ${LIBSA} ${LIBKERN}
34
35all realall: ${LIBS}
36
37cleandir distclean: .WAIT cleanlibdir
38
39cleanlibdir:
40	rm -rf lib
41