~martanne/ciopfs

ref: c48d6f29fcd26ba82deb2bc7f9d0fd2f2cf9bb1a ciopfs/config.mk -rw-r--r-- 873 bytes
c48d6f29Marc Andre Tanner readdir: don't process everything in one go 11 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# ciopfs version
VERSION = 0.2

# Customize below to fit your system

CC = cc
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man

CFLAGS_FUSE  = $(shell pkg-config --cflags fuse) -DFUSE_USE_VERSION=26
LDFLAGS_FUSE = $(shell pkg-config --libs fuse) -lulockmgr

LDFLAGS_XATTR = -lattr

# unicode support form glib
CFLAGS_GLIB  = $(shell pkg-config --cflags glib-2.0) -DHAVE_GLIB
LDFLAGS_GLIB = $(shell pkg-config --libs glib-2.0)

# unicode support from libicu from icu-project.org
CFLAGS_ICU  = -DHAVE_LIBICUUC
LDFLAGS_ICU = -licuuc

# unicode flags set this to either {C,LD}FLAGS_GLIB or {C,LD}FLAGS_ICU
CFLAGS_UNICODE  = ${CFLAGS_GLIB}
LDFLAGS_UNICODE = ${LDFLAGS_GLIB}

CFLAGS  += ${CFLAGS_FUSE}  ${CFLAGS_UNICODE} -DVERSION=\"${VERSION}\" -DNDEBUG -Os
LDFLAGS += ${LDFLAGS_FUSE} ${LDFLAGS_UNICODE} ${LDFLAGS_XATTR}

DEBUG_CFLAGS = ${CFLAGS} -UNDEBUG -O0 -g -ggdb -Wall