aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2013-07-25 16:54:42 +0200
committerMiklos Szeredi <mszeredi@suse.cz>2013-07-25 16:54:42 +0200
commit0cb2db32e73cb06716ea797374c42e99d782643b (patch)
tree705ae74d15fef9215b32ae015c7108decb382435 /example
parent409b5b2386d95b4cff4755456d6afbf94b515546 (diff)
downloadlibfuse-0cb2db32e73cb06716ea797374c42e99d782643b.tar.gz
libfuse: fuse -> fuse3
Allow 2.X and 3.X to coexist. Includes are now stored under /usr/include/fuse3 and library is named libfuse3.*. Invoke pkg-config with "fuse3" as the first argument to build with version 3 of the library.
Diffstat (limited to 'example')
-rw-r--r--example/Makefile.am4
-rwxr-xr-xexample/cusexmp.c2
-rwxr-xr-xexample/fioc.c2
-rwxr-xr-xexample/fsel.c2
-rwxr-xr-xexample/fusexmp.c2
-rwxr-xr-xexample/fusexmp_fh.c2
-rwxr-xr-xexample/hello.c2
-rwxr-xr-xexample/hello_ll.c2
-rwxr-xr-xexample/null.c2
9 files changed, 10 insertions, 10 deletions
diff --git a/example/Makefile.am b/example/Makefile.am
index 26c3976..8b123d2 100644
--- a/example/Makefile.am
+++ b/example/Makefile.am
@@ -5,8 +5,8 @@ noinst_HEADERS = fioc.h
noinst_PROGRAMS = fusexmp fusexmp_fh null hello hello_ll fioc fioclient \
fsel fselclient cusexmp
-LDADD = ../lib/libfuse.la
-fusexmp_fh_LDADD = ../lib/libfuse.la ../lib/libulockmgr.la
+LDADD = ../lib/libfuse3.la
+fusexmp_fh_LDADD = ../lib/libfuse3.la ../lib/libulockmgr.la
fioclient_CPPFLAGS =
fioclient_LDFLAGS =
diff --git a/example/cusexmp.c b/example/cusexmp.c
index 73b12f4..8d22075 100755
--- a/example/cusexmp.c
+++ b/example/cusexmp.c
@@ -15,7 +15,7 @@
*
* \section section_compile compiling this example
*
- * gcc -Wall cusexmp.c `pkg-config fuse --cflags --libs` -o cusexmp
+ * gcc -Wall cusexmp.c `pkg-config fuse3 --cflags --libs` -o cusexmp
*
* \section section_source the complete source
* \include cusexmp.c
diff --git a/example/fioc.c b/example/fioc.c
index b4cc334..2117ac8 100755
--- a/example/fioc.c
+++ b/example/fioc.c
@@ -15,7 +15,7 @@
*
* \section section_compile compiling this example
*
- * gcc -Wall fioc.c `pkg-config fuse --cflags --libs` -o fioc
+ * gcc -Wall fioc.c `pkg-config fuse3 --cflags --libs` -o fioc
*
* \section section_source the complete source
* \include fioc.c
diff --git a/example/fsel.c b/example/fsel.c
index 657111e..69202ee 100755
--- a/example/fsel.c
+++ b/example/fsel.c
@@ -15,7 +15,7 @@
*
* \section section_compile compiling this example
*
- * gcc -Wall fsel.c `pkg-config fuse --cflags --libs` -o fsel
+ * gcc -Wall fsel.c `pkg-config fuse3 --cflags --libs` -o fsel
*
* \section section_source the complete source
* \include fsel.c
diff --git a/example/fusexmp.c b/example/fusexmp.c
index 73e9898..6f63ae9 100755
--- a/example/fusexmp.c
+++ b/example/fusexmp.c
@@ -14,7 +14,7 @@
*
* \section section_compile compiling this example
*
- * gcc -Wall fusexmp.c `pkg-config fuse --cflags --libs` -o fusexmp
+ * gcc -Wall fusexmp.c `pkg-config fuse3 --cflags --libs` -o fusexmp
*
* \section section_source the complete source
* \include fusexmp.c
diff --git a/example/fusexmp_fh.c b/example/fusexmp_fh.c
index e538b49..3be5071 100755
--- a/example/fusexmp_fh.c
+++ b/example/fusexmp_fh.c
@@ -14,7 +14,7 @@
*
* \section section_compile compiling this example
*
- * gcc -Wall fusexmp_fh.c `pkg-config fuse --cflags --libs` -lulockmgr -o fusexmp_fh
+ * gcc -Wall fusexmp_fh.c `pkg-config fuse3 --cflags --libs` -lulockmgr -o fusexmp_fh
*
* \section section_source the complete source
* \include fusexmp_fh.c
diff --git a/example/hello.c b/example/hello.c
index 20021af..d26d826 100755
--- a/example/hello.c
+++ b/example/hello.c
@@ -12,7 +12,7 @@
*
* \section section_compile compiling this example
*
- * gcc -Wall hello.c `pkg-config fuse --cflags --libs` -o hello
+ * gcc -Wall hello.c `pkg-config fuse3 --cflags --libs` -o hello
*
* \section section_usage usage
\verbatim
diff --git a/example/hello_ll.c b/example/hello_ll.c
index 27859ce..1bf7155 100755
--- a/example/hello_ll.c
+++ b/example/hello_ll.c
@@ -15,7 +15,7 @@
*
* \section section_compile compiling this example
*
- * gcc -Wall hello_ll.c `pkg-config fuse --cflags --libs` -o hello_ll
+ * gcc -Wall hello_ll.c `pkg-config fuse3 --cflags --libs` -o hello_ll
*
* \section section_usage usage
\verbatim
diff --git a/example/null.c b/example/null.c
index 4d39eb8..1ff1954 100755
--- a/example/null.c
+++ b/example/null.c
@@ -12,7 +12,7 @@
*
* \section section_compile compiling this example
*
- * gcc -Wall null.c `pkg-config fuse --cflags --libs` -o null
+ * gcc -Wall null.c `pkg-config fuse3 --cflags --libs` -o null
*
* \section section_source the complete source
* \include null.c