From 8f7e44d5a58521dd86ebf8b16fae191d97edae9e Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 27 Apr 2005 19:39:45 +0000 Subject: solbourne Makefile and dive there --- sys/arch/solbourne/Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 sys/arch/solbourne/Makefile (limited to 'sys/arch') diff --git a/sys/arch/solbourne/Makefile b/sys/arch/solbourne/Makefile new file mode 100644 index 00000000000..d238116d0bf --- /dev/null +++ b/sys/arch/solbourne/Makefile @@ -0,0 +1,36 @@ +# $OpenBSD: Makefile,v 1.1 2005/04/27 19:39:44 deraadt Exp $ +# $NetBSD: Makefile,v 1.4 1996/03/25 22:48:09 mrg Exp $ + +# +# Makefile for solbourne links, tags file + +S=${.CURDIR}/../.. +.include "$S/kern/Make.tags.inc" + +SUBDIR= + +NOPROG= noprog +NOMAN= noman + +TSOLBOURNE= $S/arch/solbourne/tags +DIRS= conf include dev solourne + +links:: + -for i in ${DIRS}; do \ + (cd $$i && { rm -f tags; ln -s ${TSOLBOURNE} tags; }) done + +SOLBOURNE= $S/arch/solbourne/dev/*.[ch] $S/arch/solbourne/fpu/*.[ch] \ + $S/arch/solbourne/include/*.[ch] $S/arch/solbourne/solbourne/*.[ch] +ASOLBOURNE= $S/arch/solbourne/solbourne/*.[sS] $S/lib/libkern/arch/solbourne/*.[sS] + +tags: + -ctags -wdtf ${TSOLBOURNE} ${COMM} ${SOLBOURNE} + egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASOLBOURNE} | \ + sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ + >> ${TSOLBOURNE} + sort -o ${TSOLBOURNE} ${TSOLBOURNE} + +obj: _SUBDIRUSE + +.include +.include -- cgit v1.2.3