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/unix/Makefile.am')
-rw-r--r--newlib/libc/unix/Makefile.am16
1 files changed, 14 insertions, 2 deletions
diff --git a/newlib/libc/unix/Makefile.am b/newlib/libc/unix/Makefile.am
index ae8e92f95..5159c0ed0 100644
--- a/newlib/libc/unix/Makefile.am
+++ b/newlib/libc/unix/Makefile.am
@@ -4,10 +4,22 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
+LIB_SOURCES = \
+ getpass.c sigset.c getpwent.c ttyname.c getut.c getlogin.c getcwd.c
+
+libunix_la_LDFLAGS = -Xcompiler -nostdlib
+
+if USE_LIBTOOL
+noinst_LTLIBRARIES = libunix.la
+libunix_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 = \
- getpass.c sigset.c getpwent.c ttyname.c getut.c getlogin.c getcwd.c
+include $(srcdir)/../../Makefile.shared
CHEWOUT_FILES =