mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
684 lines
20 KiB
Makefile
684 lines
20 KiB
Makefile
# Makefile.in generated automatically by automake 1.3 from Makefile.am
|
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
# PARTICULAR PURPOSE.
|
|
|
|
|
|
SHELL = @SHELL@
|
|
|
|
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
|
|
|
|
DISTDIR =
|
|
|
|
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 = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
build_alias = @build_alias@
|
|
build_triplet = @build@
|
|
host_alias = @host_alias@
|
|
host_triplet = @host@
|
|
target_alias = @target_alias@
|
|
target_triplet = @target@
|
|
AS = @AS@
|
|
CATALOGS = @CATALOGS@
|
|
CATOBJEXT = @CATOBJEXT@
|
|
CC = @CC@
|
|
DATADIRNAME = @DATADIRNAME@
|
|
DLLTOOL = @DLLTOOL@
|
|
EXEEXT = @EXEEXT@
|
|
GMOFILES = @GMOFILES@
|
|
GMSGFMT = @GMSGFMT@
|
|
GT_NO = @GT_NO@
|
|
GT_YES = @GT_YES@
|
|
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
|
|
INSTOBJEXT = @INSTOBJEXT@
|
|
INTLDEPS = @INTLDEPS@
|
|
INTLLIBS = @INTLLIBS@
|
|
INTLOBJS = @INTLOBJS@
|
|
LD = @LD@
|
|
LIBTOOL = @LIBTOOL@
|
|
LN_S = @LN_S@
|
|
MAINT = @MAINT@
|
|
MAKEINFO = @MAKEINFO@
|
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
|
MSGFMT = @MSGFMT@
|
|
NM = @NM@
|
|
PACKAGE = @PACKAGE@
|
|
POFILES = @POFILES@
|
|
POSUB = @POSUB@
|
|
RANLIB = @RANLIB@
|
|
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
|
USE_NLS = @USE_NLS@
|
|
VERSION = @VERSION@
|
|
l = @l@
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
SUFFIXES = .m
|
|
|
|
SUBDIRS = po
|
|
|
|
INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd -I$(srcdir)/../intl -I../intl -DLOCALEDIR="\"$(prefix)/share/locale\""
|
|
|
|
bin_PROGRAMS = gprof
|
|
|
|
sources = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \
|
|
cg_print.c corefile.c gmon_io.c gprof.c hertz.c hist.c source.c \
|
|
search_list.c symtab.c sym_ids.c utils.c \
|
|
i386.c alpha.c vax.c tahoe.c sparc.c
|
|
gprof_SOURCES = $(sources) flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
|
|
gprof_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLDEPS)
|
|
gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLLIBS)
|
|
|
|
noinst_HEADERS = \
|
|
basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
|
|
corefile.h gmon.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
|
|
|
|
EXTRA_DIST = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c bbconv.pl
|
|
|
|
BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
|
|
|
|
POTFILES = $(sources) $(noinst_HEADERS)
|
|
|
|
info_TEXINFOS = gprof.texi
|
|
man_MANS = gprof.1
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
|
CONFIG_HEADER = gconfig.h
|
|
CONFIG_CLEAN_FILES =
|
|
bin_PROGRAMS = gprof$(EXEEXT)
|
|
PROGRAMS = $(bin_PROGRAMS)
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I.
|
|
CPPFLAGS = @CPPFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
gprof_OBJECTS = basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o \
|
|
cg_print.o corefile.o gmon_io.o gprof.o hertz.o hist.o source.o \
|
|
search_list.o symtab.o sym_ids.o utils.o i386.o alpha.o vax.o tahoe.o \
|
|
sparc.o flat_bl.o bsd_callg_bl.o fsf_callg_bl.o
|
|
gprof_LDFLAGS =
|
|
CFLAGS = @CFLAGS@
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
|
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
|
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
|
|
man1dir = $(mandir)/man1
|
|
MANS = $(man_MANS)
|
|
|
|
NROFF = nroff
|
|
HEADERS = $(noinst_HEADERS)
|
|
|
|
DIST_COMMON = ChangeLog Makefile.am Makefile.in TODO acconfig.h \
|
|
aclocal.m4 configure configure.in gconfig.in stamp-h.in
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
TAR = tar
|
|
GZIP = --best
|
|
SOURCES = $(gprof_SOURCES)
|
|
OBJECTS = $(gprof_OBJECTS)
|
|
|
|
all: all-recursive-am all-am
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .S .c .dvi .info .lo .m .o .ps .s .texi .texinfo .txi
|
|
$(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 $(CONFIG_STATUS_DEPENDENCIES)
|
|
$(SHELL) ./config.status --recheck
|
|
$(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
|
cd $(srcdir) && $(AUTOCONF)
|
|
|
|
gconfig.h: stamp-h
|
|
@:
|
|
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:
|
|
|
|
mostlyclean-binPROGRAMS:
|
|
|
|
clean-binPROGRAMS:
|
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
|
|
distclean-binPROGRAMS:
|
|
|
|
maintainer-clean-binPROGRAMS:
|
|
|
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
if test -f $$p; then \
|
|
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
|
|
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
|
else :; fi; \
|
|
done
|
|
|
|
uninstall-binPROGRAMS:
|
|
@$(NORMAL_UNINSTALL)
|
|
list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
|
done
|
|
|
|
.c.o:
|
|
$(COMPILE) -c $<
|
|
|
|
.s.o:
|
|
$(COMPILE) -c $<
|
|
|
|
.S.o:
|
|
$(COMPILE) -c $<
|
|
|
|
mostlyclean-compile:
|
|
-rm -f *.o core *.core
|
|
|
|
clean-compile:
|
|
|
|
distclean-compile:
|
|
-rm -f *.tab.c
|
|
|
|
maintainer-clean-compile:
|
|
|
|
.c.lo:
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
.s.lo:
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
.S.lo:
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
mostlyclean-libtool:
|
|
-rm -f *.lo
|
|
|
|
clean-libtool:
|
|
-rm -rf .libs _libs
|
|
|
|
distclean-libtool:
|
|
|
|
maintainer-clean-libtool:
|
|
|
|
gprof$(EXEEXT): $(gprof_OBJECTS) $(gprof_DEPENDENCIES)
|
|
@rm -f gprof$(EXEEXT)
|
|
$(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS)
|
|
|
|
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) -I $(srcdir) $<
|
|
|
|
.texinfo:
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
|
$(MAKEINFO) -I $(srcdir) $<
|
|
|
|
.texinfo.dvi:
|
|
TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
|
|
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
|
|
|
.txi.info:
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
|
$(MAKEINFO) -I $(srcdir) $<
|
|
|
|
.txi.dvi:
|
|
TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
|
|
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
|
|
|
.txi:
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
|
$(MAKEINFO) -I $(srcdir) $<
|
|
.dvi.ps:
|
|
$(DVIPS) $< -o $@
|
|
|
|
install-info-am: $(INFO_DEPS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(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 $(DESTDIR)$(infodir)/$$ifile"; \
|
|
$(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(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=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
|
|
install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(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=$(DESTDIR)$(infodir) --remove $$file; \
|
|
done
|
|
@$(NORMAL_UNINSTALL)
|
|
for file in $(INFO_DEPS); do \
|
|
(cd $(DESTDIR)$(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.kys gprof.ps gprof.log gprof.pg gprof.toc \
|
|
gprof.tp gprof.tps gprof.vr gprof.vrs gprof.op gprof.tr \
|
|
gprof.cv gprof.cn
|
|
|
|
clean-aminfo:
|
|
|
|
distclean-aminfo:
|
|
|
|
maintainer-clean-aminfo:
|
|
for i in $(INFO_DEPS); do \
|
|
rm -f $$i; \
|
|
if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
|
|
rm -f $$i-[0-9]*; \
|
|
fi; \
|
|
done
|
|
clean-info: mostlyclean-aminfo
|
|
|
|
install-man1:
|
|
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
|
@list='$(man1_MANS)'; \
|
|
l2='$(man_MANS)'; for i in $$l2; do \
|
|
case "$$i" in \
|
|
*.1*) list="$$list $$i" ;; \
|
|
esac; \
|
|
done; \
|
|
for i in $$list; do \
|
|
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
|
else file=$$i; fi; \
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
|
done
|
|
|
|
uninstall-man1:
|
|
@list='$(man1_MANS)'; \
|
|
l2='$(man_MANS)'; for i in $$l2; do \
|
|
case "$$i" in \
|
|
*.1*) list="$$list $$i" ;; \
|
|
esac; \
|
|
done; \
|
|
for i in $$list; do \
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
|
|
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
|
done
|
|
install-man: $(MANS)
|
|
@$(NORMAL_INSTALL)
|
|
$(MAKE) $(AM_MAKEFLAGS) install-man1
|
|
uninstall-man:
|
|
@$(NORMAL_UNINSTALL)
|
|
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
|
|
|
|
# This directory's subdirectories are mostly independent; you can cd
|
|
# into them and run `make' without going through this Makefile.
|
|
# To change the values of `make' variables: instead of editing Makefiles,
|
|
# (1) if the variable is set in `config.status', edit `config.status'
|
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
|
# (2) otherwise, pass the desired values on the `make' command line.
|
|
|
|
@SET_MAKE@
|
|
|
|
all-recursive install-data-recursive install-exec-recursive \
|
|
installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
|
|
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
echo "Making $$target in $$subdir"; \
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target) \
|
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|
done && test -z "$$fail"
|
|
|
|
mostlyclean-recursive clean-recursive distclean-recursive \
|
|
maintainer-clean-recursive:
|
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
|
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
rev="$$subdir $$rev"; \
|
|
done; \
|
|
for subdir in $$rev; do \
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
echo "Making $$target in $$subdir"; \
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target) \
|
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|
done && test -z "$$fail"
|
|
tags-recursive:
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
|
done
|
|
|
|
tags: TAGS
|
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
|
here=`pwd` && cd $(srcdir) \
|
|
&& mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
|
|
|
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES) $(LISP)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
|
done; \
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
awk ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
test -z "$(ETAGS_ARGS)gconfig.in$$unique$(LISP)$$tags" \
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags gconfig.in $$unique $(LISP) -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) $(AM_MAKEFLAGS) \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) 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
|
|
for subdir in $(SUBDIRS); do \
|
|
test -d $(distdir)/$$subdir \
|
|
|| mkdir $(distdir)/$$subdir \
|
|
|| exit 1; \
|
|
chmod 777 $(distdir)/$$subdir; \
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|
|
|| exit 1; \
|
|
done
|
|
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
|
|
info: $(INFO_DEPS) info-recursive
|
|
dvi: $(DVIS) dvi-recursive
|
|
check:
|
|
$(MAKE) $(AM_MAKEFLAGS) check-recursive
|
|
installcheck: installcheck-recursive
|
|
install-info: install-info-am install-info-recursive
|
|
all-recursive-am: gconfig.h
|
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
|
|
|
all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h
|
|
|
|
install-exec-am: install-binPROGRAMS
|
|
|
|
install-data-am: install-man
|
|
|
|
uninstall-am: uninstall-binPROGRAMS uninstall-man
|
|
|
|
install-exec: install-exec-recursive install-exec-am
|
|
@$(NORMAL_INSTALL)
|
|
|
|
install-data: install-data-recursive install-data-am
|
|
@$(NORMAL_INSTALL)
|
|
|
|
install: install-recursive install-exec-am install-data-am
|
|
@:
|
|
|
|
uninstall: uninstall-recursive uninstall-am
|
|
|
|
install-strip:
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
|
installdirs: installdirs-recursive
|
|
$(mkinstalldirs) $(DATADIR)$(bindir) $(DESTDIR)$(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-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
|
|
mostlyclean-compile mostlyclean-libtool \
|
|
mostlyclean-aminfo mostlyclean-tags mostlyclean-generic
|
|
|
|
clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-libtool \
|
|
clean-aminfo clean-tags clean-generic mostlyclean-am
|
|
|
|
distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \
|
|
distclean-libtool distclean-aminfo distclean-tags \
|
|
distclean-generic clean-am
|
|
|
|
maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
|
|
maintainer-clean-compile maintainer-clean-libtool \
|
|
maintainer-clean-aminfo maintainer-clean-tags \
|
|
maintainer-clean-generic distclean-am
|
|
|
|
mostlyclean: mostlyclean-recursive mostlyclean-am
|
|
|
|
clean: clean-recursive clean-am
|
|
|
|
distclean: distclean-recursive distclean-am
|
|
-rm -f config.status
|
|
-rm -f libtool
|
|
|
|
maintainer-clean: maintainer-clean-recursive maintainer-clean-am
|
|
@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: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
|
|
mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
|
|
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
|
|
mostlyclean-compile distclean-compile clean-compile \
|
|
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
|
clean-libtool maintainer-clean-libtool install-info-am uninstall-info \
|
|
mostlyclean-aminfo distclean-aminfo clean-aminfo \
|
|
maintainer-clean-aminfo install-man1 uninstall-man1 install-man \
|
|
uninstall-man install-data-recursive uninstall-data-recursive \
|
|
install-exec-recursive uninstall-exec-recursive installdirs-recursive \
|
|
uninstalldirs-recursive all-recursive check-recursive \
|
|
installcheck-recursive info-recursive dvi-recursive \
|
|
mostlyclean-recursive distclean-recursive clean-recursive \
|
|
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
|
distclean-tags clean-tags maintainer-clean-tags distdir info dvi \
|
|
installcheck install-info all-recursive-am all-am install-exec-am \
|
|
install-data-am uninstall-am install-exec install-data install \
|
|
uninstall all installdirs mostlyclean-generic distclean-generic \
|
|
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
|
maintainer-clean
|
|
|
|
|
|
diststuff: $(BUILT_SOURCES) info
|
|
|
|
.m.c:
|
|
awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
|
|
FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
|
|
FILE=$*.m $(srcdir)/$*.m
|
|
po/POTFILES.in: @MAINT@ Makefile
|
|
for file in $(POTFILES); do echo $$file; done | sort > tmp \
|
|
&& mv tmp $(srcdir)/po/POTFILES.in
|
|
|
|
# Dependencies.
|
|
$(OBJECTS): ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \
|
|
corefile.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 \
|
|
gconfig.h ../bfd/config.h
|
|
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
|
|
corefile.o: corefile.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
|
|
i386.o: i386.c
|
|
alpha.o: alpha.c
|
|
vax.o: vax.c
|
|
tahoe.o: tahoe.c
|
|
sparc.o: sparc.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:
|