gecko/xpcom/glue/standalone/staticruntime/Makefile.in
Brian O'Keefe ed17339221 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00

56 lines
1.2 KiB
Makefile

# 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
include $(srcdir)/../../objs.mk
EXTRA_DEPS += $(srcdir)/../../objs.mk
DIST_INSTALL = 1
LOCAL_INCLUDES = \
-I$(srcdir)/../../../build \
$(NULL)
SDK_LIBRARY = \
$(LIB_PREFIX)xpcomglue_staticruntime.$(LIB_SUFFIX) \
$(NULL)
# create a static lib
FORCE_STATIC_LIB = 1
# Statically link to the CRT on Windows
USE_STATIC_LIBS = 1
# Don't use STL wrappers here (i.e. wrapped <new>); they require mozalloc
STL_FLAGS =
GARBAGE += $(XPCOM_GLUE_SRC_LCPPSRCS)
include $(topsrcdir)/config/rules.mk
ifdef _MSC_VER
# Don't include directives in obj files about which CRT to use
OS_COMPILE_CXXFLAGS += -Zl
OS_COMPILE_CFLAGS += -Zl
DEFINES += -D_USE_ANSI_CPP
endif
export:: $(XPCOM_GLUE_SRC_CPPSRCS) $(topsrcdir)/xpcom/glue/nsStringAPI.cpp ../nsXPCOMGlue.cpp
$(INSTALL) $^ .
GARBAGE += nsStringAPI.cpp nsXPCOMGlue.cpp
DEFINES += -DXPCOM_GLUE
ifdef TARGET_XPCOM_ABI
DEFINES += -DTARGET_XPCOM_ABI=\"$(TARGET_XPCOM_ABI)\"
endif