]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libgnumalloc/Makefile
This commit was generated by cvs2svn to compensate for changes in r49187,
[FreeBSD/FreeBSD.git] / lib / libgnumalloc / Makefile
1 #       $Id: Makefile,v 1.12 1997/02/22 15:06:55 peter Exp $
2
3 LIB=            gnumalloc
4 INTERNALLIB=    yes             # Do not build or install ${LIB}*.a
5 SHLIB_MAJOR=    2
6 SHLIB_MINOR=    0
7
8 SRCS=   cfree.c
9
10 .if ${OBJFORMAT} != aout
11 NOPIC=          true
12 .endif
13
14 #
15 # Before complaining about this, please *double-check* that you have
16 # updated the ldconfig path in /etc/rc to include /usr/lib/compat that
17 # was added in src/etc/rc rev 1.98.
18 # This is so that programs that use autoconf will not "detect" -lgnumalloc
19 # and continue to propagate the bogosity.  The ldconfig path fix will enable
20 # you to run programs that were linked with -lgnumalloc (such as XFree86).
21 #
22 beforeinstall:
23         rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.a \
24          ${DESTDIR}${LIBDIR}/lib${LIB}_p.a \
25          ${DESTDIR}${ORIG_SHLIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
26          ${DESTDIR}/usr/lib/compat/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
27          ${DESTDIR}/usr/lib/compat/lib${LIB}.so.${SHLIB_MAJOR} \
28          ${DESTDIR}/usr/lib/compat/lib${LIB}.so \
29
30 .include <bsd.lib.mk>
31
32 # This must follow the .include in case SHLIBDIR is defined there.
33 ORIG_SHLIBDIR:= ${SHLIBDIR}
34
35 # The ldconfig line in/etc/rc doesn't depend on ${LIBDIR} or ${SHLIBDIR},
36 # so neither does this.
37 SHLIBDIR=       /usr/lib/compat/aout