blob: 61fe1cd20dc14a297b307ee433edc2d477525559 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $NetBSD: Makefile,v 1.11 2013/09/21 08:40:37 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}
CLEANFILES+= srt0.o
all realall: ${LIBS} srt0.o
cleandir distclean: .WAIT cleanlibdir
cleanlibdir:
rm -rf lib
|