f80ebebb53b0fcde7392f5fd32428ac884ce9cab
[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_replace_rcu \
20 list/cds_list_add_rcu.c \
21 list/cds_list_add_tail_rcu.c \
22 list/cds_list_del_rcu.c \
23 list/cds_list_replace_rcu.c
24
25 if NO_SHARED
26 # Don't build examples if shared libraries support was explicitly
27 # disabled.
28 else
29 SUBDIRS_PROXY = qsbr-minimal list
30
31 all-local:
32 for subdir in $(SUBDIRS_PROXY); do \
33 cd $$subdir && $(MAKE) AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all; cd ..; \
34 done
35
36 clean-local:
37 for subdir in $(SUBDIRS_PROXY); do \
38 cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean; cd ..; \
39 done
40 endif
This page took 0.043412 seconds and 3 git commands to generate.