зеркало из https://github.com/mozilla/gecko-dev.git
40 строки
914 B
Makefile
40 строки
914 B
Makefile
# 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
|