mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
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:
parent
967d7201ee
commit
80a2e6ed74
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user