From 1cb9aba6ea86e27bf349a7658b36c0daa4a70908 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 27 Jan 2006 12:49:14 +0000 Subject: fix --- Makefile.am | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index dc4befc..8869467 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,9 +2,18 @@ bin_PROGRAMS = sshfs +sshfs_SOURCES = sshfs.c cache.c cache.h sshnodelay_so.c if FUSE_OPT_COMPAT -compat_sources = compat/fuse_opt.c compat/fuse_opt.h +sshfs_SOURCES += compat/fuse_opt.c compat/fuse_opt.h endif -sshfs_SOURCES = sshfs.c cache.c cache.h $(compat_sources) sshfs_CPPFLAGS = -DFUSE_USE_VERSION=26 + +EXTRA_DIST = sshnodelay.c bin2c.c +CLEANFILES = sshnodelay.so sshnodelay_so.c bin2c + +sshnodelay_so.c: bin2c sshnodelay.so + ./bin2c sshnodelay_so < sshnodelay.so > sshnodelay_so.c + +sshnodelay.so: + $(CC) -Wall -W -s --shared -ldl sshnodelay.c -o sshnodelay.so -- cgit v1.2.3