Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / lib / compat / Makefile.inc
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 $
3
4 # Suck in ${SHLIBDIR} definition.
5 .include <bsd.own.mk>
6
7 .if defined(LIBS) && !empty(LIBS)
8 beforeinstall: __remove-stale-libs
9 __remove-stale-libs: .PHONY
10 .for lib in ${LIBS}
11 .if exists(${DESTDIR}${SHLIBDIR}/${lib})
12         -chflags noschg ${DESTDIR}${SHLIBDIR}/${lib}
13         rm -f ${DESTDIR}${SHLIBDIR}/${lib}
14 .endif
15 .endfor
16 .endif