2004-10-29 19:43:51 +00:00
|
|
|
# vim:set ts=8 sw=8 sts=8 noet:
|
2012-05-21 11:12:37 +00: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/.
|
2001-09-14 23:50:59 +00:00
|
|
|
|
2012-08-04 18:26:44 +00:00
|
|
|
DEPTH = @DEPTH@
|
2001-09-14 23:50:59 +00:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
2002-03-21 23:43:21 +00:00
|
|
|
include $(srcdir)/objs.mk
|
|
|
|
|
2005-11-02 20:38:21 +00:00
|
|
|
EXTRA_DEPS += $(srcdir)/objs.mk
|
|
|
|
|
2006-02-10 18:23:52 +00:00
|
|
|
DIST_INSTALL = 1
|
2001-09-14 23:50:59 +00:00
|
|
|
|
2001-12-07 19:54:16 +00:00
|
|
|
LOCAL_INCLUDES = \
|
|
|
|
-I$(srcdir)/../build \
|
2001-09-14 23:50:59 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2004-03-23 20:58:21 +00:00
|
|
|
SDK_LIBRARY = \
|
2002-03-21 23:43:21 +00:00
|
|
|
$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) \
|
2002-02-25 23:20:01 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2001-09-14 23:50:59 +00:00
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
2006-08-30 15:57:03 +00:00
|
|
|
|
|
|
|
ifdef _MSC_VER
|
|
|
|
# Don't include directives about which CRT to use
|
|
|
|
OS_COMPILE_CXXFLAGS += -Zl
|
|
|
|
OS_COMPILE_CFLAGS += -Zl
|
|
|
|
DEFINES += -D_USE_ANSI_CPP
|
|
|
|
endif
|
2008-03-22 04:25:34 +00:00
|
|
|
|
|
|
|
ifdef TARGET_XPCOM_ABI
|
|
|
|
DEFINES += -DTARGET_XPCOM_ABI=\"$(TARGET_XPCOM_ABI)\"
|
|
|
|
endif
|