2012-05-21 04:12:37 -07:00
|
|
|
# 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/.
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
2012-03-30 04:33:06 -07:00
|
|
|
OS_LIBS += $(call EXPAND_LIBNAME,ole32 shell32 shlwapi)
|
2007-03-22 10:30:00 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
LOCAL_INCLUDES = \
|
|
|
|
-I$(srcdir)/../shell/src \
|
|
|
|
-I$(srcdir)/../feeds/src \
|
2009-08-19 23:24:10 -07:00
|
|
|
-I$(srcdir)/../about \
|
2009-11-06 23:19:44 -08:00
|
|
|
-I$(srcdir)/../dirprovider \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
OS_LIBS += $(call EXPAND_LIBNAME,version)
|
|
|
|
endif
|
|
|
|
|
2009-05-06 13:02:05 -07:00
|
|
|
EXTRA_DSO_LDOPTS += \
|
2013-11-19 04:24:07 -08:00
|
|
|
$(XPCOM_GLUE_LDOPTS) \
|
2009-05-06 13:02:05 -07:00
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2011-12-10 15:01:33 -08:00
|
|
|
LOCAL_INCLUDES += -I$(srcdir)/../migration/src
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
# Mac: Need to link with CoreFoundation for Mac Migrators (PList reading code)
|
|
|
|
# GTK2: Need to link with glib for GNOME shell service
|
2013-06-11 10:40:28 -07:00
|
|
|
ifneq (,$(filter cocoa gtk2 gtk3,$(MOZ_WIDGET_TOOLKIT)))
|
2007-03-22 10:30:00 -07:00
|
|
|
EXTRA_DSO_LDOPTS += \
|
|
|
|
$(TK_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
2011-12-28 04:55:58 -08:00
|
|
|
|
|
|
|
# Ensure that we don't embed a manifest referencing the CRT.
|
|
|
|
EMBED_MANIFEST_AT =
|