michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: GARBAGE += $(MIDL_GENERATED_FILES) done_gen dlldata.c michael@0: michael@0: MIDL_GENERATED_FILES = \ michael@0: ISimpleDOMNode.h \ michael@0: ISimpleDOMNode_p.c \ michael@0: ISimpleDOMNode_i.c \ michael@0: ISimpleDOMDocument.h \ michael@0: ISimpleDOMDocument_p.c \ michael@0: ISimpleDOMDocument_i.c \ michael@0: ISimpleDOMText.h \ michael@0: ISimpleDOMText_p.c \ michael@0: ISimpleDOMText_i.c \ michael@0: $(NULL) michael@0: michael@0: OS_LIBS = $(call EXPAND_LIBNAME,kernel32 rpcns4 rpcrt4 oleaut32) michael@0: michael@0: $(MIDL_GENERATED_FILES): done_gen michael@0: michael@0: done_gen: ISimpleDOMNode.idl \ michael@0: ISimpleDOMDocument.idl \ michael@0: ISimpleDOMText.idl michael@0: michael@0: $(MIDL) $(MIDL_FLAGS) -I $(srcdir) -Oicf $(srcdir)/ISimpleDOMNode.idl michael@0: $(MIDL) $(MIDL_FLAGS) -Oicf $(srcdir)/ISimpleDOMDocument.idl michael@0: $(MIDL) $(MIDL_FLAGS) -Oicf $(srcdir)/ISimpleDOMText.idl michael@0: touch $@ michael@0: michael@0: export:: done_gen michael@0: michael@0: # This marshall dll is also registered in the installer michael@0: register:: michael@0: regsvr32 -s $(DIST)/bin/$(SHARED_LIBRARY) michael@0: michael@0: EMBED_MANIFEST_AT = 2 michael@0: michael@0: midl_exports := \ michael@0: ISimpleDOMDocument.h \ michael@0: ISimpleDOMDocument_i.c \ michael@0: ISimpleDOMNode.h \ michael@0: ISimpleDOMNode_i.c \ michael@0: ISimpleDOMText.h \ michael@0: ISimpleDOMText_i.c \ michael@0: $(NULL) michael@0: michael@0: INSTALL_TARGETS += midl_exports michael@0: midl_exports_FILES := $(midl_exports) michael@0: midl_exports_DEST = $(DIST)/include michael@0: midl_exports_TARGET := export