X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gprof%2FMakefile.am;h=e79771227676efe927b587d4a0063aa00d46c3fb;hb=70b448ba7c521d6e0881f38aaf20d330fe510716;hp=3f41b5133d150b91f297a1a9fd994441108b25e4;hpb=fd9b71a87815c4716f77f9c49c6398b3ac078fd2;p=deliverable%2Fbinutils-gdb.git diff --git a/gprof/Makefile.am b/gprof/Makefile.am index 3f41b5133d..e797712276 100644 --- a/gprof/Makefile.am +++ b/gprof/Makefile.am @@ -1,8 +1,25 @@ ## Process this file with automake to generate Makefile.in +# +# Copyright (C) 2012-2017 Free Software Foundation, Inc. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; see the file COPYING3. If not see +# . +# AUTOMAKE_OPTIONS = 1.11 foreign no-dist no-texinfo.tex ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd -TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex +TEXINFO_TEX = ../texinfo/texinfo.tex SUFFIXES = .m @@ -16,7 +33,7 @@ WARN_CFLAGS = @WARN_CFLAGS@ NO_WERROR = @NO_WERROR@ AM_CFLAGS = $(WARN_CFLAGS) -INCLUDES = -DDEBUG -I../bfd -I$(srcdir)/../include \ +AM_CPPFLAGS = -DDEBUG -I../bfd -I$(srcdir)/../include \ -I$(srcdir)/../bfd @INCINTL@ -I. \ -DLOCALEDIR="\"$(datadir)/locale\"" @@ -26,7 +43,7 @@ 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 mips.c + i386.c alpha.c vax.c tahoe.c sparc.c mips.c aarch64.c gprof_SOURCES = $(sources) flat_bl.c bsd_callg_bl.c fsf_callg_bl.c gprof_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a $(LIBINTL_DEP) gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a $(LIBINTL) @@ -41,13 +58,16 @@ EXTRA_DIST = $(BUILT_SOURCES) bbconv.pl $(man_MANS) diststuff: $(BUILT_SOURCES) info $(man_MANS) +# development.sh is used to determine -Werror default. +CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/development.sh + # This empty rule is a hack against gmake patched by Apple. %.o:%.m .m.c: - awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \ + awk -f $(srcdir)/gen-c-prog.awk > $@ \ FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \ - FILE=$*.m $(srcdir)/$*.m + FILE=$*.m $< POTFILES = $(sources) $(noinst_HEADERS) po/POTFILES.in: @MAINT@ Makefile