summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorbriggs <briggs@cvs.openbsd.org>1996-05-25 22:28:49 +0000
committerbriggs <briggs@cvs.openbsd.org>1996-05-25 22:28:49 +0000
commitd319f73c6db830be4bfbeb301f3527c9f42e888e (patch)
treec5997e942166e9b8fc3b7f2b00ddc299208bd1b2 /sys
parentaf0f403f7f01adb984acc869f39d2ae091ab8f91 (diff)
NetBSD(scottr): Remove bogus reference to BSDSRCDIR here; still doesn't work,
though.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mac68k/Makefile32
1 files changed, 9 insertions, 23 deletions
diff --git a/sys/arch/mac68k/Makefile b/sys/arch/mac68k/Makefile
index 5b7d1b3ba36..37f084e42df 100644
--- a/sys/arch/mac68k/Makefile
+++ b/sys/arch/mac68k/Makefile
@@ -1,34 +1,21 @@
-# $NetBSD: Makefile,v 1.2 1994/10/26 08:45:48 cgd Exp $
+# $NetBSD: Makefile,v 1.3 1996/03/27 03:56:22 scottr Exp $
# @(#)Makefile 7.3 (Berkeley) 6/9/91
-S=${BSDSRCDIR}/sys
-COMM= $S/vm/*.[ch] $S/ufs/*/*.[ch] $S/sys/*.h $S/compat/sunos/*.[ch] \
- $S/isofs/*/*.[ch] \
- $S/nfs/*.[ch] $S/netns/*.[ch] $S/netiso/*.[ch] \
- $S/netiso/xebec/*.[ch] $S/netinet/*.[ch] $S/netccitt/*.[ch] \
- $S/net/*.[ch] $S/miscfs/*/*.[ch] $S/kern/*.[ch] $S/dev/*.[ch] \
- $S/scsi/*.[ch] $S/lib/libkern/arch/m68k/*.[ch] $S/lib/libkern/*.[ch]
# Makefile for mac68k tags file
-all:
- @echo "make tags or links only"
+NOPROG= noprog
+NOMAN= noman
-TMAC68K= $S/arch/mac68k/tags
-SMAC68K= $S/arch/m68k/m68k/*.c $S/arch/m68k/include/*.h \
- $S/arch/mac68k/mac68k/*.[ch] $S/arch/mac68k/include/*.h \
- $S/arch/mac68k/dev/*.[ch]
-AMAC68K= $S/arch/m68k/m68k/*.s $S/arch/mac68k/mac68k/*.s
+TMAC68K= ../mac68k/tags
+SMAC68K= ../m68k/m68k/*.c ../m68k/include/*.h \
+ ../mac68k/mac68k/*.[ch] ../mac68k/include/*.h \
+ ../mac68k/dev/*.[ch]
+AMAC68K= ../m68k/m68k/*.s ../mac68k/mac68k/*.s
# Directories in which to place mac68k tags links
DMAC68K= mac68k dev include
-TAGS:
- -etags -dt ${COMM} ${SMAC68K} ${AMAC68K}
- egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AMAC68K} | \
- sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
- >> ${TMAC68K}/tags
-
tags:
-ctags -dtf ${TMAC68K} ${COMM} ${SMAC68K}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AMAC68K} | \
@@ -38,8 +25,7 @@ tags:
links:
-for i in ${DMAC68K}; do \
- rm -f $$i/tags; rm -f $$i/TAGS ; \
- ln -s ../tags $$i/tags; ln -s ../TAGS $$i/TAGS; done
+ cd $$i && rm -f tags; ln -s ../tags tags; done
.include <bsd.prog.mk>