summaryrefslogtreecommitdiff
path: root/desktop/Executable_soffice.bin.mk
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-05-02 10:32:14 +0200
committerDavid Tardon <dtardon@redhat.com>2012-05-02 10:56:22 +0200
commit947244c188dabe7a1799254c9e9c58ddb2eccf98 (patch)
tree4adeb2027cb1b9bca6bf4934e054687ee711aae7 /desktop/Executable_soffice.bin.mk
parent1fa4154c1c99dc06713da3ab03096ce4a05e74c4 (diff)
convert custom makefile code into a package
Change-Id: I72b41e4826b7e93b5c8aeacbf6d9d52e3780f090
Diffstat (limited to 'desktop/Executable_soffice.bin.mk')
-rw-r--r--desktop/Executable_soffice.bin.mk60
1 files changed, 5 insertions, 55 deletions
diff --git a/desktop/Executable_soffice.bin.mk b/desktop/Executable_soffice.bin.mk
index 59b9f085548e..d1c6aec55939 100644
--- a/desktop/Executable_soffice.bin.mk
+++ b/desktop/Executable_soffice.bin.mk
@@ -25,73 +25,25 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
-ifeq ($(OS),WNT)
-sofficebin := soffice_bin
-else
-sofficebin := soffice.bin
-endif
-
-$(eval $(call gb_Executable_Executable,$(sofficebin)))
+$(eval $(call gb_Executable_Executable,soffice.bin))
-$(eval $(call gb_Executable_set_targettype_gui,$(sofficebin),YES))
+$(eval $(call gb_Executable_set_targettype_gui,soffice.bin,YES))
-$(eval $(call gb_Executable_set_include,$(sofficebin),\
+$(eval $(call gb_Executable_set_include,soffice.bin,\
$$(INCLUDE) \
-I$(SRCDIR)/desktop/source/inc \
))
-$(eval $(call gb_Executable_use_libraries,$(sofficebin),\
+$(eval $(call gb_Executable_use_libraries,soffice.bin,\
sal \
sofficeapp \
$(gb_STDLIBS) \
))
-$(eval $(call gb_Executable_add_cobjects,$(sofficebin),\
+$(eval $(call gb_Executable_add_cobjects,soffice.bin,\
desktop/source/app/main \
))
-ifeq ($(OS),WNT)
-
-$(eval $(call gb_Executable_use_static_libraries,$(sofficebin),\
- ooopathutils \
- winextendloaderenv \
-))
-
-ifeq ($(COM),MSC)
-
-$(eval $(call gb_Executable_add_ldflags,$(sofficebin),\
- /STACK:10000000 \
-))
-
-endif
-
-$(call gb_Module_get_target,desktop) : $(OUTDIR)/bin/soffice.bin
-
-$(OUTDIR)/bin/soffice.bin : $(call gb_Executable_get_target,$(sofficebin))
-$(call gb_Executable_get_clean_target,$(sofficebin)) : $(WORKDIR)/Clean/OutDir/bin/soffice.bin
-$(OUTDIR)/bin/soffice.bin : $(call gb_LinkTarget_get_target,$(call gb_Executable_get_linktargetname,$(sofficebin)))
- $(call gb_Deliver_deliver,$<,$@)
-
-.PHONY : $(WORKDIR)/Clean/OutDir/bin/soffice.bin
-$(WORKDIR)/Clean/OutDir/bin/soffice.bin :
- rm -f $(OUTDIR)/bin/soffice.bin
-
-ifeq ($(COM),MSC)
-$(call gb_Module_get_target,desktop) : $(OUTDIR)/bin/soffice.bin.manifest
-
-$(OUTDIR)/bin/soffice.bin.manifest : $(call gb_Executable_get_target,$(sofficebin))
-$(call gb_Executable_get_clean_target,$(sofficebin)) : $(WORKDIR)/Clean/OutDir/bin/soffice.bin.manifest
-$(OUTDIR)/bin/soffice.bin.manifest : $(call gb_LinkTarget_get_target,$(call gb_Executable_get_linktargetname,$(sofficebin)))
- $(call gb_Deliver_deliver,$<.manifest,$@)
-
-.PHONY : $(WORKDIR)/Clean/OutDir/bin/soffice.bin.manifest
-$(WORKDIR)/Clean/OutDir/bin/soffice.bin.manifest :
- rm -f $(OUTDIR)/bin/soffice.bin.manifest
-
-endif
-
-endif
-
ifeq ($(OS),MACOSX)
$(eval $(call gb_Executable_set_ldflags,\
@@ -100,6 +52,4 @@ $(eval $(call gb_Executable_set_ldflags,\
endif
-$(eval $(call gb_Executable_add_nativeres,$(sofficebin),sofficebin/src))
-
# vim: set ts=4 sw=4 et: