4 # Customize below to fit your system
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
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