1bin_PROGRAMS=mfsmount mfstools 2 3AM_CPPFLAGS=-I$(top_srcdir)/mfscommon 4 5 6 7mfsmount_LDADD=$(PTHREAD_LIBS) $(FUSE_LIBS) 8mfsmount_CFLAGS=$(PTHREAD_CFLAGS) -D_USE_PTHREADS $(FUSE_CFLAGS) -DFUSE_USE_VERSION=26 -DAPPNAME=mfsmount 9mfsmount_CPPFLAGS=$(PTHREAD_CPPFLAGS) -I$(top_srcdir)/mfscommon 10 11mfsmount_SOURCES=\ 12 dirattrcache.c dirattrcache.h \ 13 symlinkcache.c symlinkcache.h \ 14 negentrycache.c negentrycache.h \ 15 xattrcache.c xattrcache.h \ 16 chunkloccache.c chunkloccache.h \ 17 sustained_inodes.c sustained_inodes.h \ 18 sustained_stats.c sustained_stats.h \ 19 getgroups.c getgroups.h \ 20 mfs_fuse.c mfs_fuse.h \ 21 mfs_meta_fuse.c mfs_meta_fuse.h \ 22 mastercomm.c mastercomm.h \ 23 masterproxy.c masterproxy.h \ 24 cscomm.c cscomm.h \ 25 readdata.c readdata.h \ 26 writedata.c writedata.h \ 27 csdb.c csdb.h \ 28 stats.c stats.h \ 29 oplog.c oplog.h \ 30 main.c \ 31 ../mfscommon/clocks.c ../mfscommon/clocks.h \ 32 ../mfscommon/pcqueue.c ../mfscommon/pcqueue.h \ 33 ../mfscommon/crc.c ../mfscommon/crc.h \ 34 ../mfscommon/md5.c ../mfscommon/md5.h \ 35 ../mfscommon/sockets.c ../mfscommon/sockets.h \ 36 ../mfscommon/conncache.c ../mfscommon/conncache.h \ 37 ../mfscommon/strerr.c ../mfscommon/strerr.h \ 38 ../mfscommon/datapack.h ../mfscommon/massert.h \ 39 ../mfscommon/mfsstrerr.h ../mfscommon/portable.h \ 40 ../mfscommon/MFSCommunication.h 41 42mfstools_SOURCES=\ 43 mfstools.c \ 44 ../mfscommon/clocks.c ../mfscommon/clocks.h \ 45 ../mfscommon/sockets.c ../mfscommon/sockets.h \ 46 ../mfscommon/strerr.c ../mfscommon/strerr.h \ 47 ../mfscommon/md5.c ../mfscommon/md5.h \ 48 ../mfscommon/datapack.h ../mfscommon/mfsstrerr.h \ 49 ../mfscommon/MFSCommunication.h 50 51mfstools_CFLAGS= 52 53mfstools_links=\ 54 mfscheckfile mfsdirinfo mfsfileinfo mfsfilerepair \ 55 mfsgetgoal mfsgettrashtime mfsrgetgoal mfsrgettrashtime \ 56 mfsrsetgoal mfsrsettrashtime mfssetgoal mfssettrashtime \ 57 mfsgeteattr mfsseteattr mfsdeleattr \ 58 mfsgetquota mfssetquota mfsdelquota \ 59 mfsmakesnapshot mfsappendchunks mfsfilepaths 60 61install-exec-hook: 62 for l in $(mfstools_links) ; do \ 63 $(LN_S) -f mfstools $(DESTDIR)$(bindir)/$$l ; \ 64 done 65 66distclean:distclean-am 67 -rm -rf ./$(DEPDIR) 68 -rm -f Makefile 69 70