Build system: Move install definitions to include
[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}/libafshcrypto_lwp.a
45
46 all test tests: $(SAMPLEPROGS)
47
48 cm_client_config: cm_client_config.o $(SAMPLELIBS)
49         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
50                 $(MT_LIBS) $(XLIBS)
51
52 cm_list_cells: cm_list_cells.o $(SAMPLELIBS)
53         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
54                 $(MT_LIBS) $(XLIBS)
55
56 cm_local_cell: cm_local_cell.o $(SAMPLELIBS)
57         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
58                 $(MT_LIBS) $(XLIBS)
59
60 cm_server_prefs: cm_server_prefs.o $(SAMPLELIBS)
61         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
62                 $(MT_LIBS) $(XLIBS)
63
64 rxdebug_basic_stats: rxdebug_basic_stats.o $(SAMPLELIBS)
65         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
66                 $(MT_LIBS) $(XLIBS)
67
68 rxdebug_conns: rxdebug_conns.o $(SAMPLELIBS)
69         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
70                 $(MT_LIBS) $(XLIBS)
71
72 rxdebug_peers: rxdebug_peers.o $(SAMPLELIBS)
73         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
74                 $(MT_LIBS) $(XLIBS)
75
76 rxdebug_rx_stats: rxdebug_rx_stats.o $(SAMPLELIBS)
77         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
78                 $(MT_LIBS) $(XLIBS)
79
80 rxdebug_supported_stats: rxdebug_supported_stats.o $(SAMPLELIBS)
81         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
82                 $(MT_LIBS) $(XLIBS)
83
84 rxdebug_version: rxdebug_version.o $(SAMPLELIBS)
85         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
86                 $(MT_LIBS) $(XLIBS)
87
88 rxstat_clear_peer: rxstat_clear_peer.o $(SAMPLELIBS)
89         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
90                 $(MT_LIBS) $(XLIBS)
91
92 rxstat_clear_process: rxstat_clear_process.o $(SAMPLELIBS)
93         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
94                 $(MT_LIBS) $(XLIBS)
95
96 rxstat_disable_peer: rxstat_disable_peer.o $(SAMPLELIBS)
97         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
98                 $(MT_LIBS) $(XLIBS)
99
100 rxstat_disable_process: rxstat_disable_process.o $(SAMPLELIBS)
101         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
102                 $(MT_LIBS) $(XLIBS)
103
104 rxstat_enable_peer: rxstat_enable_peer.o $(SAMPLELIBS)
105         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
106                 $(MT_LIBS) $(XLIBS)
107
108 rxstat_enable_process: rxstat_enable_process.o $(SAMPLELIBS)
109         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
110                 $(MT_LIBS) $(XLIBS)
111
112 rxstat_get_peer: rxstat_get_peer.o $(SAMPLELIBS)
113         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
114                 $(MT_LIBS) $(XLIBS)
115
116 rxstat_get_process: rxstat_get_process.o $(SAMPLELIBS)
117         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
118                 $(MT_LIBS) $(XLIBS)
119
120 rxstat_get_version: rxstat_get_version.o $(SAMPLELIBS)
121         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
122                 $(MT_LIBS) $(XLIBS)
123
124 rxstat_query_peer: rxstat_query_peer.o $(SAMPLELIBS)
125         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
126                 $(MT_LIBS) $(XLIBS)
127
128 rxstat_query_process: rxstat_query_process.o $(SAMPLELIBS)
129         $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(LIB_crypt) \
130                 $(MT_LIBS) $(XLIBS)
131
132 #
133 # Errors
134 #
135
136 CFLAGS_rxstat_query_peer.o = @CFLAGS_NOERROR@
137 CFLAGS_rxstat_query_process.o = @CFLAGS_NOERROR@
138
139 #######################################################################
140 install:
141
142 dest:
143
144 clean:
145         $(RM) -f *.o $(SAMPLEPROGS) core
146