2007-03-22 10:30:00 -07:00
|
|
|
#! gmake
|
|
|
|
#
|
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
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2007-03-22 10:30:00 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
PROGRAM = jprof
|
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
bfd.cpp \
|
|
|
|
coff.cpp \
|
|
|
|
elf.cpp \
|
|
|
|
leaky.cpp \
|
|
|
|
strset.cpp \
|
|
|
|
intcnt.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
2009-08-16 14:54:45 -07:00
|
|
|
OS_LIBS = \
|
2011-10-05 06:20:20 -07:00
|
|
|
-ldl \
|
2007-03-22 10:30:00 -07:00
|
|
|
-lbfd \
|
|
|
|
-liberty \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
HELPER_SCRIPTS = jprofsig
|
|
|
|
HELPER_SCRIPTS := $(addprefix $(srcdir)/, $(HELPER_SCRIPTS))
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
|
|
|
INCLUDES += \
|
|
|
|
-I$(srcdir)/stub \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
install::
|
|
|
|
$(INSTALL) -m 555 $(HELPER_SCRIPTS) $(DIST)/bin
|