NetBSD/sys/arch/amiga/Makefile
1993-07-31 15:17:49 +00:00

31 lines
871 B
Makefile

# from: @(#)Makefile 7.3 (Berkeley) 6/9/91
# $Id: Makefile,v 1.2 1993/07/31 15:26:19 mycroft Exp $
COMM= ../net/*.[ch] ../netimp/*.[ch] ../netinet/*.[ch] ../netns/*.[ch] \
../netiso/*.[ch] ../netccitt/*.[ch] \
../kern/*.c ../ufs/*.[ch] ../nfs/*.[ch] ../vm/*.[ch] ../sys/*.h
# Makefile for hp300 tags file
all:
@echo "make tags or links only"
THP300= ../hp300/tags
SHP300= ../hp300/hp300/*.[ch] ../hp300/include/*.h \
../hp300/hpux/*.[ch] ../hp300/dev/*.[ch]
AHP300= ../hp300/hp300/*.s
# Directories in which to place hp300 tags links
DHP300= dev hpux include
tags:
-ctags -dtf ${THP300} ${COMM} ${SHP300}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHP300} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${THP300}
sort -o ${THP300} ${THP300}
links:
-for i in ${DHP300}; do \
cd ../$$i && rm -f tags; ln -s ../tags tags; done