1# $Id: Makefile,v 1.12 2001/04/16 14:27:35 bp Exp $ 2 3LIB= smb 4 5NOPROFILE= yes 6 7#SHLIB_MAJOR= 1 8#SHLIB_MINOR= 0 9 10NOMAN= 11 12SRCS= 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 23DESTDIR=${PREFIX}/ 24LIBDIR=lib 25 26.if !defined(USE_SHAREDLIBS) 27NOPIC= yes 28.endif 29 30install-src: install-lib 31 32deinstall-src: deinstall-lib 33 34.include <bsd.lib.mk> 35 36install-lib: afterinstall _SUBDIR 37.if !defined(NOMAN) 38afterinstall: realinstall maninstall 39.else 40afterinstall: realinstall 41.endif 42 43deinstall-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 51