d964c06733445826a7ad484b1b1573375e5f362c
[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/Makefile.cds_wfcq_splice \
35 wfcqueue/cds_wfcq_enqueue.c \
36 wfcqueue/cds_wfcq_dequeue.c \
37 wfcqueue/cds_wfcq_splice.c
38
39 if NO_SHARED
40 # Don't build examples if shared libraries support was explicitly
41 # disabled.
42 else
43 SUBDIRS_PROXY = qsbr-minimal list wfcqueue
44
45 all-local:
46 for subdir in $(SUBDIRS_PROXY); do \
47 cd $$subdir && $(MAKE) AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all; cd ..; \
48 done
49
50 clean-local:
51 for subdir in $(SUBDIRS_PROXY); do \
52 cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean; cd ..; \
53 done
54 endif
This page took 0.042835 seconds and 3 git commands to generate.