NetBSD/sys/arch/mac68k/Makefile

34 lines
847 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.5 1998/06/12 23:22:38 cgd Exp $
1994-10-26 11:45:48 +03:00
1997-10-11 13:10:25 +04:00
# Makefile for mac68k tags file and boot blocks
1997-10-11 13:10:25 +04:00
# Find where m68k source files are for inclusion in tags
.include <../m68k/Makefile.inc>
1997-10-11 13:10:25 +04:00
TMAC68K=../mac68k/tags
SMAC68K=../m68k/m68k/*.c ../m68k/include/*.h \
../mac68k/mac68k/*.[ch] ../mac68k/include/*.h \
../mac68k/dev/*.[ch]
AMAC68K=../mac68k/mac68k/*.s
1997-10-11 13:10:25 +04:00
# Directories in which to place tags links
DMAC68K=mac68k dev include
1997-10-11 13:10:25 +04:00
.include "../../kern/Make.tags.inc"
tags:
1997-10-11 13:10:25 +04:00
-ctags -wdtf ${TMAC68K} ${SMAC68K} ${SM68K} ${COMM}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AMAC68K} ${AM68K} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${TMAC68K}
sort -o ${TMAC68K} ${TMAC68K}
links:
-for i in ${DMAC68K}; do \
cd $$i && rm -f tags; ln -s ../tags tags; done
SUBDIR= include
1997-10-11 13:10:25 +04:00
.include <bsd.subdir.mk>