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
))
38 $(eval
$(call gb_Executable_add_defs
,idlc
,\
40 -DUCPP
=\"file
://$(SYSTEM_UCPP
)\" \
44 $(eval
$(call gb_Executable_add_exception_objects
,idlc
,\
45 idlc
/source
/idlcmain \
47 idlc
/source
/idlccompile \
48 idlc
/source
/idlcproduce \
49 idlc
/source
/errorhandler \
51 idlc
/source
/fehelper \
52 idlc
/source
/astdeclaration \
53 idlc
/source
/astscope \
54 idlc
/source
/aststack \
56 idlc
/source
/astinterface \
57 idlc
/source
/aststruct \
58 idlc
/source
/aststructinstance \
59 idlc
/source
/astoperation \
60 idlc
/source
/astconstant \
62 idlc
/source
/astexpression \
63 idlc
/source
/astservice \
66 # Without this, e.g. 'make clean; make CustomTarget_idlc/parser_test' may fail on Windows localized
67 # to something other than listed in Impl_getTextEncodingData, because osl_getThreadTextEncoding()
68 # returns Windows ACP, calling FullTextEncodingData ctor which loads the not-yet-built library
69 $(call gb_Executable_add_runtime_dependencies
,idlc
, \
70 $(call gb_Library_get_target
,sal_textenc
) \
73 # vim:set noet sw=4 ts=4: