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/search/Makefile.am')
-rw-r--r--newlib/libc/search/Makefile.am38
1 files changed, 17 insertions, 21 deletions
diff --git a/newlib/libc/search/Makefile.am b/newlib/libc/search/Makefile.am
index 74e51ad89..098be35ba 100644
--- a/newlib/libc/search/Makefile.am
+++ b/newlib/libc/search/Makefile.am
@@ -14,38 +14,34 @@ GENERAL_SOURCES = \
## Following are EL/IX level 2 interfaces
if ELIX_LEVEL_1
-LIB_OBJS =
+ELIX_SOURCES =
else
-LIB_OBJS = \
- hash.$(oext) \
- hash_bigkey.$(oext) \
- hash_buf.$(oext) \
- hash_func.$(oext) \
- hash_log2.$(oext) \
- hash_page.$(oext) \
- hcreate.$(oext) \
- hcreate_r.$(oext) \
- tdelete.$(oext) \
- tdestroy.$(oext) \
- tfind.$(oext) \
- tsearch.$(oext) \
- twalk.$(oext)
+ELIX_SOURCES = \
+ hash.c \
+ hash_bigkey.c \
+ hash_buf.c \
+ hash_func.c \
+ hash_log2.c \
+ hash_page.c \
+ hcreate.c \
+ hcreate_r.c \
+ tdelete.c \
+ tdestroy.c \
+ tfind.c \
+ tsearch.c \
+ twalk.c
endif
libsearch_la_LDFLAGS = -Xcompiler -nostdlib
if USE_LIBTOOL
noinst_LTLIBRARIES = libsearch.la
-libsearch_la_SOURCES = $(GENERAL_SOURCES)
-libsearch_la_LIBADD = $(LIB_OBJS)
-libsearch_la_DEPENDENCIES = $(LIB_OBJS)
+libsearch_la_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
noinst_DATA = objectlist.awk.in
else
noinst_LIBRARIES = lib.a
-lib_a_SOURCES = $(GENERAL_SOURCES)
-lib_a_LIBADD = $(LIB_OBJS)
+lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
lib_a_CFLAGS = $(AM_CFLAGS)
-lib_a_DEPENDENCIES = $(LIB_OBJS)
noinst_DATA =
endif # USE_LIBTOOL