js/xpconnect/src/Makefile.in

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:4c6313cd3c58
1 #
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
6 EXTRA_MDDEPEND_FILES = dom_qsgen.pp event_impl_gen.pp
7
8 INSTALL_TARGETS += extra_export_files
9 extra_export_files_FILES := \
10 GeneratedEventClasses.h \
11 GeneratedEvents.h \
12 $(NULL)
13 extra_export_files_DEST = $(DIST)/include
14 extra_export_files_TARGET := export
15
16 include $(topsrcdir)/config/rules.mk
17
18 dom_quickstubs.h: dom_quickstubs.cpp
19
20 dom_quickstubs.cpp: $(srcdir)/dom_quickstubs.qsconf \
21 $(srcdir)/qsgen.py \
22 $(LIBXUL_DIST)/sdk/bin/header.py \
23 $(LIBXUL_DIST)/sdk/bin/xpidl.py
24 $(PYTHON) $(topsrcdir)/config/pythonpath.py \
25 $(PLY_INCLUDE) \
26 -I$(LIBXUL_DIST)/sdk/bin \
27 $(srcdir)/qsgen.py \
28 --idlpath=$(DEPTH)/dist/idl \
29 --header-output dom_quickstubs.h \
30 --stub-output dom_quickstubs.cpp \
31 --makedepend-output $(MDDEPDIR)/dom_qsgen.pp \
32 $(ENABLE_TRACEABLE_FLAGS) \
33 $(srcdir)/dom_quickstubs.qsconf
34
35 event_impl_gen.conf : $(srcdir)/event_impl_gen.conf.in
36 $(call py_action,preprocessor,$(DEFINES) $(ACDEFINES) $^ -o event_impl_gen.conf)
37
38 GeneratedEvents.h: event_impl_gen.conf \
39 $(srcdir)/event_impl_gen.py \
40 $(LIBXUL_DIST)/sdk/bin/header.py \
41 $(LIBXUL_DIST)/sdk/bin/xpidl.py
42 $(PYTHON) $(topsrcdir)/config/pythonpath.py \
43 $(PLY_INCLUDE) \
44 -I$(LIBXUL_DIST)/sdk/bin \
45 $(srcdir)/event_impl_gen.py \
46 -I $(DEPTH)/dist/idl \
47 --header-output GeneratedEvents.h \
48 event_impl_gen.conf
49
50 GeneratedEventClasses.h: GeneratedEvents.cpp
51
52 GeneratedEvents.cpp: GeneratedEvents.h \
53 event_impl_gen.conf \
54 $(srcdir)/event_impl_gen.py \
55 $(LIBXUL_DIST)/sdk/bin/header.py \
56 $(LIBXUL_DIST)/sdk/bin/xpidl.py
57 $(PYTHON) $(topsrcdir)/config/pythonpath.py \
58 $(PLY_INCLUDE) \
59 -I$(LIBXUL_DIST)/sdk/bin \
60 $(srcdir)/event_impl_gen.py \
61 -I $(DEPTH)/dist/idl \
62 --class-declarations GeneratedEventClasses.h \
63 --stub-output GeneratedEvents.cpp \
64 --makedepend-output $(MDDEPDIR)/event_impl_gen.pp \
65 event_impl_gen.conf
66
67 GeneratedEvents-webidl: event_impl_gen.conf
68 $(PYTHON) $(topsrcdir)/config/pythonpath.py \
69 $(PLY_INCLUDE) \
70 -I$(LIBXUL_DIST)/sdk/bin \
71 $(srcdir)/event_impl_gen.py \
72 -I $(DEPTH)/dist/idl \
73 --webidltarget=$(top_srcdir)/dom/webidl \
74 event_impl_gen.conf
75
76 GARBAGE += \
77 event_impl_gen.conf \
78 xpidl_debug \
79 $(MDDEPDIR)/dom_qsgen.pp \
80 $(MDDEPDIR)/dombindingsgen.pp \
81 $(MDDEPDIR)/event_impl_gen.pp \
82 $(wildcard $(topsrcdir)/other-licenses/ply/ply/*.pyc) \
83 $(NULL)

mercurial