2011-04-06 05:49:23 +04:00
|
|
|
# $NetBSD: Makefile,v 1.4 2011/04/06 01:49:23 dyoung Exp $
|
2004-10-14 03:28:34 +04:00
|
|
|
|
|
|
|
# Makefile for iyonix tags file and boot blocks
|
|
|
|
|
2011-04-06 05:49:23 +04:00
|
|
|
# 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
|
2004-10-14 03:28:34 +04:00
|
|
|
|
|
|
|
# Directories in which to place tags links
|
|
|
|
DIYONIX= include
|
|
|
|
|
|
|
|
.include "../../kern/Make.tags.inc"
|
|
|
|
|
|
|
|
tags:
|
2011-04-06 05:49:23 +04:00
|
|
|
-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}
|
2004-10-14 03:28:34 +04:00
|
|
|
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>
|