lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master be9c647f 6/9: Prepare for more transplantatio


From: Greg Chicares
Subject: [lmi-commits] [lmi] master be9c647f 6/9: Prepare for more transplantation
Date: Tue, 28 Jun 2022 22:26:46 -0400 (EDT)

branch: master
commit be9c647fe7e7da412a54c4c0ebebc7b65a5ff981
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Prepare for more transplantation
    
    The principal gcc makefile is too large. Splitting it into pieces should
    make it easier to understand and maintain.
---
 compiler_clang.make         |  7 +++++++
 compiler_clang_version.make | 24 ++++++++++++++++++++++++
 compiler_gcc.make           |  7 +++++++
 compiler_gcc_version.make   | 24 ++++++++++++++++++++++++
 4 files changed, 62 insertions(+)

diff --git a/compiler_clang.make b/compiler_clang.make
index 23ba0bb6..dc264a83 100644
--- a/compiler_clang.make
+++ b/compiler_clang.make
@@ -25,6 +25,13 @@
 
 $(srcdir)/compiler_clang.make:: ;
 
+# Ascertain compiler version.
+
+include $(srcdir)/compiler_clang_version.make
+$(srcdir)/compiler_clang_version.make:: ;
+
+# Warnings.
+
 include $(srcdir)/compiler_clang_warnings.make
 $(srcdir)/compiler_clang_warnings.make:: ;
 
diff --git a/compiler_clang_version.make b/compiler_clang_version.make
new file mode 100644
index 00000000..4a8cf7f8
--- /dev/null
+++ b/compiler_clang_version.make
@@ -0,0 +1,24 @@
+# Compiler-specific makefile: ascertain clang version.
+#
+# Copyright (C) 2022 Gregory W. Chicares.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+#
+# https://savannah.nongnu.org/projects/lmi
+# email: <gchicares@sbcglobal.net>
+# snail: Chicares, 186 Belle Woods Drive, Glastonbury CT 06033, USA
+
+# Don't remake this makefile.
+
+$(srcdir)/compiler_clang_version.make:: ;
diff --git a/compiler_gcc.make b/compiler_gcc.make
index a86e3fd2..47cc0e07 100644
--- a/compiler_gcc.make
+++ b/compiler_gcc.make
@@ -25,6 +25,13 @@
 
 $(srcdir)/compiler_gcc.make:: ;
 
+# Ascertain compiler version.
+
+include $(srcdir)/compiler_gcc_version.make
+$(srcdir)/compiler_gcc_version.make:: ;
+
+# Warnings.
+
 include $(srcdir)/compiler_gcc_warnings.make
 $(srcdir)/compiler_gcc_warnings.make:: ;
 
diff --git a/compiler_gcc_version.make b/compiler_gcc_version.make
new file mode 100644
index 00000000..ab4c73a8
--- /dev/null
+++ b/compiler_gcc_version.make
@@ -0,0 +1,24 @@
+# Compiler-specific makefile: ascertain gcc version.
+#
+# Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 
2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Gregory W. Chicares.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+#
+# https://savannah.nongnu.org/projects/lmi
+# email: <gchicares@sbcglobal.net>
+# snail: Chicares, 186 Belle Woods Drive, Glastonbury CT 06033, USA
+
+# Don't remake this makefile.
+
+$(srcdir)/compiler_gcc_version.make:: ;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]