From 9555339007eb4557be991ce61c1bc33faa05252a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulf=20M=C3=B6ller?= Date: Tue, 11 Apr 2006 20:05:23 +0000 Subject: improve make dclean to remove files generated during build PR: 1308 Submitted by: Oliver Tappe Reviewed by: Ulf Moeller --- crypto/Makefile | 1 + crypto/dso/dso_dlfcn.c | 2 ++ crypto/md4/Makefile | 1 + 3 files changed, 4 insertions(+) (limited to 'crypto') diff --git a/crypto/Makefile b/crypto/Makefile index b6e3f9424b..ef4f724f16 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -135,6 +135,7 @@ clean: dclean: $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new mv -f Makefile.new $(MAKEFILE) + rm -f opensslconf.h @target=dclean; $(RECURSIVE_MAKE) # DO NOT DELETE THIS LINE -- make depend depends on it. diff --git a/crypto/dso/dso_dlfcn.c b/crypto/dso/dso_dlfcn.c index c5edaec4a0..ceeda005f5 100644 --- a/crypto/dso/dso_dlfcn.c +++ b/crypto/dso/dso_dlfcn.c @@ -422,6 +422,7 @@ static int dladdr(void *address, Dl_info *dl) static int dlfcn_pathbyaddr(void *addr,char *path,int sz) { +#ifdef HAVE_DLINFO Dl_info dli; int len; @@ -443,6 +444,7 @@ static int dlfcn_pathbyaddr(void *addr,char *path,int sz) } ERR_add_error_data(4, "dlfcn_pathbyaddr(): ", dlerror()); +#endif return -1; } diff --git a/crypto/md4/Makefile b/crypto/md4/Makefile index ef97bb0cbe..c94a1398ed 100644 --- a/crypto/md4/Makefile +++ b/crypto/md4/Makefile @@ -69,6 +69,7 @@ depend: dclean: $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new mv -f Makefile.new $(MAKEFILE) + rm -f ../../include/openssl/$(EXHEADER) ../../test/$(TEST) ../../apps/$(APPS) clean: rm -f asm/mx86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff -- cgit v1.2.3