summaryrefslogtreecommitdiffstats
path: root/lib/libgnumalloc/Makefile
blob: 01fca5686f518659352abc6e3c0c32129bc252d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$Id: Makefile,v 1.2 1996/02/12 12:40:04 phk Exp $

LIB=	fakegnumalloc
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>
OpenPOWER on IntegriCloud