mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 02:09:28 +00:00

MozReview-Commit-ID: 51r9ezFwDGE --HG-- extra : rebase_source : cdc96a1c5f2c021c407d7c634036dd8cae7c04c6
39 lines
987 B
Makefile
39 lines
987 B
Makefile
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
IA2DIR = $(topsrcdir)/other-licenses/ia2
|
|
MSAADIR = $(topsrcdir)/accessible/interfaces/msaa
|
|
GARBAGE += $(MIDL_GENERATED_FILES) midl_done
|
|
|
|
MIDL_GENERATED_FILES = \
|
|
dlldata.c \
|
|
HandlerData.h \
|
|
HandlerData_c.c \
|
|
HandlerData_i.c \
|
|
HandlerData_p.c \
|
|
HandlerData.tlb \
|
|
$(NULL)
|
|
|
|
export:: $(MIDL_GENERATED_FILES)
|
|
|
|
$(MIDL_GENERATED_FILES): midl_done
|
|
|
|
midl_done: HandlerData.acf HandlerData.idl
|
|
$(MIDL) $(MIDL_FLAGS) -I $(IA2DIR) -I $(MSAADIR) -Oicf -acf $(srcdir)/HandlerData.acf $(srcdir)/HandlerData.idl
|
|
touch $@
|
|
|
|
INSTALL_TARGETS += midl
|
|
midl_FILES := HandlerData.h \
|
|
HandlerData_i.c \
|
|
$(NULL)
|
|
midl_DEST := $(DIST)/include
|
|
midl_TARGET := midl
|
|
|
|
export:: midl
|
|
|
|
register::
|
|
regsvr32 -s $(DIST)/bin/$(SHARED_LIBRARY)
|
|
|
|
include $(topsrcdir)/config/rules.mk
|