Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/locale/Makefile.am')
-rw-r--r--newlib/libc/locale/Makefile.am14
1 files changed, 13 insertions, 1 deletions
diff --git a/newlib/libc/locale/Makefile.am b/newlib/libc/locale/Makefile.am
index c007e0f92..71a400ab0 100644
--- a/newlib/libc/locale/Makefile.am
+++ b/newlib/libc/locale/Makefile.am
@@ -4,9 +4,21 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
+LIB_SOURCES = locale.c
+
+liblocale_la_LDFLAGS = -Xcompiler -nostdlib
+
+if USE_LIBTOOL
+noinst_LTLIBRARIES = liblocale.la
+liblocale_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 = locale.c
+include $(srcdir)/../../Makefile.shared
CHEWOUT_FILES = locale.def