]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libresolv/Makefile
This commit was generated by cvs2svn to compensate for changes in r75147,
[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 .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" -lresolv
19 # and continue to propagate the bogosity.  The ldconfig path fix will
20 # enable you to run programs that were linked with -lresolv.
21 #
22 # libresolv on FreeBSD-2.x **never did anything**!!
23 #
24 beforeinstall:
25         rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.a \
26          ${DESTDIR}${LIBDIR}/lib${LIB}_p.a \
27          ${DESTDIR}${ORIG_SHLIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
28          ${DESTDIR}/usr/lib/compat/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
29          ${DESTDIR}/usr/lib/compat/lib${LIB}.so.${SHLIB_MAJOR} \
30          ${DESTDIR}/usr/lib/compat/lib${LIB}.so
31
32 .include <bsd.lib.mk>
33
34 # This must follow the .include in case SHLIBDIR is defined there.
35 ORIG_SHLIBDIR:= ${SHLIBDIR}
36
37 # The ldconfig line in/etc/rc doesn't depend on ${LIBDIR} or ${SHLIBDIR},
38 # so neither does this.
39 SHLIBDIR=       /usr/lib/compat/aout