webapprt/linux/Makefile.in
author Marco Castelluccio <mar.castelluccio@studenti.unina.it>
Sun, 03 Jun 2012 22:54:38 -0300
changeset 99771 0ae2ca987cf916445f253bfda6d08a00842f988a
permissions -rw-r--r--
Bug 745018. Implement webapp runtime for Linux. r=jst

# 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 = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

# Build a binary bootstrapping with XRE_main
PROGRAM = webapprt-stub

CPPSRCS = webapprt.cpp

LOCAL_INCLUDES += -I$(topsrcdir)/toolkit/xre
LOCAL_INCLUDES += -I$(topsrcdir)/xpcom/base
LOCAL_INCLUDES += -I$(topsrcdir)/xpcom/build
LOCAL_INCLUDES += -I$(DEPTH)/build

DEFINES += -DXPCOM_GLUE
STL_FLAGS=

LIBS = \
  $(XPCOM_STANDALONE_GLUE_LDOPTS) \
  $(MOZ_GTK2_LIBS) \
  $(NULL)

include $(topsrcdir)/config/rules.mk

CXXFLAGS += \
	$(MOZ_GTK2_CFLAGS) \
	$(NULL)

GRE_BUILDID := $(shell cat $(DEPTH)/config/buildid)
DEFINES += -DGRE_BUILDID=$(GRE_BUILDID)

webapprt.$(OBJ_SUFFIX): $(DEPTH)/config/buildid