openafs/src
Michael Durket 56a53a2016 s390-libafs-makefile-changes-20010329
use -O and not -O2 to deal with some bad versions of gcc for now

link in appropriate asm directory
2001-03-29 23:56:18 +00:00
..
afs linux24-setgroups32-support-20010329 2001-03-29 18:07:41 +00:00
afsd initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
afsinstall Standardize License information 2000-11-04 10:01:08 +00:00
afsmonitor initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
afsweb death-to-permit-xprt-h-20010327 2001-03-27 23:02:13 +00:00
audit initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
auth death-to-permit-xprt-h-20010327 2001-03-27 23:02:13 +00:00
bozo death-to-permit-xprt-h-20010327 2001-03-27 23:02:13 +00:00
bu_utils initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
bubasics initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
bucoord initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
budb initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
butc initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
butm initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
cmd initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
comerr initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
config death-to-permit-xprt-h-20010327 2001-03-27 23:02:13 +00:00
dauth death-to-permit-xprt-h-20010327 2001-03-27 23:02:13 +00:00
des death-to-permit-xprt-h-20010327 2001-03-27 23:02:13 +00:00
des_stub initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
dir initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
export initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
finale Standardize License information 2000-11-04 10:01:08 +00:00
fsint initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
fsprobe initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
ftpd43+ ftpd-placate-aix-20010212 2001-02-12 17:19:20 +00:00
gtx initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
inetd initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
kauth death-to-permit-xprt-h-20010327 2001-03-27 23:02:13 +00:00
libacl initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
libadmin death-to-permit-xprt-h-20010327 2001-03-27 23:02:13 +00:00
libafs s390-libafs-makefile-changes-20010329 2001-03-29 23:56:18 +00:00
libafsauthent initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
libafsrpc initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
libuafs dont-install-uklibs-unless-linktest-works-20010327 2001-03-27 20:37:56 +00:00
log initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
login initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
lwp initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
mpp initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
ntp initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
null initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
package initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
pam initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
pinstall initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
procmgmt initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
ptserver death-to-permit-xprt-h-20010327 2001-03-27 23:02:13 +00:00
rcp initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
rlogind initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
rsh initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
rx death-to-permit-xprt-h-20010327 2001-03-27 23:02:13 +00:00
rxgen initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
rxkad death-to-permit-xprt-h-20010327 2001-03-27 23:02:13 +00:00
rxstat initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
scout initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
sgistuff initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
sia initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
sys initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
tbutc initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
tsm41 initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
tviced initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
ubik ubik-clone-support-20010212 2001-03-28 07:51:25 +00:00
update initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
usd initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
uss initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
util winnt-bufio-mods-20010328 2001-03-28 17:54:21 +00:00
venus initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
vfsck initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
viced initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
vlserver initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
vol make-namei-fileserver-compile-on-solaris8-20010327 2001-03-27 08:58:49 +00:00
volser initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
WINNT death-to-permit-xprt-h-20010327 2001-03-27 23:02:13 +00:00
wsadmin.lib Initial IBM OpenAFS 1.0 tree 2000-11-04 02:13:13 +00:00
wsadmin.src Initial IBM OpenAFS 1.0 tree 2000-11-04 02:13:13 +00:00
xstat initial-darwin-support-20010327 2001-03-27 08:43:13 +00:00
..wow.3 Initial IBM OpenAFS 1.0 tree 2000-11-04 02:13:13 +00:00
BUILDNOTES dont-build-clients-for-hpux11-20010327 2001-03-27 20:33:52 +00:00
LICENSE where the per file license text refers to it 2000-11-04 08:38:12 +00:00
Makefile remove-libadmin-real-dependancies-20010327 2001-03-27 23:10:13 +00:00
ntbuild.bat Standardize License information 2000-11-04 10:01:08 +00:00
NTMakefile Standardize License information 2000-11-04 10:01:08 +00:00
NTObjdir Standardize License information 2000-11-04 10:01:08 +00:00
README dont-build-clients-for-hpux11-20010327 2001-03-27 20:33:52 +00:00
README-NT Standardize License information 2000-11-04 10:01:08 +00:00
README.OBSOLETE For people who don't know any better 2000-11-05 00:55:11 +00:00
README.SECURITY For people who don't know any better 2000-11-04 22:20:51 +00:00

Copyright 2000, International Business Machines Corporation and others.
All Rights Reserved.

This software has been released under the terms of the IBM Public
License.  For details, see the LICENSE file in the top-level source
directory or online at http://www.openafs.org/dl/license10.html

Building OpenAFS on UNIX and LINUX
----------------------------------

A. Creating the proper directory structure.

   Uncompress the source into a directory of your choice. A directory
   in afs space is also valid. In the directory that you uncompressed the
   source in, you will only have an src/ directory.

   1. Make a directory for each system type that you plan on
      building. Current tested system types include the following
     (this step is skipped for the i386_nt40 system type):

      alpha_dux40/
      alpha_dux50/ (only tested on 5.0A)
      i386_linux22/
      i386_linux24/ (only tested with 2.4.0 kernel)
      rs_aix42/
      sgi_65/ (file server not tested)
      sun4x_56/
      sun4x_57/
      sun4x_58/
      ppc_darwin_13/
      alpha_linux_2216_22/ (DES does not work, will require one more change to
				compile)
      hp_ux110/ (No client support, but db servers and utilities work)

      Example:
      % mkdir i386_linux22
      % ls -CF
      i386_linux22/     src/

   2. Within each of those directories, create a dest/ and obj/ directory.

      Example:
      % mkdir i386_linux22/dest
      % mkdir i386_linux22/obj

   3. Create symbolic links to the system type you are about to build
      a. If the source is in AFS space

         Example:
         % ln -s @sys/dest dest
         % ln -s @sys/obj  obj
         % ls -CF
         dest@     i386_linux22/     obj@     src/

         Within AFS space, the AFS Cache Manager automatically
         substitutes the local machine's AFS system name (CPU/operating
         system type [ie: alpha_dux40, i386_linux22, ...]) for the @sys
         variable.

      b. If this source is NOT in AFS space, You must make a link from
         @sys to your current system type. 

         Example:
         % ln -s i386_linux22 @sys
         % ln -s @sys/dest dest
         % ln -s @sys/obj  obj
         % ls -CF
         dest@     i386_linux22/     obj@     src/     sys@
 
   5. Create the top level Makefile:

         Example:
         % ln -s src/Makefile Makefile
         % ls -CF
         Makefile@     dest@     i386_linux22/     obj@     src/

B  Building

   1. Make the obj links. This creates links from the @sys/obj/ tree
      back to the source tree. The source tree remains unchanged and
      builds are done in the platform specific object tree.

      % make links

   2. Begin building
      a. For Linux
         % make SYS_NAME="i386_linux22" LINUX_VERS="2.2.14"

      b. For UNIX versions, specify the system name as given by
         the system type defined in step A1.
         % make SYS_NAME="<system_name>"

         Example for the rs_aix42 operating system:
	 % make SYS_NAME="rs_aix42" 

C  Problems
   If you have a problem building this source, you may want to visit
   http://www.openafs.org/ to see if any problems have been reported 
   or to find out how to get more help.

   Mailing lists have been set up to help; More details can be found
   on the openafs.org site.