netwerk/base/src/Makefile.in
author Benoit Girard <b56girard@gmail.com>
Fri, 12 Jul 2013 08:56:54 -0400
changeset 138293 e6ebdb6069c7542f779280487e3e6a7ee76d8cb1
parent 138265 cd2355d71b749a27d3116884e3cd4052d323c98d
child 138689 d5d03b2c7fabdf6c399b7695c8925a91cea12689
permissions -rw-r--r--
Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium

# vim:set ts=8 sw=8 sts=8 noet:
#
# 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@

include $(DEPTH)/config/autoconf.mk

LIBRARY_NAME	= neckobase_s
MSVC_ENABLE_PGO := 1
LIBXUL_LIBRARY  = 1
FAIL_ON_WARNINGS := 1

LOCAL_INCLUDES	+= -I$(topsrcdir)/dom/base

ifdef MOZ_PLATFORM_MAEMO
ifdef MOZ_ENABLE_LIBCONIC
	LOCAL_INCLUDES += -I$(srcdir)/../../system/maemo
endif
ifdef MOZ_ENABLE_QTNETWORK
	LOCAL_INCLUDES += -I$(srcdir)/../../system/qt
	OS_INCLUDES += $(MOZ_QT_CFLAGS)
endif
endif

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

ifeq ($(OS_TARGET),Android)
# this works around a "branch out of range" error when compiling this file opt
nsURLParsers.$(OBJ_SUFFIX): MOZ_OPTIMIZE_FLAGS=
endif

ifdef MOZ_ENABLE_LIBCONIC
	OS_INCLUDES += $(GLIB_CFLAGS) $(LIBCONIC_CFLAGS)
endif