accessible/public/ia2/Makefile.in

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 4
michael@0 5 IA2DIR = $(topsrcdir)/other-licenses/ia2
michael@0 6
michael@0 7 GARBAGE += $(MIDL_GENERATED_FILES)
michael@0 8
michael@0 9 # Please keep this list in sync with the moz.build file until the rest of this
michael@0 10 # Makefile is ported over.
michael@0 11 MIDL_INTERFACES = \
michael@0 12 Accessible2.idl \
michael@0 13 Accessible2_2.idl \
michael@0 14 AccessibleAction.idl \
michael@0 15 AccessibleApplication.idl \
michael@0 16 AccessibleComponent.idl \
michael@0 17 AccessibleDocument.idl \
michael@0 18 AccessibleEditableText.idl \
michael@0 19 AccessibleHyperlink.idl \
michael@0 20 AccessibleHypertext.idl \
michael@0 21 AccessibleHypertext2.idl \
michael@0 22 AccessibleImage.idl \
michael@0 23 AccessibleRelation.idl \
michael@0 24 AccessibleTable.idl \
michael@0 25 AccessibleTable2.idl \
michael@0 26 AccessibleTableCell.idl \
michael@0 27 AccessibleText.idl \
michael@0 28 AccessibleText2.idl \
michael@0 29 AccessibleValue.idl \
michael@0 30 $(NULL)
michael@0 31
michael@0 32 # Please keep this list in sync with the moz.build file until the rest of this
michael@0 33 # Makefile is ported over.
michael@0 34 MIDL_ENUMS = \
michael@0 35 AccessibleEventId.idl \
michael@0 36 AccessibleRole.idl \
michael@0 37 AccessibleStates.idl \
michael@0 38 IA2CommonTypes.idl \
michael@0 39 $(NULL)
michael@0 40
michael@0 41 CSRCS = \
michael@0 42 dlldata.c \
michael@0 43 $(MIDL_INTERFACES:%.idl=%_p.c) \
michael@0 44 $(MIDL_INTERFACES:%.idl=%_i.c) \
michael@0 45 $(NULL)
michael@0 46
michael@0 47 MIDL_GENERATED_FILES = \
michael@0 48 dlldata.c \
michael@0 49 $(MIDL_INTERFACES:%.idl=%_p.c) \
michael@0 50 $(MIDL_INTERFACES:%.idl=%_i.c) \
michael@0 51 $(MIDL_INTERFACES:%.idl=%.h) \
michael@0 52 $(MIDL_ENUMS:%.idl=%.h) \
michael@0 53 $(NULL)
michael@0 54
michael@0 55 EMBED_MANIFEST_AT = 2
michael@0 56
michael@0 57 INSTALL_TARGETS += midl
michael@0 58 midl_FILES := $(filter %.h %_i.c,$(MIDL_GENERATED_FILES))
michael@0 59 midl_DEST = $(DIST)/include
michael@0 60 midl_TARGET := export
michael@0 61
michael@0 62 include $(topsrcdir)/config/rules.mk
michael@0 63
michael@0 64 OS_LIBS = $(call EXPAND_LIBNAME,uuid kernel32 rpcns4 rpcrt4 ole32 oleaut32)
michael@0 65
michael@0 66 # generate list of to-be-generated files that are missing
michael@0 67 # but ignore special file dlldata.c
michael@0 68 missing:=$(strip $(foreach onefile,$(strip $(subst dlldata.c,,$(MIDL_GENERATED_FILES))),$(if $(wildcard $(onefile)),,$(onefile))))
michael@0 69
michael@0 70 missing_base:=$(sort $(basename $(subst _p.c,,$(subst _i.c,,$(missing)))))
michael@0 71
michael@0 72 $(MIDL_GENERATED_FILES) : midl_done
michael@0 73
michael@0 74 ifneq ("$(missing)","")
michael@0 75 midl_done : FORCE
michael@0 76 endif
michael@0 77
michael@0 78 midl_done : $(addprefix $(IA2DIR)/,$(MIDL_INTERFACES) $(MIDL_ENUMS))
michael@0 79 for idl in $(sort $(subst FORCE,,$?) $(addsuffix .idl,$(addprefix $(IA2DIR)/,$(missing_base)))); do \
michael@0 80 $(MIDL) $(MIDL_FLAGS) -app_config -I $(IA2DIR) -Oicf $$idl; \
michael@0 81 done
michael@0 82 touch $@
michael@0 83
michael@0 84 # This marshall dll is also registered in the installer
michael@0 85 register::
michael@0 86 regsvr32 -s $(DIST)/bin/$(SHARED_LIBRARY)

mercurial