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
10 TOP_SRCDIR=@TOP_SRCDIR@
11 SYS_NAME=@AFS_SYSNAME@
13 include ../../config/Makefile.${SYS_NAME}
16 CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${MT_CFLAGS}
19 ########################################################################
31 rxdebug_supported_stats \
34 rxstat_clear_process \
36 rxstat_disable_process \
38 rxstat_enable_process \
46 ${DESTDIR}/lib/afs/libafsadminutil.a \
47 ${DESTDIR}/lib/afs/libclientadmin.a \
48 ${DESTDIR}/lib/afs/libvosadmin.a \
49 ${DESTDIR}/lib/afs/libbosadmin.a \
50 ${DESTDIR}/lib/libafsauthent.a \
51 ${DESTDIR}/lib/libafsrpc.a
53 cm_client_config: cm_client_config.o $(SAMPLELIBS)
54 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
56 cm_list_cells: cm_list_cells.o $(SAMPLELIBS)
57 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
59 cm_local_cell: cm_local_cell.o $(SAMPLELIBS)
60 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
62 cm_server_prefs: cm_server_prefs.o $(SAMPLELIBS)
63 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
65 rxdebug_basic_stats: rxdebug_basic_stats.o $(SAMPLELIBS)
66 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
68 rxdebug_conns: rxdebug_conns.o $(SAMPLELIBS)
69 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
71 rxdebug_peers: rxdebug_peers.o $(SAMPLELIBS)
72 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
74 rxdebug_rx_stats: rxdebug_rx_stats.o $(SAMPLELIBS)
75 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
77 rxdebug_supported_stats: rxdebug_supported_stats.o $(SAMPLELIBS)
78 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
80 rxdebug_version: rxdebug_version.o $(SAMPLELIBS)
81 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
83 rxstat_clear_peer: rxstat_clear_peer.o $(SAMPLELIBS)
84 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
86 rxstat_clear_process: rxstat_clear_process.o $(SAMPLELIBS)
87 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
89 rxstat_disable_peer: rxstat_disable_peer.o $(SAMPLELIBS)
90 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
92 rxstat_disable_process: rxstat_disable_process.o $(SAMPLELIBS)
93 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
95 rxstat_enable_peer: rxstat_enable_peer.o $(SAMPLELIBS)
96 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
98 rxstat_enable_process: rxstat_enable_process.o $(SAMPLELIBS)
99 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
101 rxstat_get_peer: rxstat_get_peer.o $(SAMPLELIBS)
102 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
104 rxstat_get_process: rxstat_get_process.o $(SAMPLELIBS)
105 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
107 rxstat_get_version: rxstat_get_version.o $(SAMPLELIBS)
108 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
110 rxstat_query_peer: rxstat_query_peer.o $(SAMPLELIBS)
111 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
113 rxstat_query_process: rxstat_query_process.o $(SAMPLELIBS)
114 $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
116 #######################################################################
117 install test tests: $(SAMPLEPROGS)
120 $(RM) -f *.o $(SAMPLEPROGS) core