build-system-specific-makefile-configuration-from-configure-20011031
[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
12
13 CC = ${MT_CC}
14 CFLAGS = ${OPTMZ} ${DBG} -I${TOP_OBJDIR}/src/config -I${TOP_INCDIR} ${MT_CFLAGS}
15
16
17 ########################################################################
18 # build tests
19
20 SAMPLEPROGS=\
21         cm_client_config \
22         cm_list_cells \
23         cm_local_cell \
24         cm_server_prefs \
25         rxdebug_basic_stats \
26         rxdebug_conns \
27         rxdebug_peers \
28         rxdebug_rx_stats \
29         rxdebug_supported_stats \
30         rxdebug_version \
31         rxstat_clear_peer \
32         rxstat_clear_process \
33         rxstat_disable_peer \
34         rxstat_disable_process \
35         rxstat_enable_peer \
36         rxstat_enable_process \
37         rxstat_get_peer \
38         rxstat_get_process \
39         rxstat_get_version \
40         rxstat_query_peer \
41         rxstat_query_process
42
43 SAMPLELIBS =\
44         ${TOP_LIBDIR}/libafsadminutil.a \
45         ${TOP_LIBDIR}/libclientadmin.a \
46         ${TOP_LIBDIR}/libvosadmin.a \
47         ${TOP_LIBDIR}/libbosadmin.a \
48         ${TOP_LIBDIR}/libafsauthent.a \
49         ${TOP_LIBDIR}/libafsrpc.a
50
51 cm_client_config: cm_client_config.o $(SAMPLELIBS)
52         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
53
54 cm_list_cells: cm_list_cells.o $(SAMPLELIBS)
55         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
56
57 cm_local_cell: cm_local_cell.o $(SAMPLELIBS)
58         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
59
60 cm_server_prefs: cm_server_prefs.o $(SAMPLELIBS)
61         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
62
63 rxdebug_basic_stats: rxdebug_basic_stats.o $(SAMPLELIBS)
64         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
65
66 rxdebug_conns: rxdebug_conns.o $(SAMPLELIBS)
67         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
68
69 rxdebug_peers: rxdebug_peers.o $(SAMPLELIBS)
70         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
71
72 rxdebug_rx_stats: rxdebug_rx_stats.o $(SAMPLELIBS)
73         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
74
75 rxdebug_supported_stats: rxdebug_supported_stats.o $(SAMPLELIBS)
76         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
77
78 rxdebug_version: rxdebug_version.o $(SAMPLELIBS)
79         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
80
81 rxstat_clear_peer: rxstat_clear_peer.o $(SAMPLELIBS)
82         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
83
84 rxstat_clear_process: rxstat_clear_process.o $(SAMPLELIBS)
85         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
86
87 rxstat_disable_peer: rxstat_disable_peer.o $(SAMPLELIBS)
88         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
89
90 rxstat_disable_process: rxstat_disable_process.o $(SAMPLELIBS)
91         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
92
93 rxstat_enable_peer: rxstat_enable_peer.o $(SAMPLELIBS)
94         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
95
96 rxstat_enable_process: rxstat_enable_process.o $(SAMPLELIBS)
97         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
98
99 rxstat_get_peer: rxstat_get_peer.o $(SAMPLELIBS)
100         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
101
102 rxstat_get_process: rxstat_get_process.o $(SAMPLELIBS)
103         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
104
105 rxstat_get_version: rxstat_get_version.o $(SAMPLELIBS)
106         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
107
108 rxstat_query_peer: rxstat_query_peer.o $(SAMPLELIBS)
109         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
110
111 rxstat_query_process: rxstat_query_process.o $(SAMPLELIBS)
112         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
113
114 #######################################################################
115 all test tests: $(SAMPLEPROGS)
116
117 install:
118
119 dest:
120
121 clean:
122         $(RM) -f *.o $(SAMPLEPROGS) core
123