dr78: #i26822# remove draw shell if selected object is removed by undo
[LibreOffice.git] / desktop / Executable_oosplash.mk
blob1706f3a6717343e03e196601caf9f14c1d784405
1 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
3 # The contents of this file are subject to the Mozilla Public License Version
4 # 1.1 (the "License"); you may not use this file except in compliance with
5 # the License or as specified alternatively below. You may obtain a copy of
6 # the License at http://www.mozilla.org/MPL/
8 # Software distributed under the License is distributed on an "AS IS" basis,
9 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
10 # for the specific language governing rights and limitations under the
11 # License.
13 # Major Contributor(s):
14 # Copyright (C) 2011 David Tardon, Red Hat Inc. <dtardon@redhat.com> (initial developer)
16 # All Rights Reserved.
18 # For minor contributions see the git repository.
20 # Alternatively, the contents of this file may be used under the terms of
21 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
22 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
23 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
24 # instead of those above.
26 $(eval $(call gb_Executable_Executable,oosplash))
28 $(eval $(call gb_Executable_set_targettype_gui,oosplash,YES))
30 $(eval $(call gb_Executable_set_include,oosplash,\
31 $$(INCLUDE) \
34 $(eval $(call gb_Executable_add_linked_libs,oosplash,\
35 sal \
38 $(eval $(call gb_Executable_add_cobjects,oosplash,\
39 desktop/unx/source/args \
40 desktop/unx/source/file_image_unx \
41 desktop/unx/source/pagein \
42 desktop/unx/source/splashx \
43 desktop/unx/source/start \
46 ifeq ($(USE_XINERAMA),YES)
48 $(eval $(call gb_Executable_add_defs,oosplash,\
49 -DUSE_XINERAMA \
52 $(eval $(call gb_Executable_add_libs,oosplash,\
53 -lXinerama \
56 endif
58 ifeq ($(GUI),UNX)
59 $(eval $(call gb_Executable_add_libs,oosplash,\
60 -lX11 \
62 endif
64 ifeq ($(ENABLE_QUICKSTART_LIBPNG),TRUE)
66 $(eval $(call gb_Executable_add_defs,oosplash,\
67 -DENABLE_QUICKSTART_LIBPNG \
70 $(eval $(call gb_Executable_use_externals,oosplash,\
71 png \
74 endif
76 ifeq ($(OS),SOLARIS)
78 $(eval $(call gb_Executable_add_linked_libs,oosplash,\
79 -lsocket \
82 endif
84 # vim: set ts=4 sw=4 et: