summaryrefslogtreecommitdiff
path: root/libuargp/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 /libuargp/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 'libuargp/Makefile.in')
-rw-r--r--libuargp/Makefile.in25
1 files changed, 0 insertions, 25 deletions
diff --git a/libuargp/Makefile.in b/libuargp/Makefile.in
index f1ccfa640..91d41ce02 100644
--- a/libuargp/Makefile.in
+++ b/libuargp/Makefile.in
@@ -11,12 +11,6 @@
CFLAGS-libuargp := -DNOT_IN_libc -DIS_IN_libuargp $(SSP_ALL_CFLAGS)
-LDFLAGS-libuargp.so := $(LDFLAGS)
-
-LIBS-libuargp.so := $(LIBS)
-
-libuargp_FULL_NAME := libuargp-$(VERSION).so
-
libuargp_DIR := $(top_srcdir)libuargp
libuargp_OUT := $(top_builddir)libuargp
@@ -39,30 +33,11 @@ libuargp-a-y := $(libuargp_OBJS)
endif
libuargp-so-y := $(libuargp_OBJS:.o=.os)
-lib-a-$(UCLIBC_HAS_ARGP) += $(top_builddir)lib/libuargp.a
-lib-so-$(UCLIBC_HAS_ARGP) += $(top_builddir)lib/libuargp.so
-
objclean-y += CLEAN_libuargp
-ifeq ($(DOPIC),y)
-$(top_builddir)lib/libuargp.so: $(top_builddir)lib/libuargp.a $(libc.depend)
-else
-$(top_builddir)lib/libuargp.so: $(libuargp_OUT)/libuargp_so.a $(libc.depend)
-endif
- $(call link.so,$(libuargp_FULL_NAME),$(MAJOR_VERSION))
-
-$(libuargp_OUT)/libuargp_so.a: $(libuargp-so-y)
- $(Q)$(RM) $@
- $(do_ar)
-
$(libuargp_OUT)/libuargp.oS: $(libuargp_SRCS)
$(Q)$(RM) $@
$(compile-m)
-$(top_builddir)lib/libuargp.a: $(libuargp-a-y)
- $(Q)$(INSTALL) -d $(dir $@)
- $(Q)$(RM) $@
- $(do_ar)
-
CLEAN_libuargp:
$(do_rm) $(addprefix $(libuargp_OUT)/*., o os oS a)