loplugin:constmethod in editeng
[LibreOffice.git] / extensions / CustomTarget_so_activex_idl.mk
blobdb1679434af17097a356bded1e58a440db12a1ef
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,extensions/source/activex/idl))
12 extensions_AXIDLDIR := $(call gb_CustomTarget_get_workdir,extensions/source/activex/idl)
14 $(call gb_CustomTarget_get_target,extensions/source/activex/idl) : \
15 $(extensions_AXIDLDIR)/so_activex.tlb
17 # XXX: I presume that the "$(COM)"=="GCC" case in the original
18 # extensions/source/activex/msidl/makefile.mk was for the
19 # use-mingw-on-windows case and thus is not interesting for us.
20 $(extensions_AXIDLDIR)/so_activex.tlb : \
21 $(SRCDIR)/extensions/source/activex/so_activex.idl \
22 | $(extensions_AXIDLDIR)/.dir
23 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),IDL,1)
24 $(call gb_Helper_abbreviate_dirs, \
25 midl.exe \
26 -tlb $@ \
27 -h $(extensions_AXIDLDIR)/so_activex.h \
28 -iid $(extensions_AXIDLDIR)/so_activex_i.c \
29 -dlldata $(extensions_AXIDLDIR)/so_activex_dll.c \
30 -proxy $(extensions_AXIDLDIR)/so_activex_p.c \
31 -Oicf \
32 $(INCLUDE) \
33 $<)
35 # vim:set shiftwidth=4 tabstop=4 noexpandtab: