137415Sbostic /*
237415Sbostic  * drivedefs.h
337415Sbostic  *
437415Sbostic  * Definitions for Fortran 77 Compiler driver
537415Sbostic  * For the VAX, running on the VAX
637415Sbostic  *
737415Sbostic  * UCSD Chemistry modification history:
837415Sbostic  *
937415Sbostic  * $Log:	drivedefs.h,v $
1037415Sbostic  * Revision 1.4  85/02/12  19:25:05  donn
1137415Sbostic  * Added 'CATNAME' to define the name of the concatenation command.
1237415Sbostic  *
1337415Sbostic  * Revision 1.3  85/01/14  06:42:01  donn
1437415Sbostic  * Changed to use c2 as the peephole optimizer.
1537415Sbostic  *
1637415Sbostic  * Revision 1.2  84/04/11  19:02:16  donn
1737415Sbostic  * Added Dave Wasley's fix to load the Unix library (libU77.a) first.
1837415Sbostic  *
1937415Sbostic  */
2037415Sbostic 
21*45211Ssklower #if HERE!=TARGET || FAMILY!=PCC || (HERE!=VAX && HERE!=TAHOE)
2237415Sbostic 	Wrong Definitions File!
2337415Sbostic #endif
2437415Sbostic 
25*45211Ssklower #define	PASS1NAME	"/usr/libexec/f77pass1"
26*45211Ssklower #define	PASS2NAME	"/usr/libexec/f1"
27*45211Ssklower #ifdef INLINE
28*45211Ssklower #define	PASS2INAME	"/usr/libexec/if1"
29*45211Ssklower #endif
30*45211Ssklower #define	PASS2OPT	"/usr/libexec/c2"
31*45211Ssklower #define	ASMNAME		"/usr/bin/as"
32*45211Ssklower #define	LDNAME		"/usr/bin/ld"
3337415Sbostic #define	CATNAME		"/bin/cat"
34*45211Ssklower #define	FOOTNAME	"/usr/lib/crt0.o"
35*45211Ssklower #define	PROFFOOT	"/usr/lib/mcrt0.o"
3637415Sbostic #define	GPRFFOOT	"/usr/lib/gcrt0.o"
37*45211Ssklower #define	TEMPPREF	"fort"
3837415Sbostic 
3945160Sbostic static char *liblist [] = {
4045160Sbostic 	"-lU77",
4145160Sbostic 	"-lF77",
4245160Sbostic 	"-lI77",
4345160Sbostic 	"-lm",
44*45211Ssklower 	"-lcompat",
4545160Sbostic 	"-lc",
4645160Sbostic 	NULL
4745160Sbostic };
4845160Sbostic static char *p_liblist [] = {
4945160Sbostic 	"-lU77_p",
5045160Sbostic 	"-lF77_p",
5145160Sbostic 	"-lI77_p",
5245160Sbostic 	"-lm_p",
53*45211Ssklower 	"-lcompat_p",
5445160Sbostic 	"-lc_p",
5545160Sbostic 	NULL
5645160Sbostic };
5737794Sbostic 
5837794Sbostic #include <paths.h>
5937794Sbostic 
6037794Sbostic #define	_PATH_BSHELL	"/bin/sh"
6137794Sbostic #define	_PATH_CPP	"/usr/bin/cpp"
6237794Sbostic #define	_PATH_UBIN	"/usr/bin"
63