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