1 # Makefile.am is used by automake 1.11 to generate Makefile.in.
3 ACLOCAL_AMFLAGS = -I .. -I ../config
4 AUTOMAKE_OPTIONS = no-dependencies
6 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
7 target_noncanonical := @target_noncanonical@
8 libexecsubdir := $(libexecdir)/gcc/$(target_noncanonical)/$(gcc_version)
11 LIBELFLIBS = @LIBELFLIBS@
12 LIBELFINC = @LIBELFINC@
14 AM_CPPFLAGS = -I$(top_srcdir)/../include $(LIBELFINC)
15 AM_CFLAGS = -Wall -Werror
17 libexecsub_LTLIBRARIES = liblto_plugin.la
19 liblto_plugin_la_SOURCES = lto-plugin.c
20 liblto_plugin_la_LIBADD = $(LIBELFLIBS) ../libiberty/pic/libiberty.a