suite/build/Makefile.in
author Gregory Szorc <gps@mozilla.com>
Thu, 28 Feb 2013 15:16:49 +0100
changeset 15059 c8c0954ad5947fb552ce84b6cafeac9c8e1f0465
parent 13273 6ce4c3cdaf3c3bace2bd82a9c46543a682fe262f
child 15499 2793685324eb3bcb77b903c42f0966c6dcf57b7f
permissions -rw-r--r--
Bug 845089 - Convert build system to moz.build files on a CLOSED TREE; r=Callek

# 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

MODULE		 = suite
LIBRARY_NAME	 = suite
FORCE_SHARED_LIB = 1
IS_COMPONENT	 = 1
MODULE_NAME	 = nsSuiteModule


CPPSRCS 	= \
		nsSuiteModule.cpp \
		$(NULL)

ifeq ($(OS_ARCH),WINNT)
OS_LIBS += $(call EXPAND_LIBNAME,ole32 shell32)
endif

LOCAL_INCLUDES += \
		-I$(topsrcdir)/suite/profile \
		-I$(topsrcdir)/suite/profile/migration/src \
		-I$(topsrcdir)/suite/shell/src \
		-I$(topsrcdir)/suite/feeds/src \
		$(NULL)

SHARED_LIBRARY_LIBS = \
	../profile/$(LIB_PREFIX)suiteprofile_s.$(LIB_SUFFIX) \
	../profile/migration/src/$(LIB_PREFIX)suitemigration_s.$(LIB_SUFFIX) \
	../feeds/src/$(LIB_PREFIX)suitefeeds_s.$(LIB_SUFFIX) \
	$(NULL)

# We need to link the windows shell service into seamonkey.exe.
ifneq (,$(filter windows cocoa gtk2, $(MOZ_WIDGET_TOOLKIT)))
SHARED_LIBRARY_LIBS += ../shell/src/$(LIB_PREFIX)shellservice_s.$(LIB_SUFFIX)
endif

EXTRA_DSO_LDOPTS += \
	$(LIBS_DIR) \
	$(EXTRA_DSO_LIBS) \
	$(call EXPAND_LIBNAME_PATH,unicharutil_external_s,$(LIBXUL_DIST)/lib) \
	$(MOZ_JS_LIBS) \
	$(XPCOM_GLUE_LDOPTS) \
	$(MOZ_COMPONENT_LIBS) \
	$(TK_LIBS) \
	$(NULL)

include $(topsrcdir)/config/rules.mk

# Ensure that we don't embed a manifest referencing the CRT.
EMBED_MANIFEST_AT =