addon-sdk/Makefile.in
author Ralph Giles <giles@mozilla.com>
Fri, 08 Mar 2013 16:58:55 -0800
changeset 124398 88f15bda9f71ff5e2d298cfd841c4191c062cb4d
parent 124016 0887088eee1a3f8303f1afa26a15074cc081e554
child 145609 45097bc3a57898f22a4f3b74f8f8cf7511f5d0a4
permissions -rw-r--r--
Bug 849442 - Fix EXPORT_NAMESPACE typo. r=ted

# 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 $(topsrcdir)/config/config.mk

export PYMAKE = $(.PYMAKE)

libs::
	$(PYTHON) $(srcdir)/copy_source.py $(topsrcdir) $(srcdir)/source/lib $(FINAL_TARGET)/modules/commonjs >copy_source.mk
	$(MAKE) -f copy_source.mk libs

include $(topsrcdir)/config/rules.mk

TEST_FILES = \
  source/app-extension \
  source/bin \
  source/data \
  source/python-lib \
  source/test \
  source/package.json \
  source/mapping.json \
  $(NULL)

# Remove this once the test harness uses the APIs built into Firefox
TEST_FILES += source/lib

PKG_STAGE = $(DIST)/test-package-stage

stage-tests-package:: $(TEST_FILES)
	$(INSTALL) $^ $(PKG_STAGE)/jetpack