diff options
author | 2006-10-01 13:46:02 +0000 | |
---|---|---|
committer | 2006-10-01 13:46:02 +0000 | |
commit | 4003dfa31341e5584375c1423d223f099a6049c7 (patch) | |
tree | 7cd8a42bc1666788a7f2c8b29265a4f8b7c585e1 /example | |
parent | 0740785ee4ecd3edf07b0f311017ea00cb63698b (diff) |
Add init script
Diffstat (limited to 'example')
-rw-r--r-- | example/Makefile.am | 2 | ||||
-rw-r--r-- | example/fusexmp.c | 4 | ||||
-rw-r--r-- | example/fusexmp_fh.c | 4 | ||||
-rw-r--r-- | example/hello.c | 4 | ||||
-rw-r--r-- | example/hello_ll.c | 4 | ||||
-rw-r--r-- | example/null.c | 4 |
6 files changed, 21 insertions, 1 deletions
diff --git a/example/Makefile.am b/example/Makefile.am index 9fe35e8..469dcb4 100644 --- a/example/Makefile.am +++ b/example/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to produce Makefile.in -AM_CPPFLAGS = -I$(top_srcdir)/include +AM_CPPFLAGS = -I$(top_srcdir)/include -D_FILE_OFFSET_BITS=64 -D_REENTRANT noinst_PROGRAMS = fusexmp fusexmp_fh null hello hello_ll LDADD = ../lib/libfuse.la -lpthread diff --git a/example/fusexmp.c b/example/fusexmp.c index b32e236..b086235 100644 --- a/example/fusexmp.c +++ b/example/fusexmp.c @@ -4,8 +4,12 @@ This program can be distributed under the terms of the GNU GPL. See the file COPYING. + + gcc -Wall `pkg-config fuse --cflags --libs` fusexmp.c -o fusexmp */ +#define FUSE_USE_VERSION 26 + #include <config.h> #ifdef linux diff --git a/example/fusexmp_fh.c b/example/fusexmp_fh.c index 2ad1a50..c10044c 100644 --- a/example/fusexmp_fh.c +++ b/example/fusexmp_fh.c @@ -4,8 +4,12 @@ This program can be distributed under the terms of the GNU GPL. See the file COPYING. + + gcc -Wall `pkg-config fuse --cflags --libs` fusexmp_fh.c -o fusexmp_fh */ +#define FUSE_USE_VERSION 26 + #include <config.h> #define _GNU_SOURCE diff --git a/example/hello.c b/example/hello.c index f717c34..7a1cdb5 100644 --- a/example/hello.c +++ b/example/hello.c @@ -4,8 +4,12 @@ This program can be distributed under the terms of the GNU GPL. See the file COPYING. + + gcc -Wall `pkg-config fuse --cflags --libs` hello.c -o hello */ +#define FUSE_USE_VERSION 26 + #include <fuse.h> #include <stdio.h> #include <string.h> diff --git a/example/hello_ll.c b/example/hello_ll.c index dbe141c..934e9a7 100644 --- a/example/hello_ll.c +++ b/example/hello_ll.c @@ -4,8 +4,12 @@ This program can be distributed under the terms of the GNU GPL. See the file COPYING. + + gcc -Wall `pkg-config fuse --cflags --libs` hello_ll.c -o hello_ll */ +#define FUSE_USE_VERSION 26 + #include <fuse_lowlevel.h> #include <stdio.h> #include <stdlib.h> diff --git a/example/null.c b/example/null.c index eda843a..1ab6573 100644 --- a/example/null.c +++ b/example/null.c @@ -4,8 +4,12 @@ This program can be distributed under the terms of the GNU GPL. See the file COPYING. + + gcc -Wall `pkg-config fuse --cflags --libs` null.c -o null */ +#define FUSE_USE_VERSION 26 + #include <fuse.h> #include <string.h> #include <unistd.h> |