Version 6.1.4.1, tag libreoffice-6.1.4.1
[LibreOffice.git] / svx / Executable_gengal.mk
blob844ab0b45e16e4c25e9c0138b452ea133dba060d
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/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_Executable_Executable,gengal))
22 $(eval $(call gb_Executable_set_include,gengal,\
23 $$(INCLUDE) \
24 -I$(SRCDIR)/svx/inc/ \
25 -I$(SRCDIR)/svx/inc/pch \
28 $(eval $(call gb_Executable_use_external,gengal,boost_headers))
30 $(eval $(call gb_Executable_use_sdk_api,gengal))
32 $(eval $(call gb_Executable_use_libraries,gengal,\
33 basegfx \
34 sal \
35 tl \
36 sfx \
37 svl \
38 svt \
39 comphelper \
40 cppu \
41 cppuhelper \
42 utl \
43 vcl \
44 svxcore \
47 $(eval $(call gb_Executable_add_exception_objects,gengal,\
48 svx/source/gengal/gengal \
51 $(eval $(call gb_Executable_use_static_libraries,gengal,\
52 vclmain \
55 ifeq ($(OS),WNT)
56 $(eval $(call gb_Executable_use_system_win32_libs,gengal,\
57 kernel32 \
58 msvcrt \
59 oldnames \
60 user32 \
62 endif
64 ifeq ($(ENABLE_HEADLESS),TRUE)
65 $(eval $(call gb_Executable_add_libs,gengal,\
66 $(DLOPEN_LIBS) \
67 -lpthread \
69 else
70 ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
71 $(eval $(call gb_Executable_add_libs,gengal,\
72 $(DLOPEN_LIBS) \
73 -lpthread \
74 -lX11 \
77 ifeq ($(USING_X11),TRUE)
78 $(eval $(call gb_Executable_use_static_libraries,gengal,\
79 glxtest \
81 endif
82 endif
83 endif
85 # vim: set noet sw=4 ts=4: