summaryrefslogtreecommitdiffstats
path: root/lib/libgnumalloc
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-05-13 09:01:18 +0000
committerru <ru@FreeBSD.org>2002-05-13 09:01:18 +0000
commitbac8d0a67116de0c25ac12e4108dadcfe19ed7ed (patch)
treee13dc1eac77309e70c6ff2722120984b1d95b203 /lib/libgnumalloc
parentacacba0daef36d9c57a4c506503e5dc80cc984e4 (diff)
downloadFreeBSD-src-bac8d0a67116de0c25ac12e4108dadcfe19ed7ed.zip
FreeBSD-src-bac8d0a67116de0c25ac12e4108dadcfe19ed7ed.tar.gz
Removed the a.out compatibility cruft.
libgnumalloc.so.2 and libresolv.so.2 should be put under lib/compat/compat2?/ but I don't have the 2.x releases.
Diffstat (limited to 'lib/libgnumalloc')
-rw-r--r--lib/libgnumalloc/Makefile37
-rw-r--r--lib/libgnumalloc/cfree.c12
2 files changed, 0 insertions, 49 deletions
diff --git a/lib/libgnumalloc/Makefile b/lib/libgnumalloc/Makefile
deleted file mode 100644
index 8201a84..0000000
--- a/lib/libgnumalloc/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# $FreeBSD$
-
-LIB= gnumalloc
-INTERNALLIB= yes # Do not build or install ${LIB}*.a
-SHLIB_MAJOR= 2
-SHLIB_MINOR= 0
-
-SRCS= cfree.c
-
-.if ${OBJFORMAT} != aout
-NOPIC= true
-.endif
-
-#
-# Before complaining about this, please *double-check* that you have
-# updated the ldconfig path in /etc/rc to include /usr/lib/compat that
-# was added in src/etc/rc rev 1.98.
-# This is so that programs that use autoconf will not "detect" -lgnumalloc
-# and continue to propagate the bogosity. The ldconfig path fix will enable
-# you to run programs that were linked with -lgnumalloc (such as XFree86).
-#
-beforeinstall:
- -rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.a \
- ${DESTDIR}${LIBDIR}/lib${LIB}_p.a \
- ${DESTDIR}${ORIG_SHLIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
- ${DESTDIR}/usr/lib/compat/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
- ${DESTDIR}/usr/lib/compat/lib${LIB}.so.${SHLIB_MAJOR} \
- ${DESTDIR}/usr/lib/compat/lib${LIB}.so \
-
-.include <bsd.lib.mk>
-
-# This must follow the .include in case SHLIBDIR is defined there.
-ORIG_SHLIBDIR:= ${SHLIBDIR}
-
-# The ldconfig line in/etc/rc doesn't depend on ${LIBDIR} or ${SHLIBDIR},
-# so neither does this.
-SHLIBDIR= /usr/lib/compat/aout
diff --git a/lib/libgnumalloc/cfree.c b/lib/libgnumalloc/cfree.c
deleted file mode 100644
index e570228..0000000
--- a/lib/libgnumalloc/cfree.c
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
- * cfree.c
- */
-
-#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
-
-void
-cfree(void *foo)
-{
- free(foo);
-}
OpenPOWER on IntegriCloud