]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libresolv/Makefile
This commit was generated by cvs2svn to compensate for changes in r34739,
[FreeBSD/FreeBSD.git] / lib / libresolv / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 6/4/93
2
3 LIB=            resolv
4 INTERNALLIB=    yes             # Do not build or install ${LIB}*.a
5 SHLIB_MAJOR=    2
6 SHLIB_MINOR=    0
7
8 SRCS=   fakelib.c
9
10 #
11 # Before complaining about this, please *double-check* that you have
12 # updated the ldconfig path in /etc/rc to include /usr/lib/compat that
13 # was added in src/etc/rc rev 1.98.
14 # This is so that programs that use autoconf will not "detect" -lresolv
15 # and continue to propagate the bogosity.  The ldconfig path fix will
16 # enable you to run programs that were linked with -lresolv.
17 #
18 # libresolv on FreeBSD-2.x **never did anything**!!
19 #
20 beforeinstall:
21         rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.a \
22           ${DESTDIR}${LIBDIR}/lib${LIB}_p.a \
23           ${DESTDIR}${ORIG_SHLIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
24
25 .include <bsd.lib.mk>
26
27 # This must follow the .include in case SHLIBDIR is defined there.
28 ORIG_SHLIBDIR:= ${SHLIBDIR}
29
30 # The ldconfig line in/etc/rc doesn't depend on ${LIBDIR} or ${SHLIBDIR},
31 # so neither does this.
32 SHLIBDIR=       /usr/lib/compat