dom/contacts/Makefile.in
author Kan-Ru Chen <kanru@kanru.info>
Wed, 07 Mar 2012 12:03:25 +0100
changeset 91318 72bc6f12d1cc5237b7347f2ed737e929def0ad07
parent 90984 7834b28ea4223811a9ad061b5ea7c8b87984368e
child 92603 5c3d11c465f1b029e7fbbfffe6af13d0b094a28d
permissions -rw-r--r--
Bug 697132 - Implement wakelock interfaces. r=jlebar

# 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)        \
  $(NULL)

include $(DEPTH)/config/autoconf.mk

ifeq ($(MOZ_BUILD_APP),b2g)
VPATH += $(srcdir)/fallback
endif

MODULE         = dom
LIBRARY_NAME   = jsdomcontacts_s
LIBXUL_LIBRARY = 1

EXTRA_COMPONENTS =        \
  ContactManager.js       \
  ContactManager.manifest \
  $(NULL)

ifeq ($(MOZ_BUILD_APP),b2g)
EXTRA_JS_MODULES =   \
  ContactService.jsm \
  ContactDB.jsm      \
  $(NULL)
endif

ifdef ENABLE_TESTS
DIRS += tests
endif

# Add VPATH to LOCAL_INCLUDES so we are going to include the correct backend
# subdirectory (and the ipc one).
LOCAL_INCLUDES += $(VPATH:%=-I%)

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

DEFINES += -D_IMPL_NS_LAYOUT