Cleanup: enable signed/unsigned compare compiler warning
[urcu.git] / doc / examples / Makefile.am
... / ...
CommitLineData
1doc_examplesdir = ${docdir}/examples
2
3doc_examples_urcu_flavorsdir = ${doc_examplesdir}/urcu-flavors
4
5dist_doc_examples_urcu_flavors_DATA = \
6 urcu-flavors/Makefile \
7 urcu-flavors/Makefile.qsbr \
8 urcu-flavors/Makefile.mb \
9 urcu-flavors/Makefile.membarrier \
10 urcu-flavors/Makefile.signal \
11 urcu-flavors/Makefile.bp \
12 urcu-flavors/qsbr.c \
13 urcu-flavors/mb.c \
14 urcu-flavors/membarrier.c \
15 urcu-flavors/signal.c \
16 urcu-flavors/bp.c
17
18dist_doc_examples_DATA = \
19 dist-files/Makefile \
20 Makefile.examples.template
21
22doc_examples_listdir = ${doc_examplesdir}/list
23
24dist_doc_examples_list_DATA = \
25 list/Makefile \
26 list/Makefile.cds_list_add_rcu \
27 list/Makefile.cds_list_add_tail_rcu \
28 list/Makefile.cds_list_del_rcu \
29 list/Makefile.cds_list_for_each_rcu \
30 list/Makefile.cds_list_for_each_entry_rcu \
31 list/Makefile.cds_list_replace_rcu \
32 list/cds_list_add_rcu.c \
33 list/cds_list_add_tail_rcu.c \
34 list/cds_list_del_rcu.c \
35 list/cds_list_for_each_rcu.c \
36 list/cds_list_for_each_entry_rcu.c \
37 list/cds_list_replace_rcu.c
38
39doc_examples_hlistdir = ${doc_examplesdir}/hlist
40
41dist_doc_examples_hlist_DATA = \
42 hlist/Makefile \
43 hlist/Makefile.cds_hlist_add_head_rcu \
44 hlist/Makefile.cds_hlist_del_rcu \
45 hlist/Makefile.cds_hlist_for_each_rcu \
46 hlist/Makefile.cds_hlist_for_each_entry_rcu \
47 hlist/cds_hlist_add_head_rcu.c \
48 hlist/cds_hlist_del_rcu.c \
49 hlist/cds_hlist_for_each_rcu.c \
50 hlist/cds_hlist_for_each_entry_rcu.c
51
52doc_examples_wfcqueuedir = ${doc_examplesdir}/wfcqueue
53
54dist_doc_examples_wfcqueue_DATA = \
55 wfcqueue/Makefile \
56 wfcqueue/Makefile.cds_wfcq_enqueue \
57 wfcqueue/Makefile.cds_wfcq_dequeue \
58 wfcqueue/Makefile.cds_wfcq_splice \
59 wfcqueue/cds_wfcq_enqueue.c \
60 wfcqueue/cds_wfcq_dequeue.c \
61 wfcqueue/cds_wfcq_splice.c
62
63doc_examples_wfstackdir = ${doc_examplesdir}/wfstack
64
65dist_doc_examples_wfstack_DATA = \
66 wfstack/Makefile \
67 wfstack/Makefile.cds_wfs_push \
68 wfstack/Makefile.cds_wfs_pop \
69 wfstack/Makefile.cds_wfs_pop_all_blocking \
70 wfstack/cds_wfs_push.c \
71 wfstack/cds_wfs_pop.c \
72 wfstack/cds_wfs_pop_all_blocking.c
73
74doc_examples_lfstackdir = ${doc_examplesdir}/lfstack
75
76dist_doc_examples_lfstack_DATA = \
77 lfstack/Makefile \
78 lfstack/Makefile.cds_lfs_push \
79 lfstack/Makefile.cds_lfs_pop_blocking \
80 lfstack/Makefile.cds_lfs_pop_all_blocking \
81 lfstack/cds_lfs_push.c \
82 lfstack/cds_lfs_pop_blocking.c \
83 lfstack/cds_lfs_pop_all_blocking.c
84
85doc_examples_rculfqueuedir = ${doc_examplesdir}/rculfqueue
86
87dist_doc_examples_rculfqueue_DATA = \
88 rculfqueue/Makefile \
89 rculfqueue/Makefile.cds_lfq_enqueue \
90 rculfqueue/Makefile.cds_lfq_dequeue \
91 rculfqueue/cds_lfq_enqueue.c \
92 rculfqueue/cds_lfq_dequeue.c
93
94doc_examples_rculfhashdir = ${doc_examplesdir}/rculfhash
95
96dist_doc_examples_rculfhash_DATA = \
97 rculfhash/Makefile \
98 rculfhash/jhash.h \
99 rculfhash/Makefile.cds_lfht_add \
100 rculfhash/Makefile.cds_lfht_add_unique \
101 rculfhash/Makefile.cds_lfht_add_replace \
102 rculfhash/Makefile.cds_lfht_del \
103 rculfhash/Makefile.cds_lfht_destroy \
104 rculfhash/Makefile.cds_lfht_lookup \
105 rculfhash/Makefile.cds_lfht_for_each_entry_duplicate \
106 rculfhash/cds_lfht_add.c \
107 rculfhash/cds_lfht_add_unique.c \
108 rculfhash/cds_lfht_add_replace.c \
109 rculfhash/cds_lfht_del.c \
110 rculfhash/cds_lfht_destroy.c \
111 rculfhash/cds_lfht_lookup.c \
112 rculfhash/cds_lfht_for_each_entry_duplicate.c
113
114if NO_SHARED
115# Don't build examples if shared libraries support was explicitly
116# disabled.
117else
118
119SUBDIRS_PROXY = hlist list urcu-flavors wfcqueue rculfqueue \
120 wfstack lfstack rculfhash
121
122# Copies are for VPATH build support.
123all-local:
124 $(AM_V_at)if [ x"$(srcdir)" != x"$(builddir)" ]; then \
125 cp -pfR $(srcdir)/dist-files $(builddir); \
126 chmod -R u+w $(builddir)/dist-files; \
127 cp -pf $(srcdir)/Makefile.examples.template $(builddir); \
128 chmod u+w $(builddir)/Makefile.examples.template; \
129 for subdir in $(SUBDIRS_PROXY); do \
130 cp -pfR $(srcdir)/$$subdir $(builddir); \
131 chmod -R u+w $(builddir)/$$subdir; \
132 done; \
133 fi; \
134 if [ x"$(shell echo "$(top_srcdir)" | $(GREP) "^/" | wc -l)" = x"1" ]; then \
135 rel_src_subdir=""; \
136 else \
137 rel_src_subdir="../"; \
138 fi; \
139 if [ x"$(shell echo "$(top_builddir)" | $(GREP) "^/" | wc -l)" = x"1" ]; then \
140 rel_build_subdir=""; \
141 else \
142 rel_build_subdir="../"; \
143 fi; \
144 $(MAKE) -f dist-files/Makefile CC="$(CC)" CPPFLAGS="$(CPPLAGS)" AM_CPPFLAGS="$(AM_CPPFLAGS) -I"$${rel_src_subdir}/$(top_srcdir)/include/" -I"$${rel_src_subdir}/$(top_srcdir)/src/" -I"$${rel_build_subdir}$(top_builddir)/include/" -I"$${rel_build_subdir}$(top_builddir)/include/src/"" CFLAGS="$(CFLAGS)" AM_CFLAGS="$(AM_CFLAGS)" LDFLAGS="$(LDFLAGS)" AM_LDFLAGS="$(AM_LDFLAGS) -L../../../src/.libs/ -Wl,-rpath "$(PWD)/../../src/.libs/"" AM_V_P="$(AM_V_P)" AM_V_at="$(AM_V_at)" $(AM_MAKEFLAGS) all;
145
146clean-local:
147 $(AM_V_at)$(MAKE) -f dist-files/Makefile $(AM_MAKEFLAGS) clean; \
148 if [ x"$(srcdir)" != x"$(builddir)" ]; then \
149 for subdir in $(SUBDIRS_PROXY); do \
150 rm -rf $(builddir)/$$subdir; \
151 done; \
152 rm -f $(builddir)/Makefile.examples.template; \
153 rm -rf $(builddir)/dist-files; \
154 fi;
155endif
This page took 0.02276 seconds and 4 git commands to generate.