- # you will probably want to change this layout.
-! BASEDIR = /
-! BINDIR = $(BASEDIR)usr/bin
-! SBINDIR = $(BASEDIR)usr/sbin
+***************
+*** 18,26 ****
+ # normally only applies to nmbd and smbd
+ # SBINDIR implies a secure binary directory
+ BINDIR = $(BASEDIR)/bin
+! SBINDIR = $(BASEDIR)/bin
+! LIBDIR = $(BASEDIR)/lib
+! VARDIR = $(BASEDIR)/var
+
+ # The permissions to give the executables
+ INSTALLPERMS = 0755
+--- 18,26 ----
+ # normally only applies to nmbd and smbd
+ # SBINDIR implies a secure binary directory
+ BINDIR = $(BASEDIR)/bin
+! SBINDIR = $(BASEDIR)/sbin