NetBSD/sys/arch/atari/Makefile

33 lines
797 B
Makefile
Raw Normal View History

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