NetBSD/sys/arch/mvme68k/stand/libsa/Makefile

72 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.21 2002/03/27 20:18:25 scw Exp $
LIB=sa
# Logically src/sys
DIR_SA=$S/lib/libsa
DIR_KERN=$S/lib/libkern
SRC_net= arp.c \
bootp.c bootparam.c \
dev_net.c \
ether.c \
in_cksum.c \
net.c netif.c nfs.c \
rarp.c rpc.c
SRC_sa= alloc.c \
close.c closeall.c \
dev.c dev_net.c dkcksum.c \
exit.c \
files.c fstat.c \
getfile.c gets.c globals.c \
intoa.c \
loadfile.c loadfile_aout.c loadfile_elf32.c lseek.c \
memcmp.c memcpy.c memset.c \
nullfs.c \
open.c \
panic.c printf.c \
read.c \
sprintf.c strerror.c subr_prf.c \
twiddle.c \
udp.c ufs.c
# XXX Needed until libsa's memcmp.c doesn't depend on bcmp...
SRC_sa+= bcmp.c
SRC_kern= ashldi3.c ashrdi3.c \
inet_addr.c \
strcmp.c strlen.c strncpy.c
SRC_mvme= exec_mvme.c
SRC_here= bugdev.c \
chiptotime.c clock.c \
parse_args.c
SRCS= ${SRC_net} ${SRC_sa} ${SRC_kern} ${SRC_mvme} ${SRC_here}
# 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_RARP -DSUPPORT_BOOTPARAM
CPPFLAGS+= -DSUPPORT_NFS -DNFS_NOSYMLINK
CLEANFILES+= SRT0.o
.include "../Makefile.booters"
.PATH: ${DIR_SA} ${DIR_KERN}
# only needed during build
libinstall::
all realall: lib${LIB}.a SRT0.o
.include <bsd.own.mk>
.undef DESTDIR
.include <bsd.lib.mk>