diff options
-rwxr-xr-x | solenv/gbuild/LinkTarget.mk | 5 | ||||
-rw-r--r-- | solenv/gbuild/UnoApi.mk | 6 | ||||
-rw-r--r-- | svx/Executable_gengal.bin.mk | 5 |
3 files changed, 5 insertions, 11 deletions
diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk index 57340b2954e7..8cad4b28f3e0 100755 --- a/solenv/gbuild/LinkTarget.mk +++ b/solenv/gbuild/LinkTarget.mk @@ -765,9 +765,8 @@ $(call gb_LinkTarget_get_target,$(1)) : LIBS := $$(filter-out $$(gb_STDLIBS),$$( endef define gb_LinkTarget__use_api -$(call gb_LinkTarget_get_target,$(1)) :| $(call gb_UnoApi_get_target,$(2)) -$(call gb_LinkTarget_use_package,$(1),$(2)_inc) -$(call gb_LinkTarget__add_include,$(1),$(OUTDIR)/inc/$(2)) +$(call gb_LinkTarget_get_external_headers_target,$(1)) : $(call gb_UnoApiHeadersTarget_get_target,$(2)) +$(call gb_LinkTarget__add_include,$(1),$(call gb_UnoApiHeadersTarget_get_dir,$(2))) endef diff --git a/solenv/gbuild/UnoApi.mk b/solenv/gbuild/UnoApi.mk index 8c3195929b23..32034482478a 100644 --- a/solenv/gbuild/UnoApi.mk +++ b/solenv/gbuild/UnoApi.mk @@ -17,19 +17,16 @@ $(call gb_UnoApiTarget_UnoApiTarget,$(1)) $(call gb_UnoApiHeadersTarget_UnoApiHeadersTarget,$(1)) $(call gb_Package_Package_internal,$(1)_idl,$(SRCDIR)) $(call gb_Package_set_outdir,$(1)_idl,$(INSTDIR)) -$(call gb_Package_Package_internal,$(1)_inc,$(call gb_UnoApiHeadersTarget_get_dir,$(1))) $(call gb_UnoApiTarget_set_root,$(1),UCR) $(call gb_UnoApi_get_target,$(1)) :| $(dir $(call gb_UnoApi_get_target,$(1))).dir $(call gb_UnoApi_get_target,$(1)) : $(call gb_UnoApiTarget_get_target,$(1)) -$(call gb_UnoApi_get_target,$(1)) :| $(call gb_Package_get_target,$(1)_inc) +$(call gb_UnoApi_get_target,$(1)) : $(call gb_UnoApiHeadersTarget_get_target,$(1)) $(call gb_UnoApi_get_clean_target,$(1)) : $(call gb_UnoApiTarget_get_clean_target,$(1)) $(call gb_UnoApi_get_clean_target,$(1)) : $(call gb_UnoApiHeadersTarget_get_clean_target,$(1)) -$(call gb_UnoApi_get_clean_target,$(1)) : $(call gb_Package_get_clean_target,$(1)_inc) $(call gb_UnoApiTarget_get_headers_target,$(1)) : $(call gb_Package_get_target,$(1)_idl) -$(call gb_Package_get_preparation_target,$(1)_inc) : $(call gb_UnoApiHeadersTarget_get_target,$(1)) $(call gb_Deliver_add_deliverable,$(call gb_UnoApi_get_target,$(1)),$(call gb_UnoApiTarget_get_target,$(1)),$(1)) @@ -53,7 +50,6 @@ $(call gb_Package_add_file,$(1)_idl,$(patsubst $(1)/%,$(gb_Package_SDKDIRNAME)/i endef define gb_UnoApi__add_headerfile_impl -$(call gb_Package_add_file,$(1)_inc,inc/$(2),$(3)) $(call gb_UnoApiHeadersTarget_add_headerfile,$(1),$(2),$(3)) endef diff --git a/svx/Executable_gengal.bin.mk b/svx/Executable_gengal.bin.mk index 74c82784af7a..7be4ace7a452 100644 --- a/svx/Executable_gengal.bin.mk +++ b/svx/Executable_gengal.bin.mk @@ -30,13 +30,12 @@ $(eval $(call gb_Executable_set_include,$(svx_GENGALBIN),\ $$(INCLUDE) \ -I$(SRCDIR)/svx/inc/ \ -I$(SRCDIR)/svx/inc/pch \ - -I$(OUTDIR)/inc/offuh \ - -I$(OUTDIR)/inc/udkapi \ - -I$(OUTDIR)/inc/offapi \ )) $(eval $(call gb_Executable_use_external,$(svx_GENGALBIN),boost_headers)) +$(eval $(call gb_Executable_use_sdk_api,$(svx_GENGALBIN))) + $(eval $(call gb_Executable_use_libraries,$(svx_GENGALBIN),\ basegfx \ sal \ |