summaryrefslogtreecommitdiff
path: root/libcrypt/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-26 02:28:55 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-26 02:28:55 +0000
commit41cb95ae3f21e21a3c63a8e2f9fd1b92b70852fa (patch)
tree98d40e3f5c9bc75ba9766ab4162be9c6529d9eda /libcrypt/Makefile
parent8161b6d9e1b7dedcab64ece3de34c23dbacef7c7 (diff)
Adjust function naming and make sure everything is properly
static to avoid symbol leakage. -Erik
Diffstat (limited to 'libcrypt/Makefile')
-rw-r--r--libcrypt/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcrypt/Makefile b/libcrypt/Makefile
index cc623fa5e..ecb2831e5 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 md5.c
+CSRC = crypt.c des.c
OBJS=$(patsubst %.c,%.o, $(CSRC))
all: $(OBJS) $(LIBCRYPT)
@@ -47,6 +47,8 @@ $(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) \