[2673] in Release_Engineering
turnin works now on rios
daemon@ATHENA.MIT.EDU (brlewis@ATHENA.MIT.EDU)
Sat Jun 29 15:06:46 1991
From: brlewis@ATHENA.MIT.EDU
Date: Sat, 29 Jun 91 15:06:33 -0400
To: rel-eng@ATHENA.MIT.EDU
Cc: brlewis@ATHENA.MIT.EDU, jfc@ATHENA.MIT.EDU
John suggested that the rios rpc could do everything I needed, and that
I should just change the Imakefiles to use the default rpc instead of
trying to compile rpc3.9. It worked!
Pick up /mit/bitbucket/rsaix/{,protocol/,lib/,clients/}Imakefile
to replace Imakefiles under /source/athena/usr.athena/turnin
or apply these patches:
*** Imakefile~ Wed Feb 13 10:01:49 1991
--- Imakefile Sat Jun 29 14:36:48 1991
***************
*** 8,11 ****
--- 8,15 ----
*
*/
+ #if defined(_IBMR2)
+ #define ISUBDIRS ets protocol lib clients man
+ #else
#define ISUBDIRS rpc3.9 ets protocol lib clients man
+ #endif
*** protocol/.#Imakefile Mon Jun 24 16:17:45 1991
--- protocol/Imakefile Sat Jun 29 14:37:54 1991
***************
*** 12,18 ****
--- 12,24 ----
*
*/
+ #if defined(_IBMR2)
+ RPCGEN=rpcgen
+ INCLUDES = -I../include
+ #else
+ RPCGEN=../rpc3.9/usr/bin/rpcgen
INCLUDES = -I../rpc3.9/usr/include -I../include
+ #endif
/* Define KERBEROS for Kerberos support */
DEFKRB = -DKERBEROS
***************
*** 41,49 ****
fx_prot_xdr.o: fx_prot_xdr.c
local_prot_clnt.c fx_prot_svc.c fx_prot_clnt.c fx_prot_xdr.c: fx_prot.x
! ../rpc3.9/usr/bin/rpcgen fx_prot.x
cat xdr_extras.c >> fx_prot_xdr.c
! ../rpc3.9/usr/bin/rpcgen -m fx_prot.x -o fx_prot_svc.c
rm -f local_prot_clnt.c fxtemp.c ../include/fx_prot.h
mv fx_prot.h ../include
grep -v "include <sys/time" < fx_prot_clnt.c > fxtemp.c
--- 47,55 ----
fx_prot_xdr.o: fx_prot_xdr.c
local_prot_clnt.c fx_prot_svc.c fx_prot_clnt.c fx_prot_xdr.c: fx_prot.x
! ${RPCGEN} fx_prot.x
cat xdr_extras.c >> fx_prot_xdr.c
! ${RPCGEN} -m fx_prot.x -o fx_prot_svc.c
rm -f local_prot_clnt.c fxtemp.c ../include/fx_prot.h
mv fx_prot.h ../include
grep -v "include <sys/time" < fx_prot_clnt.c > fxtemp.c
*** lib/.#Imakefile Thu Mar 7 12:47:07 1991
--- lib/Imakefile Sat Jun 29 14:44:28 1991
***************
*** 42,49 ****
--- 42,54 ----
${ETSDIR}/krb_err.o ${ETSDIR}/rpc_err.o \
${PROTDIR}/fx_prot_clnt.o ${PROTDIR}/fx_prot_xdr.o
+ #if defined(_IBMR2)
+ INCLUDES = -I../include
+ LIBS = -L/usr/athena/lib -lhesiod -lkrb -ldes -lcom_err
+ #else
INCLUDES = -I../rpc3.9/usr/include -I../include
LIBS = -L../rpc3.9/usr/lib -L/usr/athena/lib -lhesiod -lkrb -ldes -lcom_err -lrpclib
+ #endif
DEFINES = ${INCLUDES} -DKERBEROS -DHESIOD
***************
*** 54,61 ****
llib-lfxcl.ln: ${FXCLSRC}
lint ${CFLAGS} -Cfxcl ${FXCLSRC}
! lint: libfxcl.c
! lint -u ${CFLAGS} libfxcl.c
saber_src:
/**/#suppress 287
--- 59,66 ----
llib-lfxcl.ln: ${FXCLSRC}
lint ${CFLAGS} -Cfxcl ${FXCLSRC}
! lint: ${FXCLSRC}
! lint -u ${CFLAGS} ${FXCLSRC}
saber_src:
/**/#suppress 287
*** clients/.#Imakefile Wed Feb 13 09:57:14 1991
--- clients/Imakefile Sat Jun 29 14:37:56 1991
***************
*** 16,22 ****
fxblanche fxcreate fxdestroy fxls fxping
INCLUDES = -I../lib -I../rpc3.9/usr/include -I../include
! LIBS = -L../lib -L../rpc3.9/usr/lib -lss -lfxcl -lhesiod -lkrb -ldes -lcom_err -lrpclib
FXOBJS = main.o fx_ct.o fx.o arg.o
FXSRCS = main.c fx_ct.o fx.c arg.c
--- 16,26 ----
fxblanche fxcreate fxdestroy fxls fxping
INCLUDES = -I../lib -I../rpc3.9/usr/include -I../include
! #if defined(_IBMR2)
! LIBS = -L../lib -lfxcl -lhesiod -lkrb -ldes -lcom_err
! #else
! LIBS = -L../lib -L../rpc3.9/usr/lib -lfxcl -lhesiod -lkrb -ldes -lcom_err -lrpclib
! #endif
FXOBJS = main.o fx_ct.o fx.o arg.o
FXSRCS = main.c fx_ct.o fx.c arg.c