webapprt/gtk2/Makefile.in
author Monica Chew <mmc@mozilla.com>
Tue, 18 Dec 2012 17:11:54 -0500
changeset 125552 ef0483c37e00dce2b1273d912e93cf5aea858ca1
parent 121437 a07eb0e0e4ab2467762a456b867c1f20ff32a7c7
child 139516 214cafc09b49f27077aaddfad32fb36f6ad0a890
permissions -rw-r--r--
Bug 810404 - Change breakpad license to Google BSD and point protobuf code to it. r=gerv

# 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 = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
FAIL_ON_WARNINGS := 1

include $(DEPTH)/config/autoconf.mk

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

CPPSRCS = webapprt.cpp

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

DEFINES += -DXPCOM_GLUE
STL_FLAGS=

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

NSDISTMODE = copy

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