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