2007-03-22 10:30:00 -07:00
|
|
|
# vim:set ts=8 sw=8 sts=8 noet:
|
|
|
|
#
|
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
|
|
|
|
|
|
|
|
|
|
|
EXPORT_LIBRARY = 1
|
|
|
|
|
|
|
|
MOZILLA_INTERNAL_API = 1
|
|
|
|
|
2012-07-03 06:15:34 -07:00
|
|
|
ifeq (Darwin, $(OS_ARCH))
|
|
|
|
CSRCS = mach_override.c
|
|
|
|
endif
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
SHARED_LIBRARY_LIBS = \
|
2010-06-21 08:41:42 -07:00
|
|
|
$(DEPTH)/chrome/src/$(LIB_PREFIX)chrome_s.$(LIB_SUFFIX) \
|
2007-03-22 10:30:00 -07:00
|
|
|
../ds/$(LIB_PREFIX)xpcomds_s.$(LIB_SUFFIX) \
|
|
|
|
../io/$(LIB_PREFIX)xpcomio_s.$(LIB_SUFFIX) \
|
|
|
|
../components/$(LIB_PREFIX)xpcomcomponents_s.$(LIB_SUFFIX) \
|
|
|
|
../threads/$(LIB_PREFIX)xpcomthreads_s.$(LIB_SUFFIX) \
|
|
|
|
../base/$(LIB_PREFIX)xpcombase_s.$(LIB_SUFFIX) \
|
|
|
|
../reflect/xptcall/src/$(LIB_PREFIX)xptcall.$(LIB_SUFFIX) \
|
|
|
|
../reflect/xptcall/src/$(LIB_PREFIX)xptcmd.$(LIB_SUFFIX) \
|
|
|
|
../reflect/xptinfo/src/$(LIB_PREFIX)xptinfo.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)xpt.$(LIB_SUFFIX) \
|
|
|
|
../string/src/$(LIB_PREFIX)string_s.$(LIB_SUFFIX) \
|
|
|
|
$(NULL)
|
|
|
|
|
2008-06-26 10:12:42 -07:00
|
|
|
ifdef NS_TRACE_MALLOC
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
|
|
|
$(DEPTH)/tools/trace-malloc/lib/$(LIB_PREFIX)tracemalloc.$(LIB_SUFFIX) \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
LOCAL_INCLUDES = \
|
|
|
|
-I$(srcdir) \
|
|
|
|
-I.. \
|
|
|
|
-I$(srcdir)/../glue \
|
|
|
|
-I$(srcdir)/../base \
|
|
|
|
-I$(srcdir)/../ds \
|
|
|
|
-I$(srcdir)/../io \
|
|
|
|
-I$(srcdir)/../components \
|
|
|
|
-I$(srcdir)/../threads \
|
|
|
|
-I$(srcdir)/../reflect/xptinfo/src \
|
2010-06-11 13:13:26 -07:00
|
|
|
-I$(topsrcdir)/chrome/src \
|
2010-07-13 18:00:33 -07:00
|
|
|
-I$(srcdir)/../../docshell/base \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
2013-07-04 05:28:43 -07:00
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
DEFINES += \
|
|
|
|
-D_IMPL_NS_STRINGAPI \
|
2011-11-12 19:58:19 -08:00
|
|
|
-DOMNIJAR_NAME="$(OMNIJAR_NAME)" \
|
|
|
|
$(NULL)
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2008-03-21 21:25:34 -07:00
|
|
|
ifdef TARGET_XPCOM_ABI
|
|
|
|
DEFINES += -DTARGET_XPCOM_ABI=\"$(TARGET_XPCOM_ABI)\"
|
|
|
|
endif
|
|
|
|
|
2009-01-29 20:49:27 -08:00
|
|
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
2007-03-22 10:30:00 -07:00
|
|
|
CXXFLAGS += $(TK_CFLAGS)
|
|
|
|
endif
|