1 # Makefile.am is used by automake 1.11 to generate Makefile.in.
3 ACLOCAL_AMFLAGS = -I .. -I ../config
5 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
6 target_noncanonical := @target_noncanonical@
7 libexecsubdir := $(libexecdir)/gcc/$(target_noncanonical)/$(gcc_version)
10 LIBELFLIBS = @LIBELFLIBS@
11 LIBELFINC = @LIBELFINC@
13 AM_CPPFLAGS = -I$(top_srcdir)/../include $(LIBELFINC)
14 AM_CFLAGS = -Wall -Werror
16 libexecsub_LTLIBRARIES = liblto_plugin.la
18 liblto_plugin_la_SOURCES = lto-plugin.c
19 liblto_plugin_la_LIBADD = $(LIBELFLIBS) -L../libiberty/pic -liberty