Bump for 4.0-15
[LibreOffice.git] / svx / Executable_gengal.bin.mk
blobd830811450c62487b315fb42e1544e331ee07db8
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 ifeq ($(OS),WNT)
21 svx_GENGALBIN := gengal
22 else
23 svx_GENGALBIN := gengal.bin
24 endif
27 $(eval $(call gb_Executable_Executable,$(svx_GENGALBIN)))
29 $(eval $(call gb_Executable_set_include,$(svx_GENGALBIN),\
30 $$(INCLUDE) \
31 -I$(SRCDIR)/svx/inc/ \
32 -I$(SRCDIR)/svx/inc/pch \
33 -I$(OUTDIR)/inc/offuh \
34 -I$(OUTDIR)/inc/udkapi \
35 -I$(OUTDIR)/inc/offapi \
38 $(eval $(call gb_Executable_add_cxxflags,$(svx_GENGALBIN),\
39 $$(CXXFLAGS) \
42 $(eval $(call gb_Executable_use_libraries,$(svx_GENGALBIN),\
43 sal \
44 tl \
45 svl \
46 comphelper \
47 cppu \
48 cppuhelper \
49 vcl \
50 svxcore \
51 $(gb_UWINAPI) \
54 $(eval $(call gb_Executable_add_exception_objects,$(svx_GENGALBIN),\
55 svx/source/gengal/gengal \
58 $(eval $(call gb_Executable_use_static_libraries,$(svx_GENGALBIN),\
59 vclmain \
62 ifeq ($(OS),WNT)
63 $(eval $(call gb_Executable_use_system_win32_libs,$(svx_GENGALBIN),\
64 kernel32 \
65 msvcrt \
66 oldnames \
67 user32 \
69 endif
71 ifeq ($(OS),LINUX)
72 $(eval $(call gb_Executable_add_libs,$(svx_GENGALBIN),\
73 -ldl \
74 -lpthread \
76 endif
78 # vim: set noet sw=4 ts=4: