aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2004-11-26 12:17:39 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2004-11-26 12:17:39 +0000
commit5dc1d26e7075a81c284c48f4e751b4b5d811baf3 (patch)
treee52b127dac3bc8a9088d03efa28a6d34f91f240c /Makefile
parentfc170be8c694a597796cf3bfb132c04621366f31 (diff)
downloadsshfs-5dc1d26e7075a81c284c48f4e751b4b5d811baf3.tar
sshfs-5dc1d26e7075a81c284c48f4e751b4b5d811baf3.tar.gz
sshfs-5dc1d26e7075a81c284c48f4e751b4b5d811baf3.tar.bz2
sshfs-5dc1d26e7075a81c284c48f4e751b4b5d811baf3.zip
optimizations
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index c2394d1..4741e6a 100644
--- a/Makefile
+++ b/Makefile
@@ -4,16 +4,12 @@ CFLAGS := -Wall -W -g
LDLIBS := -lpthread -ldl -rdynamic
PKGCONFIG := env PKG_CONFIG_PATH=/usr/local/lib/pkgconfig pkg-config
-FUSEVER := $(shell $(PKGCONFIG) --modversion fuse 2> /dev/null)
-ifeq ($(FUSEVER),)
- LDLIBS += -lfuse
-else
- CFLAGS += $(shell $(PKGCONFIG) --cflags fuse)
- LDLIBS += $(shell $(PKGCONFIG) --libs fuse)
-endif
+CFLAGS += $(shell $(PKGCONFIG) --cflags fuse)
+LDLIBS += $(shell $(PKGCONFIG) --libs fuse)
+CFLAGS += $(shell $(PKGCONFIG) --cflags glib-2.0)
+LDLIBS += $(shell $(PKGCONFIG) --libs glib-2.0)
-CPPFLAGS := -D_FILE_OFFSET_BITS=64
-#CPPFLAGS += -DDEBUG
+CPPFLAGS := -D_FILE_OFFSET_BITS=64 -D_REENTRANT
sshfs: sshfs.o