1 --- samba-1.9.17/source/Makefile.orig Wed Jul 23 21:06:24 1997
2 +++ samba-1.9.17/source/Makefile Wed Jul 23 21:55:10 1997
4 ###########################################################################
6 # The base directory for all samba files
7 -BASEDIR = /usr/local/samba
10 # The base manpages directory to put the man pages in
11 # Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist.
12 -MANDIR = /usr/local/man
15 # The directories to put things in. If you use multiple
16 # architectures or share the samba binaries across NFS then
18 # normally only applies to nmbd and smbd
19 # SBINDIR implies a secure binary directory
20 BINDIR = $(BASEDIR)/bin
21 -SBINDIR = $(BASEDIR)/bin
22 -LIBDIR = $(BASEDIR)/lib
23 -VARDIR = $(BASEDIR)/var
24 +SBINDIR = $(BASEDIR)/sbin
25 +LIBDIR = $(BASEDIR)etc
26 +VARDIR = $(BASEDIR)var
28 # The permissions to give the executables
31 # add -DSYSLOG for syslog support
32 # RPM_OPT_FLAGS is needed when building an RPM distribution package
34 -# FLAGS1 = $(RPM_OPT_FLAGS)
36 +FLAGS1 = $(RPM_OPT_FLAGS)
40 # You will need to use a ANSI C compiler. This means under SunOS 4 you can't
41 # use cc, instead you will have to use gcc.
45 # This may help with some versions of make
48 # set these to where to find various files
49 # These can be overridden by command line switches (see smbd(8))
50 # or in smb.conf (see smb.conf(5))
51 -SMBLOGFILE = $(VARDIR)/log.smb
52 -NMBLOGFILE = $(VARDIR)/log.nmb
53 +SMBLOGFILE = $(VARDIR)/log/samba/log.smb
54 +NMBLOGFILE = $(VARDIR)/log/samba/log.nmb
55 CONFIGFILE = $(LIBDIR)/smb.conf
56 LMHOSTSFILE = $(LIBDIR)/lmhosts
58 # the directory where lock files go
59 -LOCKDIR = $(VARDIR)/locks
60 +LOCKDIR = $(VARDIR)/lock/samba
62 # set this to the default group you want your machine to appear in
63 # for browsing. This can also be set in nmbd (see nmbd(8))
66 # This is for PAM authentication. RedHat Linux uses PAM.
67 # If you use PAM, then uncomment the following lines:
68 -# PAM_FLAGS = -DUSE_PAM
69 -# PAM_LIBS = -ldl -lpam
70 +PAM_FLAGS = -DUSE_PAM
71 +PAM_LIBS = -ldl -lpam
73 # This is for AFS authentication. If you use AFS then set AFS_BASE
74 # according to your system layout, and uncomment the other lines as well.
76 # contributed by Andrew.Tridgell@anu.edu.au
77 # AXPROC defines DEC Alpha Processor
78 # FLAGSM = -DLINUX -DAXPROC -DFAST_SHARE_MODES
79 -# FLAGSM = -DLINUX -DFAST_SHARE_MODES
81 +FLAGSM = -DLINUX -DFAST_SHARE_MODES
84 # Use this for Linux with shadow passwords and quota
85 # contributed by xeno@mix.hive.no