summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorulf <ulf>2006-04-11 20:05:04 +0000
committerulf <ulf>2006-04-11 20:05:04 +0000
commitd1ad1f0bddd244582eb2bd12823def34503b04a8 (patch)
tree8048995bcf38f0da9587290df1ffeb70513aefac /crypto
parent0d8ae3335e390ff2d587c75a2952108e8be4803a (diff)
downloadopenssl-d1ad1f0bddd244582eb2bd12823def34503b04a8.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 b6e3f9424..ef4f724f1 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 c5edaec4a..ceeda005f 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 ef97bb0cb..c94a1398e 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