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