14 lines
267 B
Makefile
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
|