diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-27 19:39:45 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-27 19:39:45 +0000 |
commit | 8f7e44d5a58521dd86ebf8b16fae191d97edae9e (patch) | |
tree | d4ef940f43566375ca3960a37020f15c94a303d4 /sys/arch | |
parent | 629ee9d8d31db6a7c5ff8bfa5424df3e445b8232 (diff) |
solbourne Makefile and dive there
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/solbourne/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
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 <bsd.prog.mk> +.include <bsd.subdir.mk> |