summaryrefslogtreecommitdiffstats
path: root/src/Makefile-server.am
blob: 1ea73b1c1d65bb100f26bd066dd340b3f33536fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
ceph_sbin_SCRIPTS = ceph-create-keys

bin_SCRIPTS += \
	ceph-run \
	ceph-rest-api \
	ceph-debugpack \
	ceph-crush-location

python_PYTHON += pybind/ceph_rest_api.py

shell_scripts += ceph-coverage

bin_SCRIPTS += ceph-coverage

BUILT_SOURCES += init-ceph

shell_scripts += init-ceph

mount_ceph_SOURCES = mount/mount.ceph.c
mount_ceph_LDADD = $(LIBSECRET) $(LIBCOMMON)
if LINUX
su_sbin_PROGRAMS += mount.ceph
endif # LINUX
su_sbin_SCRIPTS += mount.fuse.ceph


if WITH_MON

ceph_mon_SOURCES = ceph_mon.cc
ceph_mon_LDADD = $(LIBMON) $(LIBOS) $(CEPH_GLOBAL) $(LIBCOMMON) $(LIBAUTH) $(LIBCOMMON) $(LIBMON_TYPES)
bin_PROGRAMS += ceph-mon

endif # WITH_MON


if WITH_OSD

ceph_sbin_SCRIPTS += \
	ceph-disk-udev

bin_SCRIPTS += \
	ceph-clsinfo

ceph_osd_SOURCES = ceph_osd.cc
ceph_osd_LDADD = \
	$(LIBOSDC) $(LIBOSD) $(LIBOSD_TYPES) $(LIBOS_TYPES) \
	$(LIBOS) \
	$(CEPH_GLOBAL) $(LIBCOMMON)
if WITH_LTTNG
ceph_osd_LDADD += $(LIBOSD_TP)
endif
bin_PROGRAMS += ceph-osd

endif # WITH_OSD


if WITH_MDS

ceph_mds_SOURCES = ceph_mds.cc
ceph_mds_LDADD = $(LIBMDS) $(LIBOSDC) $(CEPH_GLOBAL) $(LIBCOMMON)
bin_PROGRAMS += ceph-mds

endif # WITH_MDS


if ENABLE_COVERAGE

COV_DIR = $(DESTDIR)$(libdir)/ceph/coverage
COV_FILES = $(srcdir)/*.gcno
COV_LIB_FILES = $(srcdir)/.libs/*.gcno

endif # ENABLE_COVERAGE