summaryrefslogtreecommitdiffstats
path: root/sys/i386/Makefile
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-05-31 22:40:49 +0000
committersteve <steve@FreeBSD.org>1998-05-31 22:40:49 +0000
commit5423c2940313b37cb55947874ea06c472233851b (patch)
tree896226c8197b5d50104bebd24f53e558ec73d113 /sys/i386/Makefile
parentab46ab788d4d787d6074db8ba2e909cc5f013772 (diff)
downloadFreeBSD-src-5423c2940313b37cb55947874ea06c472233851b.zip
FreeBSD-src-5423c2940313b37cb55947874ea06c472233851b.tar.gz
Make this ${.OBJDIR} and ${.CURDIR} aware.
PR: 2565
Diffstat (limited to 'sys/i386/Makefile')
-rw-r--r--sys/i386/Makefile21
1 files changed, 13 insertions, 8 deletions
diff --git a/sys/i386/Makefile b/sys/i386/Makefile
index 4ad5a34..dd74cdd 100644
--- a/sys/i386/Makefile
+++ b/sys/i386/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
OpenPOWER on IntegriCloud