summaryrefslogtreecommitdiff
path: root/libintl/Makefile.in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-12-20 19:57:05 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-12-20 19:57:05 +0100
commitb39b5151b937c4d36ff293b62cee988378245fac (patch)
tree3145e0981d7a2fdf6bb7a25141fb2f366fa1e33f /libintl/Makefile.in
parent4fa7ed9388f3ca81d97cad2099a6f9fa9f8098de (diff)
add stub implementation for libintl/gettext
These adds the stubs from gettext-tiny 0.0.5 from here: https://github.com/sabotage-linux/gettext-tiny
Diffstat (limited to 'libintl/Makefile.in')
-rw-r--r--libintl/Makefile.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/libintl/Makefile.in b/libintl/Makefile.in
new file mode 100644
index 000000000..445a75853
--- /dev/null
+++ b/libintl/Makefile.in
@@ -0,0 +1,30 @@
+# Makefile for uClibc-ng
+# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+
+subdirs += libintl
+
+CFLAGS-libintl := -DNOT_IN_libc -DIS_IN_libintl $(SSP_ALL_CFLAGS)
+
+libintl_DIR := $(top_srcdir)libintl
+libintl_OUT := $(top_builddir)libintl
+
+libintl_SRC-$(UCLIBC_HAS_LIBINTL) := libintl.c
+
+libintl_SRC := $(addprefix $(libintl_DIR)/,$(libintl_SRC-y))
+libintl_OBJ := $(patsubst $(libintl_DIR)/%.c,$(libintl_OUT)/%.o,$(libintl_SRC))
+
+ifeq ($(DOPIC),y)
+libintl-a-y := $(libintl_OBJ:.o=.os)
+else
+libintl-a-y := $(libintl_OBJ)
+endif
+libintl-so-y := $(libintl_OBJ:.o=.os)
+
+objclean-y += CLEAN_libintl
+
+$(libintl_OUT)/libintl.oS: $(libintl_SRC)
+ $(Q)$(RM) $@
+ $(compile-m)
+
+CLEAN_libintl:
+ $(do_rm) $(addprefix $(libintl_OUT)/*., o os oS a)