summaryrefslogtreecommitdiffstats
path: root/desktop/WinResTarget_sofficebin.mk
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2012-01-18 13:11:11 +0100
committerAndras Timar <atimar@suse.com>2012-01-18 19:16:06 +0100
commitceb14e0143fb72b34421f6fb81ff1fb1842cb500 (patch)
tree01aa22526fa80fec90dee5e97a23c11e2feecaf4 /desktop/WinResTarget_sofficebin.mk
parentremoved unused header (diff)
downloadcore-ceb14e0143fb72b34421f6fb81ff1fb1842cb500.tar.gz
core-ceb14e0143fb72b34421f6fb81ff1fb1842cb500.zip
fdo#37740 remove duplicate icons from soffice.bin/soffice.exe
Diffstat (limited to 'desktop/WinResTarget_sofficebin.mk')
-rw-r--r--desktop/WinResTarget_sofficebin.mk49
1 files changed, 49 insertions, 0 deletions
diff --git a/desktop/WinResTarget_sofficebin.mk b/desktop/WinResTarget_sofficebin.mk
new file mode 100644
index 000000000000..334c9b780834
--- /dev/null
+++ b/desktop/WinResTarget_sofficebin.mk
@@ -0,0 +1,49 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# Version: MPL 1.1 / GPLv3+ / LGPLv3+
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License or as specified alternatively below. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# Major Contributor(s):
+# Copyright (C) 2011 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# For minor contributions see the git repository.
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+# instead of those above.
+
+$(eval $(call gb_WinResTarget_WinResTarget,sofficebin/src))
+
+$(eval $(call gb_WinResTarget_set_include,sofficebin/src,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/sysui/desktop \
+))
+
+$(eval $(call gb_WinResTarget_set_defs,sofficebin/src,\
+ $$(DEFS) \
+ -DRES_APP_NAME=soffice \
+ -DRES_APP_ICON=icons/main_app.ico \
+ -DVERVARIANT=$(BUILD) \
+ -DRES_APP_VENDOR="$(OOO_VENDOR)" \
+))
+
+$(eval $(call gb_WinResTarget_add_dependency,sofficebin/src,\
+ sysui/desktop/icons/main_app.ico \
+))
+
+$(eval $(call gb_WinResTarget_add_file,sofficebin/src,desktop/util/officeloader))
+
+# vim: set ts=4 sw=4 et: