head	1.7;
access;
symbols;
locks; strict;
comment	@# @;


1.7
date	96.09.27.07.21.07;	author peter;	state dead;
branches;
next	1.6;

1.6
date	96.09.26.14.22.32;	author peter;	state Exp;
branches;
next	1.5;

1.5
date	96.09.19.09.36.43;	author peter;	state Exp;
branches;
next	1.4;

1.4
date	96.09.02.13.15.00;	author phk;	state Exp;
branches;
next	1.3;

1.3
date	96.08.30.01.08.03;	author peter;	state Exp;
branches;
next	1.2;

1.2
date	96.02.12.12.40.04;	author phk;	state Exp;
branches;
next	1.1;

1.1
date	96.02.11.18.12.41;	author phk;	state Exp;
branches;
next	;


desc
@@


1.7
log
@These were repository copied.
@
text
@#	$Id: Makefile,v 1.6 1996/09/26 14:22:32 peter Exp peter $

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>
@


1.6
log
@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
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.5 1996/09/19 09:36:43 peter Exp $
@


1.5
log
@Minor tweaks for the fake libgnumalloc stuff.  No longer build, install and
then rm the *.a version
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.4 1996/09/02 13:15:00 phk Exp $
a11 2
	rm -f ${DESTDIR}${LIBDIR}/libgnumalloc*
	rm -f ${DESTDIR}${SHLIBDIR}/libgnumalloc*
d16 1
@


1.4
log
@Add cfree,
Move to usr/lib/compat
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.3 1996/08/30 01:08:03 peter Exp $
d3 3
a5 2
LIB=	fakegnumalloc
LIBDIR=	/usr/lib/compat
d8 1
a9 1
NOMAN=	1
d12 2
a13 1
	rm -f ${DESTDIR}${LIBDIR}/libfakegnumalloc*.a
a17 1
	  rm -f libgnumalloc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} && \
@


1.3
log
@Add a missing ${ on a make variable..
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.2 1996/02/12 12:40:04 phk Exp $
d4 1
@


1.2
log
@Some fixes:
- shared libraries are in ${SHLIBDIR}, not necessarily in ${LIBDIR}.
- don't remove or create any shared library versions except 2.0.

and improvements:
- don't use rm -r.
- indent the long shell command.

Submitted by:	bde
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.1 1996/02/11 18:12:41 phk Exp $
d15 1
a15 1
	  rm -f libgnumalloc.so.SHLIB_MAJOR}.${SHLIB_MINOR} && \
@


1.1
log
@Make a scaffold libgnumalloc.so.#.# unless there is a packeage called
"gnumalloc*"
@
text
@d1 1
a1 1
#	$Id$
d4 2
d11 7
a17 6
	for i in ${DESTDIR}/var/db/pkg/gnumalloc* ; \
	do if [ -d $$i ] ; then exit 0 ; fi ; done && \
	( cd ${DESTDIR}${LIBDIR} && \
	rm -rf libgnumalloc* && \
	ln -fs libfakegnumalloc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	libgnumalloc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} )
@
