Update git submodules
[LibreOffice.git] / extensions / Library_scn.mk
blob51c48fbfdf68f0aca927f5cd19d431bf7201e770
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 $(if $(filter-out WNT,$(OS)),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,services))
26 $(eval $(call gb_Library_use_sdk_api,scn))
28 $(eval $(call gb_Library_use_libraries,scn,\
29 comphelper \
30 cppu \
31 cppuhelper \
32 i18nlangtag \
33 sal \
34 $(if $(filter WNT,$(OS)),salhelper) \
35 svt \
36 $(if $(filter WNT,$(OS)),tk) \
37 tl \
38 utl \
39 vcl \
42 $(eval $(call gb_Library_add_exception_objects,scn,\
43 extensions/source/scanner/scanner \
46 ifeq ($(OS),WNT)
47 $(eval $(call gb_Library_add_exception_objects,scn,\
48 extensions/source/scanner/scanwin \
50 else
51 ifneq ($(OS),WNT)
53 $(eval $(call gb_Library_add_exception_objects,scn,\
54 extensions/source/scanner/grid \
55 extensions/source/scanner/sane \
56 extensions/source/scanner/sanedlg \
57 extensions/source/scanner/scanunx \
59 ifeq ($(OS),LINUX)
60 $(eval $(call gb_Library_add_libs,scn,\
61 -ldl \
63 endif
64 endif
65 endif
67 # vim:set noet sw=4 ts=4: