29 lines
727 B
Makefile
29 lines
727 B
Makefile
# $NetBSD: Makefile,v 1.1 2006/12/17 16:07:11 peter 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>
|