From: Chaskiel Grundman Date: Thu, 29 Dec 2011 18:06:31 +0000 (-0500) Subject: Make src/opr objdir safe X-Git-Tag: openafs-stable-1_8_0pre1~2856 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=d6876d3d8c7888cb9ef8efc9971e24259adf025a 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 --- diff --git a/src/opr/Makefile.in b/src/opr/Makefile.in index 095e691..803695a 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