3b66bca3ba
* Makefile.in: Rebuild.
474 lines
13 KiB
Makefile
474 lines
13 KiB
Makefile
# Makefile.in generated automatically by automake 1.1p from Makefile.am
|
|
|
|
# Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy, distribute and modify it.
|
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
|
|
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@
|
|
ACLOCAL = @ACLOCAL@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
BFDLIB = @BFDLIB@
|
|
CC = @CC@
|
|
EXEEXT = @EXEEXT@
|
|
HLDENV = @HLDENV@
|
|
HLDFLAGS = @HLDFLAGS@
|
|
MAINT = @MAINT@
|
|
MAKEINFO = @MAKEINFO@
|
|
PACKAGE = @PACKAGE@
|
|
VERSION = @VERSION@
|
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
SUFFIXES = .m
|
|
|
|
INCLUDES = -D_GNU_SOURCE -DDEBUG -DTARGET_$(MY_TARGET) -DMACHINE_H=\"$(MY_TARGET).h\" -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd
|
|
|
|
LINK = $(HLDENV) $(CC) $(LDFLAGS) -o $@
|
|
|
|
MY_TARGET = @MY_TARGET@
|
|
|
|
bin_PROGRAMS = gprof
|
|
|
|
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
|
|
gprof_LDFLAGS = $(HLDFLAGS)
|
|
gprof_DEPENDENCIES = $(MY_TARGET).o ../bfd/libbfd.a ../libiberty/libiberty.a
|
|
gprof_LDADD = $(MY_TARGET).o @BFDLIB@ ../libiberty/libiberty.a
|
|
|
|
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
|
|
|
|
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
|
|
|
|
info_TEXINFOS = gprof.texi
|
|
man_MANS = gprof.1
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
|
CONFIG_CLEAN_FILES =
|
|
PROGRAMS = $(bin_PROGRAMS)
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir)
|
|
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
|
|
CFLAGS = @CFLAGS@
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
|
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)
|
|
|
|
DIST_COMMON = ChangeLog Makefile.am Makefile.in TODO aclocal.m4 \
|
|
configure configure.in
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
TAR = tar
|
|
GZIP = --best
|
|
SOURCES = $(gprof_SOURCES)
|
|
OBJECTS = $(gprof_OBJECTS)
|
|
|
|
default: all
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .c .dvi .info .m .o .ps .texi .texinfo
|
|
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
$(ACLOCAL_M4): @MAINT@ configure.in
|
|
cd $(srcdir) && $(ACLOCAL)
|
|
|
|
config.status: $(srcdir)/configure
|
|
$(SHELL) ./config.status --recheck
|
|
$(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
|
cd $(srcdir) && $(AUTOCONF)
|
|
|
|
mostlyclean-binPROGRAMS:
|
|
|
|
clean-binPROGRAMS:
|
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
rm -f $$p $$p$(EXEEXT); \
|
|
done
|
|
|
|
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 \
|
|
echo " $(INSTALL_PROGRAM) $$p$(EXEEXT) $(bindir)/`echo $$p|sed '$(transform)'`$(EXEEXT)"; \
|
|
$(INSTALL_PROGRAM) $$p$(EXEEXT) $(bindir)/`echo $$p|sed '$(transform)'`$(EXEEXT); \
|
|
else :; fi; \
|
|
done
|
|
|
|
uninstall-binPROGRAMS:
|
|
$(NORMAL_UNINSTALL)
|
|
list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
rm -f $(bindir)/`echo $$p|sed '$(transform)'`$(EXEEXT); \
|
|
done
|
|
|
|
.c.o:
|
|
$(COMPILE) -c $<
|
|
|
|
mostlyclean-compile:
|
|
rm -f *.o core
|
|
|
|
clean-compile:
|
|
|
|
distclean-compile:
|
|
rm -f *.tab.c
|
|
|
|
maintainer-clean-compile:
|
|
|
|
gprof: $(gprof_OBJECTS) $(gprof_DEPENDENCIES)
|
|
@rm -f gprof$(EXEEXT)
|
|
$(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS)
|
|
@test -z "$(EXEEXT)" || echo timestamp > gprof
|
|
|
|
gprof.info: gprof.texi
|
|
gprof.dvi: gprof.texi
|
|
|
|
|
|
DVIPS = dvips
|
|
|
|
.texi.info:
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
|
$(MAKEINFO) -I $(srcdir) $<
|
|
|
|
.texi.dvi:
|
|
TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
|
|
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
|
|
|
.texi:
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
|
$(MAKEINFO) -I $(srcdir) $<
|
|
|
|
.texinfo.info:
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
|
$(MAKEINFO) $<
|
|
|
|
.texinfo:
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
|
$(MAKEINFO) $<
|
|
|
|
.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)
|
|
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
|
|
for file in $(INFO_DEPS); do \
|
|
echo " install-info --info-dir=$(infodir) $(infodir)/$$file";\
|
|
install-info --info-dir=$(infodir) $(infodir)/$$file; :;\
|
|
done; \
|
|
else : ; fi
|
|
|
|
uninstall-info:
|
|
$(PRE_UNINSTALL)
|
|
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
|
|
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
|
|
|
|
mostlyclean-aminfo:
|
|
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
|
|
|
|
clean-aminfo:
|
|
|
|
distclean-aminfo:
|
|
|
|
maintainer-clean-aminfo:
|
|
for i in $(INFO_DEPS); do rm -f `eval echo $$i*`; done
|
|
clean-info: mostlyclean-aminfo
|
|
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)
|
|
|
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $(SOURCES) $(HEADERS) -o $$here/TAGS)
|
|
|
|
mostlyclean-tags:
|
|
|
|
clean-tags:
|
|
|
|
distclean-tags:
|
|
rm -f TAGS ID
|
|
|
|
maintainer-clean-tags:
|
|
|
|
distdir = $(PACKAGE)-$(VERSION)
|
|
top_distdir = $(distdir)
|
|
|
|
# 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)
|
|
-chmod 777 $(distdir)
|
|
@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; \
|
|
done
|
|
$(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
|
|
info: $(INFO_DEPS)
|
|
dvi: $(DVIS)
|
|
check: all
|
|
$(MAKE)
|
|
installcheck:
|
|
install-info: install-info-am
|
|
install-exec: install-binPROGRAMS
|
|
@$(NORMAL_INSTALL)
|
|
|
|
install-data: install-man
|
|
@$(NORMAL_INSTALL)
|
|
|
|
install: install-exec install-data all
|
|
@:
|
|
|
|
uninstall: uninstall-binPROGRAMS uninstall-man
|
|
|
|
all: Makefile $(PROGRAMS) $(MANS) $(HEADERS)
|
|
|
|
install-strip:
|
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
|
|
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)
|
|
rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
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)
|
|
mostlyclean: mostlyclean-binPROGRAMS mostlyclean-compile \
|
|
mostlyclean-aminfo mostlyclean-tags mostlyclean-generic
|
|
|
|
clean: clean-binPROGRAMS clean-compile clean-aminfo clean-tags \
|
|
clean-generic mostlyclean
|
|
|
|
distclean: distclean-binPROGRAMS distclean-compile distclean-aminfo \
|
|
distclean-tags distclean-generic clean
|
|
rm -f config.status
|
|
|
|
maintainer-clean: maintainer-clean-binPROGRAMS maintainer-clean-compile \
|
|
maintainer-clean-aminfo maintainer-clean-tags \
|
|
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
|
|
|
|
.PHONY: default mostlyclean-binPROGRAMS distclean-binPROGRAMS \
|
|
clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
|
|
install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
|
|
maintainer-clean-compile install-info-am uninstall-info \
|
|
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 \
|
|
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 \
|
|
$(MY_TARGET).h
|
|
$(MY_TARGET).o: $(MY_TARGET).c
|
|
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
|
|
flat_bl.o: flat_bl.c
|
|
fsf_callg_bl.o: fsf_callg_bl.c
|
|
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
|
|
|
|
# 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:
|