b7bc7f6885
Move to usr/lib/compat
21 lines
550 B
Makefile
21 lines
550 B
Makefile
# $Id: Makefile,v 1.3 1996/08/30 01:08:03 peter Exp $
|
|
|
|
LIB= fakegnumalloc
|
|
LIBDIR= /usr/lib/compat
|
|
SHLIB_MAJOR= 2
|
|
SHLIB_MINOR= 0
|
|
SRCS= fakegnumalloc.c
|
|
NOMAN= 1
|
|
|
|
afterinstall:
|
|
rm -f ${DESTDIR}${LIBDIR}/libfakegnumalloc*.a
|
|
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>
|