Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / extensions / Library_scn.mk
bloba956758234950c0e0546f8a800d1d67aab2a0dc2
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))
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/scnserv \
44 extensions/source/scanner/scanner \
47 ifeq ($(OS),WNT)
48 $(eval $(call gb_Library_add_exception_objects,scn,\
49 extensions/source/scanner/scanwin \
51 else
52 ifneq ($(OS),WNT)
54 $(eval $(call gb_Library_add_exception_objects,scn,\
55 extensions/source/scanner/grid \
56 extensions/source/scanner/sane \
57 extensions/source/scanner/sanedlg \
58 extensions/source/scanner/scanunx \
60 ifeq ($(OS),LINUX)
61 $(eval $(call gb_Library_add_libs,scn,\
62 -ldl \
64 endif
65 endif
66 endif
68 # vim:set noet sw=4 ts=4: