b2g/gaia/Makefile.in
author Alexandre Poirot <poirot.alex@gmail.com>
Mon, 10 Feb 2014 09:16:57 -0500
changeset 186076 81f210d3ad52c0fe6f41a895444da1d91cb30b7a
parent 173525 f4b143a9c6241644470aab2a35e8e8045d0b59ff
child 212514 bcd694f0e95dad42f9d355c2f8c8a99715b714ad
permissions -rw-r--r--
Bug 944451 - Land the simulator addon into mozilla-central. r=vingtetun, r=gps, r=paul

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

GAIA_PATH := gaia/profile

ifdef .PYMAKE
# For use of GNU make in pymake builds.
GAIA_MAKE=$(GMAKE)
else
GAIA_MAKE=$(MAKE)
endif

# This is needed to avoid making run-b2g depend on mozglue
WRAP_LDFLAGS :=

GENERATED_DIRS += $(DIST)/bin/$(GAIA_PATH)

include $(topsrcdir)/config/rules.mk

libs::
	+$(GAIA_MAKE) -j1 -C $(GAIADIR) clean
	+$(GAIA_MAKE) -j1 -C $(GAIADIR) profile
	(cd $(GAIADIR)/profile && tar $(TAR_CREATE_FLAGS) - .) | (cd $(abspath $(DIST))/bin/$(GAIA_PATH) && tar -xf -)