update credits
[LibreOffice.git] / extensions / Executable_twain32shim.mk
blobf063f7d6e3b404436ee3e8d9194b40dbd53ff6b8
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,twain32shim))
12 $(eval $(call gb_Executable_set_targettype_gui,twain32shim,YES))
14 $(eval $(call gb_Executable_set_x86,twain32shim,YES))
16 # when building with link-time optimisation on, we need to turn it off for the helper
17 ifeq ($(ENABLE_LTO),TRUE)
18 $(eval $(call gb_Executable_add_cxxflags,twain32shim,\
19 -GL- \
21 $(eval $(call gb_Executable_add_ldflags,twain32shim,\
22 -LTCG:OFF \
24 endif
26 $(eval $(call gb_Executable_use_externals,twain32shim,\
27 sane_headers \
30 $(eval $(call gb_Executable_set_include,twain32shim,\
31 -I$(SRCDIR)/extensions/inc \
32 $$(INCLUDE) \
35 $(eval $(call gb_Executable_add_exception_objects,twain32shim,\
36 extensions/source/scanner/twain32shim \
39 $(eval $(call gb_Executable_use_system_win32_libs,twain32shim,\
40 Ole32 \
41 shell32 \
44 $(eval $(call gb_Executable_add_default_nativeres,twain32shim))
46 # vim:set noet sw=4 ts=4: