home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-06-09 | 745 b | 29 lines |
- # @(#)Makefile 7.3 (Berkeley) 6/9/91
-
- # Makefile for vax tags file
-
- all:
- @echo "make tags or links only"
-
- TVAX= ../vax/tags
- SVAX= ../vax/if/*.[ch] ../vax/mba/*.[ch] ../vax/uba/*.[ch] \
- ../vax/bi/*.[ch] ../vax/vax/*.[ch] ../vax/include/*.h
- AVAX= ../vax/vax/*.s
-
- # Directories in which to place vax tags links
- DVAX= if mba uba bi include
-
- tags:
- -ctags -dtf ${TVAX} ${COMM} ${SVAX}
- egrep "^SCBVEC(.*)" ${AVAX} | \
- sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);X\3 \1 /^\2(\3\4$$/;" \
- >> ${TVAX}
- egrep "^ENTRY(.*)|^JSBENTRY(.*)" ${AVAX} | \
- sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
- >> ${TVAX}
- sort -o ${TVAX} ${TVAX}
-
- links:
- -for i in ${DVAX}; do \
- cd $$i && rm -f tags; ln -s ../tags tags; done
-