Branch libreoffice-5-0-4
[LibreOffice.git] / extensions / Library_scn.mk
blob73716d1e9ab5bbf5e64e6e8024bbabe8553c688d
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
12 $(eval $(call gb_Library_Library,scn))
14 $(eval $(call gb_Library_use_externals,scn,\
15 boost_headers \
16 sane_headers \
19 $(eval $(call gb_Library_set_componentfile,scn,extensions/source/scanner/scn))
21 $(eval $(call gb_Library_use_sdk_api,scn))
23 $(eval $(call gb_Library_use_libraries,scn,\
24 svt \
25 vcl \
26 tl \
27 utl \
28 comphelper \
29 cppuhelper \
30 cppu \
31 sal \
32 i18nlangtag \
33 $(gb_UWINAPI) \
36 $(eval $(call gb_Library_add_exception_objects,scn,\
37 extensions/source/scanner/scnserv \
38 extensions/source/scanner/scanner \
41 ifeq ($(OS),WNT)
42 $(eval $(call gb_Library_add_exception_objects,scn,\
43 extensions/source/scanner/scanwin \
45 else
46 ifneq ($(OS),WNT)
48 $(eval $(call gb_Library_add_exception_objects,scn,\
49 extensions/source/scanner/grid \
50 extensions/source/scanner/sane \
51 extensions/source/scanner/sanedlg \
52 extensions/source/scanner/scanunx \
54 ifeq ($(OS),LINUX)
55 $(eval $(call gb_Library_add_libs,scn,\
56 -ldl \
58 endif
59 endif
60 endif
62 # vim:set noet sw=4 ts=4: