summaryrefslogtreecommitdiff
path: root/sys/arch/pmax/Makefile
diff options
context:
space:
mode:
authorThomas Graichen <graichen@cvs.openbsd.org>1996-12-22 15:19:07 +0000
committerThomas Graichen <graichen@cvs.openbsd.org>1996-12-22 15:19:07 +0000
commitca1c7fedd990e6b1e7244233df5a6a638f0e4e31 (patch)
tree20016b11dce3c72001f0e250c8f1a714ed64e546 /sys/arch/pmax/Makefile
parentde4c3561677938c64d13b1e5112686a88b0b47fe (diff)
update the pmax stuff to NetBSD 961107 - this version i got somehow
compiled on my decstation 2100 (PLUTO) - but it will not fully work out of the box - but i want to bring it into the tree because i get my own pmax on 961228 - so that i have a good startpoint then :-) all the OpenBSD changes to the pmax tree will follow in the next commit
Diffstat (limited to 'sys/arch/pmax/Makefile')
-rw-r--r--sys/arch/pmax/Makefile45
1 files changed, 24 insertions, 21 deletions
diff --git a/sys/arch/pmax/Makefile b/sys/arch/pmax/Makefile
index 5612722d044..e2f79482d35 100644
--- a/sys/arch/pmax/Makefile
+++ b/sys/arch/pmax/Makefile
@@ -1,29 +1,32 @@
-# $NetBSD: Makefile,v 1.4 1994/10/26 21:08:38 cgd Exp $
+# $NetBSD: Makefile,v 1.5 1996/09/29 23:55:05 jonathan Exp $
+# @(#)Makefile 7.3 (Berkeley) 6/9/91
-# @(#)Makefile 8.1 (Berkeley) 6/16/93
+# Makefile for pmax tags file and boot blocks
-# Makefile for pmax links, tags file
+NOPROG= noprog
+NOMAN= noman
-.include "../kern/Make.tags.inc"
+SUBDIR= stand
-all:
- @echo "make links or tags only"
+TPMAX= ../pmax/tags
+SPMAX= ../pmax/pmax/*.[ch] ../pmax/include/*.h \
+ ../pmax/dev/*.[ch] ../pmax/tc/*.[ch]
+APMAX= ../pmax/pmax/*.S
-DIRS= conf dev dist include pmax ultrix
+# Directories in which to place pmax tags links
+DPMAX= dev tc include
-links::
- -for i in ${DIRS}; do \
- (cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done
+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}
-PMAX= /sys/pmax/dev/*.[ch] /sys/pmax/include/*.[ch] \
- /sys/pmax/pmax/*.[ch] /sys/pmax/ultrix/*.[ch]
-APMAX= /sys/pmax/pmax/*.s
+links:
+ -for i in ${DPMAX}; do \
+ cd $$i && rm -f tags; ln -s ../tags tags; done
-tags::
- -ctags -wdt ${COMM} ${PMAX}
- egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${APMAX} | \
- sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
- >> tags
- sort -o tags tags
- chown bin.wsrc tags
- chmod 444 tags
+obj: _SUBDIRUSE
+
+.include <bsd.prog.mk>