NetBSD/sys/arch/pmax/Makefile
jonathan 0cfd4f8641 Update arch/pmax/Makefile to build in NetBSD rather than 4.4-Lite:
* Create arch/mips/Makefile.inc with source list of generic MIPS-cpu
    files for tags
  * Use mips/Makefile.inc and updated tag list in pmax/Makefile
  * Try building bootblocks in arch/pmax/stand.
1996-09-29 23:51:22 +00:00

36 lines
884 B
Makefile

# $NetBSD: Makefile,v 1.5 1996/09/29 23:55:05 jonathan Exp $
# @(#)Makefile 7.3 (Berkeley) 6/9/91
# Makefile for pmax tags file and boot blocks
NOPROG= noprog
NOMAN= noman
# Find where mips source fils are for inclusion in tags
.include <../mips/Makefile.inc>
SUBDIR= stand
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 pmax (mips) tags links
DPMAX= dev tc include
tags: ${COMM} ${SPMAX} ${SMIPS} ${APMAX} ${AMIPS}
-ctags -dtf ${TPMAX} ${COMM} ${SPMAX} ${SMIPS}
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
obj: _SUBDIRUSE
.include <bsd.prog.mk>