Install bfd.h into destdir/include
This commit is contained in:
parent
b98412e372
commit
2bf92e47a9
@ -24,7 +24,7 @@ srcdir = .
|
|||||||
ddestdir = /usr/local
|
ddestdir = /usr/local
|
||||||
libdir = $(ddestdir)/lib
|
libdir = $(ddestdir)/lib
|
||||||
docdir = $(srcdir)/doc
|
docdir = $(srcdir)/doc
|
||||||
|
includedir= $(ddestdir)/include
|
||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
AR = ar
|
AR = ar
|
||||||
AR_FLAGS = clq
|
AR_FLAGS = clq
|
||||||
@ -209,6 +209,7 @@ install:
|
|||||||
cp libbfd.a $(libdir)/libbfd.a.new
|
cp libbfd.a $(libdir)/libbfd.a.new
|
||||||
$(RANLIB) $(libdir)/libbfd.a.new
|
$(RANLIB) $(libdir)/libbfd.a.new
|
||||||
mv -f $(libdir)/libbfd.a.new $(libdir)/libbfd.a
|
mv -f $(libdir)/libbfd.a.new $(libdir)/libbfd.a
|
||||||
|
cp $(INCDIR)/bfd.h $(includedir)/bfd.h
|
||||||
$(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)"
|
$(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)"
|
||||||
|
|
||||||
# Target to uncomment host-specific lines in this makefile. Such lines must
|
# Target to uncomment host-specific lines in this makefile. Such lines must
|
||||||
|
Loading…
Reference in New Issue
Block a user