summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-03-31 21:09:13 +0000
committerTheodore Tso <tytso@mit.edu>1995-03-31 21:09:13 +0000
commit7b3b248cf240b24cb67633a62576b2ec2232d4cf (patch)
treef65a3170dd306f7645c83d90129e4320cccae83b
parentec82b54dbf376d3f771c82193b70ba5eba74a902 (diff)
Back out previous change so that it doesn't break people who are using
VPATH to have separate build directories. (See comments in the Makefile.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5324 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/lib/krb5/error_tables/ChangeLog6
-rw-r--r--src/lib/krb5/error_tables/Makefile.in41
2 files changed, 32 insertions, 15 deletions
diff --git a/src/lib/krb5/error_tables/ChangeLog b/src/lib/krb5/error_tables/ChangeLog
index 52b222c18..49562dc95 100644
--- a/src/lib/krb5/error_tables/ChangeLog
+++ b/src/lib/krb5/error_tables/ChangeLog
@@ -1,3 +1,9 @@
+Fri Mar 31 16:06:21 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * Makefile.in (BUILDTOP2, etc): Back out previous change so that
+ it doesn't break people who are using VPATH to have
+ separate build directories. (See comments in the Makefile.)
+
Tue Mar 28 18:29:44 1995 John Gilmore (gnu at toad.com)
* Makefile.in (BUILDTOP2, etc): Make it possible
diff --git a/src/lib/krb5/error_tables/Makefile.in b/src/lib/krb5/error_tables/Makefile.in
index 33497d036..cbcbed068 100644
--- a/src/lib/krb5/error_tables/Makefile.in
+++ b/src/lib/krb5/error_tables/Makefile.in
@@ -4,13 +4,19 @@ CFLAGS = $(CCOPTS) $(DEFS)
##DOSLIBNAME=..\krb5.lib
##DOS!include $(BUILDTOP)\config\windows.in
-EHDRDIR=$(BUILDTOP2)$(S)include$(S)krb5
+EHDRDIR=$(BUILDTOP)$(S)include$(S)krb5
# The "unixmac" and "includes" rules need to run in Makefile.in,
# without all the support glop like $(S) and $(BUILDTOP)...so, fake it.
-BUILDTOP2 = ../../..
-SRCTOP2 = $(BUILDTOP2)
-EHDRDIR2=$(BUILDTOP2)/include/krb5
+#
+# Faking things breaks VPATH support, which is a requirement for me -- TYT.
+# You need to do this right! Whatever config tools that you're using under
+# the macintosh, is going to need to handle BUILDTOP and SRCTOP explicitly.
+# Setting BUILDTOP and SRCTOP to be the same is Right Out.
+#
+#BUILDTOP2 = ../../..
+#SRCTOP2 = $(BUILDTOP2)
+#EHDRDIR2=$(BUILDTOP2)/include/krb5
HDRS= asn1_err.h kdb5_err.h krb5_err.h kv5m_err.h adm_err.h
OBJS= asn1_err.$(OBJEXT) kdb5_err.$(OBJEXT) krb5_err.$(OBJEXT) \
@@ -73,21 +79,26 @@ clean-windows::
includes:: $(HDRS)
for x in $(HDRS); do \
- if cmp $$x $(EHDRDIR2)/$$x >/dev/null 2>&1; then :; \
+ if cmp $$x $(EHDRDIR)/$$x >/dev/null 2>&1; then :; \
else \
- (set -x; rm -f $(EHDRDIR2)/$$x; cp $$x $(EHDRDIR2)/$$x) \
+ (set -x; rm -f $(EHDRDIR)/$$x; cp $$x $(EHDRDIR)/$$x) \
fi; done
clean::
for x in $(HDRS); do \
- rm -f $(EHDRDIR2)/$$x; \
+ rm -f $(EHDRDIR)/$$x; \
done
-.SUFFIXES: .h .c .et .ct
-
-.et.h:
- awk -f $(SRCTOP2)/util/et/et_h.awk outfile=$*.h $<
-
-.et.c:
- awk -f $(SRCTOP2)/util/et/et_c.awk outfile=$*.c $<
-
+#
+# This stuff is already dropped in by the autoconf generated configure scripts.
+# (Blame Mark, not me for that; this was before we had pre.in and post.in,
+# we should probably move the error table rules from aclocal.m4 to pre.in)
+#
+#.SUFFIXES: .h .c .et .ct
+#
+#.et.h:
+# awk -f $(SRCTOP2)/util/et/et_h.awk outfile=$*.h $<
+#
+#.et.c:
+# awk -f $(SRCTOP2)/util/et/et_c.awk outfile=$*.c $<
+#