chrome/src/Makefile.in
author Mike Hommey <mh+mozilla@glandium.org>
Sat, 04 Aug 2012 20:26:44 +0200
changeset 101442 162130598df094e19b044610902abecd403278d3
parent 101426 1fc17369c9a6c85dfd5724b9b6ecc073f0b3cc6c
child 125513 97e443115162450609702fc72c99b6d88d8703d6
permissions -rw-r--r--
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted

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

MODULE          = chrome
LIBRARY_NAME    = chrome_s
LIBXUL_LIBRARY  = 1
FORCE_STATIC_LIB = 1

EXPORTS_NAMESPACES = mozilla/chrome

EXPORTS_mozilla/chrome = \
		RegistryMessageUtils.h \
		$(NULL)

CPPSRCS		= \
		nsChromeRegistry.cpp \
		nsChromeRegistryChrome.cpp \
		nsChromeProtocolHandler.cpp \
		nsChromeRegistryContent.cpp \
		$(NULL)

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

LOCAL_INCLUDES += \
		-I$(topsrcdir)/netwerk/protocol/res \
		-I$(topsrcdir)/netwerk/base/src \
		$(NULL)

ifneq (,$(filter gtk2,$(MOZ_WIDGET_TOOLKIT)))
CXXFLAGS          += $(MOZ_GTK2_CFLAGS)
endif

LOCAL_INCLUDES += \
  -I$(topsrcdir)/xpcom/components \
  -I$(DEPTH)/xpcom \
  $(NULL)