js/xpconnect/shell/Makefile.in
author Ms2ger <ms2ger@gmail.com>
Sun, 20 Oct 2013 09:25:19 +0200
changeset 166188 88e3a46b2c80e2f281a3004605647dda748a4c14
parent 164139 e403b2561ceba12d39b3823249aed3bdf413ffdc
child 166190 a8ba2927199823c3a5787550f9f379ebd9821b1e
permissions -rw-r--r--
Bug 908142 - Part d: Move FAIL_ON_WARNINGS to moz.build in js/xpconnect/shell/; r=gps

#
# 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/.

SDK_BINARY	= $(PROGRAM)

LOCAL_INCLUDES += \
  -I$(topsrcdir)/toolkit/xre \
  $(NULL)

LIBS		= \
		$(DIST)/lib/$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) \
		$(LIBXUL_LIBS) \
		$(XPCOM_LIBS) \
		$(NULL)

ifdef JS_SHARED_LIBRARY
LIBS +=	$(MOZ_JS_LIBS)
endif

LIBS +=	$(NSPR_LIBS)

NSDISTMODE = copy

ifeq ($(OS_TEST),ia64)
LIBS += $(JEMALLOC_LIBS)
endif

include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk

ifdef _MSC_VER
# Always enter a Windows program through wmain, whether or not we're
# a console application.
WIN32_EXE_LDFLAGS += -ENTRY:wmainCRTStartup
endif

DEFINES		+= -DJS_THREADSAFE

ifdef MOZ_SHARK
DEFINES += -DMOZ_SHARK
endif
ifdef MOZ_CALLGRIND
DEFINES += -DMOZ_CALLGRIND
endif
ifdef MOZ_VTUNE
DEFINES += -DMOZ_VTUNE
CXXFLAGS += -IC:/Program\ Files/Intel/VTune/Analyzer/Include
LIBS += C:/Program\ Files/Intel/VTune/Analyzer/Lib/VtuneApi.lib
endif