Makefile revision 1.1
11.1Smatt# $NetBSD: Makefile,v 1.1 2001/06/11 17:46:23 matt Exp $ 21.1Smatt 31.1Smatt# Makefile for netwinder tags file and boot blocks 41.1Smatt 51.1SmattTNETWINDER= ../netwinder/tags 61.1SmattSNETWINDER= ../netwinder/netwinder/*.[ch] ../netwinder/include/*.h \ 71.1Smatt ../netwinder/isa/*.[ch] ../netwinder/pci/*.[ch] 81.1SmattANETWINDER= ../netwinder/netwinder/*.s 91.1Smatt 101.1Smatt# Directories in which to place tags links 111.1SmattDNETWINDER= isa pci include 121.1Smatt 131.1Smatt.include "../../kern/Make.tags.inc" 141.1Smatt 151.1Smatttags: 161.1Smatt -ctags -wdtf ${TNETWINDER} ${SNETWINDER} ${COMM} 171.1Smatt egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ANETWINDER} | \ 181.1Smatt sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 191.1Smatt >> ${TNETWINDER} 201.1Smatt sort -o ${TNETWINDER} ${TNETWINDER} 211.1Smatt 221.1Smattlinks: 231.1Smatt -for i in ${DNETWINDER}; do \ 241.1Smatt cd $$i && rm -f tags; ln -s ../tags tags; done 251.1Smatt 261.1Smatt 271.1SmattSUBDIR= include 281.1Smatt 291.1Smatt.include <bsd.subdir.mk> 30