Makefile revision 21673
1#	$FreeBSD: head/lib/liby/Makefile 21673 1997-01-14 07:20:47Z jkh $
2
3LIB=		y
4SHLIB_MAJOR=	2
5SHLIB_MINOR=	0
6
7SRCS=	main.c yyerror.c
8
9#
10# Before complaining about this, please *double-check* that you have
11# updated the ldconfig path in /etc/rc to include /usr/lib/compat that
12# was added in src/etc/rc rev 1.98.
13# This is so that `ld' will not continue to generatebinaries linked
14# shared against liby, so that in a future release we can move this
15# off to a compat dist (like compat22).
16#
17beforeinstall:
18	rm -f ${DESTDIR}${ORIG_SHLIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
19
20.include <bsd.lib.mk>
21
22# This must follow the .include in case SHLIBDIR is defined there.
23ORIG_SHLIBDIR:=	${SHLIBDIR}
24
25# The ldconfig line in/etc/rc doesn't depend on ${LIBDIR} or ${SHLIBDIR},
26# so neither does this.
27SHLIBDIR=	/usr/lib/compat
28