update credits
[LibreOffice.git] / desktop / Executable_oosplash.mk
blob1e75f647a987a7a754ecc4c29bd3d27e50e9cf7a
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Executable_Executable,oosplash))
12 $(eval $(call gb_Executable_set_targettype_gui,oosplash,YES))
14 $(eval $(call gb_Executable_use_libraries,oosplash,\
15 sal \
18 $(eval $(call gb_Executable_add_cobjects,oosplash,\
19 desktop/unx/source/args \
20 desktop/unx/source/file_image_unx \
21 desktop/unx/source/pagein \
22 desktop/unx/source/splashx \
23 desktop/unx/source/start \
26 ifeq ($(USE_XINERAMA),YES)
28 $(eval $(call gb_Executable_add_defs,oosplash,\
29 -DUSE_XINERAMA \
32 $(eval $(call gb_Executable_add_libs,oosplash,\
33 -lXinerama \
36 endif
38 ifneq ($(GUIBASE),headless)
39 ifneq ($(OS),WNT)
40 $(eval $(call gb_Executable_add_libs,oosplash,\
41 -lX11 \
43 endif
44 endif
46 ifneq ($(ENABLE_HEADLESS),TRUE)
48 $(eval $(call gb_Executable_add_defs,oosplash,\
49 -DENABLE_QUICKSTART_LIBPNG \
52 $(eval $(call gb_Executable_use_externals,oosplash,\
53 png \
56 endif
58 ifeq ($(OS),LINUX)
59 $(eval $(call gb_Executable_add_libs,oosplash,\
60 -lm \
62 endif
64 ifeq ($(OS),SOLARIS)
66 $(eval $(call gb_Executable_add_libs,oosplash,\
67 -lsocket \
70 endif
72 # vim: set ts=4 sw=4 et: