summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-08-31 10:55:44 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-08-31 10:55:44 +0000
commitd3ae6cabbf02fecd4a260a36464090803d89638f (patch)
treece0b44dba2487981e2f323c7d4b1ad9809b004e6 /sys/arch
parenta86f8490acc65aac7ee7958b66431e52e8801f70 (diff)
modified from alpha
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/sys/arch/sparc64/Makefile b/sys/arch/sparc64/Makefile
new file mode 100644
index 00000000000..b29f50a5245
--- /dev/null
+++ b/sys/arch/sparc64/Makefile
@@ -0,0 +1,28 @@
+# $OpenBSD: Makefile,v 1.1 2001/08/31 10:55:43 art Exp $
+
+NOPROG= noprog
+NOMAN= noman
+
+SUBDIR= stand
+
+TSPARC64= ../sparc64/tags
+SSPARC64= ../sparc64/sparc64/*.[ch] ../sparc64/include/*.h ../sparc64/tc/*.[ch]
+ASPARC64= ../sparc64/sparc64/*.S
+
+# Directories in which to place sparc64 tags links
+DSPARC64= tc include
+
+tags:
+ -ctags -dtf ${TSPARC64} ${COMM} ${SSPARC64}
+ egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC64} | \
+ sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
+ >> ${TSPARC64}
+ sort -o ${TSPARC64} ${TSPARC64}
+
+links:
+ -for i in ${DSPARC64}; do \
+ (cd $$i && rm -f tags; ln -s ../tags tags); done
+
+obj: _SUBDIRUSE
+
+.include <bsd.prog.mk>