Makefile revision 1.2
1# from: @(#)Makefile 8.1 (Berkeley) 6/11/93 2# $Id: Makefile,v 1.2 1994/02/06 15:27:54 deraadt Exp $ 3# 4# Makefile for sparc links, tags file 5 6NOPROG= noprog 7NOMAN= noman 8NOOBJ= noobj 9 10DIRS= conf dev fpu include rcons sbus sparc 11 12links:: 13 -for i in ${DIRS}; do \ 14 (cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done 15 16SPARC= /sys/arch/sparc/dev/*.[ch] /sys/arch/sparc/fpu/*.[ch] \ 17 /sys/arch/sparc/include/*.[ch] /sys/arch/sparc/rcons/*.[ch] \ 18 /sys/arch/sparc/sbus/*.[ch] /sys/arch/sparc/sparc/*.[ch] 19ASPARC= /sys/arch/sparc/sparc/*.s 20 21tags: 22 -ctags -wdt ${COMM} ${SPARC} 23 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC} | \ 24 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 25 >> tags 26 sort -o tags tags 27 28.include <bsd.prog.mk> 29