From d9f4c6bb0568da6d80f60a0040354f45478f84a3 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 27 Nov 2016 16:35:11 +0100 Subject: remove libnsl stub --- libnsl/Makefile | 13 ------------- libnsl/Makefile.in | 28 ---------------------------- libnsl/nsl.c | 15 --------------- 3 files changed, 56 deletions(-) delete mode 100644 libnsl/Makefile delete mode 100644 libnsl/Makefile.in delete mode 100644 libnsl/nsl.c (limited to 'libnsl') diff --git a/libnsl/Makefile b/libnsl/Makefile deleted file mode 100644 index c8dc9b466..000000000 --- a/libnsl/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -# Makefile for uClibc -# -# Copyright (C) 2000-2005 Erik Andersen -# -# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. -# - -top_srcdir=../ -top_builddir=../ -include $(top_builddir)Rules.mak -all: libs -include Makefile.in -include $(top_srcdir)Makerules diff --git a/libnsl/Makefile.in b/libnsl/Makefile.in deleted file mode 100644 index d6ee95601..000000000 --- a/libnsl/Makefile.in +++ /dev/null @@ -1,28 +0,0 @@ -# Makefile for uClibc -# -# Copyright (C) 2000-2008 Erik Andersen -# -# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. -# - -subdirs += libnsl - -CFLAGS-libnsl := -DNOT_IN_libc -DIS_IN_libnsl $(SSP_ALL_CFLAGS) - -libnsl_DIR := $(top_srcdir)libnsl -libnsl_OUT := $(top_builddir)libnsl - -libnsl_SRC := $(libnsl_DIR)/nsl.c -libnsl_OBJ := $(patsubst $(libnsl_DIR)/%.c,$(libnsl_OUT)/%.o,$(libnsl_SRC)) - -ifeq ($(DOPIC),y) -libnsl-a-y := $(libnsl_OBJ:.o=.os) -else -libnsl-a-y := $(libnsl_OBJ) -endif -libnsl-so-y := $(libnsl_OBJ:.o=.os) - -objclean-y += CLEAN_libnsl - -CLEAN_libnsl: - $(do_rm) $(addprefix $(libnsl_OUT)/*., o os a) diff --git a/libnsl/nsl.c b/libnsl/nsl.c deleted file mode 100644 index a91ec93a7..000000000 --- a/libnsl/nsl.c +++ /dev/null @@ -1,15 +0,0 @@ -/* vi: set sw=4 ts=4: */ -/* - * libnsl for uClibc - * - * Copyright (C) 2000-2006 Erik Andersen - * - * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. - */ - -void __stub2(void); -void __stub2(void) -{ - return; -} -link_warning (__stub2, "the `libnsl' library is a stub. Do you really need it?") -- cgit v1.2.3