# 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/. GARBAGE += $(MIDL_GENERATED_FILES) done_gen MIDL_GENERATED_FILES = \ dlldata.c \ ISimpleDOM.h \ ISimpleDOM_i.c \ ISimpleDOM_p.c \ ISimpleDOM.tlb \ $(NULL) $(MIDL_GENERATED_FILES): done_gen done_gen: ISimpleDOM.idl \ ISimpleDOMNode.idl \ ISimpleDOMDocument.idl \ ISimpleDOMText.idl $(MIDL) $(MIDL_FLAGS) -I $(srcdir) -robust -Oicf $(srcdir)/ISimpleDOM.idl touch $@ export:: done_gen # This marshall dll is also registered in the installer register:: regsvr32 -s $(DIST)/bin/$(SHARED_LIBRARY) EMBED_MANIFEST_AT = 2 midl_exports := \ ISimpleDOM.h \ ISimpleDOM_i.c \ $(NULL) INSTALL_TARGETS += midl_exports midl_exports_FILES := $(midl_exports) midl_exports_DEST = $(DIST)/include midl_exports_TARGET := midl export:: midl