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/hp300 | |
parent | 2c14d0dddcd37fb261a40e9816e2980a85258f57 (diff) |
repair tags building (due to obj dirs in /sys)
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r-- | sys/arch/hp300/Makefile | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/sys/arch/hp300/Makefile b/sys/arch/hp300/Makefile index 44a87de7a33..e329cc0d36c 100644 --- a/sys/arch/hp300/Makefile +++ b/sys/arch/hp300/Makefile @@ -1,24 +1,29 @@ -# $OpenBSD: Makefile,v 1.5 1997/10/23 13:03:56 deraadt Exp $ +# $OpenBSD: Makefile,v 1.6 2002/07/15 21:29:16 mickey Exp $ # $NetBSD: Makefile,v 1.5 1995/08/04 07:40:31 thorpej Exp $ # @(#)Makefile 7.3 (Berkeley) 6/9/91 # Makefile for hp300 tags file and boot blocks +S=${.CURDIR}/../.. +.include "$S/kern/Make.tags.inc" + NOPROG= noprog NOMAN= noman SUBDIR= stand ../m68k -THP300= ../hp300/tags -SHP300= ../hp300/hp300/*.[ch] ../hp300/include/*.h \ - ../hp300/dev/*.[ch] -AHP300= ../hp300/hp300/*.s +THP300= $S/arch/hp300/tags +SHP300= $S/arch/m68k/m68k/*.c $S/arch/m68k/include/*.h \ + $S/arch/hp300/hp300/*.[ch] $S/arch/hp300/include/*.h \ + $S/arch/hp300/dev/*.[ch] +AHP300= $S/arch/m68k/m68k/*.[Ss] $S/arch/hp300/hp300/*.[Ss] \ + $S/lib/libkern/arch/m68k/*.[sS] # Directories in which to place hp300 tags links DHP300= dev hp300 include tags: - -ctags -dtf ${THP300} ${COMM} ${SHP300} + -ctags -wdtf ${THP300} ${COMM} ${SHP300} egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHP300} | \ sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ >> ${THP300} @@ -26,7 +31,7 @@ tags: links: -for i in ${DHP300}; do \ - cd $$i && rm -f tags; ln -s ../tags tags; done + cd $$i && rm -f tags; ln -s ${THP300} tags; done obj: _SUBDIRUSE |