diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-02-26 02:28:55 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-02-26 02:28:55 +0000 |
commit | 41cb95ae3f21e21a3c63a8e2f9fd1b92b70852fa (patch) | |
tree | 98d40e3f5c9bc75ba9766ab4162be9c6529d9eda /libcrypt/Makefile | |
parent | 8161b6d9e1b7dedcab64ece3de34c23dbacef7c7 (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/Makefile | 4 |
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) \ |