an, awi, cue and kue don't use the miibus interface.
[dragonfly.git] / contrib / smbfs / lib / smb / Makefile
1 # $Id: Makefile,v 1.12 2001/04/16 14:27:35 bp Exp $
2
3 LIB=            smb
4
5 NOPROFILE=      yes
6
7 #SHLIB_MAJOR=   1
8 #SHLIB_MINOR=   0
9
10 NOMAN=
11
12 SRCS=   rcfile.c ctx.c cfopt.c subr.c nls.c rap.c mbuf.c rq.c file.c \
13         print.c \
14         kiconv.c \
15         nb.c nb_name.c nb_net.c nbns_rq.c
16
17 .ifmake !clean && !cleandepend
18 .if !defined(PREFIX)
19 .include "../../config.int"
20 .endif
21 .endif
22
23 DESTDIR=${PREFIX}/
24 LIBDIR=lib
25
26 .if !defined(USE_SHAREDLIBS)
27 NOPIC=          yes
28 .endif
29
30 install-src: install-lib
31
32 deinstall-src: deinstall-lib
33
34 .include <bsd.lib.mk>
35
36 install-lib: afterinstall _SUBDIR
37 .if !defined(NOMAN)
38 afterinstall: realinstall maninstall
39 .else
40 afterinstall: realinstall
41 .endif
42
43 deinstall-lib:
44         rm -f ${DESTDIR}/${LIBDIR}/lib${LIB}.a 
45 .if defined(SHLIB_NAME)
46         rm -f ${DESTDIR}/${SHLIBDIR}/${SHLIB_NAME}
47 .endif
48 .if defined(SHLIB_LINK)
49         rm -f ${DESTDIR}/${SHLIBDIR}/${SHLIB_LINK}
50 .endif