1 # $FreeBSD: src/lib/liby/Makefile,v 1.7 1999/08/28 00:05:59 peter Exp $
9 .if ${OBJFORMAT} != aout
14 # Before complaining about this, please *double-check* that you have
15 # updated the ldconfig path in /etc/rc to include /usr/lib/compat that
16 # was added in src/etc/rc rev 1.98.
17 # This is so that `ld' will not continue to generate binaries linked
18 # shared against liby, so that in a future release we can move this
19 # off to a compat dist (like compat22).
22 rm -f ${DESTDIR}/usr/lib/compat/lib${LIB}.so \
23 ${DESTDIR}${ORIG_SHLIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
24 ${DESTDIR}/usr/lib/compat/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
25 ${DESTDIR}/usr/lib/compat/lib${LIB}.so.${SHLIB_MAJOR}
29 # This must follow the .include in case SHLIBDIR is defined there.
30 ORIG_SHLIBDIR:= ${SHLIBDIR}
32 .if ${OBJFORMAT} == aout
33 # The ldconfig line in/etc/rc doesn't depend on ${LIBDIR} or ${SHLIBDIR},
34 # so neither does this.
35 SHLIBDIR= /usr/lib/compat/aout