Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / mvmeppc / stand / libsa / Makefile
blobf12502aef90a100e9953d9e8f081e572aff87419
1 # $NetBSD: Makefile,v 1.7 2009/03/19 10:19:33 tsutsui Exp $
3 LIB=sa
5 # Logically src/sys
6 DIR_SA=$S/lib/libsa
7 DIR_KERN=$S/lib/libkern
9 SRC_net= nfs.c rpc.c net.c ether.c arp.c ip_cksum.c netif.c \
10 bootparam.c rarp.c dev_net.c bootp.c
13 SRC_sa = alloc.c memcpy.c memset.c close.c exit.c files.c getfile.c gets.c \
14 open.c printf.c read.c strerror.c ufs.c globals.c lseek.c panic.c \
15 closeall.c dev.c dkcksum.c nullfs.c fstat.c twiddle.c sprintf.c \
16 subr_prf.c intoa.c udp.c memcmp.c loadfile.c loadfile_aout.c \
17 loadfile_elf32.c dev_net.c ether_sprintf.c snprintf.c
19 SRC_kern= ashldi3.c ashrdi3.c strcmp.c strlen.c strncpy.c inet_addr.c
21 SRC_here= srt0.S bugsyscalls.S exec_mvme.c parse_args.c getchar.c putchar.c
22 SRC_here+= if_bug.c clock.c
24 SRCS= ${SRC_net} ${SRC_sa} ${SRC_kern} ${SRC_here}
26 # DBG= -DDEBUG -DNETIF_DEBUG -DNFS_DEBUG -DRPC_DEBUG \
27 # -DNET_DEBUG -DRARP_DEBUG -DETHER_DEBUG
29 DEFS= ${DBG} #-fno-defer-pop
31 CPPFLAGS+= -DSUPPORT_BOOTP -DSUPPORT_DHCP
32 #CPPFLAGS+= -DSUPPORT_DHCP
33 #CPPFLAGS+= -DSUPPORT_RARP -DSUPPORT_BOOTPARAM
34 CPPFLAGS+= -DSUPPORT_NFS -DNFS_NOSYMLINK
36 .include "../Makefile.booters"
37 .include "${S}/../common/lib/libc/Makefile.inc"
39 .PATH: ${DIR_SA} ${DIR_KERN}
41 # only needed during build
42 libinstall::
44 all realall: lib${LIB}.a
46 .include <bsd.own.mk>
47 .undef DESTDIR
48 .include <bsd.lib.mk>