f1c6a733e9ea98d4e6df31383d9e0843ad91144b
[samba.git] / examples / redhat / samba-make.patch
1 *** samba-1.9.17/source/Makefile.orig   Sat Jul 12 12:51:39 1997
2 --- samba-1.9.17/source/Makefile        Sat Jul 12 12:56:04 1997
3 ***************
4 *** 5,15 ****
5   ###########################################################################
6   
7   # The base directory for all samba files
8 ! BASEDIR = /usr/local/samba
9   
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
13   
14   # The directories to put things in. If you use multiple
15   # architectures or share the samba binaries across NFS then
16 --- 5,15 ----
17   ###########################################################################
18   
19   # The base directory for all samba files
20 ! BASEDIR = /usr
21   
22   # The base manpages directory to put the man pages in
23   # Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist.
24 ! MANDIR = $(BASEDIR)/man
25   
26   # The directories to put things in. If you use multiple
27   # architectures or share the samba binaries across NFS then
28 ***************
29 *** 18,26 ****
30   #       normally only applies to nmbd and smbd
31   #       SBINDIR implies a secure binary directory
32   BINDIR = $(BASEDIR)/bin
33 ! SBINDIR = $(BASEDIR)/bin
34 ! LIBDIR = $(BASEDIR)/lib
35 ! VARDIR = $(BASEDIR)/var
36   
37   # The permissions to give the executables
38   INSTALLPERMS = 0755
39 --- 18,26 ----
40   #       normally only applies to nmbd and smbd
41   #       SBINDIR implies a secure binary directory
42   BINDIR = $(BASEDIR)/bin
43 ! SBINDIR = $(BASEDIR)/sbin
44 ! LIBDIR = /etc
45 ! VARDIR = /var
46   
47   # The permissions to give the executables
48   INSTALLPERMS = 0755
49 ***************
50 *** 35,41 ****
51   
52   # You will need to use a ANSI C compiler. This means under SunOS 4 you can't 
53   # use cc, instead you will have to use gcc. 
54 ! # CC = gcc
55   
56   # This may help with some versions of make
57   SHELL = /bin/sh
58 --- 35,41 ----
59   
60   # You will need to use a ANSI C compiler. This means under SunOS 4 you can't 
61   # use cc, instead you will have to use gcc. 
62 ! CC = gcc
63   
64   # This may help with some versions of make
65   SHELL = /bin/sh
66 ***************
67 *** 48,60 ****
68   # set these to where to find various files
69   # These can be overridden by command line switches (see smbd(8))
70   # or in smb.conf (see smb.conf(5))
71 ! SMBLOGFILE = $(VARDIR)/log.smb
72 ! NMBLOGFILE = $(VARDIR)/log.nmb
73   CONFIGFILE = $(LIBDIR)/smb.conf
74   LMHOSTSFILE = $(LIBDIR)/lmhosts
75   
76   # the directory where lock files go
77 ! LOCKDIR = $(VARDIR)/locks
78   
79   # set this to the default group you want your machine to appear in
80   # for browsing. This can also be set in nmbd (see nmbd(8))
81 --- 48,60 ----
82   # set these to where to find various files
83   # These can be overridden by command line switches (see smbd(8))
84   # or in smb.conf (see smb.conf(5))
85 ! SMBLOGFILE = $(VARDIR)/log/samba/log.smb
86 ! NMBLOGFILE = $(VARDIR)/log/samba/log.nmb
87   CONFIGFILE = $(LIBDIR)/smb.conf
88   LMHOSTSFILE = $(LIBDIR)/lmhosts
89   
90   # the directory where lock files go
91 ! LOCKDIR = $(VARDIR)/lock/samba
92   
93   # set this to the default group you want your machine to appear in
94   # for browsing. This can also be set in nmbd (see nmbd(8))
95 ***************
96 *** 77,84 ****
97   
98   # This is for PAM authentication. RedHat Linux uses PAM.
99   # If you use PAM, then uncomment the following lines:
100 ! # PAM_FLAGS = -DUSE_PAM
101 ! # PAM_LIBS = -ldl -lpam
102   
103   # This is for AFS authentication.  If you use AFS then set AFS_BASE 
104   # according to your system layout, and uncomment the other lines as well.
105 --- 77,84 ----
106   
107   # This is for PAM authentication. RedHat Linux uses PAM.
108   # If you use PAM, then uncomment the following lines:
109 ! PAM_FLAGS = -DUSE_PAM
110 ! PAM_LIBS = -ldl -lpam
111   
112   # This is for AFS authentication.  If you use AFS then set AFS_BASE 
113   # according to your system layout, and uncomment the other lines as well.
114 ***************
115 *** 187,194 ****
116   # contributed by Andrew.Tridgell@anu.edu.au
117   # AXPROC defines DEC Alpha Processor
118   # FLAGSM = -DLINUX -DAXPROC -DFAST_SHARE_MODES
119 ! # FLAGSM = -DLINUX -DFAST_SHARE_MODES
120 ! # LIBSM = 
121   
122   # Use this for Linux with shadow passwords and quota
123   # contributed by xeno@mix.hive.no
124 --- 187,194 ----
125   # contributed by Andrew.Tridgell@anu.edu.au
126   # AXPROC defines DEC Alpha Processor
127   # FLAGSM = -DLINUX -DAXPROC -DFAST_SHARE_MODES
128 ! FLAGSM = -DLINUX -DFAST_SHARE_MODES
129 ! LIBSM = 
130   
131   # Use this for Linux with shadow passwords and quota
132   # contributed by xeno@mix.hive.no