Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / extensions / Library_scn.mk
blobef17a0ee3d8571443fd49e4f455f7bbf165d21da
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 \
35 $(eval $(call gb_Library_add_exception_objects,scn,\
36 extensions/source/scanner/scnserv \
37 extensions/source/scanner/scanner \
40 ifeq ($(OS),WNT)
41 $(eval $(call gb_Library_add_exception_objects,scn,\
42 extensions/source/scanner/scanwin \
44 else
45 ifneq ($(OS),WNT)
47 $(eval $(call gb_Library_add_exception_objects,scn,\
48 extensions/source/scanner/grid \
49 extensions/source/scanner/sane \
50 extensions/source/scanner/sanedlg \
51 extensions/source/scanner/scanunx \
53 ifeq ($(OS),LINUX)
54 $(eval $(call gb_Library_add_libs,scn,\
55 -ldl \
57 endif
58 endif
59 endif
61 # vim:set noet sw=4 ts=4: