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