mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 00:25:27 +00:00
43 lines
745 B
Makefile
43 lines
745 B
Makefile
#! 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@
|
|
DIRS = stub
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
PROGRAM = jprof
|
|
|
|
CPPSRCS = \
|
|
bfd.cpp \
|
|
coff.cpp \
|
|
elf.cpp \
|
|
leaky.cpp \
|
|
strset.cpp \
|
|
intcnt.cpp \
|
|
$(NULL)
|
|
|
|
OS_LIBS = \
|
|
-ldl \
|
|
-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
|