#! gmake
#
# 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

MODULE		= jprof
EXPORTS		=
LIBRARY_NAME	= jprof
EXPORT_LIBRARY	= 1
FORCE_SHARED_LIB = 1

# override optimization
MOZ_OPTIMIZE_FLAGS = -fno-omit-frame-pointer

CPPSRCS		= \
		libmalloc.cpp \
		$(NULL)

EXPORTS         = \
                jprof.h \
                $(NULL)

EXPORTS         := $(addprefix $(srcdir)/, $(EXPORTS))


include $(topsrcdir)/config/rules.mk

DEFINES		+= -D_IMPL_JPROF_API
