summaryrefslogtreecommitdiff
path: root/libresolv/Makefile.in
blob: 8966f95a39532feaaf6f570698a717ed59aad05c (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:=libresolv

libresolv_DIR:=$(top_srcdir)libresolv
libresolv_OUT:=$(top_builddir)libresolv

libresolv_SRC:=$(libresolv_DIR)/resolv.c
libresolv_OBJ:=$(patsubst $(libresolv_DIR)/%.c,$(libresolv_OUT)/%.o,$(libresolv_SRC))

libresolv-a-y:=$(libresolv_OBJ)
libresolv-a-pic-y:=$(libresolv_OBJ:.o=.os)
libresolv-so-y:=$(libresolv_OBJ:.o=.os)

#libresolv-multi-y:=$(libresolv_SRC)

objclean-y+=libresolv_clean

lib-a-y+=$(top_builddir)lib/libresolv.a
lib-a-pic-y+=$(top_builddir)lib/libresolv.a
lib-so-y+=$(top_builddir)lib/libresolv.so