1996-01-14 01:25:32 +03:00
|
|
|
# $NetBSD: Makefile,v 1.11 1996/01/13 22:25:32 leo Exp $
|
1994-01-26 05:03:32 +03:00
|
|
|
|
|
|
|
LIB= sa
|
|
|
|
|
1995-09-15 00:55:00 +04:00
|
|
|
DIR=${SAREL}${SADIR}
|
|
|
|
|
|
|
|
.PATH: ${DIR}
|
|
|
|
|
1994-08-23 01:55:58 +04:00
|
|
|
#DEBUGFLAGS= -DNETIF_DEBUG -DETHER_DEBUG -DNFS_DEBUG -DRPC_DEBUG -DRARP_DEBUG -DDEBUG -DPARANOID -Wall
|
1995-09-17 05:01:07 +04:00
|
|
|
#DEBUGFLAGS= -ansi -pedantic -Wall
|
1995-09-15 00:55:00 +04:00
|
|
|
CFLAGS+=-DSTANDALONE -DCOMPAT_UFS $(DEBUGFLAGS) -I${DIR} -I${DIR}/../..
|
1994-05-08 20:11:14 +04:00
|
|
|
|
|
|
|
# stand routines
|
|
|
|
SRCS+= alloc.c bcopy.c exit.c exec.c getfile.c gets.c globals.c \
|
1996-01-14 01:25:32 +03:00
|
|
|
memcpy.c printf.c strerror.c
|
1994-01-26 05:03:32 +03:00
|
|
|
|
|
|
|
# io routines
|
1996-01-14 01:25:32 +03:00
|
|
|
SRCS+= close.c closeall.c dev.c disklabel.c dkcksum.c ioctl.c \
|
|
|
|
lseek.c open.c nullfs.c read.c stat.c fstat.c write.c
|
1994-05-08 20:11:14 +04:00
|
|
|
|
1995-10-01 09:00:32 +03:00
|
|
|
.if !defined(NO_NET)
|
1994-05-08 20:11:14 +04:00
|
|
|
# network routines
|
|
|
|
SRCS+= arp.c ether.c in_cksum.c net.c netif.c rpc.c
|
1995-10-01 09:00:32 +03:00
|
|
|
.endif
|
1994-05-08 20:11:14 +04:00
|
|
|
|
|
|
|
# network info services:
|
1995-09-15 00:55:00 +04:00
|
|
|
SRCS+= bootp.c rarp.c bootparam.c
|
1994-01-26 05:03:32 +03:00
|
|
|
|
1994-05-08 20:11:14 +04:00
|
|
|
# boot filesystems
|
|
|
|
SRCS+= ufs.c nfs.c
|
1994-01-26 05:03:32 +03:00
|
|
|
|
|
|
|
NOPROFILE=
|
|
|
|
NOPIC=
|
|
|
|
OBJMACHINE=
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|