~ubuntu-branches/ubuntu/quantal/enigmail/quantal-security

« back to all changes in this revision

Viewing changes to mailnews/addrbook/src/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2013-09-13 16:02:15 UTC
  • mfrom: (0.12.16)
  • Revision ID: package-import@ubuntu.com-20130913160215-u3g8nmwa0pdwagwc
Tags: 2:1.5.2-0ubuntu0.12.10.1
* New upstream release v1.5.2 for Thunderbird 24

* Build enigmail using a stripped down Thunderbird 17 build system, as it's
  now quite difficult to build the way we were doing previously, with the
  latest Firefox build system
* Add debian/patches/no_libxpcom.patch - Don't link against libxpcom, as it
  doesn't exist anymore (but exists in the build system)
* Add debian/patches/use_sdk.patch - Use the SDK version of xpt.py and
  friends
* Drop debian/patches/ipc-pipe_rename.diff (not needed anymore)
* Drop debian/patches/makefile_depth.diff (not needed anymore)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
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/.
 
5
 
 
6
DEPTH           = @DEPTH@
 
7
topsrcdir       = @top_srcdir@
 
8
srcdir          = @srcdir@
 
9
VPATH           = @srcdir@
 
10
 
 
11
include $(DEPTH)/config/autoconf.mk
 
12
 
 
13
MODULE          = addrbook
 
14
LIBRARY_NAME    = addrbook_s
 
15
ifndef MOZ_INCOMPLETE_EXTERNAL_LINKAGE
 
16
MOZILLA_INTERNAL_API = 1
 
17
LIBXUL_LIBRARY = 1
 
18
endif
 
19
 
 
20
CPPSRCS         = \
 
21
                nsAbManager.cpp \
 
22
                nsAbCardProperty.cpp \
 
23
                nsDirPrefs.cpp \
 
24
                nsAddrDatabase.cpp \
 
25
                nsAbDirProperty.cpp \
 
26
                nsAbAddressCollector.cpp \
 
27
                nsAddbookProtocolHandler.cpp  \
 
28
                nsAbMDBDirProperty.cpp \
 
29
                nsAbMDBDirectory.cpp \
 
30
                nsAbMDBCard.cpp \
 
31
                nsAbBSDirectory.cpp \
 
32
                nsAddbookUrl.cpp    \
 
33
                nsAbDirFactoryService.cpp       \
 
34
                nsAbMDBDirFactory.cpp   \
 
35
                nsAbDirectoryQuery.cpp    \
 
36
                nsAbDirectoryQueryProxy.cpp    \
 
37
                nsAbBooleanExpression.cpp \
 
38
                nsAbQueryStringToExpression.cpp \
 
39
                nsAbView.cpp \
 
40
                nsVCard.cpp \
 
41
                nsVCardObj.cpp \
 
42
                nsMsgVCardService.cpp \
 
43
                nsAbLDIFService.cpp \
 
44
                nsAbContentHandler.cpp \
 
45
                $(NULL)
 
46
 
 
47
EXTRA_COMPONENTS += \
 
48
                nsAbLDAPAttributeMap.js \
 
49
                nsAbAutoCompleteMyDomain.js \
 
50
                nsAbAutoCompleteSearch.js \
 
51
                $(NULL)
 
52
 
 
53
EXTRA_PP_COMPONENTS += \
 
54
                nsAddrbook.manifest \
 
55
                $(NULL)
 
56
 
 
57
EXPORTS         = \
 
58
                nsVCardObj.h \
 
59
                $(NULL)
 
60
 
 
61
ifeq ($(OS_ARCH),WINNT)
 
62
ifndef GNU_CC
 
63
 
 
64
CPPSRCS         += \
 
65
                nsAbOutlookDirFactory.cpp \
 
66
                nsAbOutlookDirectory.cpp \
 
67
                nsAbWinHelper.cpp \
 
68
                nsMapiAddressBook.cpp \
 
69
                nsWabAddressBook.cpp \
 
70
                $(NULL)
 
71
 
 
72
endif
 
73
endif
 
74
 
 
75
ifdef MOZ_LDAP_XPCOM
 
76
DEFINES += -DMOZ_LDAP_XPCOM
 
77
 
 
78
CPPSRCS         += \
 
79
                nsAbLDAPDirectory.cpp \
 
80
                nsAbLDAPDirFactory.cpp  \
 
81
                nsAbLDAPCard.cpp \
 
82
                nsAbLDAPListenerBase.cpp \
 
83
                nsAbLDAPDirectoryQuery.cpp \
 
84
                nsAbLDAPDirectoryModify.cpp \
 
85
                nsAbBoolExprToLDAPFilter.cpp \
 
86
                nsAbLDAPReplicationService.cpp \
 
87
                nsAbLDAPReplicationQuery.cpp \
 
88
                nsAbLDAPReplicationData.cpp \
 
89
                $(NULL)
 
90
 
 
91
ifndef MOZ_INCOMPLETE_TOOLKIT_LDAP_AUTOCOMPLETE
 
92
CPPSRCS         += \
 
93
                nsAbLDAPAutoCompFormatter.cpp \
 
94
                nsLDAPAutoCompleteSession.cpp \
 
95
                $(NULL)
 
96
else
 
97
DEFINES += -DMOZ_INCOMPLETE_TOOLKIT_LDAP_AUTOCOMPLETE
 
98
EXTRA_COMPONENTS += \
 
99
                nsAbLDAPAutoCompleteSearch.js \
 
100
                $(NULL)
 
101
endif
 
102
 
 
103
# XXX These files are not being built as they don't work. Bug 311632 should
 
104
# fix them.
 
105
# nsAbLDAPChangeLogQuery.cpp
 
106
# nsAbLDAPChangeLogData.cpp
 
107
endif
 
108
 
 
109
ifeq ($(OS_ARCH),Darwin)
 
110
CPPSRCS         += \
 
111
                nsAbOSXDirFactory.cpp \
 
112
                $(NULL)
 
113
 
 
114
CMMSRCS         += \
 
115
                nsAbOSXCard.mm \
 
116
                nsAbOSXDirectory.mm \
 
117
                nsAbOSXUtils.mm \
 
118
                $(NULL)
 
119
endif
 
120
 
 
121
# we don't want the shared lib, but we want to force the creation of a static lib.
 
122
FORCE_STATIC_LIB = 1
 
123
 
 
124
include $(topsrcdir)/config/rules.mk
 
125