opr: add buildtools target

opr needs a buildtools target for "make generated". Make it install
the headers, which are needed by the other generated targets.

Change-Id: I34faa81fa84407c5e6e1460dc765d0c2ce1ef3e8
Reviewed-on: http://gerrit.openafs.org/6523
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
Marc Dionne 2012-01-07 15:40:42 -05:00 committed by Derrick Brashear
parent 967d7201ee
commit 80a2e6ed74

View File

@ -4,12 +4,13 @@ include @TOP_OBJDIR@/src/config/Makefile.pthread
objects = assert.o casestrcpy.o rbtree.o
all: $(TOP_INCDIR)/afs/opr.h \
$(TOP_INCDIR)/afs/opr_assert.h \
$(TOP_INCDIR)/opr/jhash.h \
$(TOP_INCDIR)/opr/queue.h \
$(TOP_INCDIR)/opr/rbtree.h \
$(TOP_LIBDIR)/libopr.a
HEADERS = $(TOP_INCDIR)/afs/opr.h \
$(TOP_INCDIR)/afs/opr_assert.h \
$(TOP_INCDIR)/opr/jhash.h \
$(TOP_INCDIR)/opr/queue.h \
$(TOP_INCDIR)/opr/rbtree.h
all: $(HEADERS) $(TOP_LIBDIR)/libopr.a
libopr.a: $(objects)
-$(RM) -f $@
@ -43,3 +44,5 @@ install: libopr.a
dest: libopr.a
$(INSTALL_DATA) libopr.a $(DEST)/lib/libopr.a
buildtools: $(HEADERS)