ipc/ipdl/Makefile.in
author Mike Hommey <mh+mozilla@glandium.org>
Tue, 29 Oct 2013 08:00:30 +0900
changeset 168107 36981d3a0d3b185f623daa70261b3267b44bd41a
parent 166713 c031747aac8ac274af484e0bd46d86c1f119c66b
child 187453 9db77f0644bd794380a223179c57e5bf25b9872c
permissions -rw-r--r--
Bug 930896 - Keep track of files generated by a build backend. r=gps

# 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/.

GARBAGE_DIRS += _ipdlheaders
GARBAGE += ipdl_lextab.py ipdl_yacctab.py $(wildcard *.pyc $(srcdir)/ipdl/*.pyc $(srcdir)/ipdl/cxx/*.pyc)

# This file is generated by the moz.build backend.
include ipdlsrcs.mk

LOCAL_INCLUDES += -I$(DEPTH)/ipc/ipdl/_ipdlheaders


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
export:: $(ALL_IPDLSRCS)
	$(PYTHON) $(topsrcdir)/config/pythonpath.py \
	  $(PLY_INCLUDE) \
	  $(srcdir)/ipdl.py \
	  --outheaders-dir=_ipdlheaders \
	  --outcpp-dir=. \
	  $(IPDLDIRS:%=-I%) \
	  $^

# We #include some things in the dom/plugins/ directory that rely on
# toolkit libraries.
CXXFLAGS    += $(TK_CFLAGS)