bump product version to 5.0.4.1
[LibreOffice.git] / winaccessibility / CustomTarget_ia2_idl.mk
blob92b5cc93eb0e8c11d1b99bc527642c1428777f9e
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_CustomTarget_CustomTarget,winaccessibility/ia2/idl))
12 wina11y_COMIDLDIR := $(call gb_CustomTarget_get_workdir,winaccessibility/ia2/idl)
13 wina11y_SOURCE := $(SRCDIR)/winaccessibility/source/UAccCOMIDL
15 # We cannot depend on *.tlb because they only produced by IDL compiler
16 # if idl contains 'library' statement.
17 $(call gb_CustomTarget_get_target,winaccessibility/ia2/idl) : \
18 $(wina11y_COMIDLDIR)/AccessibleKeyBinding.h \
19 $(wina11y_COMIDLDIR)/AccessibleKeyStroke.h \
20 $(wina11y_COMIDLDIR)/Charset.h \
21 $(wina11y_COMIDLDIR)/UAccCOM.h \
22 $(wina11y_COMIDLDIR)/defines.h \
23 $(wina11y_COMIDLDIR)/ia2_api_all.h
25 $(wina11y_COMIDLDIR)/%.h : $(wina11y_SOURCE)/%.idl \
26 | $(wina11y_COMIDLDIR)/.dir
27 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),IDL,1)
28 $(call gb_Helper_abbreviate_dirs, \
29 midl.exe \
30 -tlb $(wina11y_COMIDLDIR)/$*.tlb \
31 -h $(wina11y_COMIDLDIR)/$*.h \
32 -iid $(wina11y_COMIDLDIR)/$*_i.c \
33 -dlldata $(wina11y_COMIDLDIR)/dlldata.c \
34 -proxy $(wina11y_COMIDLDIR)/$*_p.c \
35 -Oicf \
36 $(SOLARINC) \
37 -I $(wina11y_SOURCE) \
38 $<)
40 # vim:set shiftwidth=4 tabstop=4 noexpandtab: