NetBSD/sys/arch/pmax/Makefile

33 lines
804 B
Makefile

# $NetBSD: Makefile,v 1.11 2003/01/06 17:40:45 lukem Exp $
# 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= compile include stand
.include <bsd.subdir.mk>