summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2006-04-11 20:05:23 +0000
committerUlf Möller <ulf@openssl.org>2006-04-11 20:05:23 +0000
commit9555339007eb4557be991ce61c1bc33faa05252a (patch)
treee446214a32966a11f6647348fec1c6a459d2e718 /crypto
parent2fbe371f53451ef165331b10006d61e7d77a09c7 (diff)
downloadopenssl-new-9555339007eb4557be991ce61c1bc33faa05252a.tar.gz
improve make dclean to remove files generated during build
PR: 1308 Submitted by: Oliver Tappe <zooey@hirschkaefer.de> Reviewed by: Ulf Moeller
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Makefile1
-rw-r--r--crypto/dso/dso_dlfcn.c2
-rw-r--r--crypto/md4/Makefile1
3 files changed, 4 insertions, 0 deletions
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