diff options
Diffstat (limited to 'newlib/libc/ctype/Makefile.am')
-rw-r--r-- | newlib/libc/ctype/Makefile.am | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/newlib/libc/ctype/Makefile.am b/newlib/libc/ctype/Makefile.am index 4aab995a5..477a14da7 100644 --- a/newlib/libc/ctype/Makefile.am +++ b/newlib/libc/ctype/Makefile.am @@ -4,9 +4,7 @@ AUTOMAKE_OPTIONS = cygnus INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) -noinst_LIBRARIES = lib.a - -lib_a_SOURCES = \ +LIB_SOURCES = \ ctype_.c \ isalnum.c \ isalpha.c \ @@ -25,6 +23,20 @@ lib_a_SOURCES = \ _tolower.c \ _toupper.c +libctype_la_LDFLAGS = -Xcompiler -nostdlib + +if USE_LIBTOOL +noinst_LTLIBRARIES = libctype.la +libctype_la_SOURCES = $(LIB_SOURCES) +noinst_DATA = objectlist.awk.in +else +noinst_LIBRARIES = lib.a +lib_a_SOURCES = $(LIB_SOURCES) +noinst_DATA = +endif # USE_LIBTOOL + +include $(srcdir)/../../Makefile.shared + CHEWOUT_FILES= \ isalnum.def \ isalpha.def \ |