Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / rx / Makefile.in
CommitLineData
805e021f
CE
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
8srcdir=@srcdir@
9include @TOP_OBJDIR@/src/config/Makefile.config
10include @TOP_OBJDIR@/src/config/Makefile.lwp
11include @TOP_OBJDIR@/src/config/Makefile.lwptool
12
13MODULE_CFLAGS=$(RXDEBUG)
14
15LT_objs = xdr.lo xdr_array.lo xdr_rx.lo xdr_mem.lo xdr_len.lo xdr_afsuuid.lo \
16 xdr_int32.lo xdr_int64.lo xdr_update.lo xdr_refernce.lo \
17 rx_clock.lo rx_call.lo rx_conn.lo rx_event.lo rx_user.lo rx_lwp.lo \
18 rx_pthread.lo rx.lo rx_null.lo rx_globals.lo rx_getaddr.lo rx_misc.lo \
19 rx_packet.lo rx_peer.lo rx_rdwr.lo rx_trace.lo rx_conncache.lo \
20 rx_opaque.lo rx_identity.lo rx_stats.lo rx_multi.lo \
21 AFS_component_version_number.lo
22LT_deps = $(top_builddir)/src/opr/liboafs_opr.la
23LT_libs = $(MT_LIBS)
24
25all: \
26 includes \
27 ${TOP_LIBDIR}/librx.a \
28 liboafs_rx.la \
29 librx_pic.la
30
31depinstall: includes
32
33rx_user.lo: rx.h rx_user.h rx_prototypes.h
34rx_packet.lo: rx_packet.c rx_packet.h rx.h
35rx_rdwr.lo: rx_rdwr.c rx.h rx_prototypes.h
36rx.lo: rx.h rx_user.h rx_server.h rx_prototypes.h
37rx_conncache.lo: rx.h rx_prototypes.h
38rx_trace.lo: rx_trace.h
39rx_getaddr.lo: rx.h rx_getaddr.c rx_prototypes.h
40rx_globals.lo: rx.h rx_user.h rx_globals.h rx_prototypes.h
41xdr_rx.lo: xdr.h rx.h xdr_prototypes.h rx_prototypes.h
42xdr_refernce.lo: xdr_refernce.c xdr.h xdr_prototypes.h
43
44librx.a: $(LT_objs)
45 $(LT_LDLIB_lwp) $(LT_objs)
46
47liboafs_rx.la: liboafs_rx.la.sym $(LT_objs) $(LT_deps)
48 $(LT_LDLIB_shlib) $(LT_objs) $(LT_deps) $(LT_libs)
49
50# Convenience libraries for libafsrpc and shlibafsrpc
51librx_pic.la: $(LT_objs)
52 $(LT_LDLIB_pic) $(LT_objs)
53
54#
55# Install targets
56#
57includes: \
58 ${TOP_INCDIR}/rx/rx_packet.h \
59 ${TOP_INCDIR}/rx/rx_prototypes.h \
60 ${TOP_INCDIR}/rx/rx.h \
61 ${TOP_INCDIR}/rx/rx_atomic.h \
62 ${TOP_INCDIR}/rx/rx_user.h \
63 ${TOP_INCDIR}/rx/rx_event.h \
64 ${TOP_INCDIR}/rx/rx_queue.h \
65 ${TOP_INCDIR}/rx/rx_globals.h \
66 ${TOP_INCDIR}/rx/rx_clock.h \
67 ${TOP_INCDIR}/rx/rx_multi.h \
68 ${TOP_INCDIR}/rx/rx_pthread.h \
69 ${TOP_INCDIR}/rx/rx_lwp.h \
70 ${TOP_INCDIR}/rx/rx_misc.h \
71 ${TOP_INCDIR}/rx/rx_null.h \
72 ${TOP_INCDIR}/rx/rx_opaque.h \
73 ${TOP_INCDIR}/rx/rx_identity.h \
74 ${TOP_INCDIR}/rx/xdr.h \
75 ${TOP_INCDIR}/rx/xdr_prototypes.h
76
77${TOP_LIBDIR}/librx.a: librx.a
78 ${INSTALL_DATA} $? $@
79
80${TOP_INCDIR}/rx/rx_packet.h: rx_packet.h
81 ${INSTALL_DATA} $? $@
82
83${TOP_INCDIR}/rx/rx_prototypes.h: rx_prototypes.h
84 ${INSTALL_DATA} $? $@
85
86${TOP_INCDIR}/rx/rx.h: rx.h
87 ${INSTALL_DATA} $? $@
88
89${TOP_INCDIR}/rx/rx_atomic.h: rx_atomic.h
90 ${INSTALL_DATA} $? $@
91
92${TOP_INCDIR}/rx/rx_user.h: rx_user.h
93 ${INSTALL_DATA} $? $@
94
95${TOP_INCDIR}/rx/rx_event.h: rx_event.h
96 ${INSTALL_DATA} $? $@
97
98${TOP_INCDIR}/rx/rx_queue.h: rx_queue.h
99 ${INSTALL_DATA} $? $@
100
101${TOP_INCDIR}/rx/rx_globals.h: rx_globals.h
102 ${INSTALL_DATA} $? $@
103
104${TOP_INCDIR}/rx/rx_clock.h: rx_clock.h
105 ${INSTALL_DATA} $? $@
106
107${TOP_INCDIR}/rx/rx_multi.h: rx_multi.h
108 ${INSTALL_DATA} $? $@
109
110${TOP_INCDIR}/rx/rx_pthread.h: rx_pthread.h
111 ${INSTALL_DATA} $? $@
112
113${TOP_INCDIR}/rx/rx_lwp.h: rx_lwp.h
114 ${INSTALL_DATA} $? $@
115
116${TOP_INCDIR}/rx/rx_misc.h: rx_misc.h
117 ${INSTALL_DATA} $? $@
118
119${TOP_INCDIR}/rx/rx_null.h: rx_null.h
120 ${INSTALL_DATA} $? $@
121
122${TOP_INCDIR}/rx/rx_opaque.h: rx_opaque.h
123 ${INSTALL_DATA} $? $@
124
125${TOP_INCDIR}/rx/rx_identity.h: rx_identity.h
126 ${INSTALL_DATA} $? $@
127
128${TOP_INCDIR}/rx/xdr.h: xdr.h
129 ${INSTALL_DATA} $? $@
130
131${TOP_INCDIR}/rx/xdr_prototypes.h: xdr_prototypes.h
132 ${INSTALL_DATA} $? $@
133
134${TOP_INCDIR}/rx/rx_xmit_nt.h: rx_xmit_nt.h
135 ${INSTALL_DATA} $? $@
136
137install: librx.a
138 ${INSTALL} -d ${DESTDIR}${libdir}
139 ${INSTALL} -d ${DESTDIR}${includedir}/rx
140 ${INSTALL_DATA} librx.a ${DESTDIR}${libdir}/librx.a
141 ${INSTALL_DATA} ${srcdir}/rx_packet.h ${DESTDIR}${includedir}/rx/rx_packet.h
142 ${INSTALL_DATA} ${srcdir}/rx_prototypes.h ${DESTDIR}${includedir}/rx/rx_prototypes.h
143 ${INSTALL_DATA} ${srcdir}/rx.h ${DESTDIR}${includedir}/rx/rx.h
144 ${INSTALL_DATA} ${srcdir}/rx_user.h ${DESTDIR}${includedir}/rx/rx_user.h
145 ${INSTALL_DATA} ${srcdir}/rx_event.h ${DESTDIR}${includedir}/rx/rx_event.h
146 ${INSTALL_DATA} ${srcdir}/rx_queue.h ${DESTDIR}${includedir}/rx/rx_queue.h
147 ${INSTALL_DATA} ${srcdir}/rx_globals.h ${DESTDIR}${includedir}/rx/rx_globals.h
148 ${INSTALL_DATA} ${srcdir}/rx_clock.h ${DESTDIR}${includedir}/rx/rx_clock.h
149 ${INSTALL_DATA} ${srcdir}/rx_multi.h ${DESTDIR}${includedir}/rx/rx_multi.h
150 ${INSTALL_DATA} ${srcdir}/rx_pthread.h ${DESTDIR}${includedir}/rx/rx_pthread.h
151 ${INSTALL_DATA} ${srcdir}/rx_lwp.h ${DESTDIR}${includedir}/rx/rx_lwp.h
152 ${INSTALL_DATA} ${srcdir}/rx_misc.h ${DESTDIR}${includedir}/rx/rx_misc.h
153 ${INSTALL_DATA} ${srcdir}/rx_null.h ${DESTDIR}${includedir}/rx/rx_null.h
154 ${INSTALL_DATA} ${srcdir}/rx_opaque.h \
155 ${DESTDIR}${includedir}/rx/rx_opaque.h
156 ${INSTALL_DATA} ${srcdir}/xdr.h ${DESTDIR}${includedir}/rx/xdr.h
157 ${INSTALL_DATA} ${srcdir}/xdr_prototypes.h ${DESTDIR}${includedir}/rx/xdr_prototypes.h
158
159dest: librx.a
160 ${INSTALL} -d ${DEST}/lib
161 ${INSTALL} -d ${DEST}/include/rx
162 ${INSTALL_DATA} librx.a ${DEST}/lib/librx.a
163 ${INSTALL_DATA} ${srcdir}/rx_packet.h ${DEST}/include/rx/rx_packet.h
164 ${INSTALL_DATA} ${srcdir}/rx_prototypes.h ${DEST}/include/rx/rx_prototypes.h
165 ${INSTALL_DATA} ${srcdir}/rx.h ${DEST}/include/rx/rx.h
166 ${INSTALL_DATA} ${srcdir}/rx_user.h ${DEST}/include/rx/rx_user.h
167 ${INSTALL_DATA} ${srcdir}/rx_event.h ${DEST}/include/rx/rx_event.h
168 ${INSTALL_DATA} ${srcdir}/rx_queue.h ${DEST}/include/rx/rx_queue.h
169 ${INSTALL_DATA} ${srcdir}/rx_globals.h ${DEST}/include/rx/rx_globals.h
170 ${INSTALL_DATA} ${srcdir}/rx_clock.h ${DEST}/include/rx/rx_clock.h
171 ${INSTALL_DATA} ${srcdir}/rx_multi.h ${DEST}/include/rx/rx_multi.h
172 ${INSTALL_DATA} ${srcdir}/rx_pthread.h ${DEST}/include/rx/rx_pthread.h
173 ${INSTALL_DATA} ${srcdir}/rx_lwp.h ${DEST}/include/rx/rx_lwp.h
174 ${INSTALL_DATA} ${srcdir}/rx_misc.h ${DEST}/include/rx/rx_misc.h
175 ${INSTALL_DATA} ${srcdir}/rx_null.h ${DEST}/include/rx/rx_null.h
176 ${INSTALL_DATA} ${srcdir}/rx_opaque.h ${DEST}/include/rx/rx_opaque.h
177 ${INSTALL_DATA} ${srcdir}/xdr.h ${DEST}/include/rx/xdr.h
178 ${INSTALL_DATA} ${srcdir}/xdr_prototypes.h ${DEST}/include/rx/xdr_prototypes.h
179
180#
181# Misc. targets
182#
183clean:
184 $(LT_CLEAN)
185 $(RM) -f *.o *.a core *_component_version_number.c
186
187include ../config/Makefile.version