xdr-build-ours-entirely-20020926
[openafs.git] / src / rx / 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
11 CFLAGS=-I. -I${srcdir} ${OPTMZ} -I${TOP_OBJDIR}/src/config -I${TOP_INCDIR} -DRXDEBUG ${XCFLAGS}
12
13 #
14 # Generic xdr objects (or, at least, xdr stuff that's not newly defined for rx).
15 # Really the xdr stuff should be in its own directory.
16 #
17 XDROBJS_common = xdr.o xdr_array.o xdr_rx.o xdr_afsuuid.o
18
19 XDROBJS = xdr_arrayn.o ${XDROBJS_common}
20
21 XDROBJS_djgpp = xdr_rec.o xdr_stdio.o \
22         xdr_float.o  xdr_refernce.o  xdr_update.o \
23         xdr_mem.o ${XDROBJS_common}
24
25 RXOBJS_common = rx_clock.o rx_event.o rx_user.o rx_lwp.o rx.o rx_null.o \
26         rx_globals.o rx_getaddr.o rx_misc.o rx_packet.o rx_rdwr.o rx_trace.o \
27         rx_conncache.o xdr_int32.o xdr_int64.o xdr_update.o xdr_refernce.o
28
29 RXOBJS = ${RXOBJS_common} 
30 RXOBJS_djgpp = ${RXOBJS_common} rx_xmit_nt.o
31
32 MULTIOBJS = rx_multi.o
33
34 LIBOBJS = ${RXOBJS} ${MULTIOBJS} ${XDROBJS}
35
36 LIBOBJS_djgpp = ${RXOBJS_djgpp} ${MULTIOBJS} ${XDROBJS_djgpp}
37
38 BASICINCLS=${TOP_INCDIR}/lwp.h ${TOP_INCDIR}/lock.h \
39              rx_clock.h rx_queue.h rx_event.h
40
41 LIBS=librx.a ${TOP_LIBDIR}/liblwp.a ${TOP_LIBDIR}/libcmd.a \
42                ${TOP_LIBDIR}/util.a
43
44 KSRCS = rx.c rx.h rx_clock.c rx_clock.h rx_event.c rx_event.h \
45         rx_globals.c rx_globals.h rx_kernel.h rx_misc.h \
46         rx_null.c rx_null.h rx_queue.h rx_getaddr.c rx_packet.c rx_packet.h \
47         rx_multi.h rx_kcommon.h rx_kcommon.c rx_prototypes.h \
48         xdr.c xdr.h xdr_array.c xdr_arrayn.c xdr_rx.c rx_misc.c rx_rdwr.c \
49         xdr_afsuuid.c rx_trace.h xdr_int64.c xdr_int32.c xdr_prototypes.h
50 UKSRCS = $(KSRCS) rx_conncache.c
51
52 all: \
53         includes kinstall ukinstall \
54         ${TOP_LIBDIR}/librx.a
55
56 install-djgpp: \
57         includes kinstall ukinstall \
58         ${TOP_INCDIR}/rx/rx_xmit_nt.h \
59         ${TOP_LIBDIR}/librx-djgpp.a
60
61 RX_component_version_number.c: AFS_component_version_number.c
62         sed 's/cml_version/rx_cml_version/' <AFS_component_version_number.c >RX_component_version_number.c
63
64 RX_component_version_number.o: RX_component_version_number.c
65
66 ${RXOBJS}: ${BASICINCLS} rx.h rx_user.h rx_globals.h rx_prototypes.h
67
68 ${MULTIOBJS}: rx.h rx_multi.h rx_prototypes.h
69
70 ${XDROBJS}: xdr.h xdr_prototypes.h
71
72 rxperf.o: rx.h rx_null.h rx_globals.h rx_prototypes.h
73
74 rx_user.o: rx.h rx_user.h rx_prototypes.h
75
76 rx_packet.o: rx_packet.c rx_packet.h
77
78 rx_rdwr.o: rx_rdwr.c rx.h rx_prototypes.h
79
80 rx.o: rx.h rx_user.h rx_prototypes.h
81
82 rx_conncache.o: rx.h rx_prototypes.h
83
84 rx_trace.o: rx_trace.h 
85
86 rx_getaddr.o: rx.h rx_getaddr.c rx_prototypes.h
87
88 rx_globals.o: rx.h rx_user.h rx_globals.h rx_prototypes.h
89
90 xdr_rx.o: xdr.h rx.h xdr_prototypes.h rx_prototypes.h
91
92 xdr_refernce.o: xdr_refernce.c xdr.h xdr_prototypes.h
93
94 rxperf: rxperf.o librx.a
95         ${CC} -o $@ rxperf.o ${LIBS}
96
97 librx.a: ${LIBOBJS} RX_component_version_number.o
98         -$(RM) -f $@
99         $(AR) crv $@ ${LIBOBJS} RX_component_version_number.o
100         $(RANLIB) $@
101
102 librx-djgpp.a: ${LIBOBJS_djgpp} RX_component_version_number.o
103         -$(RM) -f librx-djgpp.a
104         $(AR) crv librx-djgpp.a RX_component_version_number.o ${LIBOBJS_djgpp}
105         $(RANLIB) librx-djgpp.a
106
107 #
108 # Install targets
109 #
110
111 includes: \
112         ${TOP_INCDIR}/rx/rx_packet.h \
113         ${TOP_INCDIR}/rx/rx_prototypes.h \
114         ${TOP_INCDIR}/rx/rx.h \
115         ${TOP_INCDIR}/rx/rx_user.h \
116         ${TOP_INCDIR}/rx/rx_event.h \
117         ${TOP_INCDIR}/rx/rx_queue.h \
118         ${TOP_INCDIR}/rx/rx_globals.h \
119         ${TOP_INCDIR}/rx/rx_clock.h \
120         ${TOP_INCDIR}/rx/rx_multi.h \
121         ${TOP_INCDIR}/rx/rx_pthread.h \
122         ${TOP_INCDIR}/rx/rx_lwp.h \
123         ${TOP_INCDIR}/rx/rx_misc.h \
124         ${TOP_INCDIR}/rx/rx_null.h \
125         ${TOP_INCDIR}/rx/xdr.h \
126         ${TOP_INCDIR}/rx/xdr_prototypes.h
127
128 ${TOP_LIBDIR}/librx.a: librx.a
129         ${INSTALL} $? $@
130
131 ${TOP_LIBDIR}/librx-djgpp.a: librx-djgpp.a
132         ${INSTALL} $? ${TOP_LIBDIR}/librx-djgpp.a
133         ${INSTALL} $? ${TOP_LIBDIR}/librx.a
134
135 ${TOP_INCDIR}/rx/rx_packet.h: rx_packet.h
136         ${INSTALL} $? $@
137
138 ${TOP_INCDIR}/rx/rx_prototypes.h: rx_prototypes.h
139         ${INSTALL} $? $@
140
141 ${TOP_INCDIR}/rx/rx.h: rx.h
142         ${INSTALL} $? $@
143
144 ${TOP_INCDIR}/rx/rx_user.h: rx_user.h
145         ${INSTALL} $? $@
146
147 ${TOP_INCDIR}/rx/rx_event.h: rx_event.h
148         ${INSTALL} $? $@
149
150 ${TOP_INCDIR}/rx/rx_queue.h: rx_queue.h
151         ${INSTALL} $? $@
152
153 ${TOP_INCDIR}/rx/rx_globals.h: rx_globals.h
154         ${INSTALL} $? $@
155
156 ${TOP_INCDIR}/rx/rx_clock.h: rx_clock.h
157         ${INSTALL} $? $@
158
159 ${TOP_INCDIR}/rx/rx_multi.h: rx_multi.h
160         ${INSTALL} $? $@
161
162 ${TOP_INCDIR}/rx/rx_pthread.h: rx_pthread.h
163         ${INSTALL} $? $@
164
165 ${TOP_INCDIR}/rx/rx_lwp.h: rx_lwp.h
166         ${INSTALL} $? $@
167
168 ${TOP_INCDIR}/rx/rx_misc.h: rx_misc.h
169         ${INSTALL} $? $@
170
171 ${TOP_INCDIR}/rx/rx_null.h: rx_null.h
172         ${INSTALL} $? $@
173
174 ${TOP_INCDIR}/rx/xdr.h: xdr.h
175         ${INSTALL} $? $@
176
177 ${TOP_INCDIR}/rx/xdr_prototypes.h: xdr_prototypes.h
178         ${INSTALL} $? $@
179
180 ${TOP_INCDIR}/rx/rx_xmit_nt.h: rx_xmit_nt.h 
181         ${INSTALL} $? $@
182
183 kinstall: \
184         ${KERNELDIR}/rx \
185         ${KERNELDIR}/rx/rx.c \
186         ${KERNELDIR}/rx/rx_clock.c \
187         ${KERNELDIR}/rx/rx_clock.h \
188         ${KERNELDIR}/rx/rx_event.c \
189         ${KERNELDIR}/rx/rx_event.h \
190         ${KERNELDIR}/rx/rx_getaddr.c \
191         ${KERNELDIR}/rx/rx_globals.c \
192         ${KERNELDIR}/rx/rx_globals.h \
193         ${KERNELDIR}/rx/rx.h \
194         ${KERNELDIR}/rx/rx_kcommon.c \
195         ${KERNELDIR}/rx/rx_kcommon.h \
196         ${KERNELDIR}/rx/rx_kernel.h \
197         ${KERNELDIR}/rx/rx_kmutex.c \
198         ${KERNELDIR}/rx/rx_kmutex.h \
199         ${KERNELDIR}/rx/rx_knet.c \
200         ${KERNELDIR}/rx/rx_misc.c \
201         ${KERNELDIR}/rx/rx_misc.h \
202         ${KERNELDIR}/rx/rx_multi.h \
203         ${KERNELDIR}/rx/rx_null.c \
204         ${KERNELDIR}/rx/rx_null.h \
205         ${KERNELDIR}/rx/rx_packet.c \
206         ${KERNELDIR}/rx/rx_packet.h \
207         ${KERNELDIR}/rx/rx_prototypes.h \
208         ${KERNELDIR}/rx/rx_queue.h \
209         ${KERNELDIR}/rx/rx_rdwr.c \
210         ${KERNELDIR}/rx/rx_trace.h \
211         ${KERNELDIR}/rx/xdr_afsuuid.c \
212         ${KERNELDIR}/rx/xdr_array.c \
213         ${KERNELDIR}/rx/xdr_arrayn.c \
214         ${KERNELDIR}/rx/xdr.c \
215         ${KERNELDIR}/rx/xdr.h \
216         ${KERNELDIR}/rx/xdr_prototypes.h \
217         ${KERNELDIR}/rx/xdr_int32.c      \
218         ${KERNELDIR}/rx/xdr_int64.c      \
219         ${KERNELDIR}/rx/xdr_rx.c
220
221 ukinstall: \
222         ${UKERNELDIR}/rx \
223         ${UKERNELDIR}/rx/rx.c \
224         ${UKERNELDIR}/rx/rx_clock.c \
225         ${UKERNELDIR}/rx/rx_clock.h \
226         ${UKERNELDIR}/rx/rx_conncache.c \
227         ${UKERNELDIR}/rx/rx_event.c \
228         ${UKERNELDIR}/rx/rx_event.h \
229         ${UKERNELDIR}/rx/rx_getaddr.c \
230         ${UKERNELDIR}/rx/rx_globals.c \
231         ${UKERNELDIR}/rx/rx_globals.h \
232         ${UKERNELDIR}/rx/rx.h \
233         ${UKERNELDIR}/rx/rx_kcommon.c \
234         ${UKERNELDIR}/rx/rx_kcommon.h \
235         ${UKERNELDIR}/rx/rx_kernel.h \
236         ${UKERNELDIR}/rx/rx_kmutex.c \
237         ${UKERNELDIR}/rx/rx_kmutex.h \
238         ${UKERNELDIR}/rx/rx_knet.c \
239         ${UKERNELDIR}/rx/rx_misc.c \
240         ${UKERNELDIR}/rx/rx_misc.h \
241         ${UKERNELDIR}/rx/rx_multi.h \
242         ${UKERNELDIR}/rx/rx_null.c \
243         ${UKERNELDIR}/rx/rx_null.h \
244         ${UKERNELDIR}/rx/rx_packet.c \
245         ${UKERNELDIR}/rx/rx_packet.h \
246         ${UKERNELDIR}/rx/rx_prototypes.h \
247         ${UKERNELDIR}/rx/rx_queue.h \
248         ${UKERNELDIR}/rx/rx_rdwr.c \
249         ${UKERNELDIR}/rx/rx_trace.h \
250         ${UKERNELDIR}/rx/xdr_afsuuid.c \
251         ${UKERNELDIR}/rx/xdr_array.c \
252         ${UKERNELDIR}/rx/xdr_arrayn.c \
253         ${UKERNELDIR}/rx/xdr.c \
254         ${UKERNELDIR}/rx/xdr.h \
255         ${UKERNELDIR}/rx/xdr_prototypes.h \
256         ${UKERNELDIR}/rx/xdr_int32.c \
257         ${UKERNELDIR}/rx/xdr_int64.c \
258         ${UKERNELDIR}/rx/xdr_rx.c
259
260
261 ${UKERNELDIR}/rx:
262         mkdir -p $@
263
264 ${KERNELDIR}/rx:
265         mkdir -p $@
266
267 ${KERNELDIR}/rx/rx.c: rx.c
268         ${INSTALL} $? $@
269
270 ${KERNELDIR}/rx/rx_clock.c: rx_clock.c
271         ${INSTALL} $? $@
272
273 ${KERNELDIR}/rx/rx_clock.h: rx_clock.h
274         ${INSTALL} $? $@
275
276 ${KERNELDIR}/rx/rx_event.c: rx_event.c
277         ${INSTALL} $? $@
278
279 ${KERNELDIR}/rx/rx_event.h: rx_event.h
280         ${INSTALL} $? $@
281
282 ${KERNELDIR}/rx/rx_getaddr.c: rx_getaddr.c
283         ${INSTALL} $? $@
284
285 ${KERNELDIR}/rx/rx_globals.c: rx_globals.c
286         ${INSTALL} $? $@
287
288 ${KERNELDIR}/rx/rx_globals.h: rx_globals.h
289         ${INSTALL} $? $@
290
291 ${KERNELDIR}/rx/rx.h: rx.h
292         ${INSTALL} $? $@
293
294 ${KERNELDIR}/rx/rx_kcommon.c: rx_kcommon.c
295         ${INSTALL} $? $@
296
297 ${KERNELDIR}/rx/rx_kcommon.h: rx_kcommon.h
298         ${INSTALL} $? $@
299
300 ${KERNELDIR}/rx/rx_kernel.h: rx_kernel.h
301         ${INSTALL} $? $@
302
303 ${KERNELDIR}/rx/rx_kmutex.c: ${MKAFS_OSTYPE}/rx_kmutex.c
304         ${INSTALL} $? $@
305
306 ${KERNELDIR}/rx/rx_kmutex.h: ${MKAFS_OSTYPE}/rx_kmutex.h
307         ${INSTALL} $? $@
308
309 ${KERNELDIR}/rx/rx_knet.c: ${MKAFS_OSTYPE}/rx_knet.c
310         ${INSTALL} $? $@
311
312 ${KERNELDIR}/rx/rx_misc.c: rx_misc.c
313         ${INSTALL} $? $@
314
315 ${KERNELDIR}/rx/rx_misc.h: rx_misc.h
316         ${INSTALL} $? $@
317
318 ${KERNELDIR}/rx/rx_multi.h: rx_multi.h
319         ${INSTALL} $? $@
320
321 ${KERNELDIR}/rx/rx_null.c: rx_null.c
322         ${INSTALL} $? $@
323
324 ${KERNELDIR}/rx/rx_null.h: rx_null.h
325         ${INSTALL} $? $@
326
327 ${KERNELDIR}/rx/rx_packet.c: rx_packet.c
328         ${INSTALL} $? $@
329
330 ${KERNELDIR}/rx/rx_packet.h: rx_packet.h
331         ${INSTALL} $? $@
332
333 ${KERNELDIR}/rx/rx_prototypes.h: rx_prototypes.h
334         ${INSTALL} $? $@
335
336 ${KERNELDIR}/rx/rx_queue.h: rx_queue.h
337         ${INSTALL} $? $@
338
339 ${KERNELDIR}/rx/rx_rdwr.c: rx_rdwr.c
340         ${INSTALL} $? $@
341
342 ${KERNELDIR}/rx/rx_trace.h: rx_trace.h
343         ${INSTALL} $? $@
344
345 ${KERNELDIR}/rx/xdr_afsuuid.c: xdr_afsuuid.c
346         ${INSTALL} $? $@
347
348 ${KERNELDIR}/rx/xdr_array.c: xdr_array.c
349         ${INSTALL} $? $@
350
351 ${KERNELDIR}/rx/xdr_arrayn.c: xdr_arrayn.c
352         ${INSTALL} $? $@
353
354 ${KERNELDIR}/rx/xdr.c: xdr.c
355         ${INSTALL} $? $@
356
357 ${KERNELDIR}/rx/xdr.h: xdr.h
358         ${INSTALL} $? $@
359
360 ${KERNELDIR}/rx/xdr_prototypes.h: xdr_prototypes.h
361         ${INSTALL} $? $@
362
363 ${KERNELDIR}/rx/xdr_int32.c: xdr_int32.c
364         ${INSTALL} $? $@
365
366 ${KERNELDIR}/rx/xdr_int64.c: xdr_int64.c
367         ${INSTALL} $? $@
368
369 ${KERNELDIR}/rx/xdr_rx.c: xdr_rx.c
370         ${INSTALL} $? $@
371
372 ${UKERNELDIR}/rx/rx_clock.c: rx_clock.c
373         ${INSTALL} $? $@
374
375 ${UKERNELDIR}/rx/rx_clock.h: rx_clock.h
376         ${INSTALL} $? $@
377
378 ${UKERNELDIR}/rx/rx_conncache.c: rx_conncache.c
379         ${INSTALL} $? $@
380
381 ${UKERNELDIR}/rx/rx.c: rx.c
382         ${INSTALL} $? $@
383
384 ${UKERNELDIR}/rx/rx_event.c: rx_event.c
385         ${INSTALL} $? $@
386
387 ${UKERNELDIR}/rx/rx_event.h: rx_event.h
388         ${INSTALL} $? $@
389
390 ${UKERNELDIR}/rx/rx_getaddr.c: rx_getaddr.c
391         ${INSTALL} $? $@
392
393 ${UKERNELDIR}/rx/rx_globals.c: rx_globals.c
394         ${INSTALL} $? $@
395
396 ${UKERNELDIR}/rx/rx_globals.h: rx_globals.h
397         ${INSTALL} $? $@
398
399 ${UKERNELDIR}/rx/rx.h: rx.h
400         ${INSTALL} $? $@
401
402 ${UKERNELDIR}/rx/rx_kcommon.c: rx_kcommon.c
403         ${INSTALL} $? $@
404
405 ${UKERNELDIR}/rx/rx_kcommon.h: UKERNEL/rx_kcommon.h
406         ${INSTALL} $? $@
407
408 ${UKERNELDIR}/rx/rx_kernel.h: rx_kernel.h
409         ${INSTALL} $? $@
410
411 ${UKERNELDIR}/rx/rx_kmutex.c: UKERNEL/rx_kmutex.c
412         ${INSTALL} $? $@
413
414 ${UKERNELDIR}/rx/rx_kmutex.h: UKERNEL/rx_kmutex.h
415         ${INSTALL} $? $@
416
417 ${UKERNELDIR}/rx/rx_knet.c: UKERNEL/rx_knet.c
418         ${INSTALL} $? $@
419
420 ${UKERNELDIR}/rx/rx_misc.c: rx_misc.c
421         ${INSTALL} $? $@
422
423 ${UKERNELDIR}/rx/rx_misc.h : rx_misc.h
424         ${INSTALL} $? $@
425
426 ${UKERNELDIR}/rx/rx_multi.h: rx_multi.h
427         ${INSTALL} $? $@
428
429 ${UKERNELDIR}/rx/rx_null.c: rx_null.c
430         ${INSTALL} $? $@
431
432 ${UKERNELDIR}/rx/rx_null.h: rx_null.h
433         ${INSTALL} $? $@
434
435 ${UKERNELDIR}/rx/rx_packet.c: rx_packet.c
436         ${INSTALL} $? $@
437
438 ${UKERNELDIR}/rx/rx_packet.h: rx_packet.h
439         ${INSTALL} $? $@
440
441 ${UKERNELDIR}/rx/rx_prototypes.h: rx_prototypes.h
442         ${INSTALL} $? $@
443
444 ${UKERNELDIR}/rx/rx_queue.h: rx_queue.h
445         ${INSTALL} $? $@
446
447 ${UKERNELDIR}/rx/rx_rdwr.c: rx_rdwr.c
448         ${INSTALL} $? $@
449
450 ${UKERNELDIR}/rx/rx_trace.h: rx_trace.h
451         ${INSTALL} $? $@
452
453 ${UKERNELDIR}/rx/xdr_afsuuid.c: xdr_afsuuid.c
454         ${INSTALL} $? $@
455
456 ${UKERNELDIR}/rx/xdr_array.c: xdr_array.c
457         ${INSTALL} $? $@
458
459 ${UKERNELDIR}/rx/xdr_arrayn.c: xdr_arrayn.c
460         ${INSTALL} $? $@
461
462 ${UKERNELDIR}/rx/xdr.c: xdr.c
463         ${INSTALL} $? $@
464
465 ${UKERNELDIR}/rx/xdr.h: xdr.h
466         ${INSTALL} $? $@
467
468 ${UKERNELDIR}/rx/xdr_prototypes.h: xdr_prototypes.h
469         ${INSTALL} $? $@
470
471 ${UKERNELDIR}/rx/xdr_int32.c: xdr_int32.c
472         ${INSTALL} $? $@
473
474 ${UKERNELDIR}/rx/xdr_int64.c: xdr_int64.c
475         ${INSTALL} $? $@
476
477 ${UKERNELDIR}/rx/xdr_rx.c: xdr_rx.c
478         ${INSTALL} $? $@
479
480 install: \
481         ${DESTDIR}${libdir}/librx.a \
482         ${DESTDIR}${includedir}/rx/rx_packet.h \
483         ${DESTDIR}${includedir}/rx/rx_prototypes.h \
484         ${DESTDIR}${includedir}/rx/rx.h \
485         ${DESTDIR}${includedir}/rx/rx_user.h \
486         ${DESTDIR}${includedir}/rx/rx_event.h \
487         ${DESTDIR}${includedir}/rx/rx_queue.h \
488         ${DESTDIR}${includedir}/rx/rx_globals.h \
489         ${DESTDIR}${includedir}/rx/rx_clock.h \
490         ${DESTDIR}${includedir}/rx/rx_multi.h \
491         ${DESTDIR}${includedir}/rx/rx_pthread.h \
492         ${DESTDIR}${includedir}/rx/rx_lwp.h \
493         ${DESTDIR}${includedir}/rx/rx_misc.h \
494         ${DESTDIR}${includedir}/rx/rx_null.h \
495         ${DESTDIR}${includedir}/rx/xdr.h \
496         ${DESTDIR}${includedir}/rx/xdr_prototypes.h
497
498 ${DESTDIR}${libdir}/librx.a: librx.a
499         ${INSTALL} $? $@
500
501 ${DESTDIR}${includedir}/rx/rx_packet.h: rx_packet.h
502         ${INSTALL} $? $@
503
504 ${DESTDIR}${includedir}/rx/rx_prototypes.h: rx_prototypes.h
505         ${INSTALL} $? $@
506
507 ${DESTDIR}${includedir}/rx/rx.h: rx.h
508         ${INSTALL} $? $@
509
510 ${DESTDIR}${includedir}/rx/rx_user.h: rx_user.h
511         ${INSTALL} $? $@
512
513 ${DESTDIR}${includedir}/rx/rx_event.h: rx_event.h
514         ${INSTALL} $? $@
515
516 ${DESTDIR}${includedir}/rx/rx_queue.h: rx_queue.h
517         ${INSTALL} $? $@
518
519 ${DESTDIR}${includedir}/rx/rx_globals.h: rx_globals.h
520         ${INSTALL} $? $@
521
522 ${DESTDIR}${includedir}/rx/rx_clock.h: rx_clock.h
523         ${INSTALL} $? $@
524
525 ${DESTDIR}${includedir}/rx/rx_multi.h: rx_multi.h
526         ${INSTALL} $? $@
527
528 ${DESTDIR}${includedir}/rx/rx_pthread.h: rx_pthread.h
529         ${INSTALL} $? $@
530
531 ${DESTDIR}${includedir}/rx/rx_lwp.h: rx_lwp.h
532         ${INSTALL} $? $@
533
534 ${DESTDIR}${includedir}/rx/rx_misc.h: rx_misc.h
535         ${INSTALL} $? $@
536
537 ${DESTDIR}${includedir}/rx/rx_null.h: rx_null.h
538         ${INSTALL} $? $@
539
540 ${DESTDIR}${includedir}/rx/xdr_prototypes.h: xdr_prototypes.h
541         ${INSTALL} $? $@
542
543 ${DESTDIR}${includedir}/rx/xdr.h: xdr.h
544         ${INSTALL} $? $@
545
546 dest: ${DEST}/lib/librx.a \
547         ${DEST}/include/rx/rx_packet.h \
548         ${DEST}/include/rx/rx_prototypes.h \
549         ${DEST}/include/rx/rx.h \
550         ${DEST}/include/rx/rx_user.h \
551         ${DEST}/include/rx/rx_event.h \
552         ${DEST}/include/rx/rx_queue.h \
553         ${DEST}/include/rx/rx_globals.h \
554         ${DEST}/include/rx/rx_clock.h \
555         ${DEST}/include/rx/rx_multi.h \
556         ${DEST}/include/rx/rx_pthread.h \
557         ${DEST}/include/rx/rx_lwp.h \
558         ${DEST}/include/rx/rx_misc.h \
559         ${DEST}/include/rx/rx_null.h \
560         ${DEST}/include/rx/xdr.h \
561         ${DEST}/include/rx/xdr_prototypes.h
562
563 ${DEST}/lib/librx.a: librx.a
564         ${INSTALL} $? $@
565
566 ${DEST}/include/rx/rx_packet.h: rx_packet.h
567         ${INSTALL} $? $@
568
569 ${DEST}/include/rx/rx_prototypes.h: rx_prototypes.h
570         ${INSTALL} $? $@
571
572 ${DEST}/include/rx/rx.h: rx.h
573         ${INSTALL} $? $@
574
575 ${DEST}/include/rx/rx_user.h: rx_user.h
576         ${INSTALL} $? $@
577
578 ${DEST}/include/rx/rx_event.h: rx_event.h
579         ${INSTALL} $? $@
580
581 ${DEST}/include/rx/rx_queue.h: rx_queue.h
582         ${INSTALL} $? $@
583
584 ${DEST}/include/rx/rx_globals.h: rx_globals.h
585         ${INSTALL} $? $@
586
587 ${DEST}/include/rx/rx_clock.h: rx_clock.h
588         ${INSTALL} $? $@
589
590 ${DEST}/include/rx/rx_multi.h: rx_multi.h
591         ${INSTALL} $? $@
592
593 ${DEST}/include/rx/rx_pthread.h: rx_pthread.h
594         ${INSTALL} $? $@
595
596 ${DEST}/include/rx/rx_lwp.h: rx_lwp.h
597         ${INSTALL} $? $@
598
599 ${DEST}/include/rx/rx_misc.h: rx_misc.h
600         ${INSTALL} $? $@
601
602 ${DEST}/include/rx/rx_null.h: rx_null.h
603         ${INSTALL} $? $@
604
605 ${DEST}/include/rx/xdr.h: xdr.h
606         ${INSTALL} $? $@
607
608 ${DEST}/include/rx/xdr_prototypes.h: xdr_prototypes.h
609         ${INSTALL} $? $@
610
611 #
612 # Misc. targets
613 #
614 clean:
615         $(RM) -f *.o *.a core *_component_version_number.c
616
617 include ../config/Makefile.version