From: cyrus@convex.com (Tait Cyrus)
Subject: convex.cf (for Khoroso 1.0 patch 5)
Organization: Engineering, CONVEX Computer Corp., Colorado Springs, CO., USA
Date: Tue, 7 Apr 1992 18:23:03 GMT
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.

The convex.cf file supplied with patch 5 has a small problem in compiling
the 'tiff' files.  Below is a modified 'convex.cf' which works in the
environment described.

---
W. Tait Cyrus                   Software Engineer -- Real Time OS test group
Convex Computer Corporation     cyrus@convex.com
2075 Research Parkway Suite B   719-594-4900 ext 41
Colorado Springs, CO 80920

----------  cut here  --------------  cut here  ------------  cut here  ------
/*
 * convex.cf - Provided by W. Tait Cyrus (cyrus@convex.com) April. 7, 1992
 * This is a configuration file for a Convex.
 *
 * This file works with:
 *	ConvexOS	9.1
 *	C		2.1
 *	Fortran		6.1
 *	CXWindows	2.1
 *
 * SET VERSION NUMBERS BEFORE MAKING MAKEFILES
 */

#define OSName            	ConvexOS V9.1
#define OSMajorVersion		9
#define OSMinorVersion		1 

/*
 * does your machine support saber C
 */
#define HasSaberC		NO	/* for machines that have it */

/*
 * Do you want to Compile the tiff library and tiff2viff/viff2tiff
 * conversion routines? If set to NO, then the tiff library will
 * not be compiled and thus no programs will link against that
 * library.
 */

#define UseTiff YES


/*
 * are you using gcc? if yes then set HasGcc to YES
 */
#define HasGcc			NO

#define SystemV           	NO
#define HasVoidSignalReturn     YES
#define StandardDefines		-DXAW_BC
#define VersionNumber 		2.0
#define HasFortran		YES
#define FortranCmd		/usr/convex/fc
#define HasPutenv		NO
#define HasBsearch		YES
#define HasVFork		YES
#define HasTempnam		NO
#define HasBsdTypes		YES
#define HasRandom		YES
#define HasDirent		NO
#define HasWait3		NO

#if OSMajorVerson == 8

#   define OptimizedCDebugFlags	-O3
#   define InstScriptFlags	-m 0755 -g bin
#   define InstManFlags		-m 0444 -g bin
#   define BootstrapCFlags   	-Dconvex -pcc

#   define DefaultCCOptions	-O3 -pcc
#   define FortranDebugFlags	-O3

#   define ForSysLibs -lF77 -lI77 -lD77 -lmathC2 

#else  /* assuming OSMajorVersion == 9 */

#   define OptimizedCDebugFlags	
#   define InstScriptFlags	-m 0755 
#   define InstManFlags		-m 0444
#   define BootstrapCFlags   	-Dconvex
#   define DefaultCCOptions	-O3 -or none -fi
#   define FortranFlags		-O3 -fi -or none
#   define LibraryFCOptions	-O3 -fi -or none
#   define ForSysLibs -lF77 -lI77 -lD77 -lmathC2 

#endif

#define ReDefFortran NO
#define UNCOMPRESSPATH /usr/local/bin/uncompress
#define UseCCMakeDepend YES
#define LibraryFDebugFlags -pp=fcpp1 -uo -is .

/* 
 * the following is a list of data transports available for
 * use within Khoros:
 *      UseFile            - Standard file system transport
 *      UseSockets         - bsd Sockets
 *      UseSharedMem       - shared memory
 *      UseSunVirMem       - sun virtual memory
 *      UsePipes           - Pipes
 *      UseStream          - Named pipes
 *      UseSunRPC          - Sun's remote procedure call
 *      UseKTLI            - sysV transport layer interface
 *      UseApolloRPC       - Apollo's remote procedure call
 *
 * Set the data transports that you want to use to YES and
 * all others to NO. normally, you should not have to
 * modify this list.
 * 
 */

#define UseFile		YES
#define UseSockets	NO
#define UseSharedMem	NO
#define UseSunVirMem	NO
#define UsePipes	NO
#define UseStream	NO
#define UseSunRPC	NO
#define UseKTLI		NO
#define UseApolloRPC	NO

#define NormalFortranObjectRule()					@@\
all::									@@\
	$(FC) -il $(FSRCS)						@@\
									@@\
.f.o:									@@\
	$(RM) $@							@@\
	$(FC) -c $(FLIBFLAGS) $*.f					@@\
									@@\
clean::									@@\
	$(RM) *.fil
-- 
W. Tait Cyrus                   Software Engineer -- Real Time OS test group
Convex Computer Corporation     cyrus@convex.com
2075 Research Parkway Suite B   719-594-4900 ext 41
Colorado Springs, CO 80920