diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-07-15 21:29:17 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-07-15 21:29:17 +0000 |
commit | f6919fd90bb0cf855d40ea56e1bac94e13c92978 (patch) | |
tree | 7c5a5f4802e0687503f99122f1e9bbdecc5c1ae4 /sys/arch/hppa/Makefile | |
parent | 2c14d0dddcd37fb261a40e9816e2980a85258f57 (diff) |
repair tags building (due to obj dirs in /sys)
Diffstat (limited to 'sys/arch/hppa/Makefile')
-rw-r--r-- | sys/arch/hppa/Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/sys/arch/hppa/Makefile b/sys/arch/hppa/Makefile index 017cf7e4209..ca16b74ffdc 100644 --- a/sys/arch/hppa/Makefile +++ b/sys/arch/hppa/Makefile @@ -1,24 +1,26 @@ -# $OpenBSD: Makefile,v 1.2 2000/05/31 19:44:57 mickey Exp $ +# $OpenBSD: Makefile,v 1.3 2002/07/15 21:29:16 mickey Exp $ # Makefile for hppa tags file and boot blocks -.include "../../kern/Make.tags.inc" +S=${.CURDIR}/../.. +.include "$S/kern/Make.tags.inc" NOPROG= noprog NOMAN= noman SUBDIR= stand -THPPA= ../hppa/tags -SHPPA= ../hppa/hppa/*.[ch] ../hppa/include/*.h ../hppa/dev/*.[ch] \ - ../hppa/gsc/*.[ch] -AHPPA= ../hppa/hppa/*.S +THPPA= $S/arch/hppa/tags +SHPPA= $S/arch/hppa/hppa/*.[ch] $S/arch/hppa/include/*.h \ + $S/arch/hppa/dev/*.[ch] $S/arch/hppa/gsc/*.[ch] \ + $S/arch/hppa/eisa/*.[ch] $S/arch/hppa/isa/*.[ch] +AHPPA= $S/arch/hppa/hppa/*.S $S/lib/libkern/arch/hppa/*.[sS] # Directories in which to place hppa tags links -DHPPA= conf dev gsc hppa include +DHPPA= conf dev gsc hppa eisa isa include tags: - -ctags -dtf ${THPPA} ${COMM} ${SHPPA} + -ctags -wdtf ${THPPA} ${COMM} ${SHPPA} egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHPPA} | \ sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ >> ${THPPA} @@ -26,7 +28,7 @@ tags: links: -for i in ${DHPPA}; do \ - cd $$i && rm -f tags; ln -s ../tags tags; done + cd $$i && rm -f tags; ln -s ${THPPA} tags; done obj: _SUBDIRUSE |