mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 00:03:02 +01:00
Copy new API include files to the Linux target directory.
This commit is contained in:
parent
5f20e61723
commit
2397bd0527
@ -554,8 +554,12 @@ $(GEN_ROOT)/$(TARGET)/firebird/msg.gbak: $(ROOT)/gen/msg.gbak
|
|||||||
|
|
||||||
INCLUDE_DEST= $(FB_BUILD)/include
|
INCLUDE_DEST= $(FB_BUILD)/include
|
||||||
|
|
||||||
|
NEW_INCLUDES_SRC = $(shell find $(SRC_ROOT)/include/firebird -type f)
|
||||||
|
NEW_INCLUDES_DEST = $(patsubst $(SRC_ROOT)/include/firebird/%, $(INCLUDE_DEST)/firebird/%, $(NEW_INCLUDES_SRC))
|
||||||
|
|
||||||
include_generic: $(INCLUDE_DEST)/ib_util.h \
|
include_generic: $(INCLUDE_DEST)/ib_util.h \
|
||||||
$(INCLUDE_DEST)/ibase.h
|
$(INCLUDE_DEST)/ibase.h \
|
||||||
|
$(NEW_INCLUDES_DEST)
|
||||||
|
|
||||||
# ib_util.h actually is a marker for a number of headers
|
# ib_util.h actually is a marker for a number of headers
|
||||||
|
|
||||||
@ -586,6 +590,10 @@ $(INCLUDE_DEST)/ib_util.h : $(SRC_OtherDistribHeaders)
|
|||||||
mkdir -p $(INCLUDE_DEST)
|
mkdir -p $(INCLUDE_DEST)
|
||||||
$(CP) $^ $(INCLUDE_DEST)/
|
$(CP) $^ $(INCLUDE_DEST)/
|
||||||
|
|
||||||
|
$(INCLUDE_DEST)/firebird/%: $(SRC_ROOT)/include/firebird/%
|
||||||
|
mkdir -p $(@D)
|
||||||
|
$(CP) $< $@
|
||||||
|
|
||||||
|
|
||||||
#___________________________________________________________________________
|
#___________________________________________________________________________
|
||||||
# track dependencies
|
# track dependencies
|
||||||
|
Loading…
Reference in New Issue
Block a user