OBJECTS = server.o docclient.o xdr.o

bin:	docclient

docclient:	$(OBJECTS)
	cc -o docclient $(OBJECTS)
	
$(OBJECTS):	stdfm_rpc.h

# 300006 is not an official RPC prog # but will due for this demo.
stdfm_rpc.h:	stdfm_rpc.x
	4.0hack
	rpcgen -h -o stdfm_rpc.h stdfm_rpc.x
	rpcgen -c -o xdr.c stdfm_rpc.x
	rpcgen -s udp stdfm_rpc.x | sed -e 's/main/InitServer/' -e 's/FM_RPC_PROG/300006/' | awk -f server.awk >server.c

init:

lib:

proto:

clean:
