Update git submodules
[LibreOffice.git] / svx / Executable_gengal.mk
blob9c82ac774ec51ac6393e420794dd6540ac2911fd
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 ($(DISABLE_GUI),TRUE)
65 $(eval $(call gb_Executable_add_libs,gengal,\
66 $(DLOPEN_LIBS) \
68 else
69 ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
70 $(eval $(call gb_Executable_add_libs,gengal,\
71 $(DLOPEN_LIBS) \
72 -lX11 \
75 ifeq ($(USING_X11),TRUE)
76 $(eval $(call gb_Executable_use_static_libraries,gengal,\
77 glxtest \
79 endif
80 endif
81 endif
83 $(eval $(call gb_Executable_add_default_nativeres,gengal))
85 # vim: set noet sw=4 ts=4: