diff --git a/lib/libgnumalloc/Makefile b/lib/libgnumalloc/Makefile index f461027373cd..ca6b57421dab 100644 --- a/lib/libgnumalloc/Makefile +++ b/lib/libgnumalloc/Makefile @@ -1,7 +1,6 @@ -# $Id: Makefile,v 1.6 1996/09/26 14:22:32 peter Exp $ +# $Id: Makefile,v 1.7 1996/09/27 06:58:03 peter Exp $ LIB= gnumalloc -SHLIBDIR= ${LIBDIR}/compat INTERNALLIB= yes # Do not build or install lib*.a SHLIB_MAJOR= 2 SHLIB_MINOR= 0 @@ -17,7 +16,9 @@ SRCS= cfree.c # you to run programs that were linked with -lgnumalloc (such as XFree86). # beforeinstall: - rm -f ${DESTDIR}${LIBDIR}/libgnumalloc.a - rm -f ${DESTDIR}${LIBDIR}/libgnumalloc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} + rm -f ${DESTDIR}${ORIG_SHLIBDIR}/libgnumalloc.a + rm -f ${DESTDIR}${ORIG_SHLIBDIR}/libgnumalloc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} .include +ORIG_SHLIBDIR:= ${SHLIBDIR} +SHLIBDIR= ${ORIG_SHLIBDIR}/compat diff --git a/lib/libresolv/Makefile b/lib/libresolv/Makefile index 5692b7da555b..c51cde84fec4 100644 --- a/lib/libresolv/Makefile +++ b/lib/libresolv/Makefile @@ -1,7 +1,6 @@ # @(#)Makefile 8.1 (Berkeley) 6/4/93 LIB= resolv -SHLIBDIR= ${LIBDIR}/compat INTERNALLIB= yes # Do not build or install libresolv*.a SHLIB_MAJOR= 2 SHLIB_MINOR= 0 @@ -19,7 +18,9 @@ SRCS= fakelib.c # libresolv on FreeBSD-2.x **never did anything**!! # beforeinstall: - rm -f ${DESTDIR}${LIBDIR}/libresolv.a - rm -f ${DESTDIR}${LIBDIR}/libresolv.so.${SHLIB_MAJOR}.${SHLIB_MINOR} + rm -f ${DESTDIR}${ORIG_SHLIBDIR}/libresolv.a + rm -f ${DESTDIR}${ORIG_SHLIBDIR}/libresolv.so.${SHLIB_MAJOR}.${SHLIB_MINOR} .include +ORIG_SHLIBDIR:= ${SHLIBDIR} +SHLIBDIR= ${ORIG_SHLIBDIR}/compat