Nuke huge mbuf macros stage 1/2: Remove massive inline mbuf macros to reduce
[dragonfly.git] / lib / liby / Makefile
1 # $FreeBSD: src/lib/liby/Makefile,v 1.7 1999/08/28 00:05:59 peter Exp $
2 # $DragonFly: src/lib/liby/Makefile,v 1.2 2003/06/17 04:26:52 dillon Exp $
3
4 LIB=            y
5 SHLIB_MAJOR=    2
6 SHLIB_MINOR=    0
7
8 SRCS=   main.c yyerror.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 `ld' will not continue to generate binaries linked
19 # shared against liby, so that in a future release we can move this
20 # off to a compat dist (like compat22).
21 #
22 beforeinstall:
23         rm -f ${DESTDIR}/usr/lib/compat/lib${LIB}.so \
24          ${DESTDIR}${ORIG_SHLIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
25          ${DESTDIR}/usr/lib/compat/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
26          ${DESTDIR}/usr/lib/compat/lib${LIB}.so.${SHLIB_MAJOR}
27
28 .include <bsd.lib.mk>
29
30 # This must follow the .include in case SHLIBDIR is defined there.
31 ORIG_SHLIBDIR:= ${SHLIBDIR}
32
33 .if ${OBJFORMAT} == aout
34 # The ldconfig line in/etc/rc doesn't depend on ${LIBDIR} or ${SHLIBDIR},
35 # so neither does this.
36 SHLIBDIR=       /usr/lib/compat/aout
37 .endif