makefiles-cflag-cleanup-20030111
[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
11 CC = ${MT_CC}
12 CFLAGS=${COMMON_CFLAGS} ${MT_CFLAGS}
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_LIBDIR)/libafsutil.a
45
46 cm_client_config: cm_client_config.o $(SAMPLELIBS)
47         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
48
49 cm_list_cells: cm_list_cells.o $(SAMPLELIBS)
50         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
51
52 cm_local_cell: cm_local_cell.o $(SAMPLELIBS)
53         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
54
55 cm_server_prefs: cm_server_prefs.o $(SAMPLELIBS)
56         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
57
58 rxdebug_basic_stats: rxdebug_basic_stats.o $(SAMPLELIBS)
59         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
60
61 rxdebug_conns: rxdebug_conns.o $(SAMPLELIBS)
62         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
63
64 rxdebug_peers: rxdebug_peers.o $(SAMPLELIBS)
65         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
66
67 rxdebug_rx_stats: rxdebug_rx_stats.o $(SAMPLELIBS)
68         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
69
70 rxdebug_supported_stats: rxdebug_supported_stats.o $(SAMPLELIBS)
71         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
72
73 rxdebug_version: rxdebug_version.o $(SAMPLELIBS)
74         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
75
76 rxstat_clear_peer: rxstat_clear_peer.o $(SAMPLELIBS)
77         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
78
79 rxstat_clear_process: rxstat_clear_process.o $(SAMPLELIBS)
80         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
81
82 rxstat_disable_peer: rxstat_disable_peer.o $(SAMPLELIBS)
83         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
84
85 rxstat_disable_process: rxstat_disable_process.o $(SAMPLELIBS)
86         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
87
88 rxstat_enable_peer: rxstat_enable_peer.o $(SAMPLELIBS)
89         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
90
91 rxstat_enable_process: rxstat_enable_process.o $(SAMPLELIBS)
92         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
93
94 rxstat_get_peer: rxstat_get_peer.o $(SAMPLELIBS)
95         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
96
97 rxstat_get_process: rxstat_get_process.o $(SAMPLELIBS)
98         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
99
100 rxstat_get_version: rxstat_get_version.o $(SAMPLELIBS)
101         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
102
103 rxstat_query_peer: rxstat_query_peer.o $(SAMPLELIBS)
104         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
105
106 rxstat_query_process: rxstat_query_process.o $(SAMPLELIBS)
107         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
108
109 #######################################################################
110 all test tests: $(SAMPLEPROGS)
111
112 install:
113
114 dest:
115
116 clean:
117         $(RM) -f *.o $(SAMPLEPROGS) core
118