make-install-support-for-transarc-and-prefix-style-universes-20010907
[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 DEST=@DEST@
9 TOP_INCDIR=@TOP_INCDIR@
10 TOP_LIBDIR=@TOP_LIBDIR@
11 prefix=@prefix@
12 exec_prefix=@exec_prefix@
13 bindir=@bindir@
14 sbindir=@sbindir@
15 libexecdir=@libexecdir@
16 libdir=@libdir@
17 includedir=@includedir@
18 mandir=@mandir@
19 afssrvbindir=@afssrvbindir@
20 afssrvsbindir=@afssrvsbindir@
21 afssrvlibexecdir=@afssrvlibexecdir@
22 TOP_SRCDIR=@TOP_SRCDIR@
23 SYS_NAME=@AFS_SYSNAME@
24
25 include ../../config/Makefile.${SYS_NAME}
26
27 CC = ${MT_CC}
28 CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${MT_CFLAGS}
29
30
31 ########################################################################
32 # build tests
33
34 SAMPLEPROGS=\
35         cm_client_config \
36         cm_list_cells \
37         cm_local_cell \
38         cm_server_prefs \
39         rxdebug_basic_stats \
40         rxdebug_conns \
41         rxdebug_peers \
42         rxdebug_rx_stats \
43         rxdebug_supported_stats \
44         rxdebug_version \
45         rxstat_clear_peer \
46         rxstat_clear_process \
47         rxstat_disable_peer \
48         rxstat_disable_process \
49         rxstat_enable_peer \
50         rxstat_enable_process \
51         rxstat_get_peer \
52         rxstat_get_process \
53         rxstat_get_version \
54         rxstat_query_peer \
55         rxstat_query_process
56
57 SAMPLELIBS =\
58         ${TOP_LIBDIR}/libafsadminutil.a \
59         ${TOP_LIBDIR}/libclientadmin.a \
60         ${TOP_LIBDIR}/libvosadmin.a \
61         ${TOP_LIBDIR}/libbosadmin.a \
62         ${TOP_LIBDIR}/libafsauthent.a \
63         ${TOP_LIBDIR}/libafsrpc.a
64
65 cm_client_config: cm_client_config.o $(SAMPLELIBS)
66         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
67
68 cm_list_cells: cm_list_cells.o $(SAMPLELIBS)
69         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
70
71 cm_local_cell: cm_local_cell.o $(SAMPLELIBS)
72         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
73
74 cm_server_prefs: cm_server_prefs.o $(SAMPLELIBS)
75         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
76
77 rxdebug_basic_stats: rxdebug_basic_stats.o $(SAMPLELIBS)
78         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
79
80 rxdebug_conns: rxdebug_conns.o $(SAMPLELIBS)
81         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
82
83 rxdebug_peers: rxdebug_peers.o $(SAMPLELIBS)
84         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
85
86 rxdebug_rx_stats: rxdebug_rx_stats.o $(SAMPLELIBS)
87         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
88
89 rxdebug_supported_stats: rxdebug_supported_stats.o $(SAMPLELIBS)
90         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
91
92 rxdebug_version: rxdebug_version.o $(SAMPLELIBS)
93         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
94
95 rxstat_clear_peer: rxstat_clear_peer.o $(SAMPLELIBS)
96         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
97
98 rxstat_clear_process: rxstat_clear_process.o $(SAMPLELIBS)
99         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
100
101 rxstat_disable_peer: rxstat_disable_peer.o $(SAMPLELIBS)
102         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
103
104 rxstat_disable_process: rxstat_disable_process.o $(SAMPLELIBS)
105         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
106
107 rxstat_enable_peer: rxstat_enable_peer.o $(SAMPLELIBS)
108         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
109
110 rxstat_enable_process: rxstat_enable_process.o $(SAMPLELIBS)
111         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
112
113 rxstat_get_peer: rxstat_get_peer.o $(SAMPLELIBS)
114         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
115
116 rxstat_get_process: rxstat_get_process.o $(SAMPLELIBS)
117         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
118
119 rxstat_get_version: rxstat_get_version.o $(SAMPLELIBS)
120         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
121
122 rxstat_query_peer: rxstat_query_peer.o $(SAMPLELIBS)
123         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
124
125 rxstat_query_process: rxstat_query_process.o $(SAMPLELIBS)
126         $(CC) $(LDFLAGS) -o $@ $@.o $(SAMPLELIBS) $(MTLIBS) $(XLIBS)
127
128 #######################################################################
129 all test tests: $(SAMPLEPROGS)
130
131 install:
132
133 dest:
134
135 clean:
136         $(RM) -f *.o $(SAMPLEPROGS) core
137