diff options
Diffstat (limited to 'src/lib/libssl/Makefile.bsd-wrapper')
-rw-r--r-- | src/lib/libssl/Makefile.bsd-wrapper | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/src/lib/libssl/Makefile.bsd-wrapper b/src/lib/libssl/Makefile.bsd-wrapper index 0ca56f83db..0b37f1d31e 100644 --- a/src/lib/libssl/Makefile.bsd-wrapper +++ b/src/lib/libssl/Makefile.bsd-wrapper | |||
@@ -1,5 +1,5 @@ | |||
1 | # Build wrapper for OpenSSL | 1 | # Build wrapper for OpenSSL |
2 | # $OpenBSD: Makefile.bsd-wrapper,v 1.43 2002/02/23 23:54:47 hugh Exp $ | 2 | # $OpenBSD: Makefile.bsd-wrapper,v 1.44 2002/05/15 01:48:54 beck Exp $ |
3 | 3 | ||
4 | # Our lndir is hacked; specify a full path to avoid potential conflicts | 4 | # Our lndir is hacked; specify a full path to avoid potential conflicts |
5 | # with the one installed with X11. | 5 | # with the one installed with X11. |
@@ -645,7 +645,7 @@ maninstall: | |||
645 | .endif | 645 | .endif |
646 | 646 | ||
647 | # XXX .PATH order is critical because of non-unique filenames | 647 | # XXX .PATH order is critical because of non-unique filenames |
648 | .PATH: ${.CURDIR}/src/doc/crypto ${.CURDIR}/src/doc/ssl ${.CURDIR}/src/doc/apps | 648 | .PATH: ${.CURDIR}/openssl/doc/crypto ${.CURDIR}/openssl/doc/ssl ${.CURDIR}/openssl/doc/apps |
649 | .SUFFIXES: .pod | 649 | .SUFFIXES: .pod |
650 | .pod.cat3: | 650 | .pod.cat3: |
651 | ( cd `dirname ${.ALLSRC}` && pod2man --section=3 --official \ | 651 | ( cd `dirname ${.ALLSRC}` && pod2man --section=3 --official \ |
@@ -673,12 +673,13 @@ maninstall: | |||
673 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ | 673 | --center='OpenSSL' --release="OpenBSD `uname -r`" \ |
674 | `basename ${.ALLSRC}` ) | nroff -Tps -man > ${.TARGET} | 674 | `basename ${.ALLSRC}` ) | nroff -Tps -man > ${.TARGET} |
675 | 675 | ||
676 | SSL_SRC=src | 676 | SSL_SRC=openssl |
677 | 677 | ||
678 | all: prereq ${MANALL} ${PSALL} | 678 | all: prereq ${MANALL} ${PSALL} |
679 | # egcs bombs optimising this file on vax | 679 | # egcs bombs optimising this file on vax |
680 | .if (${MACHINE_ARCH} == "vax") | 680 | .if (${MACHINE_ARCH} == "vax") |
681 | cd ${.OBJDIR}/crypto && CFLAGS=-O0 ${MAKE} a_strnid.o a_strnid.po | 681 | cd ${.OBJDIR}/crypto && CFLAGS=-O0 ${MAKE} a_strnid.o a_strnid.po |
682 | cd ${.OBJDIR}/crypto && CFLAGS=-O1 ${MAKE} des_enc.o des_enc.po | ||
682 | .endif | 683 | .endif |
683 | @cd ${.OBJDIR} && ${MAKE} | 684 | @cd ${.OBJDIR} && ${MAKE} |
684 | 685 | ||
@@ -690,13 +691,13 @@ prereq: ${.OBJDIR}/${SSL_SRC}/Makefile.ssl ${.OBJDIR}/${SSL_SRC}/crypto/objects/ | |||
690 | install: maninstall | 691 | install: maninstall |
691 | @cd ${.OBJDIR} && ${MAKE} install | 692 | @cd ${.OBJDIR} && ${MAKE} install |
692 | 693 | ||
693 | #${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.h: ${.OBJDIR}/${SSL_SRC}/crypto/objects/objects.h | 694 | ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.h: ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_mac.h |
694 | # /usr/bin/perl ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.pl ${.OBJDIR}/${SSL_SRC}/crypto/objects/objects.h ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.h | 695 | /usr/bin/perl ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.pl ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_mac.h ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.h |
695 | # Stupid ssl 0.9.6 fucks this up completely, won't even build if you | 696 | # Stupid ssl 0.9.6 fucks this up completely, won't even build if you |
696 | # try to regenerate obj_dat.h - even with a stock distrib. | 697 | # try to regenerate obj_dat.h - even with a stock distrib. |
697 | ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.h: ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.h.src | 698 | #${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.h: ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.h.src |
698 | @cp ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.h.src \ | 699 | # @cp ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.h.src \ |
699 | ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.h | 700 | # ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.h |
700 | 701 | ||
701 | ${.OBJDIR}/${SSL_SRC}/Makefile.ssl : ${.OBJDIR}/${SSL_SRC}/Makefile.org | 702 | ${.OBJDIR}/${SSL_SRC}/Makefile.ssl : ${.OBJDIR}/${SSL_SRC}/Makefile.org |
702 | @cd ${.OBJDIR}/${SSL_SRC} && /usr/bin/perl Configure ${SSLCONF} | 703 | @cd ${.OBJDIR}/${SSL_SRC} && /usr/bin/perl Configure ${SSLCONF} |
@@ -706,11 +707,16 @@ ${.OBJDIR}/${SSL_SRC}/Makefile.org: ${.CURDIR}/${SSL_SRC}/Makefile.org | |||
706 | @${LNDIR} -s -e obj -e obj.${MACHINE_ARCH} -e Makefile.bsd-wrapper ${.CURDIR} | 707 | @${LNDIR} -s -e obj -e obj.${MACHINE_ARCH} -e Makefile.bsd-wrapper ${.CURDIR} |
707 | .endif | 708 | .endif |
708 | 709 | ||
710 | |||
711 | .if ${.OBJDIR} == ${.CURDIR} | ||
712 | clean: prereq | ||
713 | @cd ${.OBJDIR} && ${MAKE} clean && rm -f ${MUNGEDFILES} | ||
714 | .else | ||
709 | clean: | 715 | clean: |
710 | @cd ${.OBJDIR} && ${MAKE} clean | 716 | @cd ${.OBJDIR} && find . \! -type d -print | xargs rm |
717 | .endif | ||
711 | 718 | ||
712 | cleandir: clean | 719 | cleandir: clean |
713 | @cd ${.OBJDIR} && rm -f ${MUNGEDFILES} | ||
714 | 720 | ||
715 | test: | 721 | test: |
716 | # Nothing here so far... | 722 | # Nothing here so far... |