Correct erroneous comment regarding realpath availability
[ciopfs.git] / config.mk
blobc8c157c76b34783fb783d7b95ab42da5748c1798
1 # ciopfs version
2 VERSION = 0.3
4 # Customize below to fit your system
6 CC = cc
7 PREFIX = /usr/local
8 MANPREFIX = ${PREFIX}/share/man
10 CFLAGS_FUSE = $(shell pkg-config --cflags fuse) -DFUSE_USE_VERSION=26
11 LDFLAGS_FUSE = $(shell pkg-config --libs fuse) -lulockmgr
13 LDFLAGS_XATTR = -lattr
15 # unicode support form glib
16 CFLAGS_GLIB = $(shell pkg-config --cflags glib-2.0) -DHAVE_GLIB
17 LDFLAGS_GLIB = $(shell pkg-config --libs glib-2.0)
19 # unicode support from libicu from icu-project.org
20 CFLAGS_ICU = -DHAVE_LIBICUUC
21 LDFLAGS_ICU = -licuuc
23 # unicode flags set this to either {C,LD}FLAGS_GLIB or {C,LD}FLAGS_ICU
24 CFLAGS_UNICODE = ${CFLAGS_GLIB}
25 LDFLAGS_UNICODE = ${LDFLAGS_GLIB}
27 CFLAGS += ${CFLAGS_FUSE} ${CFLAGS_UNICODE} -DVERSION=\"${VERSION}\" -DNDEBUG -Os
28 LDFLAGS += ${LDFLAGS_FUSE} ${LDFLAGS_UNICODE} ${LDFLAGS_XATTR}
30 DEBUG_CFLAGS = ${CFLAGS} -UNDEBUG -O0 -g -ggdb -Wall