Commit | Line | Data |
---|---|---|
8bad63a0 MD |
1 | doc_examplesdir = ${docdir}/examples |
2 | ||
3 | doc_examples_qsbr_minimaldir = ${doc_examplesdir}/qsbr-minimal | |
4 | ||
c50fdd7c | 5 | dist_doc_examples_qsbr_minimal_DATA = \ |
8bad63a0 MD |
6 | qsbr-minimal/Makefile \ |
7 | qsbr-minimal/qsbr-minimal.c | |
8 | ||
f37f1d93 MD |
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 \ | |
05796604 | 17 | list/Makefile.cds_list_add_tail_rcu \ |
06ced8d6 MD |
18 | list/Makefile.cds_list_del_rcu \ |
19 | list/cds_list_add_rcu.c \ | |
05796604 | 20 | list/cds_list_add_tail_rcu.c \ |
06ced8d6 | 21 | list/cds_list_del_rcu.c |
f37f1d93 | 22 | |
c50fdd7c MD |
23 | if NO_SHARED |
24 | # Don't build examples if shared libraries support was explicitly | |
25 | # disabled. | |
26 | else | |
f37f1d93 | 27 | SUBDIRS_PROXY = qsbr-minimal list |
c50fdd7c MD |
28 | |
29 | all-local: | |
30 | for subdir in $(SUBDIRS_PROXY); do \ | |
b45f263b | 31 | cd $$subdir && $(MAKE) AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all; cd ..; \ |
c50fdd7c MD |
32 | done |
33 | ||
34 | clean-local: | |
35 | for subdir in $(SUBDIRS_PROXY); do \ | |
b45f263b | 36 | cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean; cd ..; \ |
c50fdd7c | 37 | done |
2f49a496 | 38 | endif |