2011-12-06 21:15:10 +00:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
2011-09-15 14:44:34 +02:00
|
|
|
#
|
2013-04-19 21:10:42 +01:00
|
|
|
# This file is part of the LibreOffice project.
|
2011-09-15 14:44:34 +02:00
|
|
|
#
|
2013-04-19 21:10:42 +01:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2011-09-15 14:44:34 +02:00
|
|
|
#
|
|
|
|
|
2013-04-24 16:58:51 +02:00
|
|
|
$(eval $(call gb_WinResTarget_WinResTarget,smath/launcher))
|
2011-09-15 14:44:34 +02:00
|
|
|
|
2013-04-24 16:58:51 +02:00
|
|
|
$(eval $(call gb_WinResTarget_set_include,smath/launcher,\
|
2011-09-15 14:44:34 +02:00
|
|
|
$$(INCLUDE) \
|
|
|
|
-I$(SRCDIR)/sysui/desktop \
|
|
|
|
))
|
|
|
|
|
2013-04-24 16:58:51 +02:00
|
|
|
$(eval $(call gb_WinResTarget_add_defs,smath/launcher,\
|
2011-09-15 14:44:34 +02:00
|
|
|
-DRES_APP_NAME=smath \
|
2013-02-28 13:17:39 +01:00
|
|
|
-DRES_APP_FILEDESC="$(PRODUCTNAME) Math" \
|
2011-12-02 13:43:18 +01:00
|
|
|
-DRES_APP_ICON=icons/math_app.ico \
|
2013-03-01 13:50:16 +01:00
|
|
|
-DVERVARIANT=$(LIBO_VERSION_PATCH) \
|
enhance VersionInfo resource of Windows excutables
+ added ProductName (a required parameter), It is LibreOffice
+ CompanyName is configurable, it is $(OOO_VENDOR), that is set
--with-vendor configure switch. If not set, then CompanyName is
empty string which is fine, too.
+ Binary file version and FileVersion string show the same value,
and version number is sane: main version + subversion + microversion
+ build number, such as 3.5.0.0
+ LegalCopyright text is the same as in the About box, year range
can be set in minor.mk
- removed archaic and overcomplicated version number calculating macros
- removed version.lst, copied relevant content to minor.mk
- removed binary RCDATA resources, I don't think they were of any use
2011-12-10 16:47:02 +01:00
|
|
|
-DRES_APP_VENDOR="$(OOO_VENDOR)" \
|
2011-09-15 14:44:34 +02:00
|
|
|
))
|
|
|
|
|
2013-04-24 16:58:51 +02:00
|
|
|
$(eval $(call gb_WinResTarget_add_dependencies,smath/launcher,\
|
2011-12-02 13:43:18 +01:00
|
|
|
sysui/desktop/icons/math_app.ico \
|
2011-09-15 14:44:34 +02:00
|
|
|
))
|
|
|
|
|
2013-04-24 16:58:51 +02:00
|
|
|
$(eval $(call gb_WinResTarget_set_rcfile,smath/launcher,desktop/win32/source/applauncher/launcher))
|
2011-09-15 14:44:34 +02:00
|
|
|
|
|
|
|
# vim: set ts=4 sw=4 et:
|