1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval
$(call gb_Library_Library
,unoidl
))
12 $(eval
$(call gb_Library_add_defs
,unoidl
,-DLO_DLLIMPLEMENTATION_UNOIDL
))
14 $(eval
$(call gb_Library_add_exception_objects
,unoidl
, \
15 unoidl
/source
/sourcefileprovider \
16 unoidl
/source
/sourcetreeprovider \
17 unoidl
/source
/unoidl \
18 unoidl
/source
/unoidlprovider \
21 # drop legacy provider for fuzzing
22 ifeq (,$(filter FUZZERS
,$(BUILD_TYPE
)))
23 $(eval
$(call gb_Library_add_exception_objects
,unoidl
, \
24 unoidl
/source
/legacyprovider \
28 $(eval
$(call gb_Library_add_grammars
,unoidl
, \
29 unoidl
/source
/sourceprovider-parser \
32 $(eval
$(call gb_Library_add_scanners
,unoidl
, \
33 unoidl
/source
/sourceprovider-scanner \
36 $(eval
$(call gb_Library_set_include
,unoidl
, \
38 -I
$(SRCDIR
)/unoidl
/source \
41 $(eval
$(call gb_Library_set_is_ure_library_or_dependency
,unoidl
))
43 $(eval
$(call gb_Library_use_libraries
,unoidl
, \
49 # vim: set noet sw=4 ts=4: