xpcom/idl-parser/Makefile.in
author Boris Zbarsky <bzbarsky@mit.edu>
Fri, 12 Jul 2013 10:35:35 -0400
changeset 151798 7c7ef42d1fe1bbea6a472069654ff22b25e0e0a1
parent 107436 162130598df094e19b044610902abecd403278d3
child 155413 e5ebdc689486217b525fa9eb40809a254b6d375f
permissions -rw-r--r--
Bug 838146 part 1. Implement WebIDL API on Navigator for the parts that are specified or are in nsIDOMNavigator. r=smaug, sr=sicking

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

DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

PARSER_SRCS = \
  header.py \
  typelib.py \
  xpidl.py \
  $(NULL)

ifndef MOZ_SYSTEM_PLY
PLY_PROGS = \
  $(topsrcdir)/other-licenses/ply/ply/lex.py \
  $(topsrcdir)/other-licenses/ply/ply/yacc.py \
  $(NULL)
endif

include $(topsrcdir)/config/rules.mk

# Generate the PLY lexer and parser.
export:: $(PARSER_SRCS) $(PLY_PROGS)
	$(PYTHON_PATH) \
	  $(PLY_INCLUDE) \
	  $(srcdir)/header.py --cachedir=. --regen

check::
	$(PYTHON_PATH) \
	  $(PLY_INCLUDE) \
	  -I. \
	  $(srcdir)/runtests.py

GARBAGE += \
  xpidllex.py \
  xpidllex.pyc \
  xpidlyacc.py \
  xpidlyacc.pyc \
  xpidl_debug \
  $(NULL)