Check-in [777947ec3d]
Overview
Comment:Updated to use PKG_CONFIG
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 777947ec3dfd8738bde973f50015093ff34822ac
User & Date: rkeene on 2014-09-07 06:42:19
Other Links: manifest | tags
Context
2014-09-07
07:07
Updated with basic documentation check-in: 4ff216889c user: rkeene tags: trunk
06:42
Updated to use PKG_CONFIG check-in: 777947ec3d user: rkeene tags: trunk
06:36
Added start of appfs check-in: 40155f7235 user: rkeene tags: trunk
Changes

Modified Makefile from [44f1b4fcef] to [6ff0798462].

1


2
3
4
5
6
7
8
9
CC = gcc


LIBS = -lfuse
PREFIX = /usr/local
prefix = $(PREFIX)
bindir = $(prefix)/bin

all: appfs

appfs: appfs.o

>
>
|







1
2
3
4
5
6
7
8
9
10
11
CC = gcc
PKG_CONFIG = pkg-config
CFLAGS = $(shell $(PKG_CONFIG) --cflags fuse)
LIBS = $(shell $(PKG_CONFIG) --libs fuse)
PREFIX = /usr/local
prefix = $(PREFIX)
bindir = $(prefix)/bin

all: appfs

appfs: appfs.o

Modified appfs.c from [c3eac4ab1b] to [566a5d022c].

1
2
3
4
5
6
7
8
9
#define FUSE_USE_VERSION 26
#define _FILE_OFFSET_BITS 64

#include <fuse.h>
#include <errno.h>
#include <string.h>
#include <fcntl.h>

static int appfs_getattr(const char *path, struct stat *stbuf) {

<







1

2
3
4
5
6
7
8
#define FUSE_USE_VERSION 26


#include <fuse.h>
#include <errno.h>
#include <string.h>
#include <fcntl.h>

static int appfs_getattr(const char *path, struct stat *stbuf) {