1sbin_PROGRAMS=mfsmaster mfsstatsdump
2
3AM_CPPFLAGS=-I$(top_srcdir)/mfscommon
4AM_LDFLAGS=
5AM_CFLAGS=
6
7mfsstatsdump_SOURCES=\
8	chartsdefs.h \
9	../mfscommon/statsdump.c \
10	../mfscommon/strerr.c ../mfscommon/strerr.h \
11	../mfscommon/crc.c ../mfscommon/crc.h \
12	../mfscommon/charts.c ../mfscommon/charts.h \
13	../mfscommon/idstr.h
14
15mfsstatsdump_LDFLAGS=$(ZLIB_LIBS)
16
17
18mfsmaster_SOURCES=\
19	itree.h itree.c \
20	topology.h topology.c \
21	exports.h exports.c \
22	bio.h bio.c \
23	changelog.c changelog.h \
24	chunks.c chunks.h \
25	filesystem.c filesystem.h \
26	appendres.c appendres.h \
27	xattr.c xattr.h \
28	posixacl.c posixacl.h \
29	flocklocks.c flocklocks.h \
30	posixlocks.c posixlocks.h \
31	openfiles.c openfiles.h \
32	csdb.c csdb.h \
33	iptosesid.c iptosesid.h \
34	storageclass.c storageclass.h \
35	sessions.c sessions.h \
36	metadata.c metadata.h \
37	restore.c restore.h \
38	merger.c merger.h \
39	missinglog.c missinglog.h \
40	sharedpointer.c sharedpointer.h \
41	matocsserv.c matocsserv.h \
42	matoclserv.c matoclserv.h \
43	matomlserv.c matomlserv.h \
44	datacachemgr.c datacachemgr.h \
45	chartsdata.c chartsdata.h \
46	bgsaver.c bgsaver.h \
47	chartsdefs.h \
48	init.h \
49	../mfscommon/main.c ../mfscommon/main.h \
50	../mfscommon/processname.c ../mfscommon/processname.h \
51	../mfscommon/cfg.c ../mfscommon/cfg.h \
52	../mfscommon/random.c ../mfscommon/random.h \
53	../mfscommon/md5.c ../mfscommon/md5.h \
54	../mfscommon/crc.c ../mfscommon/crc.h \
55	../mfscommon/sockets.c ../mfscommon/sockets.h \
56	../mfscommon/charts.c ../mfscommon/charts.h \
57	../mfscommon/strerr.c ../mfscommon/strerr.h \
58	../mfscommon/memusage.c ../mfscommon/memusage.h \
59	../mfscommon/cpuusage.c ../mfscommon/cpuusage.h \
60	../mfscommon/clocks.c ../mfscommon/clocks.h \
61	../mfscommon/pcqueue.c ../mfscommon/pcqueue.h \
62	../mfscommon/cuckoohash.c ../mfscommon/cuckoohash.h \
63	../mfscommon/dictionary.c ../mfscommon/dictionary.h \
64	../mfscommon/hash_begin.h ../mfscommon/hash_end.h \
65	../mfscommon/datapack.h \
66	../mfscommon/massert.h \
67	../mfscommon/slogger.h \
68	../mfscommon/mfsstrerr.h \
69	../mfscommon/hashfn.h \
70	../mfscommon/median.h \
71	../mfscommon/buckets.h \
72	../mfscommon/mfsalloc.h \
73	../mfscommon/glue.h \
74	../mfscommon/sizestr.h \
75	../mfscommon/idstr.h \
76	../mfscommon/MFSCommunication.h
77
78
79mfsmaster_CPPFLAGS=$(AM_CPPFLAGS) -DMFSMAXFILES=16384 -DAPPNAME=mfsmaster
80mfsmaster_LDFLAGS=$(ZLIB_LIBS)
81
82EXTRA_DIST = $(sbin_SCRIPTS)
83
84sbin_SCRIPTS=\
85	mfsmetarestore
86
87distclean-local:distclean-am
88	-rm -rf ./$(DEPDIR)
89	-rm -f Makefile
90