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