1997-09-27 01:58:20 +00:00
|
|
|
--- Makefile.orig Fri Sep 26 05:44:18 1997
|
|
|
|
+++ Makefile Fri Sep 26 18:41:40 1997
|
|
|
|
@@ -5,11 +5,11 @@
|
|
|
|
###########################################################################
|
|
|
|
|
|
|
|
# The base directory for all samba files
|
|
|
|
-BASEDIR = /usr/local/samba
|
|
|
|
+BASEDIR = $(PREFIX)
|
1997-03-05 01:35:20 +00:00
|
|
|
|
|
|
|
# The base manpages directory to put the man pages in
|
|
|
|
# Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist.
|
|
|
|
-MANDIR = /usr/local/man
|
|
|
|
+MANDIR = $(PREFIX)/man
|
|
|
|
|
|
|
|
# The directories to put things in. If you use multiple
|
|
|
|
# architectures or share the samba binaries across NFS then
|
1997-09-27 01:58:20 +00:00
|
|
|
@@ -18,9 +18,9 @@
|
|
|
|
# normally only applies to nmbd and smbd
|
|
|
|
# SBINDIR implies a secure binary directory
|
1997-03-05 01:35:20 +00:00
|
|
|
BINDIR = $(BASEDIR)/bin
|
|
|
|
-SBINDIR = $(BASEDIR)/bin
|
|
|
|
-LIBDIR = $(BASEDIR)/lib
|
|
|
|
-VARDIR = $(BASEDIR)/var
|
|
|
|
+SBINDIR = $(BASEDIR)/sbin
|
|
|
|
+ETCDIR = $(BASEDIR)/etc
|
|
|
|
+LOGDIR = /var/log
|
|
|
|
|
|
|
|
# The permissions to give the executables
|
|
|
|
INSTALLPERMS = 0755
|
1997-09-27 01:58:20 +00:00
|
|
|
@@ -48,13 +48,13 @@
|
1997-03-05 01:35:20 +00:00
|
|
|
# set these to where to find various files
|
|
|
|
# These can be overridden by command line switches (see smbd(8))
|
|
|
|
# or in smb.conf (see smb.conf(5))
|
|
|
|
-SMBLOGFILE = $(VARDIR)/log.smb
|
|
|
|
-NMBLOGFILE = $(VARDIR)/log.nmb
|
|
|
|
-CONFIGFILE = $(LIBDIR)/smb.conf
|
|
|
|
-LMHOSTSFILE = $(LIBDIR)/lmhosts
|
|
|
|
+SMBLOGFILE = $(LOGDIR)/smb
|
|
|
|
+NMBLOGFILE = $(LOGDIR)/nmb
|
|
|
|
+CONFIGFILE = $(ETCDIR)/smb.conf
|
|
|
|
+LMHOSTSFILE = $(ETCDIR)/lmhosts
|
|
|
|
|
|
|
|
# the directory where lock files go
|
|
|
|
-LOCKDIR = $(VARDIR)/locks
|
|
|
|
+LOCKDIR = /var/spool/lock
|
|
|
|
|
|
|
|
# set this to the default group you want your machine to appear in
|
|
|
|
# for browsing. This can also be set in nmbd (see nmbd(8))
|
1997-09-27 01:58:20 +00:00
|
|
|
@@ -385,9 +385,8 @@
|
|
|
|
|
1997-03-05 01:35:20 +00:00
|
|
|
# This is for FreeBSD
|
|
|
|
# contributed by kuku@acds.physik.rwth-aachen.de
|
1997-09-27 01:58:20 +00:00
|
|
|
-# NOTE: You may need to add -DBSD44 if you have password problems
|
|
|
|
-# FLAGSM = -DFreeBSD -DFAST_SHARE_MODES
|
1997-03-05 01:35:20 +00:00
|
|
|
-# LIBSM = -lcrypt
|
1997-09-27 01:58:20 +00:00
|
|
|
+FLAGSM = -DFreeBSD -DFAST_SHARE_MODES
|
1997-03-05 01:35:20 +00:00
|
|
|
+LIBSM = -lcrypt
|
|
|
|
|
|
|
|
|
|
|
|
# This is for NEXTSTEP Release 2.X
|
1997-09-27 01:58:20 +00:00
|
|
|
@@ -687,8 +686,8 @@
|
1997-03-05 01:35:20 +00:00
|
|
|
install: installbin installman installscripts
|
|
|
|
|
|
|
|
installbin: all
|
|
|
|
- @$(SHELL) $(srcdir)installbin.sh $(INSTALLPERMS) $(BASEDIR) $(SBINDIR) $(LIBDIR) $(VARDIR) $(SPROGS)
|
|
|
|
- @$(SHELL) $(srcdir)installbin.sh $(INSTALLPERMS) $(BASEDIR) $(BINDIR) $(LIBDIR) $(VARDIR) $(PROGS)
|
|
|
|
+ @$(SHELL) $(srcdir)installbin.sh $(INSTALLPERMS) $(BASEDIR) $(SBINDIR) $(ETCDIR) $(LOGDIR) $(SPROGS)
|
|
|
|
+ @$(SHELL) $(srcdir)installbin.sh $(INSTALLPERMS) $(BASEDIR) $(BINDIR) $(ETCDIR) $(LOGDIR) $(PROGS)
|
|
|
|
|
|
|
|
installscripts:
|
|
|
|
@$(SHELL) $(srcdir)installscripts.sh $(INSTALLPERMS) $(BINDIR) $(SCRIPTS)
|
1997-09-27 01:58:20 +00:00
|
|
|
@@ -707,8 +706,8 @@
|
|
|
|
@$(SHELL) $(srcdir)uninstallman.sh $(MANDIR) $(srcdir)
|
|
|
|
|
|
|
|
uninstallbin:
|
|
|
|
- @$(SHELL) $(srcdir)uninstallbin.sh $(INSTALLPERMS) $(BASEDIR) $(SBINDIR) $(LIBDIR) $(VARDIR) $(SPROGS)
|
|
|
|
- @$(SHELL) $(srcdir)uninstallbin.sh $(INSTALLPERMS) $(BASEDIR) $(BINDIR) $(LIBDIR) $(VARDIR) $(PROGS)
|
|
|
|
+ @$(SHELL) $(srcdir)uninstallbin.sh $(INSTALLPERMS) $(BASEDIR) $(SBINDIR) $(ETCDIR) $(LOGDIR) $(SPROGS)
|
|
|
|
+ @$(SHELL) $(srcdir)uninstallbin.sh $(INSTALLPERMS) $(BASEDIR) $(BINDIR) $(ETCDIR) $(LOGDIR) $(PROGS)
|
|
|
|
|
|
|
|
uninstallscripts:
|
|
|
|
@$(SHELL) $(srcdir)uninstallscripts.sh $(INSTALLPERMS) $(BINDIR) $(SCRIPTS)
|