-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
194 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/usr/share/automake-1.10/INSTALL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
AUTOMAKE_OPTIONS = gnu | ||
EXTRA_DIST = doc web reconf | ||
SUBDIRS = src |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
# -*- Autoconf -*- | ||
# Process this file with autoconf to produce a configure script. | ||
|
||
AC_PREREQ(2.61) | ||
AC_INIT([Ceph distributed file system], [.1], | ||
[Sage Weil <[email protected]>], | ||
[ceph]) | ||
AM_INIT_AUTOMAKE(ceph, 0.1) | ||
|
||
|
||
# Checks for programs. | ||
AC_PROG_CXX | ||
AC_PROG_CC | ||
AC_PROG_RANLIB | ||
|
||
# Checks for libraries. | ||
# FIXME: Replace `main' with a function in `-lccgnu2': | ||
AC_CHECK_LIB([ccgnu2], [main]) | ||
# FIXME: Replace `main' with a function in `-ldb_cxx': | ||
AC_CHECK_LIB([db_cxx], [main]) | ||
# FIXME: Replace `main' with a function in `-ldl': | ||
AC_CHECK_LIB([dl], [main]) | ||
# FIXME: Replace `main' with a function in `-lfuse': | ||
AC_CHECK_LIB([fuse], [main]) | ||
# FIXME: Replace `main' with a function in `-lm': | ||
AC_CHECK_LIB([m], [main]) | ||
# FIXME: Replace `main' with a function in `-lpthread': | ||
AC_CHECK_LIB([pthread], [main]) | ||
|
||
# Checks for header files. | ||
AC_HEADER_DIRENT | ||
AC_HEADER_STDC | ||
AC_HEADER_SYS_WAIT | ||
AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdint.h stdlib.h string.h sys/file.h sys/ioctl.h sys/mount.h sys/param.h sys/socket.h sys/statvfs.h sys/time.h sys/vfs.h syslog.h unistd.h utime.h]) | ||
|
||
# Checks for typedefs, structures, and compiler characteristics. | ||
AC_HEADER_STDBOOL | ||
AC_C_CONST | ||
AC_TYPE_UID_T | ||
AC_C_INLINE | ||
AC_TYPE_INT16_T | ||
AC_TYPE_INT32_T | ||
AC_TYPE_INT64_T | ||
AC_TYPE_INT8_T | ||
AC_TYPE_MODE_T | ||
AC_TYPE_OFF_T | ||
AC_TYPE_PID_T | ||
AC_TYPE_SIZE_T | ||
AC_TYPE_SSIZE_T | ||
AC_CHECK_MEMBERS([struct stat.st_blksize]) | ||
AC_STRUCT_ST_BLOCKS | ||
AC_CHECK_MEMBERS([struct stat.st_rdev]) | ||
AC_HEADER_TIME | ||
AC_STRUCT_TM | ||
AC_TYPE_UINT16_T | ||
AC_TYPE_UINT32_T | ||
AC_TYPE_UINT64_T | ||
AC_TYPE_UINT8_T | ||
|
||
# Checks for library functions. | ||
AC_FUNC_CHOWN | ||
AC_FUNC_CLOSEDIR_VOID | ||
AC_FUNC_ERROR_AT_LINE | ||
AC_FUNC_FORK | ||
AC_PROG_GCC_TRADITIONAL | ||
AC_FUNC_LSTAT | ||
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK | ||
AC_FUNC_MALLOC | ||
AC_FUNC_MEMCMP | ||
AC_FUNC_MMAP | ||
AC_FUNC_REALLOC | ||
AC_FUNC_SELECT_ARGTYPES | ||
AC_TYPE_SIGNAL | ||
AC_FUNC_STAT | ||
AC_FUNC_UTIME_NULL | ||
AC_CHECK_FUNCS([bzero fchdir fdatasync floor ftruncate getcwd gethostbyname gethostname gettimeofday inet_ntoa localtime_r memmove memset mkdir munmap pow rmdir select socket sqrt strcasecmp strchr strerror strstr utime]) | ||
|
||
AC_CONFIG_HEADERS([src/acconfig.h]) | ||
AC_CONFIG_FILES([Makefile | ||
src/Makefile]) | ||
AC_OUTPUT | ||
|
||
AC_PROG_MAKE_SET | ||
|
||
AM_INIT_AUTOMAKE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
rm -f config.cache | ||
aclocal | ||
autoconf | ||
autoheader | ||
automake -a | ||
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
AUTOMAKE_OPTIONS = gnu | ||
|
||
INCLUDES = | ||
LDADD = -lpthread libcommon.a | ||
|
||
bin_PROGRAMS = cmon mkmonmap cmonctl cmds cosd | ||
|
||
# monitor | ||
cmon_SOURCES = cmon.cc msg/SimpleMessenger.cc | ||
cmon_LDADD = libmon.a libcommon.a libcrush.a | ||
|
||
mkmonmap_SOURCES = mkmonmap.cc | ||
mkmonmap_LDADD = libcommon.a | ||
|
||
cmonctl_SOURCES = cmonctl.cc msg/SimpleMessenger.cc | ||
cmonctl_LDADD = libcommon.a | ||
|
||
# mds | ||
cmds_SOURCES = cmds.cc msg/SimpleMessenger.cc | ||
cmds_LDADD = libmds.a libosdc.a libcommon.a libcrush.a | ||
|
||
# osd | ||
cosd_SOURCES = cosd.cc msg/SimpleMessenger.cc | ||
cosd_LDADD = libosd.a libebofs.a libcommon.a libcrush.a | ||
|
||
|
||
noinst_LIBRARIES = \ | ||
libcommon.a libcrush.a \ | ||
libmon.a libmds.a libosdc.a libosd.a libebofs.a libclient.a | ||
|
||
libcommon_a_SOURCES = \ | ||
msg/Message.cc \ | ||
common/Logger.cc \ | ||
common/Clock.cc \ | ||
common/Timer.cc \ | ||
mon/MonMap.cc \ | ||
config.cc | ||
|
||
libcrush_a_SOURCES = \ | ||
crush/builder.c \ | ||
crush/mapper.c \ | ||
crush/crush.c | ||
|
||
libmon_a_SOURCES = \ | ||
mon/Monitor.cc \ | ||
mon/Paxos.cc \ | ||
mon/PaxosService.cc \ | ||
mon/OSDMonitor.cc \ | ||
mon/MDSMonitor.cc \ | ||
mon/ClientMonitor.cc \ | ||
mon/PGMonitor.cc \ | ||
mon/Elector.cc \ | ||
mon/MonitorStore.cc | ||
|
||
libebofs_a_SOURCES = \ | ||
ebofs/BlockDevice.cc \ | ||
ebofs/BufferCache.cc \ | ||
ebofs/Ebofs.cc \ | ||
ebofs/Allocator.cc \ | ||
ebofs/FileJournal.cc | ||
|
||
libmds_a_SOURCES = \ | ||
mds/MDS.cc \ | ||
mds/journal.cc \ | ||
mds/Server.cc \ | ||
mds/MDCache.cc \ | ||
mds/Locker.cc \ | ||
mds/Migrator.cc \ | ||
mds/MDBalancer.cc \ | ||
mds/CDentry.cc \ | ||
mds/CDir.cc \ | ||
mds/CInode.cc \ | ||
mds/AnchorTable.cc \ | ||
mds/AnchorClient.cc \ | ||
mds/LogEvent.cc \ | ||
mds/IdAllocator.cc \ | ||
mds/SessionMap.cc \ | ||
mds/MDLog.cc | ||
|
||
libosd_a_SOURCES = \ | ||
osd/PG.cc \ | ||
osd/ReplicatedPG.cc \ | ||
osd/RAID4PG.cc \ | ||
osd/Ager.cc \ | ||
osd/FakeStore.cc \ | ||
osd/OSD.cc | ||
|
||
libosdc_a_SOURCES = \ | ||
osdc/Objecter.cc \ | ||
osdc/ObjectCacher.cc \ | ||
osdc/Filer.cc \ | ||
osdc/Journaler.cc | ||
|
||
libclient_a_SOURCES = \ | ||
client/FileCache.cc \ | ||
client/Client.cc \ | ||
client/SyntheticClient.cc \ | ||
client/Trace.cc |