diff options
| author | miod <> | 2014-04-11 22:51:54 +0000 |
|---|---|---|
| committer | miod <> | 2014-04-11 22:51:54 +0000 |
| commit | e4e5cfce71aea090d747d436ab48c4717f78c97c (patch) | |
| tree | afd4b98775fa2752df82417abdf319a3af0bb439 /src/lib/libcrypto/Makefile | |
| parent | 3c70ae462fc747402d562cd98a2825922441cdda (diff) | |
| download | openbsd-e4e5cfce71aea090d747d436ab48c4717f78c97c.tar.gz openbsd-e4e5cfce71aea090d747d436ab48c4717f78c97c.tar.bz2 openbsd-e4e5cfce71aea090d747d436ab48c4717f78c97c.zip | |
Move build machinery for libcrypto from libssl/crypto to libcrypto, as well
as configuration files; split manpages and .pc files between libcrypto and
libssl.
No functional change, only there to make engineering easier, and libcrypto
sources are still found in libssl/src/crypto at the moment.
ok reyk@, also discussed with deraadt@ beck@ and the usual crypto suspects.
Diffstat (limited to 'src/lib/libcrypto/Makefile')
| -rw-r--r-- | src/lib/libcrypto/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile new file mode 100644 index 0000000000..c0496ca2d1 --- /dev/null +++ b/src/lib/libcrypto/Makefile | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.1 2014/04/11 22:51:53 miod Exp $ | ||
| 2 | |||
| 3 | SUBDIR=crypto man | ||
| 4 | PC_FILES=libcrypto.pc | ||
| 5 | |||
| 6 | CLEANFILES=${PC_FILES} | ||
| 7 | |||
| 8 | distribution: | ||
| 9 | ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \ | ||
| 10 | ${.CURDIR}/openssl.cnf ${DESTDIR}/etc/ssl/openssl.cnf && \ | ||
| 11 | ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \ | ||
| 12 | ${.CURDIR}/cert.pem ${DESTDIR}/etc/ssl/cert.pem && \ | ||
| 13 | ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \ | ||
| 14 | ${.CURDIR}/x509v3.cnf ${DESTDIR}/etc/ssl/x509v3.cnf | ||
| 15 | |||
| 16 | beforeinstall: | ||
| 17 | /bin/sh ${.CURDIR}/generate_pkgconfig.sh -c ${.CURDIR} -o ${.OBJDIR} | ||
| 18 | .for p in ${PC_FILES} | ||
| 19 | ${INSTALL} ${INSTALL_COPY} -o root -g ${SHAREGRP} \ | ||
| 20 | -m ${SHAREMODE} ${.OBJDIR}/$p ${DESTDIR}/usr/lib/pkgconfig/ | ||
| 21 | .endfor | ||
| 22 | |||
| 23 | .include <bsd.prog.mk> | ||
| 24 | .include <bsd.subdir.mk> | ||
