From bac8d0a67116de0c25ac12e4108dadcfe19ed7ed Mon Sep 17 00:00:00 2001 From: ru Date: Mon, 13 May 2002 09:01:18 +0000 Subject: 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. --- lib/libgnumalloc/Makefile | 37 ------------------------------------- lib/libgnumalloc/cfree.c | 12 ------------ 2 files changed, 49 deletions(-) delete mode 100644 lib/libgnumalloc/Makefile delete mode 100644 lib/libgnumalloc/cfree.c (limited to 'lib/libgnumalloc') 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 - -# 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 -__FBSDID("$FreeBSD$"); - -void -cfree(void *foo) -{ - free(foo); -} -- cgit v1.1