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.lwp
11 include @TOP_OBJDIR@/src/config/Makefile.lwptool
13 MODULE_CFLAGS=$(RXDEBUG) -DRX_REFCOUNT_CHECK
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 \
22 AFS_component_version_number.lo
23 LT_deps = $(top_builddir)/src/opr/liboafs_opr.la
28 ${TOP_LIBDIR}/librx.a \
34 rx_user.lo: rx.h rx_user.h rx_prototypes.h
35 rx_packet.lo: rx_packet.c rx_packet.h rx.h
36 rx_rdwr.lo: rx_rdwr.c rx.h rx_prototypes.h
37 rx.lo: rx.h rx_user.h rx_server.h rx_prototypes.h
38 rx_conncache.lo: rx.h rx_prototypes.h
39 rx_trace.lo: rx_trace.h
40 rx_getaddr.lo: rx.h rx_getaddr.c rx_prototypes.h
41 rx_globals.lo: rx.h rx_user.h rx_globals.h rx_prototypes.h
42 xdr_rx.lo: xdr.h rx.h xdr_prototypes.h rx_prototypes.h
43 xdr_refernce.lo: xdr_refernce.c xdr.h xdr_prototypes.h
46 $(LT_LDLIB_lwp) $(LT_objs)
48 liboafs_rx.la: liboafs_rx.la.sym $(LT_objs) $(LT_deps)
49 $(LT_LDLIB_shlib) $(LT_objs) $(LT_deps) $(LT_libs)
51 # Convenience libraries for libafsrpc
52 librx_pic.la: $(LT_objs)
53 $(LT_LDLIB_pic) $(LT_objs)
59 ${TOP_INCDIR}/rx/rx_packet.h \
60 ${TOP_INCDIR}/rx/rx_prototypes.h \
61 ${TOP_INCDIR}/rx/rx.h \
62 ${TOP_INCDIR}/rx/rx_atomic.h \
63 ${TOP_INCDIR}/rx/rx_user.h \
64 ${TOP_INCDIR}/rx/rx_event.h \
65 ${TOP_INCDIR}/rx/rx_queue.h \
66 ${TOP_INCDIR}/rx/rx_globals.h \
67 ${TOP_INCDIR}/rx/rx_clock.h \
68 ${TOP_INCDIR}/rx/rx_multi.h \
69 ${TOP_INCDIR}/rx/rx_pthread.h \
70 ${TOP_INCDIR}/rx/rx_lwp.h \
71 ${TOP_INCDIR}/rx/rx_misc.h \
72 ${TOP_INCDIR}/rx/rx_null.h \
73 ${TOP_INCDIR}/rx/rx_opaque.h \
74 ${TOP_INCDIR}/rx/rx_identity.h \
75 ${TOP_INCDIR}/rx/xdr.h \
76 ${TOP_INCDIR}/rx/xdr_prototypes.h
78 ${TOP_LIBDIR}/librx.a: librx.a
81 ${TOP_INCDIR}/rx/rx_packet.h: rx_packet.h
84 ${TOP_INCDIR}/rx/rx_prototypes.h: rx_prototypes.h
87 ${TOP_INCDIR}/rx/rx.h: rx.h
90 ${TOP_INCDIR}/rx/rx_atomic.h: rx_atomic.h
93 ${TOP_INCDIR}/rx/rx_user.h: rx_user.h
96 ${TOP_INCDIR}/rx/rx_event.h: rx_event.h
99 ${TOP_INCDIR}/rx/rx_queue.h: rx_queue.h
100 ${INSTALL_DATA} $? $@
102 ${TOP_INCDIR}/rx/rx_globals.h: rx_globals.h
103 ${INSTALL_DATA} $? $@
105 ${TOP_INCDIR}/rx/rx_clock.h: rx_clock.h
106 ${INSTALL_DATA} $? $@
108 ${TOP_INCDIR}/rx/rx_multi.h: rx_multi.h
109 ${INSTALL_DATA} $? $@
111 ${TOP_INCDIR}/rx/rx_pthread.h: rx_pthread.h
112 ${INSTALL_DATA} $? $@
114 ${TOP_INCDIR}/rx/rx_lwp.h: rx_lwp.h
115 ${INSTALL_DATA} $? $@
117 ${TOP_INCDIR}/rx/rx_misc.h: rx_misc.h
118 ${INSTALL_DATA} $? $@
120 ${TOP_INCDIR}/rx/rx_null.h: rx_null.h
121 ${INSTALL_DATA} $? $@
123 ${TOP_INCDIR}/rx/rx_opaque.h: rx_opaque.h
124 ${INSTALL_DATA} $? $@
126 ${TOP_INCDIR}/rx/rx_identity.h: rx_identity.h
127 ${INSTALL_DATA} $? $@
129 ${TOP_INCDIR}/rx/xdr.h: xdr.h
130 ${INSTALL_DATA} $? $@
132 ${TOP_INCDIR}/rx/xdr_prototypes.h: xdr_prototypes.h
133 ${INSTALL_DATA} $? $@
135 ${TOP_INCDIR}/rx/rx_xmit_nt.h: rx_xmit_nt.h
136 ${INSTALL_DATA} $? $@
139 ${INSTALL} -d ${DESTDIR}${libdir}
140 ${INSTALL} -d ${DESTDIR}${includedir}/rx
141 ${INSTALL_DATA} librx.a ${DESTDIR}${libdir}/librx.a
142 ${INSTALL_DATA} ${srcdir}/rx_packet.h ${DESTDIR}${includedir}/rx/rx_packet.h
143 ${INSTALL_DATA} ${srcdir}/rx_prototypes.h ${DESTDIR}${includedir}/rx/rx_prototypes.h
144 ${INSTALL_DATA} ${srcdir}/rx.h ${DESTDIR}${includedir}/rx/rx.h
145 ${INSTALL_DATA} ${srcdir}/rx_user.h ${DESTDIR}${includedir}/rx/rx_user.h
146 ${INSTALL_DATA} ${srcdir}/rx_event.h ${DESTDIR}${includedir}/rx/rx_event.h
147 ${INSTALL_DATA} ${srcdir}/rx_queue.h ${DESTDIR}${includedir}/rx/rx_queue.h
148 ${INSTALL_DATA} ${srcdir}/rx_globals.h ${DESTDIR}${includedir}/rx/rx_globals.h
149 ${INSTALL_DATA} ${srcdir}/rx_clock.h ${DESTDIR}${includedir}/rx/rx_clock.h
150 ${INSTALL_DATA} ${srcdir}/rx_multi.h ${DESTDIR}${includedir}/rx/rx_multi.h
151 ${INSTALL_DATA} ${srcdir}/rx_pthread.h ${DESTDIR}${includedir}/rx/rx_pthread.h
152 ${INSTALL_DATA} ${srcdir}/rx_lwp.h ${DESTDIR}${includedir}/rx/rx_lwp.h
153 ${INSTALL_DATA} ${srcdir}/rx_misc.h ${DESTDIR}${includedir}/rx/rx_misc.h
154 ${INSTALL_DATA} ${srcdir}/rx_null.h ${DESTDIR}${includedir}/rx/rx_null.h
155 ${INSTALL_DATA} ${srcdir}/rx_opaque.h \
156 ${DESTDIR}${includedir}/rx/rx_opaque.h
157 ${INSTALL_DATA} ${srcdir}/xdr.h ${DESTDIR}${includedir}/rx/xdr.h
158 ${INSTALL_DATA} ${srcdir}/xdr_prototypes.h ${DESTDIR}${includedir}/rx/xdr_prototypes.h
161 ${INSTALL} -d ${DEST}/lib
162 ${INSTALL} -d ${DEST}/include/rx
163 ${INSTALL_DATA} librx.a ${DEST}/lib/librx.a
164 ${INSTALL_DATA} ${srcdir}/rx_packet.h ${DEST}/include/rx/rx_packet.h
165 ${INSTALL_DATA} ${srcdir}/rx_prototypes.h ${DEST}/include/rx/rx_prototypes.h
166 ${INSTALL_DATA} ${srcdir}/rx.h ${DEST}/include/rx/rx.h
167 ${INSTALL_DATA} ${srcdir}/rx_user.h ${DEST}/include/rx/rx_user.h
168 ${INSTALL_DATA} ${srcdir}/rx_event.h ${DEST}/include/rx/rx_event.h
169 ${INSTALL_DATA} ${srcdir}/rx_queue.h ${DEST}/include/rx/rx_queue.h
170 ${INSTALL_DATA} ${srcdir}/rx_globals.h ${DEST}/include/rx/rx_globals.h
171 ${INSTALL_DATA} ${srcdir}/rx_clock.h ${DEST}/include/rx/rx_clock.h
172 ${INSTALL_DATA} ${srcdir}/rx_multi.h ${DEST}/include/rx/rx_multi.h
173 ${INSTALL_DATA} ${srcdir}/rx_pthread.h ${DEST}/include/rx/rx_pthread.h
174 ${INSTALL_DATA} ${srcdir}/rx_lwp.h ${DEST}/include/rx/rx_lwp.h
175 ${INSTALL_DATA} ${srcdir}/rx_misc.h ${DEST}/include/rx/rx_misc.h
176 ${INSTALL_DATA} ${srcdir}/rx_null.h ${DEST}/include/rx/rx_null.h
177 ${INSTALL_DATA} ${srcdir}/rx_opaque.h ${DEST}/include/rx/rx_opaque.h
178 ${INSTALL_DATA} ${srcdir}/xdr.h ${DEST}/include/rx/xdr.h
179 ${INSTALL_DATA} ${srcdir}/xdr_prototypes.h ${DEST}/include/rx/xdr_prototypes.h
186 $(RM) -f *.o *.a core *_component_version_number.c
188 include ../config/Makefile.version