mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
44 lines
1002 B
Makefile
44 lines
1002 B
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 = @DEPTH@
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = \
|
|
$(srcdir) \
|
|
$(NULL)
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
VPATH += $(srcdir)/fallback
|
|
|
|
MODULE = dom
|
|
LIBRARY_NAME = jsdomcontacts_s
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
XPIDL_MODULE = dom_contacts
|
|
GRE_MODULE = 1
|
|
|
|
EXTRA_COMPONENTS = \
|
|
ContactManager.js \
|
|
ContactManager.manifest \
|
|
$(NULL)
|
|
|
|
EXTRA_JS_MODULES = \
|
|
ContactService.jsm \
|
|
ContactDB.jsm \
|
|
$(NULL)
|
|
|
|
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
|