Bug 894941 - Move SSE.{h,cpp} and arm.{h,cpp} to mozglue/build/. r=glandium
[gecko.git] / xpcom / glue / nomozalloc / Makefile.in
blobe2caa73a566bddb61ad3e1f5da36a6e31beb50a4
1 # vim:set ts=8 sw=8 sts=8 noet:
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 DEPTH = @DEPTH@
7 topsrcdir = @top_srcdir@
8 srcdir = @srcdir@
9 VPATH = @srcdir@
11 include $(DEPTH)/config/autoconf.mk
12 include $(srcdir)/../objs.mk
14 EXTRA_DEPS += $(srcdir)/../objs.mk
16 DIST_INSTALL = 1
18 LOCAL_INCLUDES = \
19 -I$(srcdir)/../../build \
20 $(NULL)
22 SDK_LIBRARY = \
23 $(LIB_PREFIX)xpcomglue_s_nomozalloc.$(LIB_SUFFIX) \
24 $(NULL)
26 GARBAGE += $(CPPSRCS) DeadlockDetector.h SSE.h arm.h
28 # we don't want the shared lib, but we want to force the creation of a static lib.
29 FORCE_STATIC_LIB = 1
31 # Pretend we're statically linking the CRT, even though we might not be: this
32 # avoids "msvcrp" and assembly dependencies from creeping into the directives
33 # for this library on Windows.
34 USE_STATIC_LIBS = 1
36 # Don't use STL wrappers here (i.e. wrapped <new>); they require mozalloc
37 STL_FLAGS =
39 include $(topsrcdir)/config/rules.mk
41 ifdef _MSC_VER
42 # Don't include directives about which CRT to use
43 OS_COMPILE_CXXFLAGS += -Zl
44 OS_COMPILE_CFLAGS += -Zl
45 DEFINES += -D_USE_ANSI_CPP
46 endif
48 export:: $(XPCOM_GLUE_SRC_CPPSRCS) $(XPCOM_GLUENS_SRC_CPPSRCS) $(topsrcdir)/xpcom/glue/nsStringAPI.cpp $(topsrcdir)/xpcom/glue/GenericModule.cpp $(topsrcdir)/xpcom/glue/DeadlockDetector.h
49 $(INSTALL) $^ .
51 ifdef TARGET_XPCOM_ABI
52 DEFINES += -DTARGET_XPCOM_ABI=\"$(TARGET_XPCOM_ABI)\"
53 endif
55 DEFINES += -DMOZ_NO_MOZALLOC