diff options
Diffstat (limited to 'newlib/libc/errno/Makefile.am')
-rw-r--r-- | newlib/libc/errno/Makefile.am | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/newlib/libc/errno/Makefile.am b/newlib/libc/errno/Makefile.am index 67038849a..680aecada 100644 --- a/newlib/libc/errno/Makefile.am +++ b/newlib/libc/errno/Makefile.am @@ -4,9 +4,21 @@ AUTOMAKE_OPTIONS = cygnus INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) +LIB_SOURCES = errno.c + +liberrno_la_LDFLAGS = -Xcompiler -nostdlib + +if USE_LIBTOOL +noinst_LTLIBRARIES = liberrno.la +liberrno_la_SOURCES = $(LIB_SOURCES) +noinst_DATA = objectlist.awk.in +else noinst_LIBRARIES = lib.a +lib_a_SOURCES = $(LIB_SOURCES) +noinst_DATA = +endif # USE_LIBTOOL -lib_a_SOURCES = errno.c +include $(srcdir)/../../Makefile.shared CHEWOUT_FILES = |