aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-05-31 22:40:49 +0000
committerSteve Price <steve@FreeBSD.org>1998-05-31 22:40:49 +0000
commita4f54cdf0820f6015f8acd9c41bd616b0c058cdd (patch)
tree569419e817b7b89611781a092be39f6310ec92bc /sys/amd64/Makefile
parentc3572d2769f9a3aba665d0c2fd5295a5084b312a (diff)
downloadsrc-a4f54cdf0820f6015f8acd9c41bd616b0c058cdd.tar.gz
src-a4f54cdf0820f6015f8acd9c41bd616b0c058cdd.zip
Make this ${.OBJDIR} and ${.CURDIR} aware.
PR: 2565
Notes
Notes: svn path=/head/; revision=36544
Diffstat (limited to 'sys/amd64/Makefile')
-rw-r--r--sys/amd64/Makefile21
1 files changed, 13 insertions, 8 deletions
diff --git a/sys/amd64/Makefile b/sys/amd64/Makefile
index 4ad5a34556fb..dd74cdd9ba67 100644
--- a/sys/amd64/Makefile
+++ b/sys/amd64/Makefile
@@ -1,17 +1,18 @@
# from: @(#)Makefile 7.3 (Berkeley) 6/9/91
-# $Id$
+# $Id: Makefile,v 1.4 1997/02/22 09:29:47 peter Exp $
# Makefile for i386 tags file
all:
@echo "make tags or links only"
-TI386= ../i386/tags
-SI386= ../i386/i386/*.[ch] ../i386/include/*.h ../i386/isa/*.[ch]
-AI386= ../i386/i386/*.s
+TI386= ${.OBJDIR}/../i386/tags
+SI386= ${.CURDIR}/../i386/i386/*.[ch] ${.CURDIR}/../i386/include/*.h \
+ ${.CURDIR}/../i386/isa/*.[ch]
+AI386= ${.CURDIR}/../i386/i386/*.s
# Directories in which to place i386 tags links
-DI386= eisa isa mca include
+DI386= eisa isa include
tags:
-ctags -dtf ${TI386} ${COMM} ${SI386}
@@ -20,6 +21,10 @@ tags:
>> ${TI386}
sort -o ${TI386} ${TI386}
-links:
- -for i in ${DI386}; do \
- cd $$i && rm -f tags; ln -s ../tags tags; done
+#XXX This doesn't work because ${.OBJDIR}/$i doesn't exist
+#
+#links:
+# -for i in ${DI386}; do \
+# (cd ${.CURDIR}/$$i && rm -f ${.OBJDIR}/tags; \
+# ln -s ${.OBJDIR}/../tags ${.OBJDIR}/tags) \
+# done