diff options
author | Petr Mladek <pmladek@suse.cz> | 2013-04-12 14:50:02 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2013-04-30 12:05:22 +0200 |
commit | 9459b80caae597a1d34a091a7dd99f7101f4bd2c (patch) | |
tree | c171c114b43eb1ad1766fb16d977dbf4cf8fbc92 /cli_ure | |
parent | 622005fb5f57719061abdb350fa2eb6fb1c9bdff (diff) |
[mono] introduce BUILD_CLI variable; register new binaries
Change-Id: I64788235ec734409cae51c783dd05c02357f5851
Diffstat (limited to 'cli_ure')
-rw-r--r-- | cli_ure/Module_cli_ure.mk | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/cli_ure/Module_cli_ure.mk b/cli_ure/Module_cli_ure.mk index 64f9bb916bd2..7d4418f26f66 100644 --- a/cli_ure/Module_cli_ure.mk +++ b/cli_ure/Module_cli_ure.mk @@ -13,18 +13,47 @@ $(eval $(call gb_Module_add_targets,cli_ure,\ Package_version \ )) -ifeq ($(COM),MSC) +# common stuff +ifeq ($(BUILD_CLI),YES) $(eval $(call gb_Module_add_targets,cli_ure,\ CliLibrary_cli_basetypes \ CliLibrary_cli_ure \ - CliNativeLibrary_cli_cppuhelper \ CliUnoApi_cli_uretypes \ CustomTarget_cli_ure_assemblies \ + Package_config \ +)) + +ifeq ($(COM),MSC) + +# Original implementation for Windows +$(eval $(call gb_Module_add_targets,cli_ure,\ + CliNativeLibrary_cli_cppuhelper \ Executable_climaker \ Library_cli_cppuhelper_native \ Library_cli_uno \ - Package_config \ )) + +else + +# Alternative implementation +# FIXME: tested only on Linux +$(eval $(call gb_Module_add_targets,cli_ure,\ + CliLibrary_cli_cppuhelper_mono \ + CliLibrary_cli_uno_bridge \ + Library_cli_uno_unix \ + Library_cli_uno_glue \ + Library_mono_loader \ +)) + +ifeq ($(ENABLE_MONO_CLIMAKER),YES) +$(eval $(call gb_Module_add_targets,cli_ure,\ + Executable_climaker_mono \ + Library_climaker \ +)) +endif + +endif + endif # vim: set noet sw=4 ts=4: |