automake-patches
[Top][All Lists]
Advanced

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

[PATCH 06/11] Automake::Language: drop unused fields 'compile_flag' and


From: Stefano Lattarini
Subject: [PATCH 06/11] Automake::Language: drop unused fields 'compile_flag' and 'output_flag'
Date: Sat, 12 Jan 2013 13:51:59 +0100

They are unused after the recent flurry of changes.  This is just a
simplification; no semantic change is intended.

* automake.in: Here, in the Automake::Language 'Class::Struct' definition
and in all the 'register_language()' invocations.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 automake.in | 29 -----------------------------
 1 file changed, 29 deletions(-)

diff --git a/automake.in b/automake.in
index 5c2a196..ca67b26 100644
--- a/automake.in
+++ b/automake.in
@@ -64,8 +64,6 @@ Class::Struct::struct (
        'compiler'  => "\$",
        # Content of the compiling variable.
        'compile'  => "\$",
-       # Flag to require compilation without linking (-c).
-       'compile_flag' => "\$",
        'extensions' => '@',
        # A subroutine to compute a list of possible extensions of
        # the product given the input extensions.
@@ -95,8 +93,6 @@ Class::Struct::struct (
        # Content of the linker variable ($(CC)).
        'ld' => "\$",
 
-       # Flag to specify the output file (-o).
-       'output_flag' => "\$",
        '_finish' => "\$",
 
        # This is a subroutine which is called whenever we finally
@@ -698,7 +694,6 @@ register_language ('name' => 'c',
                   'ld' => '$(CC)',
                   'linker' => 'LINK',
                   'link' => '$(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) 
$(LDFLAGS) -o $@',
-                  'compile_flag' => '-c',
                   'libtool_tag' => 'CC',
                   'extensions' => ['.c']);
 
@@ -713,8 +708,6 @@ register_language ('name' => 'cxx',
                   'compile' => '$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) 
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)',
                   'ccer' => 'CXX',
                   'compiler' => 'CXXCOMPILE',
-                  'compile_flag' => '-c',
-                  'output_flag' => '-o',
                   'libtool_tag' => 'CXX',
                   'lder' => 'CXXLD',
                   'ld' => '$(CXX)',
@@ -732,8 +725,6 @@ register_language ('name' => 'objc',
                   'compile' => '$(OBJC) $(DEFS) $(DEFAULT_INCLUDES) 
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_OBJCFLAGS) $(OBJCFLAGS)',
                   'ccer' => 'OBJC',
                   'compiler' => 'OBJCCOMPILE',
-                  'compile_flag' => '-c',
-                  'output_flag' => '-o',
                   'lder' => 'OBJCLD',
                   'ld' => '$(OBJC)',
                   'pure' => 1,
@@ -750,8 +741,6 @@ register_language ('name' => 'objcxx',
                   'compile' => '$(OBJCXX) $(DEFS) $(DEFAULT_INCLUDES) 
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_OBJCXXFLAGS) $(OBJCXXFLAGS)',
                   'ccer' => 'OBJCXX',
                   'compiler' => 'OBJCXXCOMPILE',
-                  'compile_flag' => '-c',
-                  'output_flag' => '-o',
                   'lder' => 'OBJCXXLD',
                   'ld' => '$(OBJCXX)',
                   'pure' => 1,
@@ -768,8 +757,6 @@ register_language ('name' => 'upc',
                   'compile' => '$(UPC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) 
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_UPCFLAGS) $(UPCFLAGS)',
                   'ccer' => 'UPC',
                   'compiler' => 'UPCCOMPILE',
-                  'compile_flag' => '-c',
-                  'output_flag' => '-o',
                   'lder' => 'UPCLD',
                   'ld' => '$(UPC)',
                   'pure' => 1,
@@ -874,8 +861,6 @@ register_language ('name' => 'asm',
                   'compile' => '$(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS)',
                   'ccer' => 'CCAS',
                   'compiler' => 'CCASCOMPILE',
-                  'compile_flag' => '-c',
-                  'output_flag' => '-o',
                   'extensions' => ['.s']);
 
 # Preprocessed Assembler.
@@ -888,8 +873,6 @@ register_language ('name' => 'cppasm',
                   'compile' => '$(CCAS) $(DEFS) $(DEFAULT_INCLUDES) 
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)',
                   'ccer' => 'CPPAS',
                   'compiler' => 'CPPASCOMPILE',
-                  'compile_flag' => '-c',
-                  'output_flag' => '-o',
                   'extensions' => ['.S', '.sx']);
 
 # Fortran 77
@@ -902,8 +885,6 @@ register_language ('name' => 'f77',
                   'compile' => '$(F77) $(AM_FFLAGS) $(FFLAGS)',
                   'ccer' => 'F77',
                   'compiler' => 'F77COMPILE',
-                  'compile_flag' => '-c',
-                  'output_flag' => '-o',
                   'libtool_tag' => 'F77',
                   'lder' => 'F77LD',
                   'ld' => '$(F77)',
@@ -920,8 +901,6 @@ register_language ('name' => 'fc',
                   'compile' => '$(FC) $(AM_FCFLAGS) $(FCFLAGS)',
                   'ccer' => 'FC',
                   'compiler' => 'FCCOMPILE',
-                  'compile_flag' => '-c',
-                  'output_flag' => '-o',
                   'libtool_tag' => 'FC',
                   'lder' => 'FCLD',
                   'ld' => '$(FC)',
@@ -940,8 +919,6 @@ register_language ('name' => 'ppfc',
                   'ccer' => 'PPFC',
                   'compiler' => 'PPFCCOMPILE',
                   'compile' => '$(FC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) 
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FCFLAGS) $(FCFLAGS)',
-                  'compile_flag' => '-c',
-                  'output_flag' => '-o',
                   'libtool_tag' => 'FC',
                   'pure' => 1,
                   'extensions' => ['.F90','.F95', '.F03', '.F08']);
@@ -972,8 +949,6 @@ register_language ('name' => 'ppf77',
                   'ccer' => 'PPF77',
                   'compiler' => 'PPF77COMPILE',
                   'compile' => '$(F77) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) 
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS)',
-                  'compile_flag' => '-c',
-                  'output_flag' => '-o',
                   'libtool_tag' => 'F77',
                   'pure' => 1,
                   'extensions' => ['.F']);
@@ -991,8 +966,6 @@ register_language ('name' => 'ratfor',
                   'compile' => '$(F77) $(AM_FFLAGS) $(FFLAGS) $(AM_RFLAGS) 
$(RFLAGS)',
                   'ccer' => 'F77',
                   'compiler' => 'RCOMPILE',
-                  'compile_flag' => '-c',
-                  'output_flag' => '-o',
                   'libtool_tag' => 'F77',
                   'pure' => 1,
                   'extensions' => ['.r']);
@@ -1008,8 +981,6 @@ register_language ('name' => 'java',
                   'compile' => '$(GCJ) $(AM_GCJFLAGS) $(GCJFLAGS)',
                   'ccer' => 'GCJ',
                   'compiler' => 'GCJCOMPILE',
-                  'compile_flag' => '-c',
-                  'output_flag' => '-o',
                   'libtool_tag' => 'GCJ',
                   'lder' => 'GCJLD',
                   'ld' => '$(GCJ)',
-- 
1.8.1.rc3.192.g2d0029e




reply via email to

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