michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: GAIA_PATH := gaia/profile michael@0: michael@0: ifdef .PYMAKE michael@0: # For use of GNU make in pymake builds. michael@0: GAIA_MAKE=$(GMAKE) michael@0: else michael@0: GAIA_MAKE=$(MAKE) michael@0: endif michael@0: michael@0: # This is needed to avoid making run-b2g depend on mozglue michael@0: WRAP_LDFLAGS := michael@0: michael@0: GENERATED_DIRS += $(DIST)/bin/$(GAIA_PATH) michael@0: michael@0: include $(topsrcdir)/config/rules.mk michael@0: michael@0: libs:: michael@0: +$(GAIA_MAKE) -j1 -C $(GAIADIR) clean michael@0: +$(GAIA_MAKE) -j1 -C $(GAIADIR) profile michael@0: (cd $(GAIADIR)/profile && tar $(TAR_CREATE_FLAGS) - .) | (cd $(abspath $(DIST))/bin/$(GAIA_PATH) && tar -xf -)