summaryrefslogtreecommitdiff
path: root/secure/lib/libcrypt/Makefile
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2000-07-26 21:12:35 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2000-07-26 21:12:35 +0000
commit7f1bf9342879a7ee2dd88e11a33ae7509eab55b0 (patch)
treea37e562f560b38e8e087a744d063186d6b1e6746 /secure/lib/libcrypt/Makefile
parenta964be6d2c35243e54bf5ce12c15339d331189cb (diff)
Diffstat (limited to 'secure/lib/libcrypt/Makefile')
-rw-r--r--secure/lib/libcrypt/Makefile72
1 files changed, 0 insertions, 72 deletions
diff --git a/secure/lib/libcrypt/Makefile b/secure/lib/libcrypt/Makefile
deleted file mode 100644
index 0721f5548cd1..000000000000
--- a/secure/lib/libcrypt/Makefile
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# $FreeBSD$
-#
-
-SHLIB_MAJOR= 2
-LIB= descrypt
-
-LCRYPTBASE= libcrypt
-LSCRYPTBASE= lib${LIB}
-
-LCRYPTSO= ${LCRYPTBASE}.so.${SHLIB_MAJOR}
-LSCRYPTSO= ${LSCRYPTBASE}.so.${SHLIB_MAJOR}
-
-.if ${OBJFORMAT} == elf
-SONAME= ${LCRYPTSO}
-.endif
-
-.PATH: ${.CURDIR}/../../../lib/libmd ${.CURDIR}/../../../lib/libcrypt
-SRCS= crypt.c crypt-md5.c misc.c
-STATICSRCS= md5c.c
-STATICOBJS= ${STATICSRCS:S/.c/.o/g}
-SRCS+= crypt-des.c
-MAN3= crypt.3
-CFLAGS+= -I${.CURDIR}/../../../lib/libmd
-CFLAGS+= -I${.CURDIR}/../../../lib/libcrypt
-CFLAGS+= -DNONEXPORTABLE_CRYPT
-CFLAGS+= -DLIBC_SCCS -Wall
-PRECIOUSLIB= yes
-
-# Include this early to pick up the definitions of SHLIB_MAJOR and
-# SHLIB_MINOR which are used in the existence tests.
-.include "${.CURDIR}/../../../lib/Makefile.inc"
-
-# We only install the links if they do not already exist.
-# This may have to be revised
-.if !exists(${DESTDIR}${LIBDIR}/${LCRYPTBASE}.a)
-SYMLINKS+= ${LSCRYPTBASE}.a ${LIBDIR}/${LCRYPTBASE}.a
-.endif
-.if !defined(NOPROFILE) && !exists(${DESTDIR}${LIBDIR}/${LCRYPTBASE}_p.a)
-SYMLINKS+= ${LSCRYPTBASE}_p.a ${LIBDIR}/${LCRYPTBASE}_p.a
-.endif
-.if !defined(NOPIC) && !exists(${DESTDIR}${SHLIBDIR}/${LCRYPTSO})
-SYMLINKS+= ${LSCRYPTSO} ${SHLIBDIR}/${LCRYPTSO}
-.endif
-.if !defined(NOPIC) && ${OBJFORMAT} == elf && \
- !exists(${DESTDIR}${SHLIBDIR}/${LCRYPTBASE}.so)
-SYMLINKS+= ${LSCRYPTBASE}.so ${SHLIBDIR}/${LCRYPTBASE}.so
-.endif
-
-.include <bsd.lib.mk>
-
-afterinstall:
-.if !defined(NODESCRYPTLINKS)
-.if !defined(NOPIC)
- @cd ${DESTDIR}${SHLIBDIR}; \
- rm -f ${LCRYPTSO}; \
- ln -sf ${LSCRYPTSO} ${LCRYPTSO};
-.endif
-.if !defined(NOPIC) && ${OBJFORMAT} == elf
- @cd ${DESTDIR}${SHLIBDIR}; \
- rm -f ${LCRYPTBASE}.so; \
- ln -sf ${LSCRYPTBASE}.so libcrypt.so
-.endif
- @cd ${DESTDIR}${LIBDIR}; \
- rm -f ${LCRYPTBASE}.a; \
- ln -sf ${LSCRYPTBASE}.a libcrypt.a
-.if !defined(NOPROFILE)
- @cd ${DESTDIR}${LIBDIR}; \
- rm -f ${LCRYPTBASE}_p.a; \
- ln -sf ${LSCRYPTBASE}_p.a libcrypt_p.a
-.endif
-.endif