зеркало из https://github.com/mozilla/gecko-dev.git
48 строки
1.1 KiB
Makefile
48 строки
1.1 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), $(filter $(MOZ_BUILD_APP),b2g mail))
|
|
VPATH += $(srcdir)/fallback
|
|
endif
|
|
|
|
MODULE = dom
|
|
LIBRARY_NAME = jsdomcontacts_s
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
XPIDL_MODULE = dom_contacts
|
|
GRE_MODULE = 1
|
|
|
|
EXTRA_COMPONENTS = \
|
|
ContactManager.js \
|
|
ContactManager.manifest \
|
|
$(NULL)
|
|
|
|
ifeq ($(MOZ_BUILD_APP), $(filter $(MOZ_BUILD_APP),b2g mail))
|
|
EXTRA_JS_MODULES = \
|
|
ContactService.jsm \
|
|
ContactDB.jsm \
|
|
$(NULL)
|
|
endif
|
|
|
|
TEST_DIRS += tests
|
|
|
|
# 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
|