summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2013-02-11 14:25:13 -0500
committerAnthony Green <green@moxielogic.com>2013-02-11 14:25:13 -0500
commitf308faf1eabaf8dc24966ab17fbf94368f46b9c7 (patch)
tree786be282c827050317989bf8c612ad60be0796bb /Makefile.am
parent4ea22e54e3b143fe05c413f6dddd236af6bcbfb2 (diff)
downloadlibffi-f308faf1eabaf8dc24966ab17fbf94368f46b9c7.tar.gz
Add moxie support. Release 3.0.12.v3.0.12
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 5787f9e..8f1362a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -148,6 +148,9 @@ endif
if M68K
nodist_libffi_la_SOURCES += src/m68k/ffi.c src/m68k/sysv.S
endif
+if MOXIE
+nodist_libffi_la_SOURCES += src/moxie/ffi.c src/moxie/eabi.S
+endif
if MICROBLAZE
nodist_libffi_la_SOURCES += src/microblaze/ffi.c src/microblaze/sysv.S
endif
@@ -209,7 +212,7 @@ endif
libffi_convenience_la_SOURCES = $(libffi_la_SOURCES)
nodist_libffi_convenience_la_SOURCES = $(nodist_libffi_la_SOURCES)
-LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
+LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/libtool-ldflags $(LDFLAGS))
libffi_la_LDFLAGS = -no-undefined -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LTLDFLAGS) $(AM_LTLDFLAGS)