fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / desktop / Executable_oosplash.mk
blob3f49b2d4eabf014c47b1821d2ec576d57ae18841
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 ifneq ($(USE_XINERAMA),)
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 ($(ENABLE_HEADLESS),TRUE)
40 ifneq ($(OS),WNT)
41 $(eval $(call gb_Executable_add_libs,oosplash,\
42 -lX11 \
44 endif
46 $(eval $(call gb_Executable_add_defs,oosplash,\
47 -DENABLE_QUICKSTART_LIBPNG \
50 $(eval $(call gb_Executable_use_externals,oosplash,\
51 png \
54 endif
56 ifeq ($(OS),LINUX)
57 $(eval $(call gb_Executable_add_libs,oosplash,\
58 -lm \
60 endif
62 ifeq ($(OS),SOLARIS)
64 $(eval $(call gb_Executable_add_libs,oosplash,\
65 -lsocket \
68 endif
70 # vim: set ts=4 sw=4 et: