a31ece0ba0ab1b78dac552faea6e77a0db015079
[openafs.git] / src / libadmin / samples / Makefile.in
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
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
7
8 srcdir=@srcdir@
9 include @TOP_OBJDIR@/src/config/Makefile.config
10 include @TOP_OBJDIR@/src/config/Makefile.pthread
11
12
13 SAMPLEPROGS=\
14         cm_client_config \
15         cm_list_cells \
16         cm_local_cell \
17         cm_server_prefs \
18         rxdebug_basic_stats \
19         rxdebug_conns \
20         rxdebug_peers \
21         rxdebug_rx_stats \
22         rxdebug_supported_stats \
23         rxdebug_version \
24         rxstat_clear_peer \
25         rxstat_clear_process \
26         rxstat_disable_peer \
27         rxstat_disable_process \
28         rxstat_enable_peer \
29         rxstat_enable_process \
30         rxstat_get_peer \
31         rxstat_get_process \
32         rxstat_get_version \
33         rxstat_query_peer \
34         rxstat_query_process
35
36 SAMPLELIBS =\
37         ${TOP_LIBDIR}/libafsadminutil.a \
38         ${TOP_LIBDIR}/libclientadmin.a \
39         ${TOP_LIBDIR}/libvosadmin.a \
40         ${TOP_LIBDIR}/libbosadmin.a \
41         ${TOP_LIBDIR}/libafsauthent.a \
42         ${TOP_LIBDIR}/libafsrpc.a \
43         $(TOP_LIBDIR)/libafsutil.a \
44         $(TOP_LIBDIR)/libopr.a \
45         ${TOP_LIBDIR}/libafshcrypto_lwp.a
46
47 all test tests: $(SAMPLEPROGS)
48
49 cm_client_config: cm_client_config.o $(SAMPLELIBS)
50         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
51                 $(MT_LIBS) $(XLIBS)
52
53 cm_list_cells: cm_list_cells.o $(SAMPLELIBS)
54         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
55                 $(MT_LIBS) $(XLIBS)
56
57 cm_local_cell: cm_local_cell.o $(SAMPLELIBS)
58         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
59                 $(MT_LIBS) $(XLIBS)
60
61 cm_server_prefs: cm_server_prefs.o $(SAMPLELIBS)
62         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
63                 $(MT_LIBS) $(XLIBS)
64
65 rxdebug_basic_stats: rxdebug_basic_stats.o $(SAMPLELIBS)
66         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
67                 $(MT_LIBS) $(XLIBS)
68
69 rxdebug_conns: rxdebug_conns.o $(SAMPLELIBS)
70         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
71                 $(MT_LIBS) $(XLIBS)
72
73 rxdebug_peers: rxdebug_peers.o $(SAMPLELIBS)
74         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
75                 $(MT_LIBS) $(XLIBS)
76
77 rxdebug_rx_stats: rxdebug_rx_stats.o $(SAMPLELIBS)
78         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
79                 $(MT_LIBS) $(XLIBS)
80
81 rxdebug_supported_stats: rxdebug_supported_stats.o $(SAMPLELIBS)
82         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
83                 $(MT_LIBS) $(XLIBS)
84
85 rxdebug_version: rxdebug_version.o $(SAMPLELIBS)
86         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
87                 $(MT_LIBS) $(XLIBS)
88
89 rxstat_clear_peer: rxstat_clear_peer.o $(SAMPLELIBS)
90         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
91                 $(MT_LIBS) $(XLIBS)
92
93 rxstat_clear_process: rxstat_clear_process.o $(SAMPLELIBS)
94         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
95                 $(MT_LIBS) $(XLIBS)
96
97 rxstat_disable_peer: rxstat_disable_peer.o $(SAMPLELIBS)
98         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
99                 $(MT_LIBS) $(XLIBS)
100
101 rxstat_disable_process: rxstat_disable_process.o $(SAMPLELIBS)
102         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
103                 $(MT_LIBS) $(XLIBS)
104
105 rxstat_enable_peer: rxstat_enable_peer.o $(SAMPLELIBS)
106         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
107                 $(MT_LIBS) $(XLIBS)
108
109 rxstat_enable_process: rxstat_enable_process.o $(SAMPLELIBS)
110         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
111                 $(MT_LIBS) $(XLIBS)
112
113 rxstat_get_peer: rxstat_get_peer.o $(SAMPLELIBS)
114         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
115                 $(MT_LIBS) $(XLIBS)
116
117 rxstat_get_process: rxstat_get_process.o $(SAMPLELIBS)
118         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
119                 $(MT_LIBS) $(XLIBS)
120
121 rxstat_get_version: rxstat_get_version.o $(SAMPLELIBS)
122         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
123                 $(MT_LIBS) $(XLIBS)
124
125 rxstat_query_peer: rxstat_query_peer.o $(SAMPLELIBS)
126         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
127                 $(MT_LIBS) $(XLIBS)
128
129 rxstat_query_process: rxstat_query_process.o $(SAMPLELIBS)
130         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
131                 $(MT_LIBS) $(XLIBS)
132
133 #
134 # Errors
135 #
136
137 CFLAGS_rxstat_query_peer.o = @CFLAGS_NOERROR@
138 CFLAGS_rxstat_query_process.o = @CFLAGS_NOERROR@
139
140 #######################################################################
141 install:
142
143 dest:
144
145 clean:
146         $(RM) -f *.o $(SAMPLEPROGS) core
147