]> git.gag.com Git - fw/sdcc/commitdiff
* support/cpp2/Makefile.in: added dependency on options.h
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 26 Dec 2006 07:45:35 +0000 (07:45 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 26 Dec 2006 07:45:35 +0000 (07:45 +0000)
* configure: regenerated
* support/cpp2/sdcpp.opt, support/cpp2/move-if-change: svn:eol-style native

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4525 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
support/cpp2/Makefile.in
support/cpp2/configure
support/cpp2/move-if-change
support/cpp2/sdcpp.opt

index 55e07d058c8454762d79a434e58e0a4499d35389..7e4e27e9b64e3705cbc6867b09b0925f18f67473 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-12-36 Borut Razem <borut.razem AT siol.net>
+
+       * support/cpp2/Makefile.in: added dependency on options.h
+       * configure: regenerated
+       * support/cpp2/sdcpp.opt, support/cpp2/move-if-change: svn:eol-style native
+
 2006-12-25 Borut Razem <borut.razem AT siol.net>
 
        * SDCPP synchronized with GCC CPP release version 3.4.6,
index cb51ab78a2551e56c62b59b28e3061daf4a2f4b0..5a5812646efe867dd478895fe7583219d74040c4 100644 (file)
@@ -222,7 +222,7 @@ LIBCPP_OBJS =       c-ppoutput.o cppinit.o cpplib.o cpplex.o cppmacro.o cppexp.o cppfi
                line-map.o cpptrad.o cppcharset.o hashtab.o \
                opts.o options.o diagnostic.o pretty-print.o c-incpath.o
 
-LIBCPP_DEPS =  cpplib.h cpphash.h hashtable.h intl.h $(OBSTACK_H) $(SYSTEM_H)
+LIBCPP_DEPS =  cpplib.h cpphash.h hashtable.h intl.h options.h $(OBSTACK_H) $(SYSTEM_H)
 
 # Most of the other archives built/used by this makefile are for
 # targets.  This one is strictly for the host.
@@ -240,8 +240,8 @@ $(TARGET): sdcpp.o sdcpp-opts.o $(MY_LIBIBERTY_BITS) libcpp.a $(LIBDEPS)
        $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ sdcpp.o sdcpp-opts.o \
        $(MY_LIBIBERTY_BITS) libcpp.a $(LIBS)
 
-sdcpp.o:      sdcpp.c  $(CONFIG_H) cpplib.h $(SYSTEM_H)
-sdcpp-opts.o: sdcpp-opts.c $(CONFIG_H) $(LIBCPP_DEPS)
+sdcpp.o:      sdcpp.c  $(CONFIG_H) cpplib.h $(SYSTEM_H) options.h
+sdcpp-opts.o: sdcpp-opts.c $(CONFIG_H) $(LIBCPP_DEPS) options.h
 
 c-ppoutput.o:  c-ppoutput.c  $(CONFIG_H) cpplib.h intl.h $(SYSTEM_H)
 cppinit.o:  cppinit.c  $(CONFIG_H) $(LIBCPP_DEPS) cppdefault.h \
index 7897d5f54dcefcc09d3fa2ece23a9b17613c3f34..e693f5b6e76c18294a08f7820362f7fb89787858 100755 (executable)
@@ -561,7 +561,7 @@ PACKAGE_VERSION=
 PACKAGE_STRING=
 PACKAGE_BUGREPORT=
 
-ac_unique_file="sdcppmain.c"
+ac_unique_file="sdcpp.c"
 # Factoring default headers for most tests.
 ac_includes_default="\
 #include <stdio.h>
index 28fcfbb72f135718c20c4f1b0fa5d0b4b4e3b092..66d8b8adc7fbcada50bc93f3b1f0390c39d73135 100644 (file)
@@ -1,17 +1,17 @@
-#!/bin/sh\r
-# Like mv $1 $2, but if the files are the same, just delete $1.\r
-# Status is 0 if $2 is changed, 1 otherwise.\r
-if\r
-test -r $2\r
-then\r
-if\r
-cmp -s $1 $2\r
-then\r
-echo $2 is unchanged\r
-rm -f $1\r
-else\r
-mv -f $1 $2\r
-fi\r
-else\r
-mv -f $1 $2\r
-fi\r
+#!/bin/sh
+# Like mv $1 $2, but if the files are the same, just delete $1.
+# Status is 0 if $2 is changed, 1 otherwise.
+if
+test -r $2
+then
+if
+cmp -s $1 $2
+then
+echo $2 is unchanged
+rm -f $1
+else
+mv -f $1 $2
+fi
+else
+mv -f $1 $2
+fi
index d6fe7cf1dbf04370912da01bb0464ceb4b9b493f..fe06f28a01ddc27939785e8890133d346bb20564 100644 (file)
-; Options for the SDCPP front end.\r
-; Copyright (C) 2003 Free Software Foundation, Inc.\r
-;\r
-; This file is part of GCC.\r
-;\r
-; GCC is free software; you can redistribute it and/or modify it under\r
-; the terms of the GNU General Public License as published by the Free\r
-; Software Foundation; either version 2, or (at your option) any later\r
-; version.\r
-;\r
-; GCC is distributed in the hope that it will be useful, but WITHOUT ANY\r
-; WARRANTY; without even the implied warranty of MERCHANTABILITY or\r
-; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License\r
-; for more details.\r
-;\r
-; You should have received a copy of the GNU General Public License\r
-; along with GCC; see the file COPYING.  If not, write to the Free\r
-; Software Foundation, 59 Temple Place - Suite 330, Boston, MA\r
-; 02111-1307, USA.\r
-\r
-\r
-; This file is processed by the script opts.sh.  It is a database of\r
-; command line options, with each record separated by a blank line,\r
-; and each field appearing on its own line.  The first field is the\r
-; command-line switch with the leading "-" removed.  All options\r
-; beginning with "f" or "W" are implicitly assumed to take a "no-"\r
-; form; this form should not be listed.  If you do not want this\r
-; negative form and you want it to be automatically rejected, add\r
-; RejectNegative to the second field.\r
-\r
-; The second field is a space-separated list of which parts of the\r
-; compiler recognize the switch, as declared by "Language" entries.\r
-; If the switch takes an argument, then you should also specify\r
-; "Joined" and/or "Separate" to indicate where the argument can\r
-; appear.  If a Joined argument can legitimately be omitted, specify\r
-; "JoinedOrMissing" instead of "Joined".  If the argument to a switch\r
-; is a non-negative integer, you can specify "UInteger" and the switch\r
-; decoder will convert the argument for you, or complain to the user\r
-; if the argument is invalid.\r
-\r
-; The third field is the help text to output with --help.  This is\r
-; automatically line-wrapped on output.  Normally the switch is output\r
-; automatically, with the help text on the right hand side of the\r
-; output.  However, if the help text contains a tab character, the\r
-; text to the left of the tab is output instead of the switch, and the\r
-; text to its right forms the help.  This is useful for elaborating on\r
-; what type of argument a switch takes, for example.  If the second\r
-; field contains "Undocumented" then nothing is output with --help.\r
-; Only do this with good reason like the switch being internal between\r
-; the driver and the front end - it is not an excuse to leave a switch\r
-; undocumented.\r
-\r
-; Comments can appear on their own line anwhere in the file, preceded\r
-; by a semicolon.  Whitespace is permitted before the semicolon.\r
-\r
-; For each switch XXX below, an enumeration constant is created by the\r
-; script opts.sh spelt OPT_XXX, but with all non-alphanumeric\r
-; characters replaced with an underscore.\r
-\r
-; Please try to keep this file in ASCII collating order.\r
-\r
-Language\r
-SDCPP\r
-\r
--help\r
-Common\r
-Display this information\r
-\r
--version\r
-Common\r
-Display the compiler's version\r
-\r
-;***-output-pch=\r
-;***SDCPP Joined Separate\r
-\r
-A\r
-SDCPP Joined Separate\r
--A<question>=<answer>  Assert the <answer> to <question>.  Putting '-' before <question> disables the <answer> to <question>\r
-\r
-C\r
-SDCPP\r
-Do not discard comments\r
-\r
-CC\r
-SDCPP\r
-Do not discard comments in macro expansions\r
-\r
-D\r
-SDCPP Joined Separate\r
--D<macro>[=<val>]      Define a <macro> with <val> as its value.  If just <macro> is given, <val> is taken to be 1\r
-\r
-H\r
-SDCPP\r
-Print the name of header files as they are used\r
-\r
-I\r
-SDCPP Joined Separate\r
--I <dir>       Add <dir> to the end of the main include path.  -I- gives more include path control; see info documentation\r
-\r
-M\r
-SDCPP\r
-Generate make dependencies\r
-\r
-MD\r
-SDCPP Separate\r
-Generate make dependencies and compile\r
-\r
-MF\r
-SDCPP Joined Separate\r
--MF <file>     Write dependency output to the given file\r
-\r
-MG\r
-SDCPP\r
-Treat missing header files as generated files\r
-\r
-MM\r
-SDCPP\r
-Like -M but ignore system header files\r
-\r
-MMD\r
-SDCPP Separate\r
-Like -MD but ignore system header files\r
-\r
-MP\r
-SDCPP\r
-Generate phony targets for all headers\r
-\r
-MQ\r
-SDCPP Joined Separate\r
--MQ <target>   Add a MAKE-quoted target\r
-\r
-MT\r
-SDCPP Joined Separate\r
--MT <target>   Add an unquoted target\r
-\r
-P\r
-SDCPP\r
-Do not generate #line directives\r
-\r
-U\r
-SDCPP Joined Separate\r
--U<macro>      Undefine <macro>\r
-\r
-Wall\r
-SDCPP\r
-Enable most warning messages\r
-\r
-Wcomment\r
-SDCPP\r
-Warn about possibly nested block comments, and C++ comments spanning more than one physical line\r
-\r
-Wcomments\r
-SDCPP\r
-Synonym for -Wcomment\r
-\r
-Wdeprecated\r
-SDCPP\r
-Warn about deprecated compiler features\r
-\r
-Wendif-labels\r
-SDCPP\r
-Warn about stray tokens after #elif and #endif\r
-\r
-Werror\r
-SDCPP\r
-Treat all warnings as errors\r
-\r
-Wimport\r
-SDCPP\r
-Deprecated.  This switch has no effect.\r
-\r
-;***Winvalid-pch\r
-;***SDCPP\r
-;***Warn about PCH files that are found but not used\r
-\r
-Wsystem-headers\r
-SDCPP\r
-Do not suppress warnings from system headers\r
-\r
-Wtrigraphs\r
-SDCPP\r
-Warn if trigraphs are encountered that might affect the meaning of the program\r
-\r
-Wundef\r
-SDCPP\r
-Warn if an undefined macro is used in an #if directive\r
-\r
-Wunused-macros\r
-SDCPP\r
-Warn about macros defined in the main file that are not used\r
-\r
-ansi\r
-SDCPP\r
-A synonym for -std=c89.\r
-\r
-d\r
-SDCPP Joined\r
--d<letters>    Enable dumps from specific passes of the compiler\r
-\r
-fdollars-in-identifiers\r
-SDCPP\r
-Permit '$' as an identifier character\r
-\r
-fexec-charset=\r
-SDCPP Joined RejectNegative\r
--fexec-charset=<cset>  Convert all strings and character constants to character set <cset>\r
-\r
-finput-charset=\r
-SDCPP Joined RejectNegative\r
--finput-charset=<cset>      Specify the default character set for source files.\r
-\r
-;***fpch-deps\r
-;***SDCPP\r
-\r
-fpreprocessed\r
-SDCPP\r
-Treat the input file as already preprocessed\r
-\r
-fshow-column\r
-SDCPP\r
-\r
-fsigned-char\r
-SDCPP\r
-Make \"char\" signed by default\r
-\r
-ftabstop=\r
-SDCPP Joined RejectNegative UInteger\r
--ftabstop=<number>     Distance between tab stops for column reporting\r
-\r
-funsigned-char\r
-SDCPP\r
-Make \"char\" unsigned by default\r
-\r
-fwide-exec-charset=\r
-SDCPP Joined RejectNegative\r
--fwide-exec-charset=<cset>     Convert all wide strings and character constants to character set <cset>\r
-\r
-fworking-directory\r
-SDCPP\r
-Generate a #line directive pointing at the current working directory\r
-\r
-idirafter\r
-SDCPP Joined Separate\r
--idirafter <dir>       Add <dir> to the end of the system include path\r
-\r
-imacros\r
-SDCPP Joined Separate\r
--imacros <file>        Accept definition of macros in <file>\r
-\r
-include\r
-SDCPP Joined Separate\r
--include <file>        Include the contents of <file> before other files\r
-\r
-iprefix\r
-SDCPP Joined Separate\r
--iprefix <path>        Specify <path> as a prefix for next two options\r
-\r
-isysroot\r
-SDCPP Joined Separate\r
--isysroot <dir>        Set <dir> to be the system root directory\r
-\r
-isystem\r
-SDCPP Joined Separate\r
--isystem <dir> Add <dir> to the start of the system include path\r
-\r
-iwithprefix\r
-SDCPP Joined Separate\r
--iwithprefix <dir>     Add <dir> to the end of the system include path\r
-\r
-iwithprefixbefore\r
-SDCPP Joined Separate\r
--iwithprefixbefore <dir>       Add <dir> to the end of the main include path\r
-\r
-lang-asm\r
-C Undocumented\r
-\r
-lang-objc\r
-SDCPP Undocumented\r
-\r
-nostdinc\r
-SDCPP\r
-Do not search standard system include directories (those specified with -isystem will still be used)\r
-\r
-o\r
-SDCPP Joined Separate\r
--o <file>      Place output into <file>\r
-\r
-obj-ext=\r
-SDCPP Joined\r
--obj-ext=<extension>   Define object file extension, used for generation of make dependencies\r
-\r
-pedantic\r
-SDCPP\r
-Issue warnings needed for strict compliance to the standard\r
-\r
-pedantic-errors\r
-SDCPP\r
-Like -pedantic but issue them as errors\r
-\r
-pedantic-parse-number\r
-SDCPP\r
-Pedantic parse number\r
-\r
-remap\r
-SDCPP\r
-Remap file names when including files\r
-\r
-std=c89\r
-SDCPP\r
-Conform to the ISO 1990 C standard\r
-\r
-std=c99\r
-SDCPP\r
-Conform to the ISO 1999 C standard\r
-\r
-std=iso9899:1990\r
-C ObjC\r
-Conform to the ISO 1990 C standard\r
-\r
-std=iso9899:199409\r
-SDCPP\r
-Conform to the ISO 1990 C standard as amended in 1994\r
-\r
-std=iso9899:1999\r
-C ObjC\r
-Conform to the ISO 1999 C standard\r
-\r
-traditional-cpp\r
-SDCPP\r
-Enable traditional preprocessing\r
-\r
-trigraphs\r
-SDCPP\r
--trigraphs     Support ISO C trigraphs\r
-\r
-v\r
-SDCPP\r
-Enable verbose output\r
-\r
-w\r
-SDCPP\r
-Suppress warnings\r
-\r
-; This comment is to ensure we retain the blank line above.\r
+; Options for the SDCPP front end.
+; Copyright (C) 2003 Free Software Foundation, Inc.
+;
+; This file is part of GCC.
+;
+; GCC is free software; you can redistribute it and/or modify it under
+; the terms of the GNU General Public License as published by the Free
+; Software Foundation; either version 2, or (at your option) any later
+; version.
+;
+; GCC 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 GCC; see the file COPYING.  If not, write to the Free
+; Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+; 02111-1307, USA.
+
+
+; This file is processed by the script opts.sh.  It is a database of
+; command line options, with each record separated by a blank line,
+; and each field appearing on its own line.  The first field is the
+; command-line switch with the leading "-" removed.  All options
+; beginning with "f" or "W" are implicitly assumed to take a "no-"
+; form; this form should not be listed.  If you do not want this
+; negative form and you want it to be automatically rejected, add
+; RejectNegative to the second field.
+
+; The second field is a space-separated list of which parts of the
+; compiler recognize the switch, as declared by "Language" entries.
+; If the switch takes an argument, then you should also specify
+; "Joined" and/or "Separate" to indicate where the argument can
+; appear.  If a Joined argument can legitimately be omitted, specify
+; "JoinedOrMissing" instead of "Joined".  If the argument to a switch
+; is a non-negative integer, you can specify "UInteger" and the switch
+; decoder will convert the argument for you, or complain to the user
+; if the argument is invalid.
+
+; The third field is the help text to output with --help.  This is
+; automatically line-wrapped on output.  Normally the switch is output
+; automatically, with the help text on the right hand side of the
+; output.  However, if the help text contains a tab character, the
+; text to the left of the tab is output instead of the switch, and the
+; text to its right forms the help.  This is useful for elaborating on
+; what type of argument a switch takes, for example.  If the second
+; field contains "Undocumented" then nothing is output with --help.
+; Only do this with good reason like the switch being internal between
+; the driver and the front end - it is not an excuse to leave a switch
+; undocumented.
+
+; Comments can appear on their own line anwhere in the file, preceded
+; by a semicolon.  Whitespace is permitted before the semicolon.
+
+; For each switch XXX below, an enumeration constant is created by the
+; script opts.sh spelt OPT_XXX, but with all non-alphanumeric
+; characters replaced with an underscore.
+
+; Please try to keep this file in ASCII collating order.
+
+Language
+SDCPP
+
+-help
+Common
+Display this information
+
+-version
+Common
+Display the compiler's version
+
+;***-output-pch=
+;***SDCPP Joined Separate
+
+A
+SDCPP Joined Separate
+-A<question>=<answer>  Assert the <answer> to <question>.  Putting '-' before <question> disables the <answer> to <question>
+
+C
+SDCPP
+Do not discard comments
+
+CC
+SDCPP
+Do not discard comments in macro expansions
+
+D
+SDCPP Joined Separate
+-D<macro>[=<val>]      Define a <macro> with <val> as its value.  If just <macro> is given, <val> is taken to be 1
+
+H
+SDCPP
+Print the name of header files as they are used
+
+I
+SDCPP Joined Separate
+-I <dir>       Add <dir> to the end of the main include path.  -I- gives more include path control; see info documentation
+
+M
+SDCPP
+Generate make dependencies
+
+MD
+SDCPP Separate
+Generate make dependencies and compile
+
+MF
+SDCPP Joined Separate
+-MF <file>     Write dependency output to the given file
+
+MG
+SDCPP
+Treat missing header files as generated files
+
+MM
+SDCPP
+Like -M but ignore system header files
+
+MMD
+SDCPP Separate
+Like -MD but ignore system header files
+
+MP
+SDCPP
+Generate phony targets for all headers
+
+MQ
+SDCPP Joined Separate
+-MQ <target>   Add a MAKE-quoted target
+
+MT
+SDCPP Joined Separate
+-MT <target>   Add an unquoted target
+
+P
+SDCPP
+Do not generate #line directives
+
+U
+SDCPP Joined Separate
+-U<macro>      Undefine <macro>
+
+Wall
+SDCPP
+Enable most warning messages
+
+Wcomment
+SDCPP
+Warn about possibly nested block comments, and C++ comments spanning more than one physical line
+
+Wcomments
+SDCPP
+Synonym for -Wcomment
+
+Wdeprecated
+SDCPP
+Warn about deprecated compiler features
+
+Wendif-labels
+SDCPP
+Warn about stray tokens after #elif and #endif
+
+Werror
+SDCPP
+Treat all warnings as errors
+
+Wimport
+SDCPP
+Deprecated.  This switch has no effect.
+
+;***Winvalid-pch
+;***SDCPP
+;***Warn about PCH files that are found but not used
+
+Wsystem-headers
+SDCPP
+Do not suppress warnings from system headers
+
+Wtrigraphs
+SDCPP
+Warn if trigraphs are encountered that might affect the meaning of the program
+
+Wundef
+SDCPP
+Warn if an undefined macro is used in an #if directive
+
+Wunused-macros
+SDCPP
+Warn about macros defined in the main file that are not used
+
+ansi
+SDCPP
+A synonym for -std=c89.
+
+d
+SDCPP Joined
+-d<letters>    Enable dumps from specific passes of the compiler
+
+fdollars-in-identifiers
+SDCPP
+Permit '$' as an identifier character
+
+fexec-charset=
+SDCPP Joined RejectNegative
+-fexec-charset=<cset>  Convert all strings and character constants to character set <cset>
+
+finput-charset=
+SDCPP Joined RejectNegative
+-finput-charset=<cset>      Specify the default character set for source files.
+
+;***fpch-deps
+;***SDCPP
+
+fpreprocessed
+SDCPP
+Treat the input file as already preprocessed
+
+fshow-column
+SDCPP
+
+fsigned-char
+SDCPP
+Make \"char\" signed by default
+
+ftabstop=
+SDCPP Joined RejectNegative UInteger
+-ftabstop=<number>     Distance between tab stops for column reporting
+
+funsigned-char
+SDCPP
+Make \"char\" unsigned by default
+
+fwide-exec-charset=
+SDCPP Joined RejectNegative
+-fwide-exec-charset=<cset>     Convert all wide strings and character constants to character set <cset>
+
+fworking-directory
+SDCPP
+Generate a #line directive pointing at the current working directory
+
+idirafter
+SDCPP Joined Separate
+-idirafter <dir>       Add <dir> to the end of the system include path
+
+imacros
+SDCPP Joined Separate
+-imacros <file>        Accept definition of macros in <file>
+
+include
+SDCPP Joined Separate
+-include <file>        Include the contents of <file> before other files
+
+iprefix
+SDCPP Joined Separate
+-iprefix <path>        Specify <path> as a prefix for next two options
+
+isysroot
+SDCPP Joined Separate
+-isysroot <dir>        Set <dir> to be the system root directory
+
+isystem
+SDCPP Joined Separate
+-isystem <dir> Add <dir> to the start of the system include path
+
+iwithprefix
+SDCPP Joined Separate
+-iwithprefix <dir>     Add <dir> to the end of the system include path
+
+iwithprefixbefore
+SDCPP Joined Separate
+-iwithprefixbefore <dir>       Add <dir> to the end of the main include path
+
+lang-asm
+C Undocumented
+
+lang-objc
+SDCPP Undocumented
+
+nostdinc
+SDCPP
+Do not search standard system include directories (those specified with -isystem will still be used)
+
+o
+SDCPP Joined Separate
+-o <file>      Place output into <file>
+
+obj-ext=
+SDCPP Joined
+-obj-ext=<extension>   Define object file extension, used for generation of make dependencies
+
+pedantic
+SDCPP
+Issue warnings needed for strict compliance to the standard
+
+pedantic-errors
+SDCPP
+Like -pedantic but issue them as errors
+
+pedantic-parse-number
+SDCPP
+Pedantic parse number
+
+remap
+SDCPP
+Remap file names when including files
+
+std=c89
+SDCPP
+Conform to the ISO 1990 C standard
+
+std=c99
+SDCPP
+Conform to the ISO 1999 C standard
+
+std=iso9899:1990
+C ObjC
+Conform to the ISO 1990 C standard
+
+std=iso9899:199409
+SDCPP
+Conform to the ISO 1990 C standard as amended in 1994
+
+std=iso9899:1999
+C ObjC
+Conform to the ISO 1999 C standard
+
+traditional-cpp
+SDCPP
+Enable traditional preprocessing
+
+trigraphs
+SDCPP
+-trigraphs     Support ISO C trigraphs
+
+v
+SDCPP
+Enable verbose output
+
+w
+SDCPP
+Suppress warnings
+
+; This comment is to ensure we retain the blank line above.