mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
46 lines
819 B
Makefile
46 lines
819 B
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 = ../../..
|
|
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
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
STL_FLAGS =
|
|
|
|
CSRCS = \
|
|
nsTraceMalloc.c \
|
|
$(NULL)
|
|
|
|
CPPSRCS = \
|
|
nsTypeInfo.cpp \
|
|
$(NULL)
|
|
|
|
EXPORTS = nsTraceMalloc.h
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
CPPSRCS += nsDebugHelpWin32.cpp nsWinTraceMalloc.cpp
|
|
endif
|
|
|
|
DEFINES += -DMOZ_NO_MOZALLOC
|
|
|
|
ifdef WRAP_SYSTEM_INCLUDES
|
|
DEFINES += -DWRAP_SYSTEM_INCLUDES
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|