Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
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 | GARBAGE += $(MIDL_GENERATED_FILES) done_gen dlldata.c |
michael@0 | 6 | |
michael@0 | 7 | MIDL_GENERATED_FILES = \ |
michael@0 | 8 | ISimpleDOMNode.h \ |
michael@0 | 9 | ISimpleDOMNode_p.c \ |
michael@0 | 10 | ISimpleDOMNode_i.c \ |
michael@0 | 11 | ISimpleDOMDocument.h \ |
michael@0 | 12 | ISimpleDOMDocument_p.c \ |
michael@0 | 13 | ISimpleDOMDocument_i.c \ |
michael@0 | 14 | ISimpleDOMText.h \ |
michael@0 | 15 | ISimpleDOMText_p.c \ |
michael@0 | 16 | ISimpleDOMText_i.c \ |
michael@0 | 17 | $(NULL) |
michael@0 | 18 | |
michael@0 | 19 | OS_LIBS = $(call EXPAND_LIBNAME,kernel32 rpcns4 rpcrt4 oleaut32) |
michael@0 | 20 | |
michael@0 | 21 | $(MIDL_GENERATED_FILES): done_gen |
michael@0 | 22 | |
michael@0 | 23 | done_gen: ISimpleDOMNode.idl \ |
michael@0 | 24 | ISimpleDOMDocument.idl \ |
michael@0 | 25 | ISimpleDOMText.idl |
michael@0 | 26 | |
michael@0 | 27 | $(MIDL) $(MIDL_FLAGS) -I $(srcdir) -Oicf $(srcdir)/ISimpleDOMNode.idl |
michael@0 | 28 | $(MIDL) $(MIDL_FLAGS) -Oicf $(srcdir)/ISimpleDOMDocument.idl |
michael@0 | 29 | $(MIDL) $(MIDL_FLAGS) -Oicf $(srcdir)/ISimpleDOMText.idl |
michael@0 | 30 | touch $@ |
michael@0 | 31 | |
michael@0 | 32 | export:: done_gen |
michael@0 | 33 | |
michael@0 | 34 | # This marshall dll is also registered in the installer |
michael@0 | 35 | register:: |
michael@0 | 36 | regsvr32 -s $(DIST)/bin/$(SHARED_LIBRARY) |
michael@0 | 37 | |
michael@0 | 38 | EMBED_MANIFEST_AT = 2 |
michael@0 | 39 | |
michael@0 | 40 | midl_exports := \ |
michael@0 | 41 | ISimpleDOMDocument.h \ |
michael@0 | 42 | ISimpleDOMDocument_i.c \ |
michael@0 | 43 | ISimpleDOMNode.h \ |
michael@0 | 44 | ISimpleDOMNode_i.c \ |
michael@0 | 45 | ISimpleDOMText.h \ |
michael@0 | 46 | ISimpleDOMText_i.c \ |
michael@0 | 47 | $(NULL) |
michael@0 | 48 | |
michael@0 | 49 | INSTALL_TARGETS += midl_exports |
michael@0 | 50 | midl_exports_FILES := $(midl_exports) |
michael@0 | 51 | midl_exports_DEST = $(DIST)/include |
michael@0 | 52 | midl_exports_TARGET := export |