|
1 # This Source Code Form is subject to the terms of the Mozilla Public |
|
2 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
4 |
|
5 GARBAGE += $(MIDL_GENERATED_FILES) done_gen dlldata.c |
|
6 |
|
7 MIDL_GENERATED_FILES = \ |
|
8 ISimpleDOMNode.h \ |
|
9 ISimpleDOMNode_p.c \ |
|
10 ISimpleDOMNode_i.c \ |
|
11 ISimpleDOMDocument.h \ |
|
12 ISimpleDOMDocument_p.c \ |
|
13 ISimpleDOMDocument_i.c \ |
|
14 ISimpleDOMText.h \ |
|
15 ISimpleDOMText_p.c \ |
|
16 ISimpleDOMText_i.c \ |
|
17 $(NULL) |
|
18 |
|
19 OS_LIBS = $(call EXPAND_LIBNAME,kernel32 rpcns4 rpcrt4 oleaut32) |
|
20 |
|
21 $(MIDL_GENERATED_FILES): done_gen |
|
22 |
|
23 done_gen: ISimpleDOMNode.idl \ |
|
24 ISimpleDOMDocument.idl \ |
|
25 ISimpleDOMText.idl |
|
26 |
|
27 $(MIDL) $(MIDL_FLAGS) -I $(srcdir) -Oicf $(srcdir)/ISimpleDOMNode.idl |
|
28 $(MIDL) $(MIDL_FLAGS) -Oicf $(srcdir)/ISimpleDOMDocument.idl |
|
29 $(MIDL) $(MIDL_FLAGS) -Oicf $(srcdir)/ISimpleDOMText.idl |
|
30 touch $@ |
|
31 |
|
32 export:: done_gen |
|
33 |
|
34 # This marshall dll is also registered in the installer |
|
35 register:: |
|
36 regsvr32 -s $(DIST)/bin/$(SHARED_LIBRARY) |
|
37 |
|
38 EMBED_MANIFEST_AT = 2 |
|
39 |
|
40 midl_exports := \ |
|
41 ISimpleDOMDocument.h \ |
|
42 ISimpleDOMDocument_i.c \ |
|
43 ISimpleDOMNode.h \ |
|
44 ISimpleDOMNode_i.c \ |
|
45 ISimpleDOMText.h \ |
|
46 ISimpleDOMText_i.c \ |
|
47 $(NULL) |
|
48 |
|
49 INSTALL_TARGETS += midl_exports |
|
50 midl_exports_FILES := $(midl_exports) |
|
51 midl_exports_DEST = $(DIST)/include |
|
52 midl_exports_TARGET := export |