1 # Copyright (C) 1995-1999 Jeffrey A. Uphoff
2 # Adapted for linux-nfs build tree by Olaf Kirch, 1996.
6 # Uncomment for embedded client-side simulation functions.
9 # Undefined is normal, defined provides debug logging.
12 ##################################################################
13 # no user-serviceable parts below this line
14 ##################################################################
18 CCOPTS = $(DEBUG) $(SIMUL)
19 LIBS = -lexport -lnfs -lmisc $(LIBWRAP) $(LIBNSL)
21 SRCS = $(RPCSRCS) $(SIMSRCS) \
22 callback.c notlist.c log.c misc.c monitor.c notify.c simu.c \
23 stat.c statd.c state.c svc_run.c rmtcall.c
24 HDRS = $(RPCHDRS) $(SIMHDRS)
26 RPCSRCS = sm_inter_clnt.c sm_inter_svc.c sm_inter_xdr.c
30 SIMSRCS = sim_sm_inter_clnt.c sim_sm_inter_svc.c
31 SIMHDRS = sim_sm_inter.h
37 include $(TOP)rules.mk
41 $(RPCHDRS) $(RPCSRCS): sm_inter.x
42 $(RM) $(RPCHDRS) $(RPCSRCS)
43 $(RPCGEN) -h -o sm_inter.h $<
44 $(RPCGEN) -l -o sm_inter_clnt.c $<
45 $(RPCGEN) -m -o sm_inter_svc.c $<
46 $(RPCGEN) -c -o sm_inter_xdr.c $<
48 $(SIMHDRS) $(SIMSRCS): sim_sm_inter.x
49 $(RM) $(SIMHDRS) $(SIMSRCS)
50 $(RPCGEN) -h -o sim_sm_inter.h $<
51 $(RPCGEN) -l -o sim_sm_inter_clnt.c $<
52 $(RPCGEN) -m -o sim_sm_inter_svc.c $<
58 $(RM) $(RPCHDRS) $(RPCSRCS) $(SIMHDRS) $(SIMSRCS)