No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / mvme68k / stand / libsa / Makefile
blob7e2a46fcd5a593b9261b0d3e34d5f135b4781772
1 # $NetBSD: Makefile,v 1.30 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
8 DIR_LIBC=$S/../common/lib/libc
10 SRC_net= arp.c \
11 bootp.c bootparam.c \
12 dev_net.c \
13 ether.c \
14 ip_cksum.c \
15 net.c netif.c nfs.c \
16 rarp.c rpc.c
18 SRC_sa= alloc.c \
19 close.c closeall.c \
20 dev.c dev_net.c dkcksum.c \
21 ether_sprintf.c exit.c \
22 files.c fstat.c \
23 getfile.c gets.c globals.c \
24 intoa.c \
25 loadfile.c loadfile_aout.c loadfile_elf32.c lseek.c \
26 memmove.c memcmp.c memcpy.c memset.c \
27 nullfs.c \
28 open.c \
29 panic.c printf.c \
30 read.c \
31 snprintf.c sprintf.c strerror.c subr_prf.c \
32 twiddle.c \
33 udp.c ufs.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
41 SRC_mvme= exec_mvme.c
43 SRC_here= bugdev.c \
44 chiptotime.c clock.c \
45 parse_args.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
58 OBJS+= SRT0.o
59 CLEANFILES+= SRT0.o
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
68 libinstall::
70 all realall: lib${LIB}.a
72 .include <bsd.own.mk>
73 .undef DESTDIR
74 .include <bsd.lib.mk>