diff -Naur axTLS.orig//Makefile axTLS/Makefile --- axTLS.orig//Makefile 2011-01-07 08:16:40.000000000 -0500 +++ axTLS/Makefile 2012-06-17 16:55:04.000000000 -0400 @@ -60,6 +60,8 @@ $(MAKE) -C samples endif +LIBDIR = $(PREFIX)/lib + $(STAGE) : ssl/version.h @mkdir -p $(STAGE) @@ -68,7 +70,7 @@ @echo "#define AXTLS_VERSION \"(no version)\"" > ssl/version.h $(PREFIX) : - @mkdir -p $(PREFIX)/lib + @mkdir -p $(LIBDIR) @mkdir -p $(PREFIX)/bin release: @@ -89,8 +91,8 @@ $(MAKE) win32releaseconf install: $(PREFIX) all - cp --no-dereference $(STAGE)/libax* $(PREFIX)/lib - chmod 755 $(PREFIX)/lib/libax* + cp --no-dereference $(STAGE)/libax* $(LIBDIR) + chmod 755 $(LIBDIR)/libax* ifdef CONFIG_SAMPLES install -m 755 $(STAGE)/ax* $(PREFIX)/bin endif @@ -112,7 +114,7 @@ install -m 644 config/config.h $(PREFIX)/include/axTLS installclean: - -@rm $(PREFIX)/lib/libax* > /dev/null 2>&1 + -@rm $(LIBDIR)/libax* > /dev/null 2>&1 -@rm $(PREFIX)/bin/ax* > /dev/null 2>&1 -@rm $(PREFIX)/bin/axhttpd* > /dev/null 2>&1 -@rm `perl -e 'use Config; print $$Config{installarchlib};'`/axtlsp.pm > /dev/null 2>&1