freebsd-dev/lib/libgnumalloc/Makefile
Peter Wemm b2419d6fe2 Remove the nuke of /usr/lib/libgnumalloc*, this is closer to "How It Was
Before", hopefully it won't cause as much hassle.  This now entirely
confines it's activities to /usr/lib/compat/lib{fake,}gnumalloc.so.2.0
1996-09-26 14:22:32 +00:00

21 lines
550 B
Makefile

# $Id: Makefile,v 1.5 1996/09/19 09:36:43 peter Exp $
LIB= fakegnumalloc
SHLIBDIR= ${LIBDIR}/compat
INTERNALLIB= yes # Do not build or install lib*.a
SHLIB_MAJOR= 2
SHLIB_MINOR= 0
SRCS= fakegnumalloc.c
afterinstall:
for i in ${DESTDIR}/var/db/pkg/gnumalloc* ; do \
if [ -d $$i ] ; then exit 0 ; fi ; \
done && \
( cd ${DESTDIR}${SHLIBDIR} && \
rm -f libgnumalloc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} && \
ln -fs libfakegnumalloc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
libgnumalloc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} )
.include <bsd.lib.mk>