Kaydet (Commit) 53d39155 authored tarafından David Tardon's avatar David Tardon

use gb_WinResTarget_use_custom_headers

Change-Id: I62f63eb4eeb8d48c35bec1c8e9f05e7037ccd12c
üst 218072e2
...@@ -30,6 +30,10 @@ ...@@ -30,6 +30,10 @@
$(eval $(call gb_WinResTarget_WinResTarget,activex_res)) $(eval $(call gb_WinResTarget_WinResTarget,activex_res))
$(eval $(call gb_WinResTarget_use_custom_headers,activex_res,\
extensions/source/activex/idl \
))
ifneq ($(PRODUCT),) ifneq ($(PRODUCT),)
$(eval $(call gb_WinResTarget_add_defs,activex_res,\ $(eval $(call gb_WinResTarget_add_defs,activex_res,\
-DPRODUCT \ -DPRODUCT \
...@@ -43,6 +47,4 @@ $(eval $(call gb_WinResTarget_add_defs,activex_res,\ ...@@ -43,6 +47,4 @@ $(eval $(call gb_WinResTarget_add_defs,activex_res,\
-DSO_ACTIVEX_TLB_DIR=$(subst /,\\,$(subst $(SRCDIR),../../..,$(WORKDIR)/CustomTarget/extensions/source/activex/idl)) \ -DSO_ACTIVEX_TLB_DIR=$(subst /,\\,$(subst $(SRCDIR),../../..,$(WORKDIR)/CustomTarget/extensions/source/activex/idl)) \
)) ))
$(call gb_WinResTarget_get_target,activex_res) : $(WORKDIR)/CustomTarget/extensions/source/activex/idl/so_activex.tlb
# vim:set shiftwidth=4 softtabstop=4 expandtab: # vim:set shiftwidth=4 softtabstop=4 expandtab:
...@@ -29,12 +29,13 @@ $(eval $(call gb_WinResTarget_WinResTarget,shlxthdl)) ...@@ -29,12 +29,13 @@ $(eval $(call gb_WinResTarget_WinResTarget,shlxthdl))
$(eval $(call gb_WinResTarget_set_include,shlxthdl,\ $(eval $(call gb_WinResTarget_set_include,shlxthdl,\
$$(INCLUDE) \ $$(INCLUDE) \
-I$(WORKDIR)/CustomTarget/shell/source/win32/shlxthandler/res \
-I$(SRCDIR)/shell/inc \ -I$(SRCDIR)/shell/inc \
)) ))
$(eval $(call gb_WinResTarget_set_rcfile,shlxthdl,shell/source/win32/shlxthandler/res/shlxthdl)) $(eval $(call gb_WinResTarget_use_custom_headers,shlxthdl,\
shell/source/win32/shlxthandler/res \
))
$(call gb_WinResTarget_get_target,shlxthdl) : $(call gb_CustomTarget_get_workdir,shell/source/win32/shlxthandler/res)/shlxthdl_impl.rc $(eval $(call gb_WinResTarget_set_rcfile,shlxthdl,shell/source/win32/shlxthandler/res/shlxthdl))
# vim: set shiftwidth=4 tabstop=4 noexpandtab: # vim: set shiftwidth=4 tabstop=4 noexpandtab:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment