freebsd-dev/lib/compat/Makefile.inc

14 lines
267 B
Makefile

# $FreeBSD$
LIBCOMPATDIR?= ${LIBDIR}/compat/aout
.if defined(LIBS) && !empty(LIBS)
beforeinstall: __remove-stale-libs
__remove-stale-libs: .PHONY
.for lib in ${LIBS}
.if exists(${DESTDIR}${SHLIBDIR}/${lib})
rm -f ${DESTDIR}${SHLIBDIR}/${lib}
.endif
.endfor
.endif