2011-12-06 15:15:10 -06:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
2011-09-15 07:44:34 -05:00
|
|
|
# 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):
|
2011-12-06 15:15:10 -06:00
|
|
|
# Copyright (C) 2011 Red Hat, Inc., David Tardon <dtardon@redhat.com>
|
|
|
|
# (initial developer)
|
2011-09-15 07:44:34 -05:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2011-09-26 05:47:35 -05:00
|
|
|
$(eval $(call gb_WinResTarget_WinResTarget,sbase/src))
|
2011-09-15 07:44:34 -05:00
|
|
|
|
2011-09-26 05:47:35 -05:00
|
|
|
$(eval $(call gb_WinResTarget_set_include,sbase/src,\
|
2011-09-15 07:44:34 -05:00
|
|
|
$$(INCLUDE) \
|
|
|
|
-I$(SRCDIR)/sysui/desktop \
|
|
|
|
))
|
|
|
|
|
2011-09-26 05:47:35 -05:00
|
|
|
$(eval $(call gb_WinResTarget_set_defs,sbase/src,\
|
2011-09-15 07:44:34 -05:00
|
|
|
$$(DEFS) \
|
|
|
|
-DRES_APP_NAME=sbase \
|
2011-12-02 06:43:18 -06:00
|
|
|
-DRES_APP_ICON=icons/base_app.ico \
|
2011-09-15 07:44:34 -05:00
|
|
|
-DVERVARIANT=$(BUILD) \
|
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 09:47:02 -06:00
|
|
|
-DRES_APP_VENDOR="$(OOO_VENDOR)" \
|
2011-09-15 07:44:34 -05:00
|
|
|
))
|
|
|
|
|
2011-09-26 05:47:35 -05:00
|
|
|
$(eval $(call gb_WinResTarget_add_dependency,sbase/src,\
|
2011-12-02 06:43:18 -06:00
|
|
|
sysui/desktop/icons/base_app.ico \
|
2011-09-15 07:44:34 -05:00
|
|
|
))
|
|
|
|
|
2011-09-26 05:47:35 -05:00
|
|
|
$(eval $(call gb_WinResTarget_add_file,sbase/src,desktop/win32/source/applauncher/launcher))
|
2011-09-15 07:44:34 -05:00
|
|
|
|
|
|
|
# vim: set ts=4 sw=4 et:
|