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