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
,\
16 $(if
$(filter-out WNT
,$(OS
)),sane_headers
) \
19 $(eval
$(call gb_Library_set_include
,scn
,\
20 -I
$(SRCDIR
)/extensions
/inc \
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
,\
34 $(if
$(filter WNT
,$(OS
)),salhelper
) \
36 $(if
$(filter WNT
,$(OS
)),tk
) \
42 $(eval
$(call gb_Library_add_exception_objects
,scn
,\
43 extensions
/source
/scanner
/scanner \
47 $(eval
$(call gb_Library_add_exception_objects
,scn
,\
48 extensions
/source
/scanner
/scanwin \
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 \
60 $(eval
$(call gb_Library_add_libs
,scn
,\
67 # vim:set noet sw=4 ts=4: