summaryrefslogtreecommitdiff
path: root/libcrypt/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-04-25 01:39:08 +0000
committerEric Andersen <andersen@codepoet.org>2002-04-25 01:39:08 +0000
commit3e87ecb2f6d97f0a12ba76a32f46bd0f27b72c1b (patch)
tree62928a831a9385192bc7b6bf902f8b200dd649c4 /libcrypt/Makefile
parent4844aa2aaca0e6d34c58ede6a8583f554c477feb (diff)
Rework libcrypt based on the openbsd crypt implementation so that it passes the
DES validation suite. setkey_r, encrypt_r, and __des_crypt_r are not really reentrant now, and that should be fixed (or we should drop crypt_r and friends which are not supported by SuSv3). -Erik
Diffstat (limited to 'libcrypt/Makefile')
-rw-r--r--libcrypt/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/libcrypt/Makefile b/libcrypt/Makefile
index ecb2831e5..cc623fa5e 100644
--- a/libcrypt/Makefile
+++ b/libcrypt/Makefile
@@ -28,7 +28,7 @@ LIBCRYPT=libcrypt.a
LIBCRYPT_SHARED=libcrypt.so
LIBCRYPT_SHARED_FULLNAME=libcrypt-$(MAJOR_VERSION).$(MINOR_VERSION).so
-CSRC = crypt.c des.c
+CSRC = crypt.c des.c md5.c
OBJS=$(patsubst %.c,%.o, $(CSRC))
all: $(OBJS) $(LIBCRYPT)
@@ -47,8 +47,6 @@ $(OBJS): %.o : %.c
$(OBJ): Makefile
-des.o: des.c md5.c
-
shared: all
$(LD) $(LDFLAGS) -soname=$(LIBCRYPT_SHARED).$(MAJOR_VERSION) \
-o $(LIBCRYPT_SHARED_FULLNAME) --whole-archive $(LIBCRYPT) \