Kaydet (Commit) b1cbf8f7 authored tarafından Michael Stahl's avatar Michael Stahl

salhelper: new ZipPackage_salhelper_odk_headers

Change-Id: I83172bd105496dd1af8090a01ebfac864958e20c
üst 58cd5303
...@@ -21,7 +21,7 @@ DOXY_STRIP_PATH := $(if $(filter WNT,$(OS)),$(shell cygpath -u $(OUTDIR)/inc),$( ...@@ -21,7 +21,7 @@ DOXY_STRIP_PATH := $(if $(filter WNT,$(OS)),$(shell cygpath -u $(OUTDIR)/inc),$(
DOXY_DEPS := $(SRCDIR)/odk/pack/gendocu/Doxyfile \ DOXY_DEPS := $(SRCDIR)/odk/pack/gendocu/Doxyfile \
$(SRCDIR)/odk/pack/gendocu/main.dox \ $(SRCDIR)/odk/pack/gendocu/main.dox \
$(call gb_Package_get_target,sal_odk_headers) \ $(call gb_Package_get_target,sal_odk_headers) \
$(call gb_Package_get_target,salhelper_inc) \ $(call gb_Package_get_target,salhelper_odk_headers) \
$(call gb_Package_get_target,cppu_inc) \ $(call gb_Package_get_target,cppu_inc) \
$(call gb_Package_get_target,cppuhelper_inc) \ $(call gb_Package_get_target,cppuhelper_inc) \
$(call gb_Package_get_target,store_inc) \ $(call gb_Package_get_target,store_inc) \
......
...@@ -32,10 +32,12 @@ salhelper_allheaders_DIR := $(call gb_CustomTarget_get_workdir,salhelper/allhead ...@@ -32,10 +32,12 @@ salhelper_allheaders_DIR := $(call gb_CustomTarget_get_workdir,salhelper/allhead
$(call gb_CustomTarget_get_target,salhelper/allheaders) : \ $(call gb_CustomTarget_get_target,salhelper/allheaders) : \
$(salhelper_allheaders_DIR)/salhelper_allheaders.hxx $(salhelper_allheaders_DIR)/salhelper_allheaders.hxx
# dependency on Package_inc.mk should ensure this is updated whenever a new public header is added # dependency on Package_salhelper_odk_headers.mk should ensure this is
# updated whenever a new public header is added
$(salhelper_allheaders_DIR)/salhelper_allheaders.hxx : \ $(salhelper_allheaders_DIR)/salhelper_allheaders.hxx : \
$(SRCDIR)/salhelper/CustomTarget_salhelper_allheaders.mk \ $(SRCDIR)/salhelper/CustomTarget_salhelper_allheaders.mk \
| $(salhelper_allheaders_DIR)/.dir $(SRCDIR)/salhelper/Package_inc.mk $(SRCDIR)/salhelper/ZipPackage_salhelper_odk_headers.mk \
| $(salhelper_allheaders_DIR)/.dir
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,1) $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,1)
printf '// Generated list of all salhelper/ includes\n' > $@ printf '// Generated list of all salhelper/ includes\n' > $@
$(foreach file, $(wildcard $(SRCDIR)/salhelper/inc/*.h) $(wildcard $(SRCDIR)/salhelper/inc/*.hxx) \ $(foreach file, $(wildcard $(SRCDIR)/salhelper/inc/*.h) $(wildcard $(SRCDIR)/salhelper/inc/*.hxx) \
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
$(eval $(call gb_Library_Library,salhelper)) $(eval $(call gb_Library_Library,salhelper))
$(eval $(call gb_Library_use_package,salhelper,salhelper_inc)) $(eval $(call gb_Library_use_package,salhelper,salhelper_odk_headers))
$(eval $(call gb_Library_add_defs,salhelper,\ $(eval $(call gb_Library_add_defs,salhelper,\
-DSALHELPER_DLLIMPLEMENTATION \ -DSALHELPER_DLLIMPLEMENTATION \
......
...@@ -30,7 +30,7 @@ $(eval $(call gb_Module_Module,salhelper)) ...@@ -30,7 +30,7 @@ $(eval $(call gb_Module_Module,salhelper))
$(eval $(call gb_Module_add_targets,salhelper,\ $(eval $(call gb_Module_add_targets,salhelper,\
CustomTarget_salhelper_allheaders \ CustomTarget_salhelper_allheaders \
Library_salhelper \ Library_salhelper \
Package_inc \ ZipPackage_salhelper_odk_headers \
)) ))
$(eval $(call gb_Module_add_check_targets,salhelper,\ $(eval $(call gb_Module_add_check_targets,salhelper,\
......
...@@ -25,16 +25,18 @@ ...@@ -25,16 +25,18 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
$(eval $(call gb_Package_Package,salhelper_inc,$(SRCDIR)/salhelper/inc/salhelper)) $(eval $(call gb_ZipPackage_ZipPackage,salhelper_odk_headers,$(SRCDIR)/salhelper/inc/salhelper))
$(eval $(call gb_Package_add_file,salhelper_inc,inc/salhelper/salhelperdllapi.h,salhelperdllapi.h)) $(eval $(call gb_ZipPackage_add_files,salhelper_odk_headers,inc/salhelper,include/salhelper,\
$(eval $(call gb_Package_add_file,salhelper_inc,inc/salhelper/condition.hxx,condition.hxx)) salhelperdllapi.h \
$(eval $(call gb_Package_add_file,salhelper_inc,inc/salhelper/dynload.hxx,dynload.hxx)) condition.hxx \
$(eval $(call gb_Package_add_file,salhelper_inc,inc/salhelper/linkhelper.hxx,linkhelper.hxx)) dynload.hxx \
$(eval $(call gb_Package_add_file,salhelper_inc,inc/salhelper/refobj.hxx,refobj.hxx)) linkhelper.hxx \
$(eval $(call gb_Package_add_file,salhelper_inc,inc/salhelper/simplereferenceobject.hxx,simplereferenceobject.hxx)) refobj.hxx \
$(eval $(call gb_Package_add_file,salhelper_inc,inc/salhelper/singletonref.hxx,singletonref.hxx)) simplereferenceobject.hxx \
$(eval $(call gb_Package_add_file,salhelper_inc,inc/salhelper/thread.hxx,thread.hxx)) singletonref.hxx \
$(eval $(call gb_Package_add_file,salhelper_inc,inc/salhelper/timer.hxx,timer.hxx)) thread.hxx \
timer.hxx \
))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
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