NetBSD/sys/arch/x68k/Makefile

33 lines
794 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.7 1998/06/12 23:22:47 cgd Exp $
1996-05-05 16:17:03 +04:00
# Makefile for x68k tags file and boot blocks
1997-10-11 13:11:17 +04:00
# Find where m68k source files are for inclusion in tags
.include <../m68k/Makefile.inc>
1996-05-05 16:17:03 +04:00
TX68K= ../x68k/tags
1997-10-11 13:11:17 +04:00
SX68K= ../x68k/x68k/*.[ch] ../x68k/include/*.h \
1996-05-05 16:17:03 +04:00
../x68k/dev/*.[ch]
1997-10-11 13:11:17 +04:00
AX68K= ../x68k/x68k/*.s
1996-05-05 16:17:03 +04:00
1997-10-11 13:11:17 +04:00
# Directories in which to place tags links
1996-05-05 16:17:03 +04:00
DX68K= x68k dev include
.include "../../kern/Make.tags.inc"
1996-05-05 16:17:03 +04:00
tags:
1997-10-11 13:11:17 +04:00
-ctags -wdtf ${TX68K} ${SX68K} ${SM68K} ${COMM}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AX68K} ${AM68K} | \
1996-05-05 16:17:03 +04:00
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${TX68K}
sort -o ${TX68K} ${TX68K}
links:
-for i in ${DX68K}; do \
1997-10-11 13:11:17 +04:00
cd $$i && rm -f tags; ln -s ../tags tags; done
SUBDIR= include usr.bin usr.sbin stand
1996-05-05 16:17:03 +04:00
.include <bsd.subdir.mk>