Makefile revision 1.5
11.5Smycroft# $NetBSD: Makefile,v 1.5 1997/10/11 09:11:21 mycroft Exp $ 21.1Soki 31.1Soki# Makefile for x68k tags file and boot blocks 41.1Soki 51.5Smycroft# Find where m68k source files are for inclusion in tags 61.5Smycroft.include <../m68k/Makefile.inc> 71.1Soki 81.1SokiTX68K= ../x68k/tags 91.5SmycroftSX68K= ../x68k/x68k/*.[ch] ../x68k/include/*.h \ 101.1Soki ../x68k/dev/*.[ch] 111.5SmycroftAX68K= ../x68k/x68k/*.s 121.1Soki 131.5Smycroft# Directories in which to place tags links 141.1SokiDX68K= x68k dev include 151.1Soki 161.3Smycroft.include "../../kern/Make.tags.inc" 171.1Soki 181.1Sokitags: 191.5Smycroft -ctags -wdtf ${TX68K} ${SX68K} ${SM68K} ${COMM} 201.5Smycroft egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AX68K} ${AM68K} | \ 211.1Soki sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 221.1Soki >> ${TX68K} 231.1Soki sort -o ${TX68K} ${TX68K} 241.1Soki 251.1Sokilinks: 261.1Soki -for i in ${DX68K}; do \ 271.5Smycroft cd $$i && rm -f tags; ln -s ../tags tags; done 281.5Smycroft 291.5Smycroft 301.5SmycroftSUBDIR= usr.bin usr.sbin sdboot fdboot 311.1Soki 321.3Smycroft.include <bsd.subdir.mk> 33