summaryrefslogtreecommitdiff
path: root/sys/lib/libsa/Makefile
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2001-06-23 01:47:41 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2001-06-23 01:47:41 +0000
commit14b39a831f4b4120bdaea878ee1854853b9c2d02 (patch)
tree4c28c2dd70a14ff29a1ceeb7ce61031f094082a5 /sys/lib/libsa/Makefile
parent8b961a86be378f9dccb62b79de7fe25d9ef1d8a5 (diff)
Add MI loadfile support, from NetBSD
This is currently only used on powerpc, but may be looked at for other architectures. Piece of the support to have kernel symbols on powerpc.
Diffstat (limited to 'sys/lib/libsa/Makefile')
-rw-r--r--sys/lib/libsa/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/lib/libsa/Makefile b/sys/lib/libsa/Makefile
index cf9c468125a..0ee34dcda08 100644
--- a/sys/lib/libsa/Makefile
+++ b/sys/lib/libsa/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.19 1997/05/05 14:32:18 millert Exp $
+# $OpenBSD: Makefile,v 1.20 2001/06/23 01:47:39 drahn Exp $
# $NetBSD: Makefile,v 1.13 1996/10/02 16:19:51 ws Exp $
LIB= sa
@@ -16,6 +16,10 @@ CFLAGS+=${XCFLAGS} -D_STANDALONE -DCOMPAT_UFS $(DEBUGFLAGS) -I${DIR} -I${DIR}/..
CFLAGS+=$(EXTRACFLAGS)
CPPFLAGS+=${XCPPFLAGS}
+.if defined(USE_LOADFILE)
+SRCS+= loadfile.c
+.endif
+
.if defined(SA_ZLIB)
CPPFLAGS+= -D__INTERNAL_LIBSA_CREAD
.endif