From 0c6d1610ac9309faf85530bde1b6308fbc8822af Mon Sep 17 00:00:00 2001 From: Benjamin Kaduk Date: Sat, 5 May 2018 13:11:00 -0500 Subject: [PATCH] opr: install afs/opr.h and opr/lock.h These headers are (transitively) referenced from rx_pthread.h, which is pulled in from rx.h when AFS_PTHREAD_ENV is defined. As such, we are presenting an incomplete public API without this header. Reviewed-on: https://gerrit.openafs.org/13054 Tested-by: BuildBot Reviewed-by: Anders Kaseorg Tested-by: Anders Kaseorg Reviewed-by: Michael Meffie Reviewed-by: Benjamin Kaduk (cherry picked from commit 792dd44ac57032a3f2a4743c83c8a0208a08ecec) Change-Id: I9785e4d408b2838a2c65ae372717a6c92e38767b Reviewed-on: https://gerrit.openafs.org/13141 Tested-by: BuildBot Reviewed-by: Benjamin Kaduk --- src/opr/Makefile.in | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/opr/Makefile.in b/src/opr/Makefile.in index 76ae679a7..1067117e0 100644 --- a/src/opr/Makefile.in +++ b/src/opr/Makefile.in @@ -84,15 +84,21 @@ clean: $(LT_CLEAN) rm -f libopr.a *.o -install: libopr.a +install: libopr.a ${srcdir}/opr.h ${srcdir}/opr_lock.h $(INSTALL_DATA) libopr.a $(DESTDIR)$(libdir)/libopr.a $(INSTALL) -d $(DESTDIR)$(includedir)/opr $(INSTALL_DATA) ${srcdir}/queue.h $(DESTDIR)$(includedir)/opr/queue.h + $(INSTALL_DATA) ${srcdir}/opr_lock.h $(DESTDIR)$(includedir)/opr/lock.h + $(INSTALL) -d $(DESTDIR)$(includedir)/afs + $(INSTALL_DATA) ${srcdir}/opr.h $(DESTDIR)$(includedir)/afs/opr.h -dest: libopr.a +dest: libopr.a ${srcdir}/opr.h ${srcdir}/opr_lock.h $(INSTALL_DATA) libopr.a $(DEST)/lib/libopr.a $(INSTALL) -d $(DEST)/include/opr $(INSTALL_DATA) ${srcdir}/queue.h $(DEST)/include/opr/queue.h + $(INSTALL_DATA) ${srcdir}/opr_lock.h $(DEST)/include/opr/lock.h + $(INSTALL) -d $(DEST)/include/afs + $(INSTALL_DATA) ${srcdir}/opr.h $(DEST)/include/afs/opr.h buildtools: $(HEADERS) $(TOP_LIBDIR)/libopr.a -- 2.39.5