Converted VCL documentation to Markdown
[LibreOffice.git] / idlc / Executable_idlc.mk
blobf2f79dcb89110ab8176e93f49d6634caf9780b55
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 \
15 $$(INCLUDE) \
18 $(eval $(call gb_Executable_use_externals,idlc,\
19 boost_headers \
22 $(eval $(call gb_Executable_use_libraries,idlc,\
23 reg \
24 $(if $(filter TRUE,$(DISABLE_DYNLOADING)),store) \
25 sal \
26 salhelper \
29 $(eval $(call gb_Executable_add_grammars,idlc,\
30 idlc/source/parser \
33 $(eval $(call gb_Executable_add_scanners,idlc,\
34 idlc/source/scanner \
37 ifneq (,$(SYSTEM_UCPP))
39 $(eval $(call gb_Executable_add_defs,idlc,\
40 -DSYSTEM_UCPP \
41 -DUCPP=\"file://$(SYSTEM_UCPP)\" \
44 ifneq ($(SYSTEM_UCPP_IS_GCC),)
45 $(eval $(call gb_Executable_add_defs,idlc,\
46 -DSYSTEM_UCPP_IS_GCC \
48 endif
50 endif
52 $(eval $(call gb_Executable_add_exception_objects,idlc,\
53 idlc/source/idlcmain \
54 idlc/source/idlc \
55 idlc/source/idlccompile \
56 idlc/source/idlcproduce \
57 idlc/source/errorhandler \
58 idlc/source/options \
59 idlc/source/fehelper \
60 idlc/source/astdeclaration \
61 idlc/source/astscope \
62 idlc/source/aststack \
63 idlc/source/astdump \
64 idlc/source/astinterface \
65 idlc/source/aststruct \
66 idlc/source/aststructinstance \
67 idlc/source/astoperation \
68 idlc/source/astconstant \
69 idlc/source/astenum \
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: