From dfee93b119a3a18937ee12121be5977bd41379d3 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Sat, 22 Jun 2013 13:02:46 -0400 Subject: [PATCH] doc/examples: rename qsbr-minimal to rcu-flavor-qsbr Signed-off-by: Mathieu Desnoyers --- doc/examples/Makefile.am | 10 +++++----- .../{qsbr-minimal => rcu-flavor-qsbr}/Makefile | 10 +++++----- .../rcu-flavor-qsbr.c} | 0 3 files changed, 10 insertions(+), 10 deletions(-) rename doc/examples/{qsbr-minimal => rcu-flavor-qsbr}/Makefile (85%) rename doc/examples/{qsbr-minimal/qsbr-minimal.c => rcu-flavor-qsbr/rcu-flavor-qsbr.c} (100%) diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am index d486864..acdaaac 100644 --- a/doc/examples/Makefile.am +++ b/doc/examples/Makefile.am @@ -1,10 +1,10 @@ doc_examplesdir = ${docdir}/examples -doc_examples_qsbr_minimaldir = ${doc_examplesdir}/qsbr-minimal +doc_examples_rcu_flavor_qsbrdir = ${doc_examplesdir}/rcu-flavor-qsbr -dist_doc_examples_qsbr_minimal_DATA = \ - qsbr-minimal/Makefile \ - qsbr-minimal/qsbr-minimal.c +dist_doc_examples_rcu_flavor_qsbr_DATA = \ + rcu-flavor-qsbr/Makefile \ + rcu-flavor-qsbr/rcu-flavor-qsbr.c dist_doc_examples_DATA = \ Makefile.examples.template @@ -76,7 +76,7 @@ if NO_SHARED # Don't build examples if shared libraries support was explicitly # disabled. else -SUBDIRS_PROXY = qsbr-minimal list hlist wfcqueue wfstack lfstack +SUBDIRS_PROXY = rcu-flavor-qsbr list hlist wfcqueue wfstack lfstack all-local: for subdir in $(SUBDIRS_PROXY); do \ diff --git a/doc/examples/qsbr-minimal/Makefile b/doc/examples/rcu-flavor-qsbr/Makefile similarity index 85% rename from doc/examples/qsbr-minimal/Makefile rename to doc/examples/rcu-flavor-qsbr/Makefile index b0400cb..b91d205 100644 --- a/doc/examples/qsbr-minimal/Makefile +++ b/doc/examples/rcu-flavor-qsbr/Makefile @@ -14,18 +14,18 @@ CC = gcc LIBS = -lurcu-qsbr CFLAGS = -g -O2 -Wall -OBJECTS = qsbr-minimal.o +OBJECTS = rcu-flavor-qsbr.o -all: qsbr-minimal +all: rcu-flavor-qsbr -qsbr-minimal: $(OBJECTS) +rcu-flavor-qsbr: $(OBJECTS) $(CC) $(CFLAGS) $(LDFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \ $(LIBS) -o $@ $(OBJECTS) -qsbr-minimal.o: qsbr-minimal.c +rcu-flavor-qsbr.o: rcu-flavor-qsbr.c $(CC) $(CPPFLAGS) $(CFLAGS) $(AM_CPPFLAGS) $(AM_CFLAGS) \ -c -o $@ $< .PHONY: clean clean: - rm -f *.o qsbr-minimal + rm -f *.o rcu-flavor-qsbr diff --git a/doc/examples/qsbr-minimal/qsbr-minimal.c b/doc/examples/rcu-flavor-qsbr/rcu-flavor-qsbr.c similarity index 100% rename from doc/examples/qsbr-minimal/qsbr-minimal.c rename to doc/examples/rcu-flavor-qsbr/rcu-flavor-qsbr.c -- 2.34.1