NetBSD/sys/arch/x68k/Makefile

33 lines
786 B
Makefile
Raw Normal View History

1997-10-19 15:03:38 +04:00
# $NetBSD: Makefile,v 1.6 1997/10/19 11:03:38 oki 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
1997-10-19 15:03:38 +04:00
SUBDIR= usr.bin usr.sbin stand
1996-05-05 16:17:03 +04:00
.include <bsd.subdir.mk>