NetBSD/sys/arch/x68k/Makefile

41 lines
994 B
Makefile
Raw Normal View History

1996-05-05 16:17:03 +04:00
# $NetBSD: Makefile,v 1.1.1.1 1996/05/05 12:17:03 oki Exp $
# @(#)Makefile 7.3 (Berkeley) 6/9/91
# Makefile for x68k tags file and boot blocks
NOPROG= noprog
NOMAN= noman
SUBDIR=usr.bin usr.sbin sdboot fdboot
TX68K= ../x68k/tags
SX68K= ../m68k/m68k/*.c ../m68k/include/*.h \
../x68k/x68k/*.[ch] ../x68k/include/*.h \
../x68k/dev/*.[ch]
AX68K= ../m68k/m68k/*.s ../x68k/x68k/*.s
# Directories in which to place x68k tags links
DX68K= x68k dev include
TAGS:
-etags -dt ${COMM} ${SX68K} ${AX68k}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AX68K} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${TX68K}/tags
tags:
-ctags -dtf ${TX68K} ${COMM} ${SX68K}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AX68K} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${TX68K}
sort -o ${TX68K} ${TX68K}
links:
-for i in ${DX68K}; do \
cd ../$$i && rm -f tags TAGS; ln -s ../tags ../TAGS .; done
obj: _SUBDIRUSE
.include <bsd.prog.mk>