summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/stand/libsa/Makefile
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-08-18 15:51:11 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-08-18 15:51:11 +0000
commit4cbd011292f901d241cd3710eb7bcfff692b6be4 (patch)
treeea949af6af61769a2f9bfe288d3ff0b636828d29 /sys/arch/sparc64/stand/libsa/Makefile
parent9c67302636a9447a5b801b9491c5aa6406fb88bc (diff)
Enough of NetBSD/sparc64 for ofwboot to compile/link
Diffstat (limited to 'sys/arch/sparc64/stand/libsa/Makefile')
-rw-r--r--sys/arch/sparc64/stand/libsa/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/sys/arch/sparc64/stand/libsa/Makefile b/sys/arch/sparc64/stand/libsa/Makefile
new file mode 100644
index 00000000000..96548e109a1
--- /dev/null
+++ b/sys/arch/sparc64/stand/libsa/Makefile
@@ -0,0 +1,46 @@
+# $OpenBSD: Makefile,v 1.1 2001/08/18 15:51:10 jason Exp $
+
+LIB= sa
+
+.PATH: ${.CURDIR}/../../../../lib/libsa
+
+CLEANFILES += machine
+
+CFLAGS= ${CEXTRAFLAGS} ${AFLAGS} -O2 -D__INTERNAL_LIBSA_CREAD -nostdinc \
+ -I${.CURDIR} -I${.CURDIR}/../include -I${.CURDIR}/../.. \
+ -I${.CURDIR}/../../.. -I${.CURDIR}/../../../.. \
+ -I${.CURDIR}/../../../../lib/libsa \
+ -I${.OBJDIR}
+
+# stand routines
+SRCS= alloc.c exit.c exec.c getfile.c gets.c globals.c \
+ memcmp.c memcpy.c memset.c printf.c strerror.c strncpy.c
+
+# io routines
+SRCS+= close.c closeall.c dev.c disklabel.c dkcksum.c fstat.c ioctl.c lseek.c \
+ open.c read.c stat.c write.c cread.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 cd9660.c
+
+${OBJS}: ${.CURDIR}/../Makefile.inc
+
+NOPROFILE=
+NOPIC=
+
+.NOPATH: machine
+${SRCS}: machine
+
+install:
+
+.include <bsd.lib.mk>
+
+machine:
+ rm -f machine
+ ln -s ${.CURDIR}/../../include machine