summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/stand/libsa
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /sys/arch/hp300/stand/libsa
initial import of NetBSD tree
Diffstat (limited to 'sys/arch/hp300/stand/libsa')
-rw-r--r--sys/arch/hp300/stand/libsa/Makefile36
-rw-r--r--sys/arch/hp300/stand/libsa/Makefile.inc23
2 files changed, 59 insertions, 0 deletions
diff --git a/sys/arch/hp300/stand/libsa/Makefile b/sys/arch/hp300/stand/libsa/Makefile
new file mode 100644
index 00000000000..749a869c1ff
--- /dev/null
+++ b/sys/arch/hp300/stand/libsa/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.2 1995/09/02 05:04:25 thorpej Exp $
+
+LIB= sa
+
+.PATH: ${.CURDIR}/../../../../lib/libsa
+
+# Don't need these now...
+# DEBUGFLAGS=-DNETIF_DEBUG -DRPC_DEBUG -DNFS_DEBUG -DRARP_DEBUG -DNET_DEBUG
+
+CFLAGS+=-DSTANDALONE -DCOMPAT_UFS ${DEBUGFLAGS}
+CFLAGS+=-I${.CURDIR}/../../../.. -I${.CURDIR}/../../../../lib/libsa
+
+# stand routines
+SRCS= alloc.c bcopy.c exit.c exec.c getfile.c gets.c globals.c \
+ printf.c strerror.c
+
+# io routines
+SRCS+= close.c dev.c disklabel.c ioctl.c lseek.c open.c read.c \
+ stat.c write.c
+
+# network routines
+SRCS+= arp.c ether.c in_cksum.c net.c netif.c rpc.c
+
+# network info services
+SRCS+= bootp.c bootparam.c rarp.c
+
+# boot filesystems
+SRCS+= ufs.c nfs.c
+
+NOPROFILE=
+NOPIC=
+OBJMACHINE=
+
+install:
+
+.include <bsd.lib.mk>
diff --git a/sys/arch/hp300/stand/libsa/Makefile.inc b/sys/arch/hp300/stand/libsa/Makefile.inc
new file mode 100644
index 00000000000..868438109ff
--- /dev/null
+++ b/sys/arch/hp300/stand/libsa/Makefile.inc
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile.inc,v 1.1 1995/08/04 07:55:50 thorpej Exp $
+
+# NOTE: $S must correspond to the top of the 'sys' tree
+
+SA_DIR= $S/arch/hp300/stand/libsa
+
+.if exists($(SA_DIR)/obj.${MACHINE})
+SA_LIBDIR= $(SA_DIR)/obj.${MACHINE}
+.else
+SA_LIBDIR= $(SA_DIR)
+.endif
+
+SA_LIB= $(SA_LIBDIR)/libsa.a
+
+$(SA_LIB): .NOTMAIN __always_make_sa_lib
+ @echo making sure the stand-alone library is up to date...
+ @(cd $(SA_DIR) ; make)
+
+clean:: .NOTMAIN __always_make_sa_lib
+ @echo cleaning the stand-alone library objects
+ @(cd $(SA_DIR) ; make clean)
+
+__always_make_sa_lib: .NOTMAIN