Version 6.1.4.1, tag libreoffice-6.1.4.1
[LibreOffice.git] / extensions / Library_scn.mk
blob94fbaf0eddb4decc246afc39e4e96f54e1bb38c6
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_include,scn,\
20 -I$(SRCDIR)/extensions/inc \
21 $$(INCLUDE) \
24 $(eval $(call gb_Library_set_componentfile,scn,extensions/source/scanner/scn))
26 $(eval $(call gb_Library_use_sdk_api,scn))
28 $(eval $(call gb_Library_use_libraries,scn,\
29 svt \
30 vcl \
31 tl \
32 utl \
33 comphelper \
34 cppuhelper \
35 cppu \
36 sal \
37 i18nlangtag \
40 $(eval $(call gb_Library_add_exception_objects,scn,\
41 extensions/source/scanner/scnserv \
42 extensions/source/scanner/scanner \
45 ifeq ($(OS),WNT)
46 $(eval $(call gb_Library_add_exception_objects,scn,\
47 extensions/source/scanner/scanwin \
49 else
50 ifneq ($(OS),WNT)
52 $(eval $(call gb_Library_add_exception_objects,scn,\
53 extensions/source/scanner/grid \
54 extensions/source/scanner/sane \
55 extensions/source/scanner/sanedlg \
56 extensions/source/scanner/scanunx \
58 ifeq ($(OS),LINUX)
59 $(eval $(call gb_Library_add_libs,scn,\
60 -ldl \
62 endif
63 endif
64 endif
66 # vim:set noet sw=4 ts=4: