Kaydet (Commit) 5cc63989 authored tarafından Michael Stahl's avatar Michael Stahl

fdo#47246: desktop: factor out a winlauncher static library

üst 25d571ff
......@@ -83,6 +83,10 @@ $(eval $(call gb_Helper_register_executables,OOO,\
unopkgio \
))
$(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \
winlauncher \
))
else
$(eval $(call gb_Helper_register_executables,OOO,\
......
......@@ -29,10 +29,6 @@ $(eval $(call gb_Executable_Executable,sbase))
$(eval $(call gb_Executable_set_targettype_gui,sbase,YES))
$(eval $(call gb_Executable_set_include,sbase,\
$$(INCLUDE) \
))
$(eval $(call gb_Executable_add_defs,sbase,\
-DUNICODE \
))
......@@ -41,8 +37,11 @@ $(eval $(call gb_Executable_add_linked_libs,sbase,\
$(gb_STDLIBS) \
))
$(eval $(call gb_Executable_add_linked_static_libs,sbase,\
winlauncher \
))
$(eval $(call gb_Executable_add_noexception_objects,sbase,\
desktop/win32/source/applauncher/launcher \
desktop/win32/source/applauncher/sbase \
))
......
......@@ -29,10 +29,6 @@ $(eval $(call gb_Executable_Executable,scalc))
$(eval $(call gb_Executable_set_targettype_gui,scalc,YES))
$(eval $(call gb_Executable_set_include,scalc,\
$$(INCLUDE) \
))
$(eval $(call gb_Executable_add_defs,scalc,\
-DUNICODE \
))
......@@ -41,8 +37,11 @@ $(eval $(call gb_Executable_add_linked_libs,scalc,\
$(gb_STDLIBS) \
))
$(eval $(call gb_Executable_add_linked_static_libs,scalc,\
winlauncher \
))
$(eval $(call gb_Executable_add_noexception_objects,scalc,\
desktop/win32/source/applauncher/launcher \
desktop/win32/source/applauncher/scalc \
))
......
......@@ -29,10 +29,6 @@ $(eval $(call gb_Executable_Executable,sdraw))
$(eval $(call gb_Executable_set_targettype_gui,sdraw,YES))
$(eval $(call gb_Executable_set_include,sdraw,\
$$(INCLUDE) \
))
$(eval $(call gb_Executable_add_defs,sdraw,\
-DUNICODE \
))
......@@ -41,8 +37,11 @@ $(eval $(call gb_Executable_add_linked_libs,sdraw,\
$(gb_STDLIBS) \
))
$(eval $(call gb_Executable_add_linked_static_libs,sdraw,\
winlauncher \
))
$(eval $(call gb_Executable_add_noexception_objects,sdraw,\
desktop/win32/source/applauncher/launcher \
desktop/win32/source/applauncher/sdraw \
))
......
......@@ -29,10 +29,6 @@ $(eval $(call gb_Executable_Executable,simpress))
$(eval $(call gb_Executable_set_targettype_gui,simpress,YES))
$(eval $(call gb_Executable_set_include,simpress,\
$$(INCLUDE) \
))
$(eval $(call gb_Executable_add_defs,simpress,\
-DUNICODE \
))
......@@ -41,8 +37,11 @@ $(eval $(call gb_Executable_add_linked_libs,simpress,\
$(gb_STDLIBS) \
))
$(eval $(call gb_Executable_add_linked_static_libs,simpress,\
winlauncher \
))
$(eval $(call gb_Executable_add_noexception_objects,simpress,\
desktop/win32/source/applauncher/launcher \
desktop/win32/source/applauncher/simpress \
))
......
......@@ -29,10 +29,6 @@ $(eval $(call gb_Executable_Executable,smath))
$(eval $(call gb_Executable_set_targettype_gui,smath,YES))
$(eval $(call gb_Executable_set_include,smath,\
$$(INCLUDE) \
))
$(eval $(call gb_Executable_add_defs,smath,\
-DUNICODE \
))
......@@ -41,8 +37,11 @@ $(eval $(call gb_Executable_add_linked_libs,smath,\
$(gb_STDLIBS) \
))
$(eval $(call gb_Executable_add_linked_static_libs,smath,\
winlauncher \
))
$(eval $(call gb_Executable_add_noexception_objects,smath,\
desktop/win32/source/applauncher/launcher \
desktop/win32/source/applauncher/smath \
))
......
......@@ -29,10 +29,6 @@ $(eval $(call gb_Executable_Executable,sweb))
$(eval $(call gb_Executable_set_targettype_gui,sweb,YES))
$(eval $(call gb_Executable_set_include,sweb,\
$$(INCLUDE) \
))
$(eval $(call gb_Executable_add_defs,sweb,\
-DUNICODE \
))
......@@ -41,8 +37,11 @@ $(eval $(call gb_Executable_add_linked_libs,sweb,\
$(gb_STDLIBS) \
))
$(eval $(call gb_Executable_add_linked_static_libs,sweb,\
winlauncher \
))
$(eval $(call gb_Executable_add_noexception_objects,sweb,\
desktop/win32/source/applauncher/launcher \
desktop/win32/source/applauncher/sweb \
))
......
......@@ -29,10 +29,6 @@ $(eval $(call gb_Executable_Executable,swriter))
$(eval $(call gb_Executable_set_targettype_gui,swriter,YES))
$(eval $(call gb_Executable_set_include,swriter,\
$$(INCLUDE) \
))
$(eval $(call gb_Executable_add_defs,swriter,\
-DUNICODE \
))
......@@ -41,8 +37,11 @@ $(eval $(call gb_Executable_add_linked_libs,swriter,\
$(gb_STDLIBS) \
))
$(eval $(call gb_Executable_add_linked_static_libs,swriter,\
winlauncher \
))
$(eval $(call gb_Executable_add_noexception_objects,swriter,\
desktop/win32/source/applauncher/launcher \
desktop/win32/source/applauncher/swriter \
))
......
......@@ -79,6 +79,7 @@ endif
ifeq ($(OS),WNT)
$(eval $(call gb_Module_add_targets,desktop,\
StaticLibrary_winlauncher \
Executable_crashrep.com \
Executable_quickstart \
Executable_sbase \
......
# -*- Mode: makefile; 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) 2012 Red Hat, Inc., Michael Stahl <mstahl@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_StaticLibrary_StaticLibrary,winlauncher))
$(eval $(call gb_StaticLibrary_add_defs,winlauncher,\
-DUNICODE \
))
$(eval $(call gb_StaticLibrary_add_noexception_objects,winlauncher,\
desktop/win32/source/applauncher/launcher \
))
# vim:set shiftwidth=4 softtabstop=4 expandtab:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment