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
,\
21 $(eval
$(call gb_Executable_add_ldflags
,twain32shim
,\
26 $(eval
$(call gb_Executable_use_externals
,twain32shim
,\
30 $(eval
$(call gb_Executable_set_include
,twain32shim
,\
31 -I
$(SRCDIR
)/extensions
/inc \
35 $(eval
$(call gb_Executable_add_exception_objects
,twain32shim
,\
36 extensions
/source
/scanner
/twain32shim \
39 $(eval
$(call gb_Executable_use_system_win32_libs
,twain32shim
,\
44 $(eval
$(call gb_Executable_add_default_nativeres
,twain32shim
))
46 # vim:set noet sw=4 ts=4: