summaryrefslogtreecommitdiff
path: root/libintl/Makefile.in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-24 02:55:31 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-26 20:23:24 +0200
commit29ff9055c80efe77a7130767a9fcb3ab8c67e8ce (patch)
treeb061656c1336d7d73ed5eef59352e3d50d8147a7 /libintl/Makefile.in
parentb06f85d62c41a4ed108628b1c564203f36c0ab4e (diff)
use a single libc and deduplicate threading code
Similar to musl libc a single libc has many benefits and solves some open issues with uClibc-ng. - no pthread_mutex_* weak symbols exported anymore - applications no longer failing to link when either -lrt or -lpthread are missing for dynamic and static linking mode - smaller C library - slightly better runtime performance
Diffstat (limited to 'libintl/Makefile.in')
-rw-r--r--libintl/Makefile.in26
1 files changed, 0 insertions, 26 deletions
diff --git a/libintl/Makefile.in b/libintl/Makefile.in
index 6c3e79b69..b54e23dad 100644
--- a/libintl/Makefile.in
+++ b/libintl/Makefile.in
@@ -9,12 +9,6 @@ subdirs += libintl
CFLAGS-libintl := -DNOT_IN_libc -DIS_IN_libintl $(SSP_ALL_CFLAGS)
-LDFLAGS-libintl.so := $(LDFLAGS)
-
-LIBS-libintl.so := $(LIBS)
-
-libintl_FULL_NAME := libintl-$(VERSION).so
-
MOBJ := \
gettext.o ngettext.o dgettext.o dcgettext.o dngettext.o dcngettext.o \
textdomain.o bindtextdomain.o bind_textdomain_codeset.o \
@@ -33,32 +27,12 @@ libintl-a-y := $(libintl_MOBJ)
endif
libintl-so-y := $(libintl_MOBJ:.o=.os)
-lib-a-$(UCLIBC_HAS_GETTEXT_AWARENESS) += $(top_builddir)lib/libintl.a
-lib-so-$(UCLIBC_HAS_GETTEXT_AWARENESS) += $(top_builddir)lib/libintl.so
objclean-y += CLEAN_libintl
-ifeq ($(DOPIC),y)
-$(top_builddir)lib/libintl.so: $(top_builddir)lib/libintl.a $(libc.depend)
-else
-$(top_builddir)lib/libintl.so: $(libintl_OUT)/libintl_so.a $(libc.depend)
-endif
- $(call link.so,$(libintl_FULL_NAME),$(ABI_VERSION))
- # link for backward compatibility
- $(call link.so,$(libintl_FULL_NAME),0)
-
-$(libintl_OUT)/libintl_so.a: $(libintl-so-y)
- $(Q)$(RM) $@
- $(do_ar)
-
$(libintl_OUT)/libintl.oS: $(libintl_MSRC)
$(Q)$(RM) $@
$(compile-m)
-$(top_builddir)lib/libintl.a: $(libintl-a-y)
- $(Q)$(INSTALL) -d $(dir $@)
- $(Q)$(RM) $@
- $(do_ar)
-
$(libintl_MOBJ): $(libintl_MSRC)
$(compile.m)