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_Trace_StartRange
,$(subst $(WORKDIR
)/,,$@
),IDL
)
29 $(call gb_Helper_abbreviate_dirs
, \
31 -tlb
$(wina11y_COMIDLDIR
)/$*.tlb \
32 -h
$(wina11y_COMIDLDIR
)/$*.h \
33 -iid
$(wina11y_COMIDLDIR
)/$*_i.c \
34 -dlldata
$(wina11y_COMIDLDIR
)/dlldata.c \
35 -proxy
$(wina11y_COMIDLDIR
)/$*_p.c \
38 -I
$(wina11y_SOURCE
) \
40 $(call gb_Trace_EndRange
,$(subst $(WORKDIR
)/,,$@
),IDL
)
42 # vim:set shiftwidth=4 tabstop=4 noexpandtab: