mailnews/import/build/Makefile.in
author Mark Banner <standard8@mozilla.com>
Mon, 28 Apr 2014 20:30:10 +0100
changeset 19701 ebcaac24ae6e0ba51d0e5da49bf823ca0b3822f1
parent 17086 1f890b59ac387094c867dd8653e7172567699218
child 20494 fda75855a38264ff532a989ba02646e41a619747
permissions -rw-r--r--
Added tag BETA_BASE_20140428 for changeset ffacfc0539ea a=betamerge DONTBUILD CLOSED TREE

#
# 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@

include $(DEPTH)/config/autoconf.mk

ifdef MOZ_INCOMPLETE_EXTERNAL_LINKAGE
MODULE_NAME	= nsImportServiceModule
SHARED_LIBRARY_LIBS = ../../base/util/$(LIB_PREFIX)msgbsutl_s.$(LIB_SUFFIX)
endif


LOCAL_INCLUDES += -I$(srcdir)/../src \
	-I$(srcdir)/../text/src \
  -I$(srcdir)/../vcard/src \
	$(NULL)

ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
LOCAL_INCLUDES += -I$(srcdir)/../eudora/src \
									-I$(srcdir)/../applemail/src \
									$(NULL)
endif

ifeq ($(OS_ARCH),WINNT)
LOCAL_INCLUDES += -I$(srcdir)/../eudora/src
ifndef GNU_CC
LOCAL_INCLUDES += -I$(srcdir)/../oexpress \
	-I$(srcdir)/../outlook/src \
	-I$(srcdir)/../winlivemail  \
	$(NULL)
endif
ifdef MOZ_MAPI_SUPPORT
LOCAL_INCLUDES	+= -I$(srcdir)/../outlook/src
endif
endif

EXTRA_DSO_LDOPTS += \
	$(LIBS_DIR) \
	$(MOZ_JS_LIBS) \
	$(XPCOM_GLUE_LDOPTS) \
	$(call EXPAND_LIBNAME_PATH,unicharutil_external_s,$(LIBXUL_DIST)/lib) \
	$(MOZDEPTH)/rdf/util/src/$(LIB_PREFIX)rdfutil_external_s.$(LIB_SUFFIX) \
	$(NSPR_LIBS) \
	$(XPCOM_LIBS) \
	$(NULL)
ifneq (WINNT,$(OS_ARCH))
EXTRA_DSO_LDOPTS += \
	$(MOZ_ZLIB_LIBS) \
	$(NULL)
endif

ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
EXTRA_DSO_LDOPTS += \
	-framework Cocoa  \
	$(TK_LIBS) \
	$(NULL)
endif

ifeq ($(OS_ARCH),AIX)
EXTRA_DSO_LDOPTS += \
	$(MOZDEPTH)/rdf/util/src/$(LIB_PREFIX)rdfutil_external_s.$(LIB_SUFFIX) \
	$(NULL)
endif

include $(topsrcdir)/config/rules.mk