1 # $NetBSD: Makefile,v 1.30 2009/03/19 10:19:33 tsutsui Exp $
7 DIR_KERN
=$S/lib
/libkern
8 DIR_LIBC
=$S/..
/common
/lib
/libc
20 dev.c dev_net.c dkcksum.c \
21 ether_sprintf.c exit.c \
23 getfile.c gets.c globals.c \
25 loadfile.c loadfile_aout.c loadfile_elf32.c lseek.c \
26 memmove.c memcmp.c memcpy.c memset.c \
31 snprintf.c sprintf.c strerror.c subr_prf.c \
35 SRC_common
+= ashrdi3.c inet_addr.c strncpy.c strlen.c
37 SRC_libc_inet
= inet_addr.c
38 SRC_libc_quad
= ashldi3.c ashrdi3.c
39 SRC_libc_string
= strcmp.c strlen.c strncpy.c
44 chiptotime.c clock.c \
47 SRCS
= ${SRC_net} ${SRC_sa} ${SRC_kern} ${SRC_common} ${SRC_mvme} ${SRC_here}
49 # DBG= -DDEBUG -DNETIF_DEBUG -DNFS_DEBUG -DRPC_DEBUG \
50 # -DNET_DEBUG -DRARP_DEBUG -DETHER_DEBUG
52 DEFS
= ${DBG} #-fno-defer-pop
54 CPPFLAGS
+= -DSUPPORT_BOOTP
-DSUPPORT_DHCP
55 CPPFLAGS
+= -DSUPPORT_RARP
-DSUPPORT_BOOTPARAM
56 CPPFLAGS
+= -DSUPPORT_NFS
-DNFS_NOSYMLINK
61 .
include "../Makefile.booters"
62 .
include "${S}/../common/lib/libc/Makefile.inc"
64 .PATH
: ${DIR_SA} ${DIR_KERN} \
65 ${DIR_LIBC}/inet
${DIR_LIBC}/quad
${DIR_LIBC}/string
67 # only needed during build
70 all realall
: lib
${LIB}.a