29 lines
727 B
Makefile
29 lines
727 B
Makefile
# $NetBSD: Makefile,v 1.2 2007/08/09 16:08:58 nonaka Exp $
|
|
|
|
# Makefile for zaurus tags file and boot blocks
|
|
|
|
TZAURUS= ../zaurus/tags
|
|
SZAURUS= ../zaurus/zaurus/*.[ch] ../zaurus/include/*.h \
|
|
../zaurus/dev/*.[ch]
|
|
AZAURUS= ../zaurus/zaurus/*.S ../zaurus/dev/*.S
|
|
|
|
# Directories in which to place tags links
|
|
DZAURUS= include
|
|
|
|
.include "../../kern/Make.tags.inc"
|
|
|
|
tags:
|
|
-ctags -wdtf ${TZAURUS} ${SZAURUS} ${COMM}
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AZAURUS} | \
|
|
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
|
>> ${TZAURUS}
|
|
sort -o ${TZAURUS} ${TZAURUS}
|
|
|
|
links:
|
|
-for i in ${DZAURUS}; do \
|
|
cd $$i && rm -f tags; ln -s ../tags tags; done
|
|
|
|
SUBDIR= compile include stand
|
|
|
|
.include <bsd.subdir.mk>
|