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_Executable_Executable
,idlc
))
12 $(eval
$(call gb_Executable_set_include
,idlc
,\
13 -I
$(SRCDIR
)/idlc
/inc \
14 -I
$(SRCDIR
)/idlc
/source \
18 $(eval
$(call gb_Executable_use_externals
,idlc
,\
22 $(eval
$(call gb_Executable_use_libraries
,idlc
,\
24 $(if
$(filter TRUE
,$(DISABLE_DYNLOADING
)),store
) \
29 $(eval
$(call gb_Executable_add_grammars
,idlc
,\
33 $(eval
$(call gb_Executable_add_scanners
,idlc
,\
37 ifneq (,$(SYSTEM_UCPP
))
39 $(eval
$(call gb_Executable_add_defs
,idlc
,\
41 -DUCPP
=\"file
://$(SYSTEM_UCPP
)\" \
44 ifneq ($(SYSTEM_UCPP_IS_GCC
),)
45 $(eval
$(call gb_Executable_add_defs
,idlc
,\
46 -DSYSTEM_UCPP_IS_GCC \
52 $(eval
$(call gb_Executable_add_exception_objects
,idlc
,\
53 idlc
/source
/idlcmain \
55 idlc
/source
/idlccompile \
56 idlc
/source
/idlcproduce \
57 idlc
/source
/errorhandler \
59 idlc
/source
/fehelper \
60 idlc
/source
/astdeclaration \
61 idlc
/source
/astscope \
62 idlc
/source
/aststack \
64 idlc
/source
/astinterface \
65 idlc
/source
/aststruct \
66 idlc
/source
/aststructinstance \
67 idlc
/source
/astoperation \
68 idlc
/source
/astconstant \
70 idlc
/source
/astexpression \
71 idlc
/source
/astservice \
74 # Without this, e.g. 'make clean; make CustomTarget_idlc/parser_test' may fail on Windows localized
75 # to something other than listed in Impl_getTextEncodingData, because osl_getThreadTextEncoding()
76 # returns Windows ACP, calling FullTextEncodingData ctor which loads the not-yet-built library
77 $(call gb_Executable_add_runtime_dependencies
,idlc
, \
78 $(call gb_Library_get_target
,sal_textenc
) \
81 # vim:set noet sw=4 ts=4: