aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 88694676e00d31c9daf14cd81e5164847b0bdcb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
## Process this file with automake to produce Makefile.in

bin_PROGRAMS = sshfs

sshfs_SOURCES = sshfs.c cache.c cache.h sshnodelay_so.c
if FUSE_OPT_COMPAT
sshfs_SOURCES += compat/fuse_opt.c compat/fuse_opt.h
endif

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