summaryrefslogtreecommitdiff
path: root/libresolv/Makefile.in
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-10-25 22:17:39 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-10-25 22:17:39 +0000
commita80fc77b658a7883df95ac41ad83ac9ff7c8ff07 (patch)
tree3edbcb812b876e0ba1424b229d50e9c04a2b0d4a /libresolv/Makefile.in
parent7ce8f67d27885ea6b1cba2c43e5edc9f1dc17f0f (diff)
All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other archs lack proper crt1. The Makefiles in extra/scripts are intended to be linked into each dir, where it is necessary to build locally.
Diffstat (limited to 'libresolv/Makefile.in')
-rw-r--r--libresolv/Makefile.in29
1 files changed, 22 insertions, 7 deletions
diff --git a/libresolv/Makefile.in b/libresolv/Makefile.in
index b4d03fe66..8966f95a3 100644
--- a/libresolv/Makefile.in
+++ b/libresolv/Makefile.in
@@ -1,16 +1,31 @@
-# Makefile.in for uClibc
+# Makefile for uClibc
#
-# Licensed under LGPL v2.1, see the file COPYING.LIB in this tarball for details.
+# 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
-srcdir=$(top_srcdir)$(LIB_NAME)
+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)
-libso-y+=$(top_builddir)lib/$(LIB_NAME).so
-liba-y+=$(top_builddir)lib/$(LIB_NAME).a
-libclean-y+=$(LIB_NAME)_clean
+objclean-y+=libresolv_clean
-include $(top_srcdir)Makefile.libs
+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