2012-06-03 18:54:38 -07:00
|
|
|
# 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/.
|
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2012-06-03 18:54:38 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2012-09-06 00:25:05 -07:00
|
|
|
FAIL_ON_WARNINGS := 1
|
2012-06-03 18:54:38 -07:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
# Build a binary bootstrapping with XRE_main
|
|
|
|
PROGRAM = webapprt-stub
|
|
|
|
|
|
|
|
CPPSRCS = webapprt.cpp
|
|
|
|
|
2012-09-06 00:25:05 -07:00
|
|
|
LOCAL_INCLUDES += \
|
|
|
|
-I$(topsrcdir)/toolkit/xre \
|
|
|
|
-I$(topsrcdir)/xpcom/base \
|
|
|
|
-I$(topsrcdir)/xpcom/build \
|
|
|
|
-I$(DEPTH)/build \
|
|
|
|
$(NULL)
|
2012-06-03 18:54:38 -07:00
|
|
|
|
|
|
|
DEFINES += -DXPCOM_GLUE
|
|
|
|
STL_FLAGS=
|
|
|
|
|
|
|
|
LIBS = \
|
|
|
|
$(XPCOM_STANDALONE_GLUE_LDOPTS) \
|
|
|
|
$(MOZ_GTK2_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-11-16 08:12:00 -08:00
|
|
|
NSDISTMODE = copy
|
|
|
|
|
2012-06-03 18:54:38 -07:00
|
|
|
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
|