5425ed2fe0f42a4ce5eefd7bfac7011399d36f1a
[urcu.git] / doc / examples / Makefile.am
1 doc_examplesdir = ${docdir}/examples
2
3 doc_examples_qsbr_minimaldir = ${doc_examplesdir}/qsbr-minimal
4
5 dist_doc_examples_qsbr_minimal_DATA = \
6 qsbr-minimal/Makefile \
7 qsbr-minimal/qsbr-minimal.c
8
9 dist_doc_examples_DATA = \
10 Makefile.examples.template
11
12 doc_examples_listdir = ${doc_examplesdir}/list
13
14 dist_doc_examples_list_DATA = \
15 list/Makefile \
16 list/Makefile.cds_list_add_rcu \
17 list/Makefile.cds_list_add_tail_rcu \
18 list/Makefile.cds_list_del_rcu \
19 list/Makefile.cds_list_for_each_rcu \
20 list/Makefile.cds_list_for_each_entry_rcu \
21 list/Makefile.cds_list_replace_rcu \
22 list/cds_list_add_rcu.c \
23 list/cds_list_add_tail_rcu.c \
24 list/cds_list_del_rcu.c \
25 list/cds_list_for_each_rcu.c \
26 list/cds_list_for_each_entry_rcu.c \
27 list/cds_list_replace_rcu.c
28
29 doc_examples_wfcqueuedir = ${doc_examplesdir}/wfcqueue
30
31 dist_doc_examples_wfcqueue_DATA = \
32 wfcqueue/Makefile.cds_wfcq_enqueue \
33 wfcqueue/Makefile.cds_wfcq_dequeue \
34 wfcqueue/cds_wfcq_enqueue.c \
35 wfcqueue/cds_wfcq_dequeue.c
36
37 if NO_SHARED
38 # Don't build examples if shared libraries support was explicitly
39 # disabled.
40 else
41 SUBDIRS_PROXY = qsbr-minimal list wfcqueue
42
43 all-local:
44 for subdir in $(SUBDIRS_PROXY); do \
45 cd $$subdir && $(MAKE) AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all; cd ..; \
46 done
47
48 clean-local:
49 for subdir in $(SUBDIRS_PROXY); do \
50 cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean; cd ..; \
51 done
52 endif
This page took 0.042836 seconds and 3 git commands to generate.