1 # $Id: Makefile.inc,v 1.9 2001/04/16 04:34:26 bp Exp $
3 .ifmake !clean && !cleandepend
10 SMBSBINDIR=${PREFIX}/sbin
11 MANDIR=${PREFIX}/man/man
13 CFLAGS += -Wall -I../kernel/mysys
15 .include <bsd.libnames.mk>
17 .if !defined(LIBSMB) || defined(COMPLETEBUILD)
18 CFLAGS += -L../lib/smb -L../lib/nb
19 CFLAGS += -I../include
20 LIBSMB = ../lib/smb/libsmb.a
23 .if !exists(${SYSDIR}/netsmb/smb.h)
32 @(if test -f ${BINDIR}/${PROG}; then \
33 echo removing ${BINDIR}/${PROG}; \
34 rm -f ${BINDIR}/${PROG}; \
36 @(if test -f ${MANDIR}1/${MAN1}.gz ; then \
37 echo removing ${MANDIR}1/${MAN1}.gz; \
38 rm -f ${MANDIR}1/${MAN1}.gz; \
40 @(if test -f ${MANDIR}8/${MAN8}.gz ; then \
41 echo removing ${MANDIR}8/${MAN8}.gz; \
42 rm -f ${MANDIR}8/${MAN8}.gz; \