blob: 076eb49ddf3feeb1d4c3ca7c29dd23bdc86d6414 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Makefile for uClibc
#
# Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
#
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
CFLAGS+=$(SSP_ALL_CFLAGS)
# useless, only 1 source file
DOMULTI=n
LIB_NAME:=libnsl
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))
libnsl-a-y:=$(libnsl_OBJ)
libnsl-a-pic-y:=$(libnsl_OBJ:.o=.os)
libnsl-so-y:=$(libnsl_OBJ:.o=.os)
#libnsl-multi-y:=$(libnsl_SRC)
objclean-y+=libnsl_clean
lib-a-y+=$(top_builddir)lib/libnsl.a
lib-a-pic-y+=$(top_builddir)lib/libnsl.a
lib-so-y+=$(top_builddir)lib/libnsl.so
|