2007-03-22 10:30:00 -07:00
|
|
|
#
|
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
|
|
|
|
|
|
|
DEPTH = ../../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = tracemalloc
|
|
|
|
LIBRARY_NAME = tracemalloc
|
|
|
|
EXPORT_LIBRARY = 1
|
|
|
|
DEFFILE = $(win_srcdir)/tm.def
|
2008-06-26 10:12:42 -07:00
|
|
|
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
|
2007-08-19 17:59:57 -07:00
|
|
|
LIBXUL_LIBRARY = 1
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2010-04-02 10:58:11 -07:00
|
|
|
STL_FLAGS =
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
CSRCS = \
|
|
|
|
nsTraceMalloc.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
nsTypeInfo.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXPORTS = nsTraceMalloc.h
|
|
|
|
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
2007-08-10 15:20:48 -07:00
|
|
|
CPPSRCS += nsDebugHelpWin32.cpp nsWinTraceMalloc.cpp
|
2007-03-22 10:30:00 -07:00
|
|
|
endif
|
|
|
|
|
2010-07-16 22:36:34 -07:00
|
|
|
DEFINES += -DMOZ_NO_MOZALLOC
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
ifdef WRAP_SYSTEM_INCLUDES
|
|
|
|
DEFINES += -DWRAP_SYSTEM_INCLUDES
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|