1996-03-27 06:56:22 +03:00
|
|
|
# $NetBSD: Makefile,v 1.3 1996/03/27 03:56:22 scottr Exp $
|
1994-10-26 11:45:48 +03:00
|
|
|
|
|
|
|
# @(#)Makefile 7.3 (Berkeley) 6/9/91
|
1994-07-02 17:11:10 +04:00
|
|
|
|
|
|
|
# Makefile for mac68k tags file
|
|
|
|
|
1996-03-27 06:56:22 +03:00
|
|
|
NOPROG= noprog
|
|
|
|
NOMAN= noman
|
1994-07-02 17:11:10 +04:00
|
|
|
|
1996-03-27 06:56:22 +03:00
|
|
|
TMAC68K= ../mac68k/tags
|
|
|
|
SMAC68K= ../m68k/m68k/*.c ../m68k/include/*.h \
|
|
|
|
../mac68k/mac68k/*.[ch] ../mac68k/include/*.h \
|
|
|
|
../mac68k/dev/*.[ch]
|
|
|
|
AMAC68K= ../m68k/m68k/*.s ../mac68k/mac68k/*.s
|
1994-07-02 17:11:10 +04:00
|
|
|
|
|
|
|
# Directories in which to place mac68k tags links
|
|
|
|
DMAC68K= mac68k dev include
|
|
|
|
|
|
|
|
tags:
|
|
|
|
-ctags -dtf ${TMAC68K} ${COMM} ${SMAC68K}
|
|
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AMAC68K} | \
|
|
|
|
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
|
|
|
>> ${TMAC68K}
|
|
|
|
sort -o ${TMAC68K} ${TMAC68K}
|
|
|
|
|
|
|
|
links:
|
|
|
|
-for i in ${DMAC68K}; do \
|
1996-03-27 06:56:22 +03:00
|
|
|
cd $$i && rm -f tags; ln -s ../tags tags; done
|
1994-07-02 17:11:10 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|