OLD | NEW |
(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 |
OLD | NEW |