gecko/dom/contacts/Makefile.in

47 lines
1.0 KiB
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) \
$(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