aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/smbfs/Makefile.inc
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2001-12-14 11:06:03 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2001-12-14 11:06:03 +0000
commitf1b9d12761de3c33754f03e6d2a5bf9f1b40aad9 (patch)
tree672d7786f89ed3b67f221098cb86cf0bc53ad5e3 /contrib/smbfs/Makefile.inc
downloadsrc-f1b9d12761de3c33754f03e6d2a5bf9f1b40aad9.tar.gz
src-f1b9d12761de3c33754f03e6d2a5bf9f1b40aad9.zip
Import smbfs-1.4.1.vendor/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/
Notes
Notes: svn path=/vendor/smbfs/dist/; revision=87866 svn path=/vendor/smbfs/1.4.1/; revision=87868; tag=vendor/smbfs/1.4.1
Diffstat (limited to 'contrib/smbfs/Makefile.inc')
-rw-r--r--contrib/smbfs/Makefile.inc43
1 files changed, 43 insertions, 0 deletions
diff --git a/contrib/smbfs/Makefile.inc b/contrib/smbfs/Makefile.inc
new file mode 100644
index 000000000000..0e7173ceb998
--- /dev/null
+++ b/contrib/smbfs/Makefile.inc
@@ -0,0 +1,43 @@
+# $Id: Makefile.inc,v 1.9 2001/04/16 04:34:26 bp Exp $
+
+.ifmake !clean && !cleandepend
+.if !defined(PREFIX)
+.include "config.int"
+.endif
+.endif
+
+BINDIR?=${PREFIX}/bin
+SMBSBINDIR=${PREFIX}/sbin
+MANDIR=${PREFIX}/man/man
+
+CFLAGS += -Wall -I../kernel/mysys
+
+.include <bsd.libnames.mk>
+
+.if !defined(LIBSMB) || defined(COMPLETEBUILD)
+CFLAGS += -L../lib/smb -L../lib/nb
+CFLAGS += -I../include
+LIBSMB = ../lib/smb/libsmb.a
+.endif
+
+.if !exists(${SYSDIR}/netsmb/smb.h)
+CFLAGS += -I../kernel
+.endif
+
+.if defined(SMBGDB)
+CFLAGS+= -ggdb
+.endif
+
+deinstall:
+ @(if test -f ${BINDIR}/${PROG}; then \
+ echo removing ${BINDIR}/${PROG}; \
+ rm -f ${BINDIR}/${PROG}; \
+ fi;)
+ @(if test -f ${MANDIR}1/${MAN1}.gz ; then \
+ echo removing ${MANDIR}1/${MAN1}.gz; \
+ rm -f ${MANDIR}1/${MAN1}.gz; \
+ fi;)
+ @(if test -f ${MANDIR}8/${MAN8}.gz ; then \
+ echo removing ${MANDIR}8/${MAN8}.gz; \
+ rm -f ${MANDIR}8/${MAN8}.gz; \
+ fi;)