A. Creating the proper directory structure.
- Uncompress the source into a directory of your choice.
- Preferrably, afs space. In the directory that you uncompressed the
- source in, you will only have an src directory.
-
+ 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):
% 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
- Makefile@ dest@ i386_linux22/ obj@ src/
-
- 4. If this source is NOT in AFS space, You must make a link from
- @sys to your current system type.
+ Example:
+ % ln -s @sys/dest dest
+ % ln -s @sys/obj obj
+ % ls -CF
+ dest@ i386_linux22/ obj@ src/
- Example:
- % ln -s i386_linux22 @sys
+ 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.
- 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:
- a. For LINUX and UNIX versions
Example:
% ln -s src/Makefile Makefile
% ls -CF
- Makefile@ i386_linux22/ src/
+ Makefile@ dest@ i386_linux22/ obj@ src/
B Building