1997-06-29 03:21:56 +00:00
|
|
|
# Makefile.in generated automatically by automake 1.2 from Makefile.am
|
1992-03-06 11:54:37 +00:00
|
|
|
|
1997-06-30 16:05:51 +00:00
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
|
1997-04-15 18:35:39 +00:00
|
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
|
|
# gives unlimited permission to copy, distribute and modify it.
|
|
|
|
|
|
|
|
|
|
|
|
SHELL = /bin/sh
|
1994-05-17 22:56:13 +00:00
|
|
|
|
1995-04-19 18:27:35 +00:00
|
|
|
srcdir = @srcdir@
|
1997-04-15 18:35:39 +00:00
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
VPATH = @srcdir@
|
1995-04-19 18:27:35 +00:00
|
|
|
prefix = @prefix@
|
1997-04-15 18:35:39 +00:00
|
|
|
exec_prefix = @exec_prefix@
|
1995-04-19 18:27:35 +00:00
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
bindir = @bindir@
|
|
|
|
sbindir = @sbindir@
|
|
|
|
libexecdir = @libexecdir@
|
|
|
|
datadir = @datadir@
|
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
sharedstatedir = @sharedstatedir@
|
|
|
|
localstatedir = @localstatedir@
|
|
|
|
libdir = @libdir@
|
|
|
|
infodir = @infodir@
|
|
|
|
mandir = @mandir@
|
|
|
|
includedir = @includedir@
|
|
|
|
oldincludedir = /usr/include
|
|
|
|
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
|
|
|
|
top_builddir = .
|
|
|
|
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
|
|
AUTOCONF = @AUTOCONF@
|
|
|
|
AUTOMAKE = @AUTOMAKE@
|
|
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
transform = @program_transform_name@
|
|
|
|
|
|
|
|
NORMAL_INSTALL = true
|
|
|
|
PRE_INSTALL = true
|
|
|
|
POST_INSTALL = true
|
|
|
|
NORMAL_UNINSTALL = true
|
|
|
|
PRE_UNINSTALL = true
|
|
|
|
POST_UNINSTALL = true
|
|
|
|
build_alias = @build_alias@
|
|
|
|
build_triplet = @build@
|
|
|
|
host_alias = @host_alias@
|
|
|
|
host_triplet = @host@
|
|
|
|
target_alias = @target_alias@
|
|
|
|
target_triplet = @target@
|
|
|
|
CC = @CC@
|
|
|
|
EXEEXT = @EXEEXT@
|
1997-08-09 20:30:19 +00:00
|
|
|
LD = @LD@
|
|
|
|
LIBTOOL = @LIBTOOL@
|
|
|
|
LN_S = @LN_S@
|
1997-04-15 18:35:39 +00:00
|
|
|
MAINT = @MAINT@
|
1997-06-16 19:32:15 +00:00
|
|
|
MAKEINFO = @MAKEINFO@
|
1997-04-15 18:35:39 +00:00
|
|
|
PACKAGE = @PACKAGE@
|
1997-08-09 20:30:19 +00:00
|
|
|
RANLIB = @RANLIB@
|
1997-04-15 18:35:39 +00:00
|
|
|
VERSION = @VERSION@
|
1995-04-19 18:27:35 +00:00
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
AUTOMAKE_OPTIONS = foreign
|
1992-06-04 19:10:49 +00:00
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
SUFFIXES = .m
|
1992-06-04 19:10:49 +00:00
|
|
|
|
1997-06-16 19:32:15 +00:00
|
|
|
INCLUDES = -D_GNU_SOURCE -DDEBUG -DTARGET_$(MY_TARGET) -DMACHINE_H=\"$(MY_TARGET).h\" -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd
|
1995-05-18 00:58:02 +00:00
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
MY_TARGET = @MY_TARGET@
|
1992-06-04 19:10:49 +00:00
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
bin_PROGRAMS = gprof
|
1991-07-23 19:09:22 +00:00
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
gprof_SOURCES = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \
|
|
|
|
cg_print.c core.c gmon_io.c gprof.c hertz.c hist.c source.c \
|
|
|
|
search_list.c symtab.c sym_ids.c utils.c \
|
|
|
|
flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
|
1997-08-09 20:30:19 +00:00
|
|
|
gprof_DEPENDENCIES = $(MY_TARGET).o ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
gprof_LDADD = $(MY_TARGET).o ../bfd/libbfd.la ../libiberty/libiberty.a
|
1995-02-07 22:34:18 +00:00
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
noinst_HEADERS = \
|
|
|
|
alpha.h i386.h ns532.h sparc.h tahoe.h vax.h dummy.h \
|
|
|
|
basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
|
|
|
|
core.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
|
|
|
|
search_list.h source.h sparc.h sym_ids.h symtab.h utils.h
|
1991-07-23 19:09:22 +00:00
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
alpha.c i386.c ns532.c sparc.c tahoe.c vax.c dummy.c \
|
|
|
|
flat_bl.c bsd_callg_bl.c fsf_callg_bl.c \
|
|
|
|
BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
|
1992-10-06 00:57:18 +00:00
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
info_TEXINFOS = gprof.texi
|
|
|
|
man_MANS = gprof.1
|
|
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
1997-08-09 20:30:19 +00:00
|
|
|
CONFIG_HEADER = gconfig.h
|
1997-04-15 18:35:39 +00:00
|
|
|
CONFIG_CLEAN_FILES =
|
1997-08-09 20:30:19 +00:00
|
|
|
bin_PROGRAMS = gprof$(EXEEXT)
|
1997-04-15 18:35:39 +00:00
|
|
|
PROGRAMS = $(bin_PROGRAMS)
|
|
|
|
|
|
|
|
|
1997-08-09 20:30:19 +00:00
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I.
|
1997-04-15 18:35:39 +00:00
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBS = @LIBS@
|
|
|
|
gprof_OBJECTS = basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o \
|
|
|
|
cg_print.o core.o gmon_io.o gprof.o hertz.o hist.o source.o \
|
|
|
|
search_list.o symtab.o sym_ids.o utils.o flat_bl.o bsd_callg_bl.o \
|
|
|
|
fsf_callg_bl.o
|
1997-08-09 20:30:19 +00:00
|
|
|
gprof_LDFLAGS =
|
1997-04-15 18:35:39 +00:00
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
1997-08-09 20:30:19 +00:00
|
|
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
|
|
|
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
1997-04-15 18:35:39 +00:00
|
|
|
TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
|
|
|
|
TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
|
|
|
|
INFO_DEPS = gprof.info
|
|
|
|
DVIS = gprof.dvi
|
|
|
|
TEXINFOS = gprof.texi
|
|
|
|
MANS = gprof.1
|
|
|
|
|
|
|
|
NROFF = nroff
|
|
|
|
HEADERS = $(noinst_HEADERS)
|
|
|
|
|
1997-08-09 20:30:19 +00:00
|
|
|
DIST_COMMON = ChangeLog Makefile.am Makefile.in TODO acconfig.h \
|
|
|
|
aclocal.m4 configure configure.in gconfig.in stamp-h.in
|
1997-04-15 18:35:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
|
|
|
|
TAR = tar
|
|
|
|
GZIP = --best
|
|
|
|
SOURCES = $(gprof_SOURCES)
|
|
|
|
OBJECTS = $(gprof_OBJECTS)
|
|
|
|
|
|
|
|
default: all
|
|
|
|
|
|
|
|
.SUFFIXES:
|
1997-08-09 20:30:19 +00:00
|
|
|
.SUFFIXES: .c .dvi .info .lo .m .o .ps .texi .texinfo
|
1997-04-15 18:35:39 +00:00
|
|
|
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
|
|
cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
|
|
|
|
|
1997-06-16 19:32:15 +00:00
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
1997-04-15 18:35:39 +00:00
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
1997-06-16 19:32:15 +00:00
|
|
|
$(ACLOCAL_M4): @MAINT@ configure.in
|
1997-04-15 18:35:39 +00:00
|
|
|
cd $(srcdir) && $(ACLOCAL)
|
|
|
|
|
1997-06-16 19:32:15 +00:00
|
|
|
config.status: $(srcdir)/configure
|
1997-04-15 18:35:39 +00:00
|
|
|
$(SHELL) ./config.status --recheck
|
1997-06-16 19:32:15 +00:00
|
|
|
$(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
1997-04-15 18:35:39 +00:00
|
|
|
cd $(srcdir) && $(AUTOCONF)
|
|
|
|
|
1997-08-09 20:30:19 +00:00
|
|
|
gconfig.h: stamp-h ; @true
|
|
|
|
stamp-h: $(srcdir)/gconfig.in $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES= CONFIG_HEADERS=gconfig.h:gconfig.in \
|
|
|
|
$(SHELL) ./config.status
|
|
|
|
@echo timestamp > stamp-h
|
|
|
|
$(srcdir)/gconfig.in: @MAINT@$(srcdir)/stamp-h.in
|
|
|
|
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
|
|
|
|
cd $(top_srcdir) && $(AUTOHEADER)
|
|
|
|
@echo timestamp > $(srcdir)/stamp-h.in
|
|
|
|
|
|
|
|
mostlyclean-hdr:
|
|
|
|
|
|
|
|
clean-hdr:
|
|
|
|
|
|
|
|
distclean-hdr:
|
|
|
|
rm -f gconfig.h
|
|
|
|
|
|
|
|
maintainer-clean-hdr:
|
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
mostlyclean-binPROGRAMS:
|
|
|
|
|
|
|
|
clean-binPROGRAMS:
|
1997-08-09 20:30:19 +00:00
|
|
|
test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
1997-04-15 18:35:39 +00:00
|
|
|
|
|
|
|
distclean-binPROGRAMS:
|
|
|
|
|
|
|
|
maintainer-clean-binPROGRAMS:
|
|
|
|
|
|
|
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
$(mkinstalldirs) $(bindir)
|
|
|
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
|
|
if test -f $$p; then \
|
1997-08-09 20:30:19 +00:00
|
|
|
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
|
|
|
|
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
|
1997-04-15 18:35:39 +00:00
|
|
|
else :; fi; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-binPROGRAMS:
|
|
|
|
$(NORMAL_UNINSTALL)
|
|
|
|
list='$(bin_PROGRAMS)'; for p in $$list; do \
|
1997-08-09 20:30:19 +00:00
|
|
|
rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
|
1997-04-15 18:35:39 +00:00
|
|
|
done
|
1991-07-23 19:09:22 +00:00
|
|
|
|
1992-06-02 17:22:47 +00:00
|
|
|
.c.o:
|
1997-04-15 18:35:39 +00:00
|
|
|
$(COMPILE) -c $<
|
1992-03-06 11:54:37 +00:00
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
mostlyclean-compile:
|
|
|
|
rm -f *.o core
|
1991-07-23 19:09:22 +00:00
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
clean-compile:
|
1992-10-06 00:57:18 +00:00
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
distclean-compile:
|
|
|
|
rm -f *.tab.c
|
1992-10-06 00:57:18 +00:00
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
maintainer-clean-compile:
|
1993-02-03 22:03:33 +00:00
|
|
|
|
1997-08-09 20:30:19 +00:00
|
|
|
.c.lo:
|
|
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
|
|
|
|
mostlyclean-libtool:
|
|
|
|
rm -f *.lo
|
|
|
|
|
|
|
|
clean-libtool:
|
|
|
|
rm -rf .libs
|
|
|
|
|
|
|
|
distclean-libtool:
|
|
|
|
|
|
|
|
maintainer-clean-libtool:
|
|
|
|
|
|
|
|
gprof$(EXEEXT): $(gprof_OBJECTS) $(gprof_DEPENDENCIES)
|
1997-04-15 18:35:39 +00:00
|
|
|
@rm -f gprof$(EXEEXT)
|
|
|
|
$(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS)
|
1993-02-03 22:03:33 +00:00
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
gprof.info: gprof.texi
|
1993-02-03 22:03:33 +00:00
|
|
|
gprof.dvi: gprof.texi
|
|
|
|
|
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
DVIPS = dvips
|
1992-10-06 00:57:18 +00:00
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
.texi.info:
|
1997-06-16 19:32:15 +00:00
|
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
1997-04-15 18:35:39 +00:00
|
|
|
$(MAKEINFO) -I $(srcdir) $<
|
|
|
|
|
|
|
|
.texi.dvi:
|
|
|
|
TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
|
|
|
|
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
|
|
|
|
|
|
|
.texi:
|
1997-06-16 19:32:15 +00:00
|
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
1997-04-15 18:35:39 +00:00
|
|
|
$(MAKEINFO) -I $(srcdir) $<
|
|
|
|
|
|
|
|
.texinfo.info:
|
1997-06-16 19:32:15 +00:00
|
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
1997-08-09 20:30:19 +00:00
|
|
|
$(MAKEINFO) -I $(srcdir) $<
|
1997-04-15 18:35:39 +00:00
|
|
|
|
|
|
|
.texinfo:
|
1997-06-16 19:32:15 +00:00
|
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
1997-08-09 20:30:19 +00:00
|
|
|
$(MAKEINFO) -I $(srcdir) $<
|
1997-04-15 18:35:39 +00:00
|
|
|
|
|
|
|
.texinfo.dvi:
|
|
|
|
TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
|
|
|
|
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
|
|
|
.dvi.ps:
|
|
|
|
$(DVIPS) $< -o $@
|
|
|
|
|
|
|
|
install-info-am: $(INFO_DEPS)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
$(mkinstalldirs) $(infodir)
|
|
|
|
@for file in $(INFO_DEPS); do \
|
|
|
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
|
|
|
for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
|
|
|
|
if test -f $$d/$$ifile; then \
|
|
|
|
echo " $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile"; \
|
|
|
|
$(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
|
|
|
|
else : ; fi; \
|
|
|
|
done; \
|
|
|
|
done
|
|
|
|
@$(POST_INSTALL)
|
1997-06-16 19:32:15 +00:00
|
|
|
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
|
1997-04-15 18:35:39 +00:00
|
|
|
for file in $(INFO_DEPS); do \
|
|
|
|
echo " install-info --info-dir=$(infodir) $(infodir)/$$file";\
|
1997-06-30 16:05:51 +00:00
|
|
|
install-info --info-dir=$(infodir) $(infodir)/$$file || :;\
|
1997-04-15 18:35:39 +00:00
|
|
|
done; \
|
|
|
|
else : ; fi
|
|
|
|
|
|
|
|
uninstall-info:
|
|
|
|
$(PRE_UNINSTALL)
|
1997-06-16 19:32:15 +00:00
|
|
|
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
|
1997-04-15 18:35:39 +00:00
|
|
|
ii=yes; \
|
|
|
|
else ii=; fi; \
|
|
|
|
for file in $(INFO_DEPS); do \
|
|
|
|
test -z $ii || install-info --info-dir=$(infodir) --remove $$file; \
|
|
|
|
done
|
|
|
|
$(NORMAL_UNINSTALL)
|
|
|
|
for file in $(INFO_DEPS); do \
|
|
|
|
(cd $(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
|
|
|
|
done
|
|
|
|
|
|
|
|
dist-info: $(INFO_DEPS)
|
|
|
|
for base in $(INFO_DEPS); do \
|
|
|
|
if test -f $$base; then d=.; else d=$(srcdir); fi; \
|
|
|
|
for file in `cd $$d && eval echo $$base*`; do \
|
|
|
|
test -f $(distdir)/$$file \
|
|
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
|
|
|
done; \
|
|
|
|
done
|
1992-03-08 09:11:19 +00:00
|
|
|
|
1997-06-16 19:32:15 +00:00
|
|
|
mostlyclean-aminfo:
|
1997-04-15 18:35:39 +00:00
|
|
|
rm -f gprof.aux gprof.cp gprof.cps gprof.dvi gprof.fn gprof.fns \
|
|
|
|
gprof.ky gprof.log gprof.pg gprof.toc gprof.tp gprof.tps \
|
|
|
|
gprof.vr gprof.vrs gprof.op gprof.tr gprof.cv
|
|
|
|
|
1997-06-16 19:32:15 +00:00
|
|
|
clean-aminfo:
|
1997-04-15 18:35:39 +00:00
|
|
|
|
1997-06-16 19:32:15 +00:00
|
|
|
distclean-aminfo:
|
1997-04-15 18:35:39 +00:00
|
|
|
|
1997-06-16 19:32:15 +00:00
|
|
|
maintainer-clean-aminfo:
|
1997-04-15 18:35:39 +00:00
|
|
|
for i in $(INFO_DEPS); do rm -f `eval echo $$i*`; done
|
1997-06-16 19:32:15 +00:00
|
|
|
clean-info: mostlyclean-aminfo
|
1997-04-15 18:35:39 +00:00
|
|
|
install-man: $(MANS)
|
|
|
|
$(NORMAL_INSTALL)
|
|
|
|
$(mkinstalldirs) $(mandir)/man1
|
|
|
|
@sect=1; \
|
|
|
|
inst=`echo "gprof" | sed '$(transform)'`.1; \
|
|
|
|
if test -f $(srcdir)/gprof.1; then file=$(srcdir)/gprof.1; \
|
|
|
|
else file=gprof.1; fi; \
|
|
|
|
echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
|
|
|
|
$(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
|
|
|
|
|
|
|
uninstall-man:
|
|
|
|
$(NORMAL_UNINSTALL)
|
|
|
|
inst=`echo "gprof" | sed '$(transform)'`.1; \
|
|
|
|
rm -f $(mandir)/man1/$$inst
|
|
|
|
|
|
|
|
|
|
|
|
tags: TAGS
|
|
|
|
|
|
|
|
ID: $(HEADERS) $(SOURCES)
|
|
|
|
here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
|
|
|
|
|
1997-08-09 20:30:19 +00:00
|
|
|
TAGS: $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES)
|
1997-04-15 18:35:39 +00:00
|
|
|
tags=; \
|
|
|
|
here=`pwd`; \
|
1997-08-09 20:30:19 +00:00
|
|
|
test -z "$(ETAGS_ARGS)gconfig.in$(SOURCES)$(HEADERS)$$tags" \
|
|
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags gconfig.in $(SOURCES) $(HEADERS) -o $$here/TAGS)
|
1997-04-15 18:35:39 +00:00
|
|
|
|
|
|
|
mostlyclean-tags:
|
|
|
|
|
|
|
|
clean-tags:
|
|
|
|
|
|
|
|
distclean-tags:
|
|
|
|
rm -f TAGS ID
|
|
|
|
|
|
|
|
maintainer-clean-tags:
|
|
|
|
|
|
|
|
distdir = $(PACKAGE)-$(VERSION)
|
1997-06-16 19:32:15 +00:00
|
|
|
top_distdir = $(distdir)
|
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
# This target untars the dist file and tries a VPATH configuration. Then
|
|
|
|
# it guarantees that the distribution is self-contained by making another
|
|
|
|
# tarfile.
|
|
|
|
distcheck: dist
|
|
|
|
rm -rf $(distdir)
|
|
|
|
GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
|
|
|
|
mkdir $(distdir)/=build
|
|
|
|
mkdir $(distdir)/=inst
|
|
|
|
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
|
|
|
cd $(distdir)/=build \
|
|
|
|
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
|
|
|
&& $(MAKE) \
|
|
|
|
&& $(MAKE) dvi \
|
|
|
|
&& $(MAKE) check \
|
|
|
|
&& $(MAKE) install \
|
|
|
|
&& $(MAKE) installcheck \
|
|
|
|
&& $(MAKE) dist
|
|
|
|
rm -rf $(distdir)
|
|
|
|
@echo "========================"; \
|
|
|
|
echo "$(distdir).tar.gz is ready for distribution"; \
|
|
|
|
echo "========================"
|
|
|
|
dist: distdir
|
|
|
|
-chmod -R a+r $(distdir)
|
|
|
|
GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
|
|
|
rm -rf $(distdir)
|
|
|
|
dist-all: distdir
|
|
|
|
-chmod -R a+r $(distdir)
|
|
|
|
GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
|
|
|
rm -rf $(distdir)
|
|
|
|
distdir: $(DISTFILES)
|
|
|
|
rm -rf $(distdir)
|
|
|
|
mkdir $(distdir)
|
1997-06-16 19:32:15 +00:00
|
|
|
-chmod 777 $(distdir)
|
1997-04-15 18:35:39 +00:00
|
|
|
@for file in $(DISTFILES); do \
|
|
|
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
|
|
|
test -f $(distdir)/$$file \
|
|
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
1993-02-03 22:03:33 +00:00
|
|
|
done
|
1997-06-16 19:32:15 +00:00
|
|
|
$(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
|
1997-04-15 18:35:39 +00:00
|
|
|
info: $(INFO_DEPS)
|
|
|
|
dvi: $(DVIS)
|
|
|
|
check: all
|
|
|
|
$(MAKE)
|
|
|
|
installcheck:
|
|
|
|
install-info: install-info-am
|
|
|
|
install-exec: install-binPROGRAMS
|
|
|
|
@$(NORMAL_INSTALL)
|
1993-02-03 22:03:33 +00:00
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
install-data: install-man
|
|
|
|
@$(NORMAL_INSTALL)
|
1991-07-23 19:09:22 +00:00
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
install: install-exec install-data all
|
|
|
|
@:
|
1992-03-06 11:54:37 +00:00
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
uninstall: uninstall-binPROGRAMS uninstall-man
|
1992-07-13 02:24:24 +00:00
|
|
|
|
1997-08-09 20:30:19 +00:00
|
|
|
all: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h
|
1992-07-13 02:24:24 +00:00
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
install-strip:
|
1997-06-30 16:05:51 +00:00
|
|
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
1997-04-15 18:35:39 +00:00
|
|
|
installdirs:
|
|
|
|
$(mkinstalldirs) $(bindir) $(mandir)/man1
|
|
|
|
|
|
|
|
|
|
|
|
mostlyclean-generic:
|
|
|
|
test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
|
|
|
|
|
|
|
clean-generic:
|
|
|
|
test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
|
|
|
|
distclean-generic:
|
|
|
|
rm -f Makefile $(DISTCLEANFILES)
|
1997-06-16 19:32:15 +00:00
|
|
|
rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
1997-04-15 18:35:39 +00:00
|
|
|
test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
|
|
|
|
|
|
|
maintainer-clean-generic:
|
|
|
|
test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
|
|
|
test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
1997-08-09 20:30:19 +00:00
|
|
|
mostlyclean: mostlyclean-hdr mostlyclean-binPROGRAMS \
|
|
|
|
mostlyclean-compile mostlyclean-libtool \
|
1997-06-16 19:32:15 +00:00
|
|
|
mostlyclean-aminfo mostlyclean-tags mostlyclean-generic
|
1997-04-15 18:35:39 +00:00
|
|
|
|
1997-08-09 20:30:19 +00:00
|
|
|
clean: clean-hdr clean-binPROGRAMS clean-compile clean-libtool \
|
|
|
|
clean-aminfo clean-tags clean-generic mostlyclean
|
1992-07-13 02:24:24 +00:00
|
|
|
|
1997-08-09 20:30:19 +00:00
|
|
|
distclean: distclean-hdr distclean-binPROGRAMS distclean-compile \
|
|
|
|
distclean-libtool distclean-aminfo distclean-tags \
|
|
|
|
distclean-generic clean
|
1997-04-15 18:35:39 +00:00
|
|
|
rm -f config.status
|
1997-08-09 20:30:19 +00:00
|
|
|
rm -f libtool
|
1995-10-06 20:51:43 +00:00
|
|
|
|
1997-08-09 20:30:19 +00:00
|
|
|
maintainer-clean: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
|
|
|
|
maintainer-clean-compile maintainer-clean-libtool \
|
1997-06-16 19:32:15 +00:00
|
|
|
maintainer-clean-aminfo maintainer-clean-tags \
|
1997-04-15 18:35:39 +00:00
|
|
|
maintainer-clean-generic distclean
|
|
|
|
@echo "This command is intended for maintainers to use;"
|
|
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
|
rm -f config.status
|
|
|
|
|
1997-08-09 20:30:19 +00:00
|
|
|
.PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \
|
|
|
|
maintainer-clean-hdr mostlyclean-binPROGRAMS distclean-binPROGRAMS \
|
1997-04-15 18:35:39 +00:00
|
|
|
clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
|
|
|
|
install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
|
1997-08-09 20:30:19 +00:00
|
|
|
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
|
|
|
clean-libtool maintainer-clean-libtool install-info-am uninstall-info \
|
1997-06-16 19:32:15 +00:00
|
|
|
mostlyclean-aminfo distclean-aminfo clean-aminfo \
|
|
|
|
maintainer-clean-aminfo install-man uninstall-man tags mostlyclean-tags \
|
|
|
|
distclean-tags clean-tags maintainer-clean-tags distdir info dvi \
|
|
|
|
installcheck install-info install-exec install-data install uninstall \
|
|
|
|
all installdirs mostlyclean-generic distclean-generic clean-generic \
|
1997-04-15 18:35:39 +00:00
|
|
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
|
|
|
|
|
|
|
|
|
|
|
.m.c:
|
|
|
|
awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
|
|
|
|
FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
|
|
|
|
FILE=$*.m $(srcdir)/$*.m
|
|
|
|
|
|
|
|
# Dependencies.
|
|
|
|
$(OBJECTS): ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \
|
|
|
|
core.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
|
|
|
|
search_list.h source.h sym_ids.h symtab.h utils.h \
|
|
|
|
$(srcdir)/../include/libiberty.h $(srcdir)/../bfd/sysdep.h \
|
1997-08-09 20:30:19 +00:00
|
|
|
gconfig.h ../bfd/config.h $(MY_TARGET).h
|
1995-04-20 21:30:10 +00:00
|
|
|
$(MY_TARGET).o: $(MY_TARGET).c
|
1995-02-07 22:34:18 +00:00
|
|
|
basic_blocks.o: basic_blocks.c
|
|
|
|
bsd_call_bl.o: bsd_call_bl.c
|
|
|
|
call_graph.o: call_graph.c
|
|
|
|
cg_arcs.o: cg_arcs.c
|
|
|
|
cg_dfn.o: cg_dfn.c
|
|
|
|
cg_print.o: cg_print.c
|
|
|
|
core.o: core.c
|
1992-10-06 00:57:18 +00:00
|
|
|
flat_bl.o: flat_bl.c
|
|
|
|
fsf_callg_bl.o: fsf_callg_bl.c
|
1995-02-07 22:34:18 +00:00
|
|
|
gmon_io.o: gmon_io.c
|
|
|
|
gprof.o: gprof.c
|
|
|
|
hertz.o: hertz.c
|
|
|
|
hist.o: hist.c
|
|
|
|
search_list.o: search_list.c
|
|
|
|
source.o: source.c
|
|
|
|
symtab.o: symtab.c
|
|
|
|
sym_ids.o: sym_ids.c
|
|
|
|
utils.o: utils.c
|
1997-04-15 18:35:39 +00:00
|
|
|
|
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
|
|
.NOEXPORT:
|