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