1996-02-12 12:40:04 +00:00
|
|
|
# $Id: Makefile,v 1.1 1996/02/11 18:12:41 phk Exp $
|
1996-02-11 18:12:42 +00:00
|
|
|
|
|
|
|
LIB= fakegnumalloc
|
1996-02-12 12:40:04 +00:00
|
|
|
SHLIB_MAJOR= 2
|
|
|
|
SHLIB_MINOR= 0
|
1996-02-11 18:12:42 +00:00
|
|
|
SRCS= fakegnumalloc.c
|
|
|
|
NOMAN= 1
|
|
|
|
|
|
|
|
afterinstall:
|
|
|
|
rm -f ${DESTDIR}${LIBDIR}/libfakegnumalloc*.a
|
1996-02-12 12:40:04 +00:00
|
|
|
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} )
|
1996-02-11 18:12:42 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|