X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=doc%2Fexamples%2FMakefile.am;h=5db9fd5401299e91563c23750992f291bd6e2515;hb=6df9f02d9de67572ab8bd34855eca233c16ced47;hp=9471957f879ae613e7853b9d3f54c87b3d2091d9;hpb=a5fb5b81c9da019efa71fb930d4a5e01dbc87401;p=userspace-rcu.git diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am index 9471957..5db9fd5 100644 --- a/doc/examples/Makefile.am +++ b/doc/examples/Makefile.am @@ -1,10 +1,11 @@ doc_examplesdir = ${docdir}/examples -doc_examples_qsbr_minimaldir = ${doc_examplesdir}/qsbr-minimal +doc_examples_urcu_flavorsdir = ${doc_examplesdir}/urcu-flavors -dist_doc_examples_qsbr_minimal_DATA = \ - qsbr-minimal/Makefile \ - qsbr-minimal/qsbr-minimal.c +dist_doc_examples_urcu_flavors_DATA = \ + urcu-flavors/Makefile \ + urcu-flavors/Makefile.qsbr \ + urcu-flavors/qsbr.c dist_doc_examples_DATA = \ Makefile.examples.template @@ -26,6 +27,19 @@ dist_doc_examples_list_DATA = \ list/cds_list_for_each_entry_rcu.c \ list/cds_list_replace_rcu.c +doc_examples_hlistdir = ${doc_examplesdir}/hlist + +dist_doc_examples_hlist_DATA = \ + hlist/Makefile \ + hlist/Makefile.cds_hlist_add_head_rcu \ + hlist/Makefile.cds_hlist_del_rcu \ + hlist/Makefile.cds_hlist_for_each_rcu \ + hlist/Makefile.cds_hlist_for_each_entry_rcu \ + hlist/cds_hlist_add_head_rcu.c \ + hlist/cds_hlist_del_rcu.c \ + hlist/cds_hlist_for_each_rcu.c \ + hlist/cds_hlist_for_each_entry_rcu.c + doc_examples_wfcqueuedir = ${doc_examplesdir}/wfcqueue dist_doc_examples_wfcqueue_DATA = \ @@ -63,15 +77,15 @@ if NO_SHARED # Don't build examples if shared libraries support was explicitly # disabled. else -SUBDIRS_PROXY = qsbr-minimal list wfcqueue wfstack +SUBDIRS_PROXY = rcu-flavor-qsbr list hlist wfcqueue wfstack lfstack all-local: for subdir in $(SUBDIRS_PROXY); do \ - cd $$subdir && $(MAKE) AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all; cd ..; \ + cd $$subdir && $(MAKE) AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all && cd ..; \ done clean-local: for subdir in $(SUBDIRS_PROXY); do \ - cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean; cd ..; \ + cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean && cd ..; \ done endif