NetBSD/sys/arch/pmax/Makefile

33 lines
789 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.9 1997/10/11 09:12:22 mycroft Exp $
1994-10-27 00:08:38 +03:00
# Makefile for pmax tags file and boot blocks
# Find where mips source files are for inclusion in tags
.include <../mips/Makefile.inc>
TPMAX= ../pmax/tags
SPMAX= ../pmax/pmax/*.[ch] ../pmax/include/*.h \
../pmax/dev/*.[ch] ../pmax/tc/*.[ch]
APMAX= ../pmax/pmax/*.S
# Directories in which to place tags links
DPMAX= dev tc include
.include "../../kern/Make.tags.inc"
tags:
-ctags -wdtf ${TPMAX} ${SPMAX} ${SMIPS} ${COMM}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${APMAX} ${AMIPS} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${TPMAX}
sort -o ${TPMAX} ${TPMAX}
links:
-for i in ${DPMAX}; do \
cd $$i && rm -f tags; ln -s ../tags tags; done
SUBDIR= stand
.include <bsd.subdir.mk>