OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [lto-plugin/] [Makefile.am] - Blame information for rev 743

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 743 jeremybenn
# 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_noncanonical)/$(gcc_version)
9
 
10
AM_CPPFLAGS = -I$(top_srcdir)/../include $(DEFS)
11
AM_CFLAGS = @ac_lto_plugin_warn_cflags@
12
AM_LIBTOOLFLAGS = --tag=disable-static
13
 
14
libexecsub_LTLIBRARIES = liblto_plugin.la
15
gcc_build_dir = ../$(host_subdir)/gcc
16
in_gcc_libs = $(foreach lib, $(libexecsub_LTLIBRARIES), $(gcc_build_dir)/$(lib))
17
 
18
# Can be removed when libiberty becomes a normal convenience library
19
Wc=-Wc,
20
 
21
liblto_plugin_la_SOURCES = lto-plugin.c
22
liblto_plugin_la_LIBADD = \
23
        $(if $(wildcard ../libiberty/pic/libiberty.a),$(Wc)../libiberty/pic/libiberty.a,)
24
# Note that we intentionally override the bindir supplied by ACX_LT_HOST_FLAGS
25
liblto_plugin_la_LDFLAGS = $(lt_host_flags) -module -bindir $(libexecsubdir) \
26
        $(if $(wildcard ../libiberty/pic/libiberty.a),,-Wc,../libiberty/libiberty.a)
27
liblto_plugin_la_DEPENDENCIES = $(if $(wildcard \
28
        ../libiberty/pic/libiberty.a),../libiberty/pic/libiberty.a,)
29
 
30
all-local: $(in_gcc_libs)
31
 
32
$(in_gcc_libs) : $(gcc_build_dir)/%: %
33
        @if test "X`dlname=; . ./$*; echo dlname:$$dlname`" = "Xdlname:"; then \
34
          echo WARNING: $* is static, not copying to $@ >&2 ; \
35
        else \
36
          $(mkinstalldirs) $(gcc_build_dir) && \
37
          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $* `pwd`/$@ ; \
38
        fi

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.