X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=doc%2Fexamples%2FMakefile.am;h=9441296b5c97c2528f95e8973a84ebe113e60f25;hb=2dbf31c9e6479b126f67a3494a9b4dfaa57b39b3;hp=e6d68702370b8e09cbeae573d6336111560df9e1;hpb=56e47f8d20864a908c6111d38da150a71eaba354;p=urcu.git diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am index e6d6870..9441296 100644 --- a/doc/examples/Makefile.am +++ b/doc/examples/Makefile.am @@ -8,12 +8,15 @@ dist_doc_examples_urcu_flavors_DATA = \ urcu-flavors/Makefile.mb \ urcu-flavors/Makefile.membarrier \ urcu-flavors/Makefile.signal \ + urcu-flavors/Makefile.bp \ urcu-flavors/qsbr.c \ urcu-flavors/mb.c \ urcu-flavors/membarrier.c \ - urcu-flavors/signal.c + urcu-flavors/signal.c \ + urcu-flavors/bp.c dist_doc_examples_DATA = \ + dist-files/Makefile \ Makefile.examples.template doc_examples_listdir = ${doc_examplesdir}/list @@ -79,19 +82,40 @@ dist_doc_examples_lfstack_DATA = \ lfstack/cds_lfs_pop_blocking.c \ lfstack/cds_lfs_pop_all_blocking.c +doc_examples_rculfqueuedir = ${doc_examplesdir}/rculfqueue + +dist_doc_examples_rculfqueue_DATA = \ + rculfqueue/Makefile \ + rculfqueue/Makefile.cds_lfq_enqueue \ + rculfqueue/Makefile.cds_lfq_dequeue \ + rculfqueue/cds_lfq_enqueue.c \ + rculfqueue/cds_lfq_dequeue.c + +doc_examples_rculfhashdir = ${doc_examplesdir}/rculfhash + +dist_doc_examples_rculfhash_DATA = \ + rculfhash/Makefile \ + rculfhash/jhash.h \ + rculfhash/Makefile.cds_lfht_add \ + rculfhash/Makefile.cds_lfht_add_unique \ + rculfhash/Makefile.cds_lfht_add_replace \ + rculfhash/Makefile.cds_lfht_del \ + rculfhash/Makefile.cds_lfht_destroy \ + rculfhash/Makefile.cds_lfht_lookup \ + rculfhash/cds_lfht_add.c \ + rculfhash/cds_lfht_add_unique.c \ + rculfhash/cds_lfht_add_replace.c \ + rculfhash/cds_lfht_del.c \ + rculfhash/cds_lfht_destroy.c \ + rculfhash/cds_lfht_lookup.c + if NO_SHARED # Don't build examples if shared libraries support was explicitly # disabled. else -SUBDIRS_PROXY = urcu-flavors 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 ..; \ - done + $(MAKE) -f dist-files/Makefile AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all clean-local: - for subdir in $(SUBDIRS_PROXY); do \ - cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean && cd ..; \ - done + $(MAKE) -f dist-files/Makefile $(AM_MAKEFLAGS) clean; endif