Sync usage with man page.
[netbsd-mini2440.git] / dist / smbfs / lib / smb / Makefile
blob5082d61150421db2ea5f5c6d25d2ba046a7f37f1
1 # from: Id: Makefile,v 1.12 2001/04/16 14:27:35 bp Exp
3 LIB= smb
5 NOPROFILE= yes
7 #SHLIB_MAJOR= 1
8 #SHLIB_MINOR= 0
10 NOMAN=
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
17 .ifmake !clean && !cleandepend
18 .if !defined(PREFIX)
19 .include "../../config.int"
20 .endif
21 .endif
23 DESTDIR=${PREFIX}/
24 LIBDIR=lib
26 .if !defined(USE_SHAREDLIBS)
27 NOPIC= yes
28 .endif
30 install-src: install-lib
32 deinstall-src: deinstall-lib
34 .include <bsd.lib.mk>
36 install-lib: afterinstall _SUBDIR
37 .if !defined(NOMAN)
38 afterinstall: realinstall maninstall
39 .else
40 afterinstall: realinstall
41 .endif
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