1 # Copyright 2000, International Business Machines Corporation and others.
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
9 include @TOP_OBJDIR@/src/config/Makefile.config
10 include @TOP_OBJDIR@/src/config/Makefile.libtool
11 include @TOP_OBJDIR@/src/config/Makefile.lwp
13 MODULE_CFLAGS=$(RXDEBUG)
15 LT_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
22 LT_deps = $(top_builddir)/src/opr/liboafs_opr.la
27 ${TOP_LIBDIR}/librx.a \
33 rx_user.lo: rx.h rx_user.h rx_prototypes.h
34 rx_packet.lo: rx_packet.c rx_packet.h rx.h
35 rx_rdwr.lo: rx_rdwr.c rx.h rx_prototypes.h
36 rx.lo: rx.h rx_user.h rx_prototypes.h
37 rx_conncache.lo: rx.h rx_prototypes.h
38 rx_trace.lo: rx_trace.h
39 rx_getaddr.lo: rx.h rx_getaddr.c rx_prototypes.h
40 rx_globals.lo: rx.h rx_user.h rx_globals.h rx_prototypes.h
41 xdr_rx.lo: xdr.h rx.h xdr_prototypes.h rx_prototypes.h
42 xdr_refernce.lo: xdr_refernce.c xdr.h xdr_prototypes.h
45 $(LT_LDLIB_lwp) $(LT_objs)
47 liboafs_rx.la: liboafs_rx.la.sym $(LT_objs) $(LT_deps)
48 $(LT_LDLIB_shlib) $(LT_objs) $(LT_deps) $(LT_libs)
50 # Convenience libraries for libafsrpc and shlibafsrpc
51 libafsrpc_rx.la: $(LT_objs)
52 $(LT_LDLIB_pic) $(LT_objs)
54 CFLAGS_rx.lo = @CFLAGS_NOERROR@
60 ${TOP_INCDIR}/rx/rx_packet.h \
61 ${TOP_INCDIR}/rx/rx_prototypes.h \
62 ${TOP_INCDIR}/rx/rx.h \
63 ${TOP_INCDIR}/rx/rx_atomic.h \
64 ${TOP_INCDIR}/rx/rx_user.h \
65 ${TOP_INCDIR}/rx/rx_event.h \
66 ${TOP_INCDIR}/rx/rx_queue.h \
67 ${TOP_INCDIR}/rx/rx_globals.h \
68 ${TOP_INCDIR}/rx/rx_clock.h \
69 ${TOP_INCDIR}/rx/rx_multi.h \
70 ${TOP_INCDIR}/rx/rx_pthread.h \
71 ${TOP_INCDIR}/rx/rx_lwp.h \
72 ${TOP_INCDIR}/rx/rx_misc.h \
73 ${TOP_INCDIR}/rx/rx_null.h \
74 ${TOP_INCDIR}/rx/rx_opaque.h \
75 ${TOP_INCDIR}/rx/rx_identity.h \
76 ${TOP_INCDIR}/rx/xdr.h \
77 ${TOP_INCDIR}/rx/xdr_prototypes.h
79 ${TOP_LIBDIR}/librx.a: librx.a
82 ${TOP_INCDIR}/rx/rx_packet.h: rx_packet.h
85 ${TOP_INCDIR}/rx/rx_prototypes.h: rx_prototypes.h
88 ${TOP_INCDIR}/rx/rx.h: rx.h
91 ${TOP_INCDIR}/rx/rx_atomic.h: rx_atomic.h
94 ${TOP_INCDIR}/rx/rx_user.h: rx_user.h
97 ${TOP_INCDIR}/rx/rx_event.h: rx_event.h
100 ${TOP_INCDIR}/rx/rx_queue.h: rx_queue.h
101 ${INSTALL_DATA} $? $@
103 ${TOP_INCDIR}/rx/rx_globals.h: rx_globals.h
104 ${INSTALL_DATA} $? $@
106 ${TOP_INCDIR}/rx/rx_clock.h: rx_clock.h
107 ${INSTALL_DATA} $? $@
109 ${TOP_INCDIR}/rx/rx_multi.h: rx_multi.h
110 ${INSTALL_DATA} $? $@
112 ${TOP_INCDIR}/rx/rx_pthread.h: rx_pthread.h
113 ${INSTALL_DATA} $? $@
115 ${TOP_INCDIR}/rx/rx_lwp.h: rx_lwp.h
116 ${INSTALL_DATA} $? $@
118 ${TOP_INCDIR}/rx/rx_misc.h: rx_misc.h
119 ${INSTALL_DATA} $? $@
121 ${TOP_INCDIR}/rx/rx_null.h: rx_null.h
122 ${INSTALL_DATA} $? $@
124 ${TOP_INCDIR}/rx/rx_opaque.h: rx_opaque.h
125 ${INSTALL_DATA} $? $@
127 ${TOP_INCDIR}/rx/rx_identity.h: rx_identity.h
128 ${INSTALL_DATA} $? $@
130 ${TOP_INCDIR}/rx/xdr.h: xdr.h
131 ${INSTALL_DATA} $? $@
133 ${TOP_INCDIR}/rx/xdr_prototypes.h: xdr_prototypes.h
134 ${INSTALL_DATA} $? $@
136 ${TOP_INCDIR}/rx/rx_xmit_nt.h: rx_xmit_nt.h
137 ${INSTALL_DATA} $? $@
140 ${INSTALL} -d ${DESTDIR}${libdir}
141 ${INSTALL} -d ${DESTDIR}${includedir}/rx
142 ${INSTALL_DATA} librx.a ${DESTDIR}${libdir}/librx.a
143 ${INSTALL_DATA} ${srcdir}/rx_packet.h ${DESTDIR}${includedir}/rx/rx_packet.h
144 ${INSTALL_DATA} ${srcdir}/rx_prototypes.h ${DESTDIR}${includedir}/rx/rx_prototypes.h
145 ${INSTALL_DATA} ${srcdir}/rx.h ${DESTDIR}${includedir}/rx/rx.h
146 ${INSTALL_DATA} ${srcdir}/rx_user.h ${DESTDIR}${includedir}/rx/rx_user.h
147 ${INSTALL_DATA} ${srcdir}/rx_event.h ${DESTDIR}${includedir}/rx/rx_event.h
148 ${INSTALL_DATA} ${srcdir}/rx_queue.h ${DESTDIR}${includedir}/rx/rx_queue.h
149 ${INSTALL_DATA} ${srcdir}/rx_globals.h ${DESTDIR}${includedir}/rx/rx_globals.h
150 ${INSTALL_DATA} ${srcdir}/rx_clock.h ${DESTDIR}${includedir}/rx/rx_clock.h
151 ${INSTALL_DATA} ${srcdir}/rx_multi.h ${DESTDIR}${includedir}/rx/rx_multi.h
152 ${INSTALL_DATA} ${srcdir}/rx_pthread.h ${DESTDIR}${includedir}/rx/rx_pthread.h
153 ${INSTALL_DATA} ${srcdir}/rx_lwp.h ${DESTDIR}${includedir}/rx/rx_lwp.h
154 ${INSTALL_DATA} ${srcdir}/rx_misc.h ${DESTDIR}${includedir}/rx/rx_misc.h
155 ${INSTALL_DATA} ${srcdir}/rx_null.h ${DESTDIR}${includedir}/rx/rx_null.h
156 ${INSTALL_DATA} ${srcdir}/rx_opaque.h \
157 ${DESTDIR}${includedir}/rx/rx_opaque.h
158 ${INSTALL_DATA} ${srcdir}/xdr.h ${DESTDIR}${includedir}/rx/xdr.h
159 ${INSTALL_DATA} ${srcdir}/xdr_prototypes.h ${DESTDIR}${includedir}/rx/xdr_prototypes.h
162 ${INSTALL} -d ${DEST}/lib
163 ${INSTALL} -d ${DEST}/include/rx
164 ${INSTALL_DATA} librx.a ${DEST}/lib/librx.a
165 ${INSTALL_DATA} ${srcdir}/rx_packet.h ${DEST}/include/rx/rx_packet.h
166 ${INSTALL_DATA} ${srcdir}/rx_prototypes.h ${DEST}/include/rx/rx_prototypes.h
167 ${INSTALL_DATA} ${srcdir}/rx.h ${DEST}/include/rx/rx.h
168 ${INSTALL_DATA} ${srcdir}/rx_user.h ${DEST}/include/rx/rx_user.h
169 ${INSTALL_DATA} ${srcdir}/rx_event.h ${DEST}/include/rx/rx_event.h
170 ${INSTALL_DATA} ${srcdir}/rx_queue.h ${DEST}/include/rx/rx_queue.h
171 ${INSTALL_DATA} ${srcdir}/rx_globals.h ${DEST}/include/rx/rx_globals.h
172 ${INSTALL_DATA} ${srcdir}/rx_clock.h ${DEST}/include/rx/rx_clock.h
173 ${INSTALL_DATA} ${srcdir}/rx_multi.h ${DEST}/include/rx/rx_multi.h
174 ${INSTALL_DATA} ${srcdir}/rx_pthread.h ${DEST}/include/rx/rx_pthread.h
175 ${INSTALL_DATA} ${srcdir}/rx_lwp.h ${DEST}/include/rx/rx_lwp.h
176 ${INSTALL_DATA} ${srcdir}/rx_misc.h ${DEST}/include/rx/rx_misc.h
177 ${INSTALL_DATA} ${srcdir}/rx_null.h ${DEST}/include/rx/rx_null.h
178 ${INSTALL_DATA} ${srcdir}/rx_opaque.h ${DEST}/include/rx/rx_opaque.h
179 ${INSTALL_DATA} ${srcdir}/xdr.h ${DEST}/include/rx/xdr.h
180 ${INSTALL_DATA} ${srcdir}/xdr_prototypes.h ${DEST}/include/rx/xdr_prototypes.h
187 $(RM) -f *.o *.a core *_component_version_number.c
189 include ../config/Makefile.version