2
# This Source Code Form is subject to the terms of the Mozilla Public
3
# License, v. 2.0. If a copy of the MPL was not distributed with this
4
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
topsrcdir = @top_srcdir@
11
include $(DEPTH)/config/autoconf.mk
14
LIBRARY_NAME = addrbook_s
15
ifndef MOZ_INCOMPLETE_EXTERNAL_LINKAGE
16
MOZILLA_INTERNAL_API = 1
22
nsAbCardProperty.cpp \
26
nsAbAddressCollector.cpp \
27
nsAddbookProtocolHandler.cpp \
28
nsAbMDBDirProperty.cpp \
29
nsAbMDBDirectory.cpp \
33
nsAbDirFactoryService.cpp \
34
nsAbMDBDirFactory.cpp \
35
nsAbDirectoryQuery.cpp \
36
nsAbDirectoryQueryProxy.cpp \
37
nsAbBooleanExpression.cpp \
38
nsAbQueryStringToExpression.cpp \
42
nsMsgVCardService.cpp \
44
nsAbContentHandler.cpp \
48
nsAbLDAPAttributeMap.js \
49
nsAbAutoCompleteMyDomain.js \
50
nsAbAutoCompleteSearch.js \
53
EXTRA_PP_COMPONENTS += \
61
ifeq ($(OS_ARCH),WINNT)
65
nsAbOutlookDirFactory.cpp \
66
nsAbOutlookDirectory.cpp \
68
nsMapiAddressBook.cpp \
69
nsWabAddressBook.cpp \
76
DEFINES += -DMOZ_LDAP_XPCOM
79
nsAbLDAPDirectory.cpp \
80
nsAbLDAPDirFactory.cpp \
82
nsAbLDAPListenerBase.cpp \
83
nsAbLDAPDirectoryQuery.cpp \
84
nsAbLDAPDirectoryModify.cpp \
85
nsAbBoolExprToLDAPFilter.cpp \
86
nsAbLDAPReplicationService.cpp \
87
nsAbLDAPReplicationQuery.cpp \
88
nsAbLDAPReplicationData.cpp \
91
ifndef MOZ_INCOMPLETE_TOOLKIT_LDAP_AUTOCOMPLETE
93
nsAbLDAPAutoCompFormatter.cpp \
94
nsLDAPAutoCompleteSession.cpp \
97
DEFINES += -DMOZ_INCOMPLETE_TOOLKIT_LDAP_AUTOCOMPLETE
99
nsAbLDAPAutoCompleteSearch.js \
103
# XXX These files are not being built as they don't work. Bug 311632 should
105
# nsAbLDAPChangeLogQuery.cpp
106
# nsAbLDAPChangeLogData.cpp
109
ifeq ($(OS_ARCH),Darwin)
111
nsAbOSXDirFactory.cpp \
116
nsAbOSXDirectory.mm \
121
# we don't want the shared lib, but we want to force the creation of a static lib.
124
include $(topsrcdir)/config/rules.mk