apply fixes in 7.14.1.3 to main branch
[unix-history] / usr / src / sys / hp300 / Makefile
CommitLineData
22046806 1# @(#)Makefile 7.3 (Berkeley) %G%
96854b9c
KB
2
3COMM= ../net/*.[ch] ../netimp/*.[ch] ../netinet/*.[ch] ../netns/*.[ch] \
4 ../netiso/*.[ch] ../netccitt/*.[ch] \
5 ../kern/*.c ../ufs/*.[ch] ../nfs/*.[ch] ../vm/*.[ch] ../sys/*.h
6
7# Makefile for hp300 tags file
8
9all:
10 @echo "make tags or links only"
11
12THP300= ../hp300/tags
13SHP300= ../hp300/hp300/*.[ch] ../hp300/include/*.h \
14 ../hp300/hpux/*.[ch] ../hp300/dev/*.[ch]
15AHP300= ../hp300/hp300/*.s
16
17# Directories in which to place hp300 tags links
22046806 18DHP300= dev hpux include
96854b9c
KB
19
20tags:
21 -ctags -dtf ${THP300} ${COMM} ${SHP300}
22 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHP300} | \
23 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
24 >> ${THP300}
25 sort -o ${THP300} ${THP300}
26
27links:
28 -for i in ${DHP300}; do \
29 cd ../$$i && rm -f tags; ln -s ../tags tags; done