2012-05-21 04:12:37 -07: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 09:14:56 -07:00
|
|
|
|
2009-11-24 07:34:38 -08:00
|
|
|
GARBAGE_DIRS += _ipdlheaders
|
2010-04-29 00:21:14 -07:00
|
|
|
GARBAGE += ipdl_lextab.py ipdl_yacctab.py $(wildcard *.pyc $(srcdir)/ipdl/*.pyc $(srcdir)/ipdl/cxx/*.pyc)
|
2009-11-24 07:34:38 -08:00
|
|
|
|
2013-07-01 06:56:28 -07:00
|
|
|
# This file is generated by the moz.build backend.
|
|
|
|
include ipdlsrcs.mk
|
2009-12-03 00:16:09 -08: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-26 16:05:10 -07:00
|
|
|
export:: $(ALL_IPDLSRCS)
|
2012-04-09 17:41:22 -07:00
|
|
|
$(PYTHON) $(topsrcdir)/config/pythonpath.py \
|
2012-04-06 11:06:52 -07:00
|
|
|
$(PLY_INCLUDE) \
|
|
|
|
$(srcdir)/ipdl.py \
|
|
|
|
--outheaders-dir=_ipdlheaders \
|
|
|
|
--outcpp-dir=. \
|
2013-07-01 06:56:28 -07:00
|
|
|
$(IPDLDIRS:%=-I%) \
|
2009-07-13 09:14:56 -07:00
|
|
|
$^
|