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_DIRS += _ipdlheaders michael@0: GARBAGE += ipdl_lextab.py ipdl_yacctab.py $(wildcard *.pyc $(srcdir)/ipdl/*.pyc $(srcdir)/ipdl/cxx/*.pyc) michael@0: michael@0: # This file is generated by the moz.build backend. michael@0: include ipdlsrcs.mk michael@0: michael@0: include $(topsrcdir)/config/rules.mk michael@0: michael@0: michael@0: # NB: the IPDL compiler manages .ipdl-->.h/.cpp dependencies itself, michael@0: # which is why we don't have explicit .h/.cpp targets here michael@0: export:: $(ALL_IPDLSRCS) michael@0: $(PYTHON) $(topsrcdir)/config/pythonpath.py \ michael@0: $(PLY_INCLUDE) \ michael@0: $(srcdir)/ipdl.py \ michael@0: --outheaders-dir=_ipdlheaders \ michael@0: --outcpp-dir=. \ michael@0: $(IPDLDIRS:%=-I%) \ michael@0: $^ michael@0: michael@0: # We #include some things in the dom/plugins/ directory that rely on michael@0: # toolkit libraries. michael@0: CXXFLAGS += $(TK_CFLAGS)