Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/iyonix Fix target 'tags'.



details:   https://anonhg.NetBSD.org/src/rev/5f0206832bb5
branches:  trunk
changeset: 763870:5f0206832bb5
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Wed Apr 06 01:49:23 2011 +0000

description:
Fix target 'tags'.

diffstat:

 sys/arch/iyonix/Makefile |  25 ++++++++++++++-----------
 1 files changed, 14 insertions(+), 11 deletions(-)

diffs (48 lines):

diff -r fb6b59d76615 -r 5f0206832bb5 sys/arch/iyonix/Makefile
--- a/sys/arch/iyonix/Makefile  Wed Apr 06 01:48:43 2011 +0000
+++ b/sys/arch/iyonix/Makefile  Wed Apr 06 01:49:23 2011 +0000
@@ -1,11 +1,13 @@
-#      $NetBSD: Makefile,v 1.3 2008/10/25 22:27:37 apb Exp $
+#      $NetBSD: Makefile,v 1.4 2011/04/06 01:49:23 dyoung Exp $
 
 # Makefile for iyonix tags file and boot blocks
 
-TIYONIX=       ../iyonix/tags
-SIYONIX=       ../iyonix/include/*.h \
-               ../iyonix/dev/*.[ch] \
-#AIYONIX=
+# Find where ARM source files are for inclusion in tags
+.include <../arm/Makefile.inc>
+
+TIYONIX=       ${SYSDIR}/arch/iyonix/tags
+SIYONIX=       ${SYSDIR}/arch/iyonix/iyonix/*.[ch]
+SIYONIX+=      ${SYSDIR}/arch/iyonix/include/*.h
 
 # Directories in which to place tags links
 DIYONIX=       include
@@ -13,18 +15,19 @@
 .include "../../kern/Make.tags.inc"
 
 tags:
-       -ctags -wdtf ${TIYONIX} ${SIYONIX} ${COMM}
-#      egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AIYONIX} | \
-#          ${TOOL_SED} -e \
-#              "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
-#          >> ${TIYONIX}
+       -rm -f ${TIYONIX}
+       -echo ${SIYONIX} ${SARM} | xargs ctags -wadtf ${TIYONIX}
+       -${FINDCOMM} | xargs ctags -wadtf ${TIYONIX}
+       egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AARM} | \
+           ${TOOL_SED} -e \
+               "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3     \1      /^\2(\3\4$$/;" \
+           >> ${TIYONIX}
        sort -o ${TIYONIX} ${TIYONIX}
 
 links:
        -for i in ${DIYONIX}; do \
            cd $$i && rm -f tags; ln -s ../tags tags; done
 
-
 SUBDIR=        compile include
 
 .include <bsd.subdir.mk>



Home | Main Index | Thread Index | Old Index