head	1.1;
branch	1.1.1;
access;
symbols
	RELENG_8_4:1.1.1.1.0.58
	RELENG_9_1_0_RELEASE:1.1.1.1
	RELENG_9_1:1.1.1.1.0.56
	RELENG_9_1_BP:1.1.1.1
	RELENG_8_3_0_RELEASE:1.1.1.1
	RELENG_8_3:1.1.1.1.0.54
	RELENG_8_3_BP:1.1.1.1
	RELENG_9_0_0_RELEASE:1.1.1.1
	RELENG_9_0:1.1.1.1.0.52
	RELENG_9_0_BP:1.1.1.1
	RELENG_9:1.1.1.1.0.50
	RELENG_9_BP:1.1.1.1
	RELENG_7_4_0_RELEASE:1.1.1.1
	RELENG_8_2_0_RELEASE:1.1.1.1
	RELENG_7_4:1.1.1.1.0.48
	RELENG_7_4_BP:1.1.1.1
	RELENG_8_2:1.1.1.1.0.46
	RELENG_8_2_BP:1.1.1.1
	RELENG_8_1_0_RELEASE:1.1.1.1
	RELENG_8_1:1.1.1.1.0.44
	RELENG_8_1_BP:1.1.1.1
	RELENG_7_3_0_RELEASE:1.1.1.1
	RELENG_7_3:1.1.1.1.0.42
	RELENG_7_3_BP:1.1.1.1
	RELENG_8_0_0_RELEASE:1.1.1.1
	RELENG_8_0:1.1.1.1.0.40
	RELENG_8_0_BP:1.1.1.1
	RELENG_8:1.1.1.1.0.38
	RELENG_8_BP:1.1.1.1
	RELENG_7_2_0_RELEASE:1.1.1.1
	RELENG_7_2:1.1.1.1.0.36
	RELENG_7_2_BP:1.1.1.1
	RELENG_7_1_0_RELEASE:1.1.1.1
	RELENG_6_4_0_RELEASE:1.1.1.1
	RELENG_7_1:1.1.1.1.0.34
	RELENG_7_1_BP:1.1.1.1
	RELENG_6_4:1.1.1.1.0.32
	RELENG_6_4_BP:1.1.1.1
	RELENG_7_0_0_RELEASE:1.1.1.1
	RELENG_6_3_0_RELEASE:1.1.1.1
	RELENG_7_0:1.1.1.1.0.30
	RELENG_7_0_BP:1.1.1.1
	RELENG_6_3:1.1.1.1.0.28
	RELENG_6_3_BP:1.1.1.1
	RELENG_7:1.1.1.1.0.26
	RELENG_7_BP:1.1.1.1
	RELENG_6_2_0_RELEASE:1.1.1.1
	RELENG_6_2:1.1.1.1.0.24
	RELENG_6_2_BP:1.1.1.1
	RELENG_5_5_0_RELEASE:1.1.1.1
	RELENG_5_5:1.1.1.1.0.22
	RELENG_5_5_BP:1.1.1.1
	RELENG_6_1_0_RELEASE:1.1.1.1
	RELENG_6_1:1.1.1.1.0.20
	RELENG_6_1_BP:1.1.1.1
	RELENG_6_0_0_RELEASE:1.1.1.1
	RELENG_6_0:1.1.1.1.0.18
	RELENG_6_0_BP:1.1.1.1
	RELENG_6:1.1.1.1.0.16
	RELENG_6_BP:1.1.1.1
	RELENG_5_4_0_RELEASE:1.1.1.1
	RELENG_5_4:1.1.1.1.0.14
	RELENG_5_4_BP:1.1.1.1
	RELENG_4_11_0_RELEASE:1.1.1.1.2.1
	RELENG_4_11:1.1.1.1.2.1.0.14
	RELENG_4_11_BP:1.1.1.1.2.1
	RELENG_5_3_0_RELEASE:1.1.1.1
	RELENG_5_3:1.1.1.1.0.12
	RELENG_5_3_BP:1.1.1.1
	RELENG_5:1.1.1.1.0.10
	RELENG_5_BP:1.1.1.1
	RELENG_4_10_0_RELEASE:1.1.1.1.2.1
	RELENG_4_10:1.1.1.1.2.1.0.12
	RELENG_4_10_BP:1.1.1.1.2.1
	RELENG_5_2_1_RELEASE:1.1.1.1
	RELENG_5_2_0_RELEASE:1.1.1.1
	RELENG_5_2:1.1.1.1.0.8
	RELENG_5_2_BP:1.1.1.1
	RELENG_4_9_0_RELEASE:1.1.1.1.2.1
	RELENG_4_9:1.1.1.1.2.1.0.10
	RELENG_4_9_BP:1.1.1.1.2.1
	RELENG_5_1_0_RELEASE:1.1.1.1
	RELENG_5_1:1.1.1.1.0.6
	RELENG_5_1_BP:1.1.1.1
	RELENG_4_8_0_RELEASE:1.1.1.1.2.1
	RELENG_4_8:1.1.1.1.2.1.0.8
	RELENG_4_8_BP:1.1.1.1.2.1
	RELENG_5_0_0_RELEASE:1.1.1.1
	RELENG_5_0:1.1.1.1.0.4
	RELENG_5_0_BP:1.1.1.1
	RELENG_4_7_0_RELEASE:1.1.1.1.2.1
	RELENG_4_7:1.1.1.1.2.1.0.6
	RELENG_4_7_BP:1.1.1.1.2.1
	RELENG_4_6_2_RELEASE:1.1.1.1.2.1
	smbfs_1_4_5:1.1.1.1
	RELENG_4_6_1_RELEASE:1.1.1.1.2.1
	RELENG_4_6_0_RELEASE:1.1.1.1.2.1
	RELENG_4_6:1.1.1.1.2.1.0.4
	RELENG_4_6_BP:1.1.1.1.2.1
	smbfs_1_4_4:1.1.1.1
	RELENG_4_5_0_RELEASE:1.1.1.1.2.1
	RELENG_4_5:1.1.1.1.2.1.0.2
	RELENG_4_5_BP:1.1.1.1.2.1
	smbfs_1_4_3:1.1.1.1
	smbfs_1_4_2:1.1.1.1
	RELENG_4:1.1.1.1.0.2
	smbfs_1_4_1:1.1.1.1
	BP:1.1.1;
locks; strict;
comment	@# @;


1.1
date	2001.12.14.11.06.03;	author sheldonh;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2001.12.14.11.06.03;	author sheldonh;	state Exp;
branches
	1.1.1.1.2.1
	1.1.1.1.58.1;
next	;

1.1.1.1.2.1
date	2001.12.18.12.31.45;	author sheldonh;	state Exp;
branches;
next	;

1.1.1.1.58.1
date	2001.12.14.11.06.03;	author svnexp;	state dead;
branches;
next	1.1.1.1.58.2;

1.1.1.1.58.2
date	2013.03.28.13.02.01;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@#	$Id: Makefile,v 1.12 2001/04/16 04:34:26 bp Exp $
#
#	Valid targets:
#	install		installs binaries and man pages
#	deinstall	undo install (except man pages)
#	install-src	copy .h files in /usr/local/include
#	install-lib	copy lib files in /usr/lib
#	deinstall-lib,
#	deinstall-src	undo corresponding install-* target
#	clean		cleanup source tree

.if ${MACHINE_ARCH} != "i386"
.	error "only IA32 machines supported"
.endif

CONFIG_INT?=	config.int
CONFIG_MK?=	config.mk

CFGDEPEND=

.ifmake !configure && !clean
.  if !exists(${CONFIG_INT})
.	error "Run 'make configure' before build"
.  else
.	include "${CONFIG_INT}"
.  endif
.else
.  if exists(${CONFIG_MK})
CFGDEPEND=	${CONFIG_MK}

${CONFIG_MK}:	config.mk.in
	@@echo Your ${CONFIG_MK} file is older than the config.mk.in file
	@@echo Please check for possible changes
	@@false

.	include "${CONFIG_MK}"
.  endif
.endif

BUILDKLD?=yes
PREFIX?=/usr/local
SYSDIR?=/usr/src/sys

configure::
.if ${CFGDEPEND} == ${CONFIG_MK}
	@@echo Using ${CFGDEPEND} file...
.endif
	echo PREFIX= ${PREFIX} > ${CONFIG_INT}
	echo SYSDIR=${SYSDIR} >> ${CONFIG_INT}
	echo KMODDIR=${KMODDIR} >> ${CONFIG_INT}
	echo SINGLEKLD=yes >> ${CONFIG_INT}
.if !defined(WITHOUT_CRYPT)
	echo ENCRYPTED_PASSWD=yes >> ${CONFIG_INT}
.endif
.if defined(SMP_SUPPORT) || defined(SMP)
	echo SMP=yes >> ${CONFIG_INT}
.endif

SUBDIR=

.if defined(COMPLETEBUILD) || (${BUILDKLD} == yes && !exists(${SYSDIR}/netsmb/smb.h))
SUBDIR+= kernel/modules
.endif

SUBDIR+= lib

SUBDIR+= mount_smbfs smbutil

install-src install-lib deinstall-lib deinstall-src:
	cd kernel && make ${.TARGET}
	cd lib && make ${.TARGET}


makedev:
	@@-( if [ `mount -t devfs | wc -l` = 0 ]; then \
		cd /dev && && rm -f nsmb* && mknod nsmb0 c 144 0; \
	    else \
		echo This operation is not required with devfs; \
	    fi; \
	)

cleandepend deinstall: _SUBDIRUSE

clean: _SUBDIRUSE
	rm -f ${CONFIG_INT}

.include <bsd.subdir.mk>
@


1.1.1.1
log
@Import smbfs-1.4.1.

This is Boris Popov's SMB/CIFS file system implementation for FreeBSD.

Obtained from:	Boris Popov via ftp://ftp.butya.kz/pub/smbfs/
@
text
@@


1.1.1.1.58.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:02:01 +0000
@
text
@d1 87
@


1.1.1.1.58.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 87
#	$Id: Makefile,v 1.12 2001/04/16 04:34:26 bp Exp $
#
#	Valid targets:
#	install		installs binaries and man pages
#	deinstall	undo install (except man pages)
#	install-src	copy .h files in /usr/local/include
#	install-lib	copy lib files in /usr/lib
#	deinstall-lib,
#	deinstall-src	undo corresponding install-* target
#	clean		cleanup source tree

.if ${MACHINE_ARCH} != "i386"
.	error "only IA32 machines supported"
.endif

CONFIG_INT?=	config.int
CONFIG_MK?=	config.mk

CFGDEPEND=

.ifmake !configure && !clean
.  if !exists(${CONFIG_INT})
.	error "Run 'make configure' before build"
.  else
.	include "${CONFIG_INT}"
.  endif
.else
.  if exists(${CONFIG_MK})
CFGDEPEND=	${CONFIG_MK}

${CONFIG_MK}:	config.mk.in
	@@echo Your ${CONFIG_MK} file is older than the config.mk.in file
	@@echo Please check for possible changes
	@@false

.	include "${CONFIG_MK}"
.  endif
.endif

BUILDKLD?=yes
PREFIX?=/usr/local
SYSDIR?=/usr/src/sys

configure::
.if ${CFGDEPEND} == ${CONFIG_MK}
	@@echo Using ${CFGDEPEND} file...
.endif
	echo PREFIX= ${PREFIX} > ${CONFIG_INT}
	echo SYSDIR=${SYSDIR} >> ${CONFIG_INT}
	echo KMODDIR=${KMODDIR} >> ${CONFIG_INT}
	echo SINGLEKLD=yes >> ${CONFIG_INT}
.if !defined(WITHOUT_CRYPT)
	echo ENCRYPTED_PASSWD=yes >> ${CONFIG_INT}
.endif
.if defined(SMP_SUPPORT) || defined(SMP)
	echo SMP=yes >> ${CONFIG_INT}
.endif

SUBDIR=

.if defined(COMPLETEBUILD) || (${BUILDKLD} == yes && !exists(${SYSDIR}/netsmb/smb.h))
SUBDIR+= kernel/modules
.endif

SUBDIR+= lib

SUBDIR+= mount_smbfs smbutil

install-src install-lib deinstall-lib deinstall-src:
	cd kernel && make ${.TARGET}
	cd lib && make ${.TARGET}


makedev:
	@@-( if [ `mount -t devfs | wc -l` = 0 ]; then \
		cd /dev && && rm -f nsmb* && mknod nsmb0 c 144 0; \
	    else \
		echo This operation is not required with devfs; \
	    fi; \
	)

cleandepend deinstall: _SUBDIRUSE

clean: _SUBDIRUSE
	rm -f ${CONFIG_INT}

.include <bsd.subdir.mk>
@


1.1.1.1.2.1
log
@Merge the contributed smbfs-1.4.1 distribution onto the RELENG_4
branch.

Approved by:	re
@
text
@@

