summaryrefslogtreecommitdiff
path: root/libquadmath/Makefile.am
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-19 12:13:13 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-19 12:13:13 +0000
commit885e0ef918f429bc54ba8e953cb2320a9d3a86e5 (patch)
treebc450425a977815af4c1473711ca9e235855425f /libquadmath/Makefile.am
parentf87aeb3acdf291352ec0619c965cacb18fbddc59 (diff)
downloadgcc-885e0ef918f429bc54ba8e953cb2320a9d3a86e5.tar.gz
* Makefile.am (libquadmath_la_LIBADD): Move -lm ...
(libquadmath_la_LDFLAGS): ... here. (quadmath.map-sun): Tabify. Fix sed expression. * Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166937 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libquadmath/Makefile.am')
-rw-r--r--libquadmath/Makefile.am19
1 files changed, 9 insertions, 10 deletions
diff --git a/libquadmath/Makefile.am b/libquadmath/Makefile.am
index 667b9baf66a..5f65a6643bd 100644
--- a/libquadmath/Makefile.am
+++ b/libquadmath/Makefile.am
@@ -20,14 +20,13 @@ if LIBQUAD_USE_SYMVER_SUN
version_arg = -Wl,-M,quadmath.map-sun
version_dep = quadmath.map-sun
quadmath.map-sun : $(srcdir)/quadmath.map \
- $(top_srcdir)/../contrib/make_sunver.pl \
- $(libquadmath_la_OBJECTS) $(libquadmath_la_LIBADD)
- perl $(top_srcdir)/../contrib/make_sunver.pl \
- $(srcdir)/quadmath.map \
- $(libquadmath_la_OBJECTS:%.lo=.libs/%.o) \
- `echo $(libquadmath_la_LIBADD) | \
- sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
- > $@ || (rm -f $@ ; exit 1)
+ $(top_srcdir)/../contrib/make_sunver.pl \
+ $(libquadmath_la_OBJECTS) $(libquadmath_la_LIBADD)
+ perl $(top_srcdir)/../contrib/make_sunver.pl \
+ $(srcdir)/quadmath.map \
+ `echo $(libquadmath_la_OBJECTS) $(libquadmath_la_LIBADD) | \
+ sed 's,\([^/ ]*\)\.l\([ao]\),.libs/\1.\2,g'` \
+ > $@ || (rm -f $@ ; exit 1)
endif
else
version_arg =
@@ -39,8 +38,8 @@ LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) \
toolexeclib_LTLIBRARIES = libquadmath.la
-libquadmath_la_LIBADD = -lm
-libquadmath_la_LDFLAGS = $(LTLDFLAGS) -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(version_arg)
+libquadmath_la_LIBADD =
+libquadmath_la_LDFLAGS = $(LTLDFLAGS) -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(version_arg) -lm
libquadmath_la_LINK = $(LINK) $(libgfortran_la_LDFLAGS)
libquadmath_la_DEPENDENCIES = $(version_dep)