~martanne/ciopfs

296ade3659be511420e8d00b3caca3faeca52bd3 — Marc Andre Tanner 13 years ago 0f0cb0a
Cleanup config.mk file.
1 files changed, 14 insertions(+), 7 deletions(-)

M config.mk
M config.mk => config.mk +14 -7
@@ 1,15 1,22 @@
# fs version
VERSION = $(shell date +%d.%m.%Y)
# ciopfs version
VERSION = 0.0.1

# Customize below to fit your system

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

CFLAGS += $(shell pkg-config --cflags fuse) -DFUSE_USE_VERSION=26 -DHAVE_LIBICUUC -DVERSION=\"${VERSION}\" -DNDEBUG -Os
LDFLAGS += $(shell pkg-config --libs fuse) -lattr -lulockmgr -licuuc
CFLAGS_FUSE  = $(shell pkg-config --cflags fuse) -DFUSE_USE_VERSION=26
LDFLAGS_FUSE = $(shell pkg-config --libs fuse) -lulockmgr

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

CC = cc
# optional for unicode supprt
CFLAGS_ICU  = -DHAVE_LIBICUUC
LDFLAGS_ICU = -licuuc

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

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