NetBSD/sys/arch/sgimips/Makefile
garbled d974db0ada Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
2007-10-17 19:52:51 +00:00

42 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2007/10/17 19:57:03 garbled Exp $
# Makefile for sgimips tags file
# Find where mips source files are for inclusion in tags
.include <../mips/Makefile.inc>
TSGIMIPS= ${SYSDIR}/arch/sgimips/tags
SSGIMIPS= ${SYSDIR}/arch/sgimips/sgimips/*.[ch] \
${SYSDIR}/arch/sgimips/include/*.h \
${SYSDIR}/arch/sgimips/dev/*.[ch] \
${SYSDIR}/arch/sgimips/eisa/*.[ch] \
${SYSDIR}/arch/sgimips/gio/*.[ch] \
${SYSDIR}/arch/sgimips/hpc/*.[ch] \
${SYSDIR}/arch/sgimips/ioc/*.[ch] \
${SYSDIR}/arch/sgimips/mace/*.[ch] \
${SYSDIR}/arch/sgimips/pci/*.[ch]
ASGIMIPS= ${SYSDIR}/arch/sgimips/sgimips/*.S
# Directories in which to place tags links
DSGIMIPS= dev eisa gio hpc include pci xio
.include "../../kern/Make.tags.inc"
tags:
-rm -f ${TSGIMIPS}
-echo ${SSGIMIPS} ${SMIPS} | xargs ctags -wadtf ${TSGIMIPS}
-${FINDCOMM} | xargs ctags -wadtf ${TSGIMIPS}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASGIMIPS} ${AMIPS} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${TSGIMIPS}
sort -o ${TSGIMIPS} ${TSGIMIPS}
links:
-for i in ${DSGIMIPS}; do \
cd $$i && rm -f tags; ln -s ../tags tags; done
SUBDIR= compile include stand
.include <bsd.subdir.mk>