1 # $FreeBSD: src/lib/compat/Makefile.inc,v 1.6.2.2 2002/07/17 19:08:24 ru Exp $
2 # $DragonFly: src/lib/compat/Attic/Makefile.inc,v 1.2 2003/06/17 04:26:40 dillon Exp $
4 # Suck in ${SHLIBDIR} definition.
7 .if defined(LIBS) && !empty(LIBS)
8 beforeinstall: __remove-stale-libs
9 __remove-stale-libs: .PHONY
11 .if exists(${DESTDIR}${SHLIBDIR}/${lib})
12 -chflags noschg ${DESTDIR}${SHLIBDIR}/${lib}
13 rm -f ${DESTDIR}${SHLIBDIR}/${lib}