xpcom/glue/staticruntime/Makefile.in
author Paul Adenot <paul@paul.cx>
Fri, 26 Jul 2013 18:46:31 +0200
changeset 140162 f6412c912847128e5aa1c8a7ced227356959fb84
parent 135758 d4f61f0a66fd084876fc00fbbfbae9532801d29a
child 145538 45097bc3a57898f22a4f3b74f8f8cf7511f5d0a4
permissions -rw-r--r--
Bug 894941 - Move SSE.{h,cpp} and arm.{h,cpp} to mozglue/build/. r=glandium

# vim:set ts=8 sw=8 sts=8 noet:
# 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_s.$(LIB_SUFFIX) \
	$(NULL)

GARBAGE         += $(XPCOM_GLUE_SRC_LCPPSRCS)

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	=

include $(topsrcdir)/config/rules.mk

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

export:: $(XPCOM_GLUE_SRC_CPPSRCS) $(XPCOM_GLUENS_SRC_CPPSRCS) $(topsrcdir)/xpcom/glue/nsStringAPI.cpp $(topsrcdir)/xpcom/glue/GenericModule.cpp $(topsrcdir)/xpcom/glue/DeadlockDetector.h
	$(INSTALL) $^ .

ifdef TARGET_XPCOM_ABI
DEFINES += -DTARGET_XPCOM_ABI=\"$(TARGET_XPCOM_ABI)\"
endif