summaryrefslogtreecommitdiff
path: root/libcrypt/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'libcrypt/Makefile.in')
-rw-r--r--libcrypt/Makefile.in29
1 files changed, 22 insertions, 7 deletions
diff --git a/libcrypt/Makefile.in b/libcrypt/Makefile.in
index e5c4bcfa7..5394a0538 100644
--- a/libcrypt/Makefile.in
+++ b/libcrypt/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 by Lineo, inc.
+# 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)
+#DOMULTI=y
+
LIB_NAME:=libcrypt
-srcdir=$(top_srcdir)$(LIB_NAME)
+libcrypt_DIR:=$(top_srcdir)libcrypt
+libcrypt_OUT:=$(top_builddir)libcrypt
+
+libcrypt_SRC:=$(wildcard $(libcrypt_DIR)/*.c)
+libcrypt_OBJ:=$(patsubst $(libcrypt_DIR)/%.c,$(libcrypt_OUT)/%.o,$(libcrypt_SRC))
+
+libcrypt-a-y:=$(libcrypt_OBJ)
+libcrypt-a-pic-y:=$(libcrypt_OBJ:.o=.os)
+libcrypt-so-y:=$(libcrypt_OBJ:.o=.os)
+
+libcrypt-multi-y:=$(libcrypt_SRC)
-libso-y+=$(top_builddir)lib/$(LIB_NAME).so
-liba-y+=$(top_builddir)lib/$(LIB_NAME).a
-libclean-y+=$(LIB_NAME)_clean
+objclean-y+=libcrypt_clean
-include $(top_srcdir)Makefile.libs
+lib-a-y+=$(top_builddir)lib/libcrypt.a
+lib-a-pic-y+=$(top_builddir)lib/libcrypt.a
+lib-so-y+=$(top_builddir)lib/libcrypt.so