xref: /freebsd/lib/liby/Makefile (revision bbcb8093fe4830508a1f9c7182cc84aed55d34db)
1bbcb8093SGarrett Wollman#	$Id: Makefile,v 1.10 1996/10/08 20:06:22 bde Exp $
258f0484fSRodney W. Grimes
358f0484fSRodney W. GrimesLIB=		y
4bbcb8093SGarrett WollmanINTERNALLIB=	yes		# Do not build or install ${LIB}*.a
5bbcb8093SGarrett WollmanSHLIB_MAJOR=	2
6bbcb8093SGarrett WollmanSHLIB_MINOR=	0
7bbcb8093SGarrett Wollman
858f0484fSRodney W. GrimesSRCS=	main.c yyerror.c
958f0484fSRodney W. Grimes
10bbcb8093SGarrett Wollman#
11bbcb8093SGarrett Wollman# Before complaining about this, please *double-check* that you have
12bbcb8093SGarrett Wollman# updated the ldconfig path in /etc/rc to include /usr/lib/compat that
13bbcb8093SGarrett Wollman# was added in src/etc/rc rev 1.98.
14bbcb8093SGarrett Wollman# This is so that `ld' will not continue to generatebinaries linked
15bbcb8093SGarrett Wollman# shared against liby, so that in a future release we can move this
16bbcb8093SGarrett Wollman# off to a compat dist (like compat22).
17bbcb8093SGarrett Wollman#
18bbcb8093SGarrett Wollmanbeforeinstall:
19bbcb8093SGarrett Wollman	rm -f ${DESTDIR}${ORIG_SHLIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
20bbcb8093SGarrett Wollman
2158f0484fSRodney W. Grimes.include <bsd.lib.mk>
22bbcb8093SGarrett Wollman
23bbcb8093SGarrett Wollman# This must follow the .include in case SHLIBDIR is defined there.
24bbcb8093SGarrett WollmanORIG_SHLIBDIR:=	${SHLIBDIR}
25bbcb8093SGarrett Wollman
26bbcb8093SGarrett Wollman# The ldconfig line in/etc/rc doesn't depend on ${LIBDIR} or ${SHLIBDIR},
27bbcb8093SGarrett Wollman# so neither does this.
28bbcb8093SGarrett WollmanSHLIBDIR=	/usr/lib/compat
29