compile on modern FreeBSD. After Robert Watson <rwatson@FreeBSD.org> and Alec Kloss
[arla.git] / rx / Makefile.am
blobdfe1b30ae226ee2d5a4e13bc0b11f38b824d05f6
1 # $Id$
3 include $(top_srcdir)/Makefile.am.common
5 INCLUDES += -I$(top_srcdir)/include -I../include $(INC_roken)
7 lib_LTLIBRARIES = librx.la
8 bin_PROGRAMS = rxdebug rxperf
9 noinst_PROGRAMS = test_rx_clock rx_trace
11 librx_la_SOURCES = \
12         rx_clock.c                              \
13         rx_event.c                              \
14         rx_user.c                               \
15         rx.c                                    \
16         rx_globs.c                              \
17         rx_null.c                               \
18         rx_misc.c                               \
19         rx_pkt.c                                \
20         rx_rdwr.c                               \
21         rx_trace.c                              \
22         rx_multi.c
24 librx_la_CPPFLAGS = $(DEFS) -DRXDEBUG -DSOFT_ACK
26 rxincludedir = $(includedir)/rx
27 rxinclude_HEADERS =                             \
28         rx-new.h                                \
29         rx.h                                    \
30         rx_clock.h                              \
31         rx_event.h                              \
32         rx_globs.h                              \
33         rx_kern.h                               \
34         rx_kmutex.h                             \
35         rx_locl.h                               \
36         rx_mach.h                               \
37         rx_misc.h                               \
38         rx_multi.h                              \
39         rx_null.h                               \
40         rx_pkt.h                                \
41         rx_queue.h                              \
42         rx_strm.h                               \
43         rx_trace.h                              \
44         rx_user.h                               \
45         rxgencon.h
47 man_MANS = rxdebug.1
49 test_rx_clock_SOURCES = test_rx_clock.c
50 test_rx_clock_LDADD = librx.la -L../lwp -llwp $(LIBS)
52 rxdebug_SOURCES = rxdebug.c
53 rxdebug_LDADD = librx.la -L../lwp -llwp $(PLWP_LIB_FLAGS) \
54         ../lib/ko/libko.la $(LIB_roken) $(LIBS)
56 rxperf_SOURCES = rxperf.c
57 rxperf_LDADD = librx.la $(LIBS) -L../lwp -llwp $(PLWP_LIB_FLAGS) \
58         $(LIB_roken) $(LIBS)
60 rx_trace_SOURCES = rx_trace.c rx_dumptrace.c
61 rx_trace_LDADD = librx.la $(LIBS) -L../lwp -llwp $(PLWP_LIB_FLAGS) \
62         $(LIB_roken) $(LIBS)