1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/b2g/gaia/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +# This Source Code Form is subject to the terms of the Mozilla Public 1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.7 + 1.8 +GAIA_PATH := gaia/profile 1.9 + 1.10 +ifdef .PYMAKE 1.11 +# For use of GNU make in pymake builds. 1.12 +GAIA_MAKE=$(GMAKE) 1.13 +else 1.14 +GAIA_MAKE=$(MAKE) 1.15 +endif 1.16 + 1.17 +# This is needed to avoid making run-b2g depend on mozglue 1.18 +WRAP_LDFLAGS := 1.19 + 1.20 +GENERATED_DIRS += $(DIST)/bin/$(GAIA_PATH) 1.21 + 1.22 +include $(topsrcdir)/config/rules.mk 1.23 + 1.24 +libs:: 1.25 + +$(GAIA_MAKE) -j1 -C $(GAIADIR) clean 1.26 + +$(GAIA_MAKE) -j1 -C $(GAIADIR) profile 1.27 + (cd $(GAIADIR)/profile && tar $(TAR_CREATE_FLAGS) - .) | (cd $(abspath $(DIST))/bin/$(GAIA_PATH) && tar -xf -)