Bug 839650: Add debugs to MediaStreamGraph to ease investigation of issues in the...
[gecko.git] / b2g / gaia / Makefile.in
blobf0bae448e717f82d5e0c80884a4a329b2e3e5a03
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 DEPTH = @DEPTH@
6 topsrcdir = @top_srcdir@
7 srcdir = @srcdir@
8 VPATH = @srcdir@
10 include $(DEPTH)/config/autoconf.mk
12 GAIA_PATH := gaia/profile
14 PROGRAM = $(MOZ_APP_NAME)$(BIN_SUFFIX)
16 ifeq ($(OS_ARCH),WINNT)
17 CPPSRCS = run-b2g.cpp
18 DEFINES += \
19 -DB2G_NAME=L\"$(MOZ_APP_NAME)-bin$(BIN_SUFFIX)\" \
20 -DGAIA_PATH=L\"$(subst /,\\\\,$(GAIA_PATH))\" \
21 $(NULL)
22 GAIA_MAKE=make
23 else # Non-windows machines use the same wrapper program
24 CSRCS = run-b2g.c
25 DEFINES += \
26 -DB2G_NAME=\"$(MOZ_APP_NAME)-bin$(BIN_SUFFIX)\" \
27 -DGAIA_PATH=\"$(GAIA_PATH)\" \
28 $(NULL)
29 GAIA_MAKE=$(MAKE)
30 endif
32 # This is needed to avoid making run-b2g depend on mozglue
33 WRAP_LDFLAGS :=
35 GENERATED_DIRS += $(DIST)/bin/$(GAIA_PATH)
37 include $(topsrcdir)/config/rules.mk
39 libs::
40 $(GAIA_MAKE) -j1 -C $(GAIADIR) clean
41 $(GAIA_MAKE) -j1 -C $(GAIADIR) profile
42 (cd $(GAIADIR)/profile && tar $(TAR_CREATE_FLAGS) - .) | (cd $(abspath $(DIST))/bin/$(GAIA_PATH) && tar -xf -)