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

« back to all changes in this revision

Viewing changes to mailnews/import/build/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 = import
 
14
LIBRARY_NAME = import
 
15
IS_COMPONENT    = 1
 
16
ifdef MOZ_INCOMPLETE_EXTERNAL_LINKAGE
 
17
FORCE_SHARED_LIB=1
 
18
else
 
19
EXPORT_LIBRARY = 1
 
20
MOZILLA_INTERNAL_API = 1
 
21
LIBXUL_LIBRARY = 1
 
22
endif
 
23
 
 
24
MODULE_NAME     = nsImportServiceModule
 
25
 
 
26
CPPSRCS         =  nsImportModule.cpp
 
27
 
 
28
SHARED_LIBRARY_LIBS = \
 
29
                ../src/$(LIB_PREFIX)import_s.$(LIB_SUFFIX) \
 
30
                ../text/src/$(LIB_PREFIX)imptext_s.$(LIB_SUFFIX) \
 
31
                ../vcard/src/$(LIB_PREFIX)impvcard_s.$(LIB_SUFFIX) \
 
32
                $(NULL)
 
33
 
 
34
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
 
35
SHARED_LIBRARY_LIBS += ../eudora/src/$(LIB_PREFIX)impEudra_s.$(LIB_SUFFIX)
 
36
SHARED_LIBRARY_LIBS += ../applemail/src/$(LIB_PREFIX)applmail_s.$(LIB_SUFFIX)
 
37
endif
 
38
 
 
39
ifeq ($(OS_ARCH),WINNT)
 
40
SHARED_LIBRARY_LIBS += ../eudora/src/$(LIB_PREFIX)impEudra_s.$(LIB_SUFFIX)
 
41
 
 
42
ifndef GNU_CC
 
43
SHARED_LIBRARY_LIBS += ../oexpress/$(LIB_PREFIX)importOE_s.$(LIB_SUFFIX)
 
44
SHARED_LIBRARY_LIBS += ../outlook/src/$(LIB_PREFIX)impOutlk_s.$(LIB_SUFFIX)
 
45
SHARED_LIBRARY_LIBS += ../winlivemail/$(LIB_PREFIX)importWM_s.$(LIB_SUFFIX)
 
46
endif
 
47
 
 
48
endif
 
49
 
 
50
LOCAL_INCLUDES += -I$(srcdir)/../src \
 
51
        -I$(srcdir)/../text/src \
 
52
  -I$(srcdir)/../vcard/src \
 
53
        $(NULL)
 
54
 
 
55
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
 
56
LOCAL_INCLUDES += -I$(srcdir)/../eudora/src \
 
57
                                                                        -I$(srcdir)/../applemail/src \
 
58
                                                                        $(NULL)
 
59
endif
 
60
 
 
61
ifeq ($(OS_ARCH),WINNT)
 
62
LOCAL_INCLUDES += -I$(srcdir)/../eudora/src
 
63
ifndef GNU_CC
 
64
LOCAL_INCLUDES += -I$(srcdir)/../oexpress \
 
65
        -I$(srcdir)/../outlook/src \
 
66
        -I$(srcdir)/../winlivemail  \
 
67
        $(NULL)
 
68
endif
 
69
endif
 
70
 
 
71
EXTRA_DSO_LDOPTS += ../../base/util/$(LIB_PREFIX)msgbsutl_s.$(LIB_SUFFIX)
 
72
 
 
73
ifdef MOZILLA_INTERNAL_API
 
74
EXTRA_DSO_LDOPTS += \
 
75
        $(LIBS_DIR) \
 
76
        $(EXTRA_DSO_LIBS) \
 
77
        $(MOZ_UNICHARUTIL_LIBS) \
 
78
        $(MOZ_COMPONENT_LIBS) \
 
79
        $(NULL)
 
80
else
 
81
EXTRA_DSO_LDOPTS += \
 
82
        $(LIBS_DIR) \
 
83
        $(MOZ_JS_LIBS) \
 
84
        $(XPCOM_GLUE_LDOPTS) \
 
85
        $(call EXPAND_LIBNAME_PATH,unicharutil_external_s,$(LIBXUL_DIST)/lib) \
 
86
        $(MOZDEPTH)/rdf/util/src/$(LIB_PREFIX)rdfutil_external_s.$(LIB_SUFFIX) \
 
87
        $(NSPR_LIBS) \
 
88
        $(XPCOM_LIBS) \
 
89
        $(NULL)
 
90
ifneq (WINNT,$(OS_ARCH))
 
91
EXTRA_DSO_LDOPTS += \
 
92
        $(MOZ_ZLIB_LIBS) \
 
93
        $(NULL)
 
94
endif
 
95
endif
 
96
 
 
97
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
 
98
EXTRA_DSO_LDOPTS += \
 
99
        -framework Cocoa  \
 
100
        $(TK_LIBS) \
 
101
        $(NULL)
 
102
endif
 
103
 
 
104
ifeq ($(OS_ARCH),AIX)
 
105
ifdef MOZILLA_INTERNAL_API
 
106
EXTRA_DSO_LDOPTS += \
 
107
        $(MOZDEPTH)/rdf/util/src/internal/$(LIB_PREFIX)rdfutil_s.$(LIB_SUFFIX) \
 
108
        $(NULL)
 
109
else
 
110
EXTRA_DSO_LDOPTS += \
 
111
        $(MOZDEPTH)/rdf/util/src/$(LIB_PREFIX)rdfutil_external_s.$(LIB_SUFFIX) \
 
112
        $(NULL)
 
113
endif
 
114
endif
 
115
 
 
116
include $(topsrcdir)/config/rules.mk