Makefile revision 1.6
1# from: @(#)Makefile 7.3 (Berkeley) 6/9/91 2# $Id: Makefile,v 1.6 1994/03/08 07:36:26 chopps Exp $ 3S=../.. 4COMM= $S/net/*.[ch] $S/netimp/*.[ch] $S/netinet/*.[ch] $S/netns/*.[ch] \ 5 $S/netiso/*.[ch] $S/netccitt/*.[ch] \ 6 $S/kern/*.c $S/ufs/*.[ch] $S/nfs/*.[ch] $S/vm/*.[ch] $S/sys/*.h 7 8# Makefile for amiga tags file 9 10all: 11 @echo "make tags or links only" 12 13TAMIGA= $S/arch/amiga/tags 14SAMIGA= $S/arch/amiga/amiga/*.[ch] $S/arch/amiga/include/*.h \ 15 $S/arch/amiga/dev/*.[ch] 16AAMIGA= $S/arch/amiga/amiga/*.s 17 18# Directories in which to place amiga tags links 19DAMIGA= amiga dev include 20 21tags: 22 -ctags -dtf ${TAMIGA} ${COMM} ${SAMIGA} 23 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMIGA} | \ 24 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 25 >> ${TAMIGA} 26 sort -o ${TAMIGA} ${TAMIGA} 27 28links: 29 -for i in ${DAMIGA}; do \ 30 rm -f $$i/tags; ln -s ../tags $$i/tags; done 31 32.include <bsd.prog.mk> 33