1 # Copyright 2000, International Business Machines Corporation and others.
4 # This software has been released under the terms of the IBM Public
5 # License. For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
9 include @TOP_OBJDIR@/src/config/Makefile.config
14 CFLAGS = ${OPTMZ} ${DBG} -I${TOP_OBJDIR}/src/config -I${TOP_INCDIR} ${MT_CFLAGS}
17 ########################################################################
29 rxdebug_supported_stats \
32 rxstat_clear_process \
34 rxstat_disable_process \
36 rxstat_enable_process \
44 ${TOP_LIBDIR}/libafsadminutil.a \
45 ${TOP_LIBDIR}/libclientadmin.a \
46 ${TOP_LIBDIR}/libvosadmin.a \
47 ${TOP_LIBDIR}/libbosadmin.a \
48 ${TOP_LIBDIR}/libafsauthent.a \
49 ${TOP_LIBDIR}/libafsrpc.a
51 cm_client_config: cm_client_config.o $(SAMPLELIBS)
52 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
54 cm_list_cells: cm_list_cells.o $(SAMPLELIBS)
55 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
57 cm_local_cell: cm_local_cell.o $(SAMPLELIBS)
58 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
60 cm_server_prefs: cm_server_prefs.o $(SAMPLELIBS)
61 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
63 rxdebug_basic_stats: rxdebug_basic_stats.o $(SAMPLELIBS)
64 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
66 rxdebug_conns: rxdebug_conns.o $(SAMPLELIBS)
67 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
69 rxdebug_peers: rxdebug_peers.o $(SAMPLELIBS)
70 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
72 rxdebug_rx_stats: rxdebug_rx_stats.o $(SAMPLELIBS)
73 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
75 rxdebug_supported_stats: rxdebug_supported_stats.o $(SAMPLELIBS)
76 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
78 rxdebug_version: rxdebug_version.o $(SAMPLELIBS)
79 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
81 rxstat_clear_peer: rxstat_clear_peer.o $(SAMPLELIBS)
82 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
84 rxstat_clear_process: rxstat_clear_process.o $(SAMPLELIBS)
85 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
87 rxstat_disable_peer: rxstat_disable_peer.o $(SAMPLELIBS)
88 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
90 rxstat_disable_process: rxstat_disable_process.o $(SAMPLELIBS)
91 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
93 rxstat_enable_peer: rxstat_enable_peer.o $(SAMPLELIBS)
94 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
96 rxstat_enable_process: rxstat_enable_process.o $(SAMPLELIBS)
97 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
99 rxstat_get_peer: rxstat_get_peer.o $(SAMPLELIBS)
100 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
102 rxstat_get_process: rxstat_get_process.o $(SAMPLELIBS)
103 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
105 rxstat_get_version: rxstat_get_version.o $(SAMPLELIBS)
106 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
108 rxstat_query_peer: rxstat_query_peer.o $(SAMPLELIBS)
109 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
111 rxstat_query_process: rxstat_query_process.o $(SAMPLELIBS)
112 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
114 #######################################################################
115 all test tests: $(SAMPLEPROGS)
122 $(RM) -f *.o $(SAMPLEPROGS) core