summaryrefslogtreecommitdiffstats
path: root/lib/libgnumalloc/Makefile
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-09-19 09:36:43 +0000
committerpeter <peter@FreeBSD.org>1996-09-19 09:36:43 +0000
commit6becb94fb2a43332045f31a2ae63d4287709cb0e (patch)
tree231c53987b7f752b5394fc05a7854276a483628c /lib/libgnumalloc/Makefile
parent421d9828c9a2e9cb663c417c4d0dd5721678937a (diff)
downloadFreeBSD-src-6becb94fb2a43332045f31a2ae63d4287709cb0e.zip
FreeBSD-src-6becb94fb2a43332045f31a2ae63d4287709cb0e.tar.gz
Minor tweaks for the fake libgnumalloc stuff. No longer build, install and
then rm the *.a version
Diffstat (limited to 'lib/libgnumalloc/Makefile')
-rw-r--r--lib/libgnumalloc/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/libgnumalloc/Makefile b/lib/libgnumalloc/Makefile
index 98573e7..967f691 100644
--- a/lib/libgnumalloc/Makefile
+++ b/lib/libgnumalloc/Makefile
@@ -1,19 +1,20 @@
-# $Id: Makefile,v 1.3 1996/08/30 01:08:03 peter Exp $
+# $Id: Makefile,v 1.4 1996/09/02 13:15:00 phk Exp $
-LIB= fakegnumalloc
-LIBDIR= /usr/lib/compat
+LIB= fakegnumalloc
+SHLIBDIR= ${LIBDIR}/compat
+INTERNALLIB= yes # Do not build or install lib*.a
SHLIB_MAJOR= 2
SHLIB_MINOR= 0
+
SRCS= fakegnumalloc.c
-NOMAN= 1
afterinstall:
- rm -f ${DESTDIR}${LIBDIR}/libfakegnumalloc*.a
+ rm -f ${DESTDIR}${LIBDIR}/libgnumalloc*
+ rm -f ${DESTDIR}${SHLIBDIR}/libgnumalloc*
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} )
OpenPOWER on IntegriCloud