/* 
 * Imakefile for the FX (file exchange) fxtest program
 *
 * $Author: susan $
 * $Id: Imakefile,v 1.3 1993/05/17 17:10:55 susan Exp $
 *
 *
 * Copyright 1989, 1990 by the Massachusetts Institute of Technology.
 *
 * For copying and distribution information, please see the file
 * <mit-copyright.h>.
 *
 */

/**/# Client-server protocol, error tables kept in separate directories
PROTDIR=../protocol
ETSDIR=../ets

/* RS/6000 should use RPC from libc */
#if !defined(_IBMR2)
RPCINC=-I../rpc3.9/usr/include
#endif
RPCLIB=-L../rpc3.9/usr/lib -lfxrpc

KRBLIBS = -lkrb -ldes

SSLIBS = -lss

/**/# Define KERBEROS for Kerberos support
DEFKRB = -DKERBEROS

INCLUDES = ${RPCINC} -I../include
LIBS = -L../lib -lacl ${KRBLIBS} ${SSLIBS} -lcom_err ${RPCLIB} ${HESLIBS}
DEFINES=${DEFKRB} ${INCLUDES}

FXTESTOBJS = \
	${ETSDIR}/fxserver_err.o \
	${ETSDIR}/rpc_err.o \
	${PROTDIR}/fx_prot_xdr.o \
	${PROTDIR}/fx_prot_clnt.o \
	commands.o \
	fxtest.o

FXTESTSRCS = \
	fxtest.c

cmd_table(commands)
build_program(fxtest,${FXTESTOBJS},,${LIBS})
