2012-05-21 15:12:37 +04:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2009-07-13 20:14:56 +04:00
|
|
|
|
2009-11-24 18:34:38 +03:00
|
|
|
GARBAGE_DIRS += _ipdlheaders
|
2010-04-29 11:21:14 +04:00
|
|
|
GARBAGE += ipdl_lextab.py ipdl_yacctab.py $(wildcard *.pyc $(srcdir)/ipdl/*.pyc $(srcdir)/ipdl/cxx/*.pyc)
|
2009-11-24 18:34:38 +03:00
|
|
|
|
2013-07-01 17:56:28 +04:00
|
|
|
# This file is generated by the moz.build backend.
|
|
|
|
include ipdlsrcs.mk
|
2009-12-03 11:16:09 +03:00
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
|
|
|
|
|
|
|
# NB: the IPDL compiler manages .ipdl-->.h/.cpp dependencies itself,
|
|
|
|
# which is why we don't have explicit .h/.cpp targets here
|
2013-09-27 03:05:10 +04:00
|
|
|
export:: $(ALL_IPDLSRCS)
|
2012-04-10 04:41:22 +04:00
|
|
|
$(PYTHON) $(topsrcdir)/config/pythonpath.py \
|
2012-04-06 22:06:52 +04:00
|
|
|
$(PLY_INCLUDE) \
|
|
|
|
$(srcdir)/ipdl.py \
|
|
|
|
--outheaders-dir=_ipdlheaders \
|
|
|
|
--outcpp-dir=. \
|
2013-07-01 17:56:28 +04:00
|
|
|
$(IPDLDIRS:%=-I%) \
|
2009-07-13 20:14:56 +04:00
|
|
|
$^
|
2010-01-28 08:22:41 +03:00
|
|
|
|
|
|
|
# We #include some things in the dom/plugins/ directory that rely on
|
|
|
|
# toolkit libraries.
|
|
|
|
CXXFLAGS += $(TK_CFLAGS)
|