Kaydet (Commit) 5c7f6ca7 authored tarafından David Tardon's avatar David Tardon Kaydeden (comit) Fridrich Strba

replace CustomTarget_odk/odkcommon/cli by Package

Change-Id: I1d747fec9b1bf2aeef2a1886981f7f07a338ea12
Reviewed-on: https://gerrit.libreoffice.org/3530Reviewed-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
Tested-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
üst 2996c3d4
......@@ -28,6 +28,7 @@ odk_PLATFORM := $(if $(filter WNT,$(OS)),\
$(call gb_CustomTarget_get_workdir,odk/check)/checkbin : \
$(SRCDIR)/odk/util/check.pl \
$(call gb_Package_get_target,odk_bin) \
$(if $(filter WNT,$(OS)),$(call gb_Package_get_target,odk_cli)) \
$(if $(filter MACOSX,$(OS)),$(call gb_Package_get_target,odk_macosx)) \
$(call gb_CustomTarget_get_target,odk/odkcommon)
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),CHK,1)
......
......@@ -21,8 +21,7 @@ $(call gb_CustomTarget_get_target,odk/odkcommon): \
$(call gb_CustomTarget_get_target,odk/odkcommon/classes) \
$(call gb_CustomTarget_get_target,odk/odkcommon/lib) \
$(call gb_CustomTarget_get_target,odk/odkcommon/idl) \
$(call gb_CustomTarget_get_target,odk/odkcommon/include) \
$(if $(filter MSC,$(COM)),$(call gb_CustomTarget_get_target,odk/odkcommon/cli))
$(call gb_CustomTarget_get_target,odk/odkcommon/include)
ifeq ($(OS),WNT)
odk_CONFIGLIST := cfgWin.js \
......
......@@ -11,7 +11,7 @@ $(eval $(call gb_Module_Module,odk))
$(eval $(call gb_Module_add_targets,odk,\
CustomTarget_odkcommon \
$(if $(filter WNT,$(OS)),CustomTarget_cli) \
$(if $(filter WNT,$(OS)),Package_cli) \
$(if $(DOXYGEN),CustomTarget_doxygen) \
CustomTarget_check \
CustomTarget_lib \
......
......@@ -7,23 +7,16 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_CustomTarget_CustomTarget,odk/odkcommon/cli))
$(eval $(call gb_Package_Package,odk_cli,$(OUTDIR)/bin))
odk_CLILIST := cli_basetypes.dll \
cli_uretypes.dll \
cli_oootypes.dll \
cli_ure.dll \
cli_cppuhelper.dll
$(eval $(call gb_Package_set_outdir,odk_cli,$(INSTDIR)))
define odk_cli
odkcommon_ZIPLIST += cli/$(1)
$(call gb_CustomTarget_get_target,odk/odkcommon/cli): $(odk_WORKDIR)/cli/$(1)
$(odk_WORKDIR)/cli/$(1): $(call gb_CliAssembly_get_target,$(1))
mkdir -p $$(dir $$@)
$$(call gb_Output_announce,$$(subst $$(WORKDIR)/,,$$@),build,CPY,1)
cp $$< $$@
endef
$(foreach cli,$(odk_CLILIST),$(eval $(call odk_cli,$(cli))))
$(eval $(call gb_Package_add_files,odk_cli,$(gb_Package_SDKDIRNAME)/cli,\
cli_basetypes.dll \
cli_cppuhelper.dll \
cli_oootypes.dll \
cli_ure.dll \
cli_uretypes.dll \
))
# vim: set noet sw=4 ts=4:
......@@ -35,6 +35,7 @@ Module gid_Module_Optional_Sdkoo
Default = NO;
Files = (
gid_File_Package_odk_bin,
gid_File_Package_odk_cli,
gid_File_Package_odk_macosx,
gid_File_Zip_Odkexamples,
gid_File_Zip_Odkcommon,
......
......@@ -123,6 +123,15 @@ File gid_File_Package_odk_bin
Styles = (FILELIST,USE_INTERNAL_RIGHTS);
End
#if defined(WNT)
File gid_File_Package_odk_cli
TXT_FILE_BODY;
Dir = FILELIST_SDK_DIR;
Name = "odk_cli.filelist";
Styles = (FILELIST,USE_INTERNAL_RIGHTS);
End
#endif
#if defined(MACOSX)
File gid_File_Package_odk_macosx
TXT_FILE_BODY;
......
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