Libprocess: Corrected style of Makefiles.

This is not a full standartization of Makefile format, however, it is
a step towards consistency. This patch focuses mainly on the order of
files and corrects obvious issues. These are guidelines behind the
change:

- Files in the same folder should appear in lexicographical order.
- Subfolders should appear in lexicographical order either after files
or mixed with them (depending on the current consensus in the file).
- Though tabs are preferred, spaces are not replaced if they are
current consensus in the file or current section.

Review: https://reviews.apache.org/r/40012


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ffdda712
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ffdda712
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/ffdda712

Branch: refs/heads/master
Commit: ffdda712155e7d6ba9ef4986fe9a96548aca5be7
Parents: 3b06939
Author: Alexander Rukletsov <[email protected]>
Authored: Sat Nov 7 13:31:31 2015 +0100
Committer: Till Toenshoff <[email protected]>
Committed: Sat Nov 7 13:31:31 2015 +0100

----------------------------------------------------------------------
 3rdparty/libprocess/3rdparty/Makefile.am | 2 +-
 3rdparty/libprocess/Makefile.am          | 2 +-
 3rdparty/libprocess/include/Makefile.am  | 8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/ffdda712/3rdparty/libprocess/3rdparty/Makefile.am
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/Makefile.am 
b/3rdparty/libprocess/3rdparty/Makefile.am
index 53e83d4..b73196c 100644
--- a/3rdparty/libprocess/3rdparty/Makefile.am
+++ b/3rdparty/libprocess/3rdparty/Makefile.am
@@ -159,7 +159,6 @@ stout_tests_SOURCES =                               \
   $(STOUT)/tests/bits_tests.cpp                        \
   $(STOUT)/tests/bytes_tests.cpp               \
   $(STOUT)/tests/cache_tests.cpp               \
-  $(STOUT)/tests/svn_tests.cpp                 \
   $(STOUT)/tests/duration_tests.cpp            \
   $(STOUT)/tests/dynamiclibrary_tests.cpp      \
   $(STOUT)/tests/error_tests.cpp               \
@@ -190,6 +189,7 @@ stout_tests_SOURCES =                               \
   $(STOUT)/tests/some_tests.cpp                        \
   $(STOUT)/tests/strings_tests.cpp             \
   $(STOUT)/tests/subcommand_tests.cpp          \
+  $(STOUT)/tests/svn_tests.cpp                 \
   $(STOUT)/tests/try_tests.cpp                 \
   $(STOUT)/tests/uuid_tests.cpp                        \
   $(STOUT)/tests/version_tests.cpp

http://git-wip-us.apache.org/repos/asf/mesos/blob/ffdda712/3rdparty/libprocess/Makefile.am
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/Makefile.am b/3rdparty/libprocess/Makefile.am
index 404a743..cdefa37 100644
--- a/3rdparty/libprocess/Makefile.am
+++ b/3rdparty/libprocess/Makefile.am
@@ -147,8 +147,8 @@ libprocess_tests_SOURCES =                                  
\
   src/tests/io_tests.cpp                                       \
   src/tests/limiter_tests.cpp                                  \
   src/tests/main.cpp                                           \
-  src/tests/mutex_tests.cpp                                    \
   src/tests/metrics_tests.cpp                                  \
+  src/tests/mutex_tests.cpp                                    \
   src/tests/owned_tests.cpp                                    \
   src/tests/process_tests.cpp                                  \
   src/tests/queue_tests.cpp                                    \

http://git-wip-us.apache.org/repos/asf/mesos/blob/ffdda712/3rdparty/libprocess/include/Makefile.am
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/include/Makefile.am 
b/3rdparty/libprocess/include/Makefile.am
index fcc62e9..e6be2c4 100644
--- a/3rdparty/libprocess/include/Makefile.am
+++ b/3rdparty/libprocess/include/Makefile.am
@@ -37,13 +37,13 @@ nobase_include_HEADERS =            \
   process/limiter.hpp                  \
   process/logging.hpp                  \
   process/message.hpp                  \
+  process/mime.hpp                     \
+  process/mutex.hpp                    \
   process/metrics/counter.hpp          \
   process/metrics/gauge.hpp            \
   process/metrics/metric.hpp           \
   process/metrics/metrics.hpp          \
   process/metrics/timer.hpp            \
-  process/mime.hpp                     \
-  process/mutex.hpp                    \
   process/network.hpp                  \
   process/once.hpp                     \
   process/owned.hpp                    \
@@ -57,11 +57,11 @@ nobase_include_HEADERS =            \
   process/sequence.hpp                 \
   process/shared.hpp                   \
   process/socket.hpp                   \
-  process/ssl/gtest.hpp                        \
-  process/ssl/utilities.hpp            \
   process/statistics.hpp               \
   process/system.hpp                   \
   process/subprocess.hpp               \
+  process/ssl/gtest.hpp                        \
+  process/ssl/utilities.hpp            \
   process/time.hpp                     \
   process/timeout.hpp                  \
   process/timer.hpp                    \

Reply via email to