blob: 320b6d6e759547c68b2f89f0c435a85c78b448ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.4 2011/04/06 01:49:23 dyoung Exp $
# Makefile for iyonix tags file and boot blocks
# 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
.include "../../kern/Make.tags.inc"
tags:
-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>
|