From d6876d3d8c7888cb9ef8efc9971e24259adf025a Mon Sep 17 00:00:00 2001 From: Chaskiel Grundman Date: Thu, 29 Dec 2011 13:06:31 -0500 Subject: [PATCH] Make src/opr objdir safe Update the Makefile for src/opr to use $? to reference headers, so objdir builds work correctly Change-Id: I3d8e0d885715a1d1bc1578f4e8ce69fe4239bb56 Reviewed-on: http://gerrit.openafs.org/6444 Tested-by: BuildBot Reviewed-by: Derrick Brashear Reviewed-by: Jeffrey Altman --- src/opr/Makefile.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/opr/Makefile.in b/src/opr/Makefile.in index 095e691fc..803695a41 100644 --- a/src/opr/Makefile.in +++ b/src/opr/Makefile.in @@ -20,19 +20,19 @@ $(TOP_LIBDIR)/libopr.a: libopr.a $(INSTALL_DATA) libopr.a $@ $(TOP_INCDIR)/afs/opr.h: opr.h - $(INSTALL_DATA) opr.h $@ + $(INSTALL_DATA) $? $@ $(TOP_INCDIR)/afs/opr_assert.h: opr_assert.h - $(INSTALL_DATA) opr_assert.h $@ + $(INSTALL_DATA) $? $@ $(TOP_INCDIR)/opr/jhash.h: jhash.h - $(INSTALL_DATA) jhash.h $@ + $(INSTALL_DATA) $? $@ $(TOP_INCDIR)/opr/queue.h: queue.h - $(INSTALL_DATA) queue.h $@ + $(INSTALL_DATA) $? $@ $(TOP_INCDIR)/opr/rbtree.h: rbtree.h - $(INSTALL_DATA) rbtree.h $@ + $(INSTALL_DATA) $? $@ clean: rm -f $(objects) libopr.a -- 2.39.5