bump for release
[uclibc-ng.git] / libnsl / Makefile.in
blobd6ee956015fbac0762f25e4e80e0e133efcefba5
1 # Makefile for uClibc
3 # Copyright (C) 2000-2008 Erik Andersen <andersen@uclibc.org>
5 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
8 subdirs += libnsl
10 CFLAGS-libnsl := -DNOT_IN_libc -DIS_IN_libnsl $(SSP_ALL_CFLAGS)
12 libnsl_DIR := $(top_srcdir)libnsl
13 libnsl_OUT := $(top_builddir)libnsl
15 libnsl_SRC := $(libnsl_DIR)/nsl.c
16 libnsl_OBJ := $(patsubst $(libnsl_DIR)/%.c,$(libnsl_OUT)/%.o,$(libnsl_SRC))
18 ifeq ($(DOPIC),y)
19 libnsl-a-y := $(libnsl_OBJ:.o=.os)
20 else
21 libnsl-a-y := $(libnsl_OBJ)
22 endif
23 libnsl-so-y := $(libnsl_OBJ:.o=.os)
25 objclean-y += CLEAN_libnsl
27 CLEAN_libnsl:
28 $(do_rm) $(addprefix $(libnsl_OUT)/*., o os a)