Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(630)

Side by Side Diff: function_reordering_plugin/Makefile.am

Issue 4802070: [google] New linker plugin to do function reordering in the final binary using callgraph profiles Base URL: svn+ssh://gcc.gnu.org/svn/gcc/branches/google/gcc-4_6/
Patch Set: Created 12 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « configure.ac ('k') | function_reordering_plugin/Makefile.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Makefile.am is used by automake 1.11 to generate Makefile.in.
2
3 ACLOCAL_AMFLAGS = -I .. -I ../config
4 AUTOMAKE_OPTIONS = no-dependencies
5
6 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
7 target_noncanonical := @target_noncanonical@
8 libexecsubdir := $(libexecdir)/gcc/$(target)/$(gcc_version)
9
10 AM_CPPFLAGS = -I$(top_srcdir)/../include $(DEFS)
11 AM_CFLAGS = -Wall -Werror
12 AM_LIBTOOLFLAGS = --tag=disable-static
13
14 libexecsub_LTLIBRARIES = libfunction_reordering_plugin.la
15 gcc_build_dir = ../$(host_subdir)/gcc
16 in_gcc_libs = $(foreach lib, $(libexecsub_LTLIBRARIES), $(gcc_build_dir)/$(lib))
17
18 libfunction_reordering_plugin_la_SOURCES = function_reordering_plugin.cc callgr aph.cc
19 libfunction_reordering_plugin_la_LDFLAGS = $(lt_host_flags) -module -bindir $(li bexecsubdir)
20 libfunction_reordering_plugin_la_DEPENDENCIES = callgraph.h
21
22 all-local: $(in_gcc_libs)
23
24 $(in_gcc_libs) : $(gcc_build_dir)/%: %
25 @if test "X`dlname=; . ./$*; echo dlname:$$dlname`" = "Xdlname:"; then \
26 echo WARNING: $* is static, not copying to $@ >&2 ; \
27 else \
28 $(mkinstalldirs) $(gcc_build_dir) && \
29 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL ) $(INSTALL_STRIP_FLAG) $* `pwd`/$@ ; \
30 fi
OLDNEW
« no previous file with comments | « configure.ac ('k') | function_reordering_plugin/Makefile.in » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b