Creating release_36 branch off revision 225991 llvm-svn: 225994
diff --git a/clang-tests-external/gdb/7.5/COPYING b/clang-tests-external/gdb/7.5/COPYING deleted file mode 100644 index 623b625..0000000 --- a/clang-tests-external/gdb/7.5/COPYING +++ /dev/null
@@ -1,340 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (C) <year> <name of author> - - This program 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 of the License, or - (at your option) any later version. - - 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 Street, Fifth Floor, Boston, MA 02110-1301 USA - - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - <signature of Ty Coon>, 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License.
diff --git a/clang-tests-external/gdb/7.5/COPYING.LIB b/clang-tests-external/gdb/7.5/COPYING.LIB deleted file mode 100644 index 778d0bb..0000000 --- a/clang-tests-external/gdb/7.5/COPYING.LIB +++ /dev/null
@@ -1,482 +0,0 @@ - GNU LIBRARY GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1991 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the library GPL. It is - numbered 2 because it goes with version 2 of the ordinary GPL.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Library General Public License, applies to some -specially designated Free Software Foundation software, and to any -other libraries whose authors decide to use it. You can use it for -your libraries, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if -you distribute copies of the library, or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link a program with the library, you must provide -complete object files to the recipients so that they can relink them -with the library, after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - Our method of protecting your rights has two steps: (1) copyright -the library, and (2) offer you this license which gives you legal -permission to copy, distribute and/or modify the library. - - Also, for each distributor's protection, we want to make certain -that everyone understands that there is no warranty for this free -library. If the library is modified by someone else and passed on, we -want its recipients to know that what they have is not the original -version, so that any problems introduced by others will not reflect on -the original authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that companies distributing free -software will individually obtain patent licenses, thus in effect -transforming the program into proprietary software. To prevent this, -we have made it clear that any patent must be licensed for everyone's -free use or not licensed at all. - - Most GNU software, including some libraries, is covered by the ordinary -GNU General Public License, which was designed for utility programs. This -license, the GNU Library General Public License, applies to certain -designated libraries. This license is quite different from the ordinary -one; be sure to read it in full, and don't assume that anything in it is -the same as in the ordinary license. - - The reason we have a separate public license for some libraries is that -they blur the distinction we usually make between modifying or adding to a -program and simply using it. Linking a program with a library, without -changing the library, is in some sense simply using the library, and is -analogous to running a utility program or application program. However, in -a textual and legal sense, the linked executable is a combined work, a -derivative of the original library, and the ordinary General Public License -treats it as such. - - Because of this blurred distinction, using the ordinary General -Public License for libraries did not effectively promote software -sharing, because most developers did not use the libraries. We -concluded that weaker conditions might promote sharing better. - - However, unrestricted linking of non-free programs would deprive the -users of those programs of all benefit from the free status of the -libraries themselves. This Library General Public License is intended to -permit developers of non-free programs to use free libraries, while -preserving your freedom as a user of such programs to change the free -libraries that are incorporated in them. (We have not seen how to achieve -this as regards changes in header files, but we have achieved it as regards -changes in the actual functions of the Library.) The hope is that this -will lead to faster development of free libraries. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, while the latter only -works together with the library. - - Note that it is possible for a library to be covered by the ordinary -General Public License rather than by this special one. - - GNU LIBRARY GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library which -contains a notice placed by the copyright holder or other authorized -party saying it may be distributed under the terms of this Library -General Public License (also called "this License"). Each licensee is -addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also compile or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - c) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - d) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the source code distributed need not include anything that is normally -distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Library General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - Appendix: How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - <one line to give the library's name and a brief idea of what it does.> - Copyright (C) <year> <name of author> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this library; if not, write to the Free - Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, - MA 02110-1301, USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - <signature of Ty Coon>, 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it!
diff --git a/clang-tests-external/gdb/7.5/COPYING3 b/clang-tests-external/gdb/7.5/COPYING3 deleted file mode 100644 index 94a9ed0..0000000 --- a/clang-tests-external/gdb/7.5/COPYING3 +++ /dev/null
@@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (C) <year> <name of author> - - This program 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 3 of the License, or - (at your option) any later version. - - 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, see <http://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (C) <year> <name of author> - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<http://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<http://www.gnu.org/philosophy/why-not-lgpl.html>.
diff --git a/clang-tests-external/gdb/7.5/COPYING3.LIB b/clang-tests-external/gdb/7.5/COPYING3.LIB deleted file mode 100644 index fc8a5de..0000000 --- a/clang-tests-external/gdb/7.5/COPYING3.LIB +++ /dev/null
@@ -1,165 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - - This version of the GNU Lesser General Public License incorporates -the terms and conditions of version 3 of the GNU General Public -License, supplemented by the additional permissions listed below. - - 0. Additional Definitions. - - As used herein, "this License" refers to version 3 of the GNU Lesser -General Public License, and the "GNU GPL" refers to version 3 of the GNU -General Public License. - - "The Library" refers to a covered work governed by this License, -other than an Application or a Combined Work as defined below. - - An "Application" is any work that makes use of an interface provided -by the Library, but which is not otherwise based on the Library. -Defining a subclass of a class defined by the Library is deemed a mode -of using an interface provided by the Library. - - A "Combined Work" is a work produced by combining or linking an -Application with the Library. The particular version of the Library -with which the Combined Work was made is also called the "Linked -Version". - - The "Minimal Corresponding Source" for a Combined Work means the -Corresponding Source for the Combined Work, excluding any source code -for portions of the Combined Work that, considered in isolation, are -based on the Application, and not on the Linked Version. - - The "Corresponding Application Code" for a Combined Work means the -object code and/or source code for the Application, including any data -and utility programs needed for reproducing the Combined Work from the -Application, but excluding the System Libraries of the Combined Work. - - 1. Exception to Section 3 of the GNU GPL. - - You may convey a covered work under sections 3 and 4 of this License -without being bound by section 3 of the GNU GPL. - - 2. Conveying Modified Versions. - - If you modify a copy of the Library, and, in your modifications, a -facility refers to a function or data to be supplied by an Application -that uses the facility (other than as an argument passed when the -facility is invoked), then you may convey a copy of the modified -version: - - a) under this License, provided that you make a good faith effort to - ensure that, in the event an Application does not supply the - function or data, the facility still operates, and performs - whatever part of its purpose remains meaningful, or - - b) under the GNU GPL, with none of the additional permissions of - this License applicable to that copy. - - 3. Object Code Incorporating Material from Library Header Files. - - The object code form of an Application may incorporate material from -a header file that is part of the Library. You may convey such object -code under terms of your choice, provided that, if the incorporated -material is not limited to numerical parameters, data structure -layouts and accessors, or small macros, inline functions and templates -(ten or fewer lines in length), you do both of the following: - - a) Give prominent notice with each copy of the object code that the - Library is used in it and that the Library and its use are - covered by this License. - - b) Accompany the object code with a copy of the GNU GPL and this license - document. - - 4. Combined Works. - - You may convey a Combined Work under terms of your choice that, -taken together, effectively do not restrict modification of the -portions of the Library contained in the Combined Work and reverse -engineering for debugging such modifications, if you also do each of -the following: - - a) Give prominent notice with each copy of the Combined Work that - the Library is used in it and that the Library and its use are - covered by this License. - - b) Accompany the Combined Work with a copy of the GNU GPL and this license - document. - - c) For a Combined Work that displays copyright notices during - execution, include the copyright notice for the Library among - these notices, as well as a reference directing the user to the - copies of the GNU GPL and this license document. - - d) Do one of the following: - - 0) Convey the Minimal Corresponding Source under the terms of this - License, and the Corresponding Application Code in a form - suitable for, and under terms that permit, the user to - recombine or relink the Application with a modified version of - the Linked Version to produce a modified Combined Work, in the - manner specified by section 6 of the GNU GPL for conveying - Corresponding Source. - - 1) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (a) uses at run time - a copy of the Library already present on the user's computer - system, and (b) will operate properly with a modified version - of the Library that is interface-compatible with the Linked - Version. - - e) Provide Installation Information, but only if you would otherwise - be required to provide such information under section 6 of the - GNU GPL, and only to the extent that such information is - necessary to install and execute a modified version of the - Combined Work produced by recombining or relinking the - Application with a modified version of the Linked Version. (If - you use option 4d0, the Installation Information must accompany - the Minimal Corresponding Source and Corresponding Application - Code. If you use option 4d1, you must provide the Installation - Information in the manner specified by section 6 of the GNU GPL - for conveying Corresponding Source.) - - 5. Combined Libraries. - - You may place library facilities that are a work based on the -Library side by side in a single library together with other library -facilities that are not Applications and are not covered by this -License, and convey such a combined library under terms of your -choice, if you do both of the following: - - a) Accompany the combined library with a copy of the same work based - on the Library, uncombined with any other library facilities, - conveyed under the terms of this License. - - b) Give prominent notice with the combined library that part of it - is a work based on the Library, and explaining where to find the - accompanying uncombined form of the same work. - - 6. Revised Versions of the GNU Lesser General Public License. - - The Free Software Foundation may publish revised and/or new versions -of the GNU Lesser General Public License from time to time. Such new -versions will be similar in spirit to the present version, but may -differ in detail to address new problems or concerns. - - Each version is given a distinguishing version number. If the -Library as you received it specifies that a certain numbered version -of the GNU Lesser General Public License "or any later version" -applies to it, you have the option of following the terms and -conditions either of that published version or of any later version -published by the Free Software Foundation. If the Library as you -received it does not specify a version number of the GNU Lesser -General Public License, you may choose any version of the GNU Lesser -General Public License ever published by the Free Software Foundation. - - If the Library as you received it specifies that a proxy can decide -whether future versions of the GNU Lesser General Public License shall -apply, that proxy's public statement of acceptance of any version is -permanent authorization for you to choose that version for the -Library.
diff --git a/clang-tests-external/gdb/7.5/ChangeLog b/clang-tests-external/gdb/7.5/ChangeLog deleted file mode 100644 index f4fbf7e..0000000 --- a/clang-tests-external/gdb/7.5/ChangeLog +++ /dev/null
@@ -1,14599 +0,0 @@ -2012-06-28 Christophe Lyon <christophe.lyon@st.com> - - * configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Make sure - they contain -O2. - * configure: Regenerate. - -2012-05-14 Catherine Moore <clm@codesourcery.com> - - * NEWS: Mention PowerPC VLE port. - -2012-05-11 Mike Frysinger <vapier@gentoo.org> - - * MAINTAINERS (config/): Move to intl/ section. - (compile; depcomp; install-sh; missing; ylwrap): Likewise. - -2012-05-09 Nick Clifton <nickc@redhat.com> - Paul Smith <psmith@gnu.org> - - PR bootstrap/50461 - * configure.ac (mpfr-dir): When using in-tree MPFR sources - allow for the fact that from release v3.1.0 of MPFR the source - files were moved into a src sub-directory. - * configure: Regenerate. - -2012-05-02 Roland McGrath <mcgrathr@google.com> - - * configure.ac (ENABLE_GOLD): Consider *-*-nacl* targets ELF. - * configure: Regenerate. - -2012-04-25 Joel Brobecker <brobecker@adacore.com> - - * config.sub: Update to 2012-04-18 version from official repo. - -2012-03-19 Tristan Gingold <gingold@adacore.com> - - * configure.ac (ia64*-*-*vms*): Add support for ld. - * configure: Regenerate. - -2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - * configure.ac (enable_libgomp): Remove *-*-irix6*. - (unsupported_languages): Remove mips-sgi-irix6.*. - (noconfigdirs): Don't add ${libgcj} for mips*-*-irix6*. - (with_stabs): Remove. - * configure: Regenerate. - -2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - * configure.ac (enable_libgomp): Remove *-*-osf*. - (with_stabs): Remove alpha*-*-osf*. - * configure: Regenerate. - -2012-03-09 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Modify DJ Delorie license to include - modification rights in clause as permitted by DJ Delorie. - * COPYING.LIBGLOSS: Ditto. - -2012-03-09 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Remove two unused licenses. - -2012-03-05 Tristan Gingold <gingold@adacore.com> - - * configure.ac: Enable gdb and readline for ia64*-*-*vms*. - * configure: Regenerate. - -2012-02-21 Joern Rennecke <joern.rennecke@embecosm.com> - - * COPYING.NEWLIB: Add Adapteva notice. - * COPYING.LIBGLOSS: Add Adapteva notice. - -2011-12-18 Eric Botcazou <ebotcazou@adacore.com> - - * configure: Regenerate. - -2011-12-15 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.LIBGLOSS: Add GPL with exception license. - -2011-11-09 Roland McGrath <mcgrathr@google.com> - - * configure.ac: Add tool checks for READELF and READELF_FOR_TARGET. - * configure: Rebuild. - * Makefile.def (flags_to_pass): Add READELF_FOR_TARGET. - * Makefile.tpl (READELF, READELF_FOR_TARGET): New variables. - (HOST_EXPORTS): Add READELF, READELF_FOR_TARGET. - (BASE_FLAGS_TO_PASS): Add READELF_FOR_TARGET. - (BASE_TARGET_EXPORTS, EXTRA_HOST_FLAGS, EXTRA_TARGET_FLAGS): - Add READELF. - * Makefile.in: Rebuild. - -2011-11-08 Richard Henderson <rth@redhat.com> - - * configure.ac: Test for libitm directory present first. - - * configure.ac: Adjust srcdir for running libitm/configure.tgt. - - * configure.ac: Test libitm/configure.tgt to disable libitm. - * configure: Rebuild. - -2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - * Makefile.tpl (EXTRA_GCC_FLAGS): Remove LIBGCC2_CFLAGS, - LIBGCC2_DEBUG_CFLAGS, LIBGCC2_INCLUDES. - * Makefile.in: Regenerate. - -2011-11-01 DJ Delorie <dj@redhat.com> - - * configure.ac (rl78-*-*) New case. - * configure: Regenerate. - -2011-11-01 DJ Delorie <dj@redhat.com> - - * config.sub: Update to version 2011-10-29 (added rl78) - -2011-10-27 Nick Clifton <nickc@redhat.com> - - * config.sub: Import these changes from the config project: - - 2011-10-08 Joern Rennecke <joern.rennecke@embecosm.com> - Ben Elliston <bje@gnu.org> - - * config.sub (epiphany): New. - - 2011-09-09 Linas Vepstas <linasvepstas@gmail.com> - Ben Elliston <bje@gnu.org> - - * config.sub (hexagon, hexagon-*): New. - - 2011-08-23 Roland McGrath <mcgrathr@google.com> - - * config.sub: Rename 32eb to be32, 32el to le32, 64el to le64, and - 64eb to be64. - - 2011-08-16 Roland McGrath <mcgrathr@google.com> - - * config.sub (32eb, 32el, 64eb, 64el): New (pseudo-)CPUs. - (nacl): Grok as alias for 32el-unknown-nacl. - -2011-08-19 Joel Brobecker <brobecker@adacore.com> - - * src-release (GDB_SUPPORT_DIRS): Add 'cpu'. - -2011-08-14 Yao Qi <yao@codesourcery.com> - - Merge from gcc: - - 2011-08-14 Yao Qi <yao@codesourcery.com> - * configure.ac (tic6x-*-*): Remove gdb from noconfigdirs. - * configure: Regenerate. - -2011-07-26 Ian Lance Taylor <iant@google.com> - - Merge from gcc: - - 2011-07-26 Ian Lance Taylor <iant@google.com> - * configure.ac: Set have_compiler based on whether gcc directory - exists, rather than on whether gcc is in configdirs. - * configure: Rebuild. - - 2011-07-20 David Edelsohn <dje.gcc@gmail.com> - * Makefile.tpl (POSTSTAGE1_CONFIGURE_FLAGS): Add libsupc++ to - link directories. - * Makefile.in: Rebuild. - - 2011-07-20 Ian Lance Taylor <iant@google.com> - PR bootstrap/49787 - * configure.ac: Move --enable-bootstrap handling earlier in file. - If --enable-bootstrap and either --enable-build-with-cxx or - --enable-build-poststage1-with-cxx, enable C++ automatically. - * configure: Rebuild. - - 2011-07-19 Ian Lance Taylor <iant@google.com> - * configure.ac: Add --enable-build-poststage1-with-cxx. If set, - make C++ a boot_language. Set and substitute - POSTSTAGE1_CONFIGURE_FLAGS. - * Makefile.tpl (POSTSTAGE1_CONFIGURE_FLAGS): New variable. - (STAGE[+id+]_CONFIGURE_FLAGS): Add $(POSTSTAGE1_CONFIGURE_FLAGS). - * configure, Makefile.in: Rebuild. - - 2011-07-16 Jason Merrill <jason@redhat.com> - * Makefile.def (language=c++): Add check-c++0x and - check-target-libmudflap-c++. - * Makefile.tpl (check-target-libmudflap-c++): New. - * Makefile.in: Regenerate. - - 2011-07-16 Matthias Klose <doko@ubuntu.com> - * Makefile.tpl (EXTRA_CONFIGARGS_LIBJAVA): Define. - * Makefile.def (target_modules/libjava): Pass - $(EXTRA_CONFIGARGS_LIBJAVA). - * configure.ac: Pass --disable-static in EXTRA_CONFIGARGS_LIBJAVA, - if not configured with --enable-static-libjava. - * Makefile.in: Regenerate. - * configure: Likewise. - - 2011-06-22 Hans-Peter Nilsson <hp@axis.com> - PR regression/47836 - PR bootstrap/23656 - PR other/47733 - PR bootstrap/49247 - PR c/48825 - * configure.ac (target_libraries): Remove target-libiberty. - Remove case-statement setting skipdirs=target-libiberty for - multiple targets. Remove checking target_configdirs and - removing target-libiberty but keeping target-libgcc if - otherwise empty. - * Makefile.def (target_modules): Don't add libiberty. - (dependencies): Remove all traces of target-libiberty. - * configure, Makefile.in: Regenerate. - -2011-07-22 Jason Merrill <jason@redhat.com> - - * Makefile.def (language=c++): Add check-c++0x and - check-target-libmudflap-c++. - * Makefile.tpl (check-target-libmudflap-c++): New. - * Makefile.in: Regenerate. - -2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - * configure: Regenerate. - -2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - PR target/39150 - * configure.ac (i[3456789]86-*-solaris2*): Also accept - x86_64-*-solaris2.1[0-9]*. - * configure: Regenerate. - -2011-06-13 Walter Lee <walt@tilera.com> - - * configure.ac (tilepro-*-*) New case. - (tilegx-*-*): Likewise. - * configure: Regenerate. - -2011-06-06 Nick Clifton <nickc@redhat.com> - - * config.sub: Sync from upstream. - -2011-05-08 Doug Kwan <dougkwan@google.com> - - Merge from gcc: - - 2011-05-08 Doug Kwan <dougkwan@google.com> - - * configure.ac: Propagate LDFLAGS_FOR_TARGET. - * configure: Regenerated. - * Makefile.tpl (LDFLAGS_FOR_TARGET): Use LDFLAGS_FOR_TARGET - value from configure. - * Makefile.in: Regenerated. - -2011-05-05 Joseph Myers <joseph@codesourcery.com> - - * configure.ac (alpha*-dec-osf*, i[[3456789]]86-*-rdos*, - sh*-*-pe|mips*-*-pe|arm-wince-pe, sparc-*-sunos4*, *-*-aix*, - *-*-beos*, *-*-chorusos, *-*-dragonfly*, *-*-freebsd*, *-*-linux* - | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu, *-*-lynxos*, - *-*-mingw*, *-*-netbsd*, *-*-netware*, *-*-tpf*, *-*-uclinux*, - *-*-vxworks*): Disable newlib and libgloss in separate case - statement. - (i[[3456789]]86-*-linux*): Move logic allowing newlib to be built - to separate case statement. - (*-*-chorusos, *-*-dragonfly*, *-*-freebsd*, *-*-netbsd*, - *-*-netware*, *-*-tpf*, *-*-uclinux*, *-*-vxworks*, - alpha*-dec-osf*, alpha*-*-linux*, am33_2.0-*-linux*, sh-*-linux*, - sh*-*-pe|mips*-*-pe|*arm-wince-pe, arm-*-coff, arm-*-elf* | - arm*-*-eabi*, arm*-*-linux-gnueabi, arm*-*-symbianelf*, avr-*-*, - bfin-*-*, cris-*-* | crisv32-*-*, frv-*-*, i[[3456789]]86-*-coff | - i[[3456789]]86-*-elf, i[[3456789]]86-w64-mingw*, - i[[3456789]]86-*-mingw*, x86_64-*-mingw*, - i[[3456789]]86-*-interix*, i[[3456789]]86-*-beos*, - i[[3456789]]86-*-rdos*, m32r-*-*, - m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*, m68k-*-elf*, m68*-*-* - | fido-*-*, powerpc-*-aix*, powerpc-*-beos*, powerpc-*-eabi, - powerpc-*-eabi* | powerpcle-*-eabi* | powerpc-*-rtems*, - rs6000-*-lynxos*, rs6000-*-aix*, mips*-*-linux*, sparclet-*-aout* - | sparc86x-*-*, sparc-*-elf*, sparc64-*-elf*, sparclite-*-*, - sparc-*-sunos4*, sparc-*-solaris* | sparc64-*-solaris* | - sparcv9-*-solaris*, *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | - *-*-kopensolaris*-gnu, *-*-lynxos*, *-*-*): Don't disable newlib - and libgloss in main case over targets. Remove most empty cases - in main case over targets. - * configure: Regenerate. - -2011-05-04 Joseph Myers <joseph@codesourcery.com> - - * configure.ac: Remove code setting special library locations for - hppa*64*-*-hpux11*. Remove code setting compiler for - sparc-sun-solaris2*. - * configure: Regenerate. - -2011-05-04 Joseph Myers <joseph@codesourcery.com> - - * configure.ac: Separate libgloss_dir settings from general case - over targets. - * configure: Regenerate. - -2011-04-28 Joseph Myers <joseph@codesourcery.com> - - * configure.ac (*-*-dragonfly*, *-*-freebsd*, *-*-netbsd*, - alpha*-dec-osf*, alpha*-*-linux*, alpha*-*-*, sh-*-linux*, - arm-*-elf* | arm*-*-eabi*, arm*-*-linux-gnueabi, frv-*-*): Remove - cases in libgcj-disabling case statement. - (hppa*64*-*-linux*): Set unsupported_languages instead of - disabling target-zlib. - (hppa*64*-*-*): Restrict case in libgcj-disabling case statement - to hppa*64*-*-hpux*. - (hppa*-*-*): Restrict case in libgcj-disabling case statement to - hppa*-*-hpux*. - (ia64*-*-elf*, ia64*-**-hpux*, i[[3456789]]86-*-elf, - i[[3456789]]86-*-linux*, *-*-cygwin*, i[[3456789]]86-*-interix*, - i[[3456789]]86-*-solaris2*, m32r-*-*, m68k-*-elf*, m68*-*-* | - fido-*-*, powerpc-*-eabi, powerpc-*-eabi* | powerpcle-*-eabi* | - powerpc-*-rtems*, mips*-*-linux*, mips*-*-*, sh-*-* | sh64-*-*, - sparc-*-elf*, sparc64-*-elf*, sparc-*-solaris* | - sparc64-*-solaris* | sparcv9-*-solaris*, *-*-linux* | *-*-gnu* | - *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu, *-*-*): Remove cases in - libgcj-disabling case statement. - * configure: Regenerate. - -2011-04-28 Joseph Myers <joseph@codesourcery.com> - - * configure.ac: Disable Java for targets not supporting libffi. - (*-*-chorusos, *-*-kaos*, am33_2.0-*-linux*, sh*-*-pe|mips*-*-pe): - Remove cases in Java-disabling statement. - (*arm-wince-pe): Change to arm-wince-pe. - (arc-*-*, arm-*-coff, arm-*-pe*, arm-*-riscix*, avr-*-*): Remove - cases in Java-disabling statement. - (bfin-*-*): Don't disable Java again. - (c4x-*-* | tic4x-*-*, tic54x-*-*, cr16-*-*, d10v-*-*, d30v-*-*, - fr30-*-elf*, moxie-*-*, h8300*-*-*, h8500-*-*, hppa1.1-*-osf* | - hppa1.1-*-bsd*, hppa*-*-*elf* | hppa*-*-lites* | hppa*-*-openbsd*, - hppa*-*-pro*, i960-*-*, i[[3456789]]86-*-coff, - i[[3456789]]86-*-pe, i[[3456789]]86-*-sco3.2v5*, - i[[3456789]]86-*-sco*, i[[3456789]]86-*-sysv4*, - i[[3456789]]86-*-beos*, i[[3456789]]86-*-rdos*, - m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*): Remove cases in - Java-disabling statement. - (mmix-*-*): Don't disable Java again. - (mt-*-*, powerpc*-*-winnt* | powerpc*-*-pe*, powerpcle-*-solaris*, - powerpc-*-beos*, rs6000-*-lynxos*, rs6000-*-*, m68k-apollo-*, - microblaze*, mips*-sde-elf*, mips*-*-irix5*, mips*-*-bsd*, - sparclet-*-aout* | sparc86x-*-*, sparclite-*-*, sparc-*-sunos4*, - tic6x-*-*, v810-*-*, vax-*-*): Remove cases in Java-disabling - statement. - * configure: Regenerate. - -2011-04-28 Joseph Myers <joseph@codesourcery.com> - - Merge from GCC: - - 2011-04-18 Jack Howarth <howarth@bromo.med.uc.edu> - - PR lto/48086 - * configure.ac: Re-enable LTO on *-apple-darwin9*. - * configure: Regenerate. - -2011-04-28 Joseph Myers <joseph@codesourcery.com> - - * configure.ac: Separate cases disabling Java and Java libraries - from general case over targets. - * configure: Regenerate. - -2011-04-06 Joseph Myers <joseph@codesourcery.com> - - * configure.ac (build_tools): Remove build-byacc. - (host_libs): Remove mmalloc. - (host_tools): Remove byacc make patch prms send-pr ash bash bzip2 - autoconf automake libtool diff rcs fileutils shellutils time - textutils wdiff find uudecode hello tar gzip indent recode release - sed perl gawk findutils gettext zip. - (libgcj): Remove target-qthreads. - (target_tools): Remove target-examples target-gperf. - (YACC): Don't handle building byacc. - * configure: Regenerate. - * Makefile.def (ash, autoconf, automake, bash, byacc, bzip2, diff, - dosutils, examples, fileutils, find, findutils, gawk, gettext, - gnuserv, gperf, gzip, hello, indent, libtool, make, mmalloc, - patch, perl, prms, qthreads, rcs, recode, release, sed, send-pr, - shellutils, tar, textutils, time, uudecode, wdiff, zip): Don't - handle building components. - * Makefile.in: Regenerate. - -2011-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * config.sub: Sync from upstream. - -2011-04-01 Joseph Myers <joseph@codesourcery.com> - - * configure.ac (avr-*-*): Add comment about why libssp is disabled. - (microblaze*): Don't disable libssp. - * configure: Regenerate. - -2011-04-01 Joseph Myers <joseph@codesourcery.com> - - * configure.ac: Remove code setting CONFIG_SHELL, config_shell and - moveifchange. - * configure: Regenerate. - * Makefile.tpl: Use @SHELL@ not @config_shell@. - * Makefile.in: Regenerate. - -2011-04-01 Joseph Myers <joseph@codesourcery.com> - - * configure.ac (*-*-sysv4*): Don't enable libgomp. - (alpha*-*-*vms*, i[[34567]]86-*-sco3.2v5*, mn10300-*-*, - powerpc-*-chorusos*, powerpc*-*-eabi*, powerpc*-*-sysv*, - powerpc*-*-kaos*, s390x-ibm-tpf*, sparc64-*-elf*, v850*-*-*, - xtensa*-*-elf*, *-*-beos*, *-*-elf*, *-*-netware*, *-*-rtems*, - *-*-sysv[[45]]*, *-*-vxworks*, *-wrs-windiss): Remove - md_exec_prefix cases. - * configure: Regenerate. - -2011-04-01 Joseph Myers <joseph@codesourcery.com> - - * configure.ac: Separate cases disabling target-libssp, - target-libiberty, target-libstdc++-v3 and Fortran from general - case over targets. - * configure: Regenerate. - -2011-04-01 Joseph Myers <joseph@codesourcery.com> - - * configure.ac (*-*-chorusos): Don't disable libgcj. - (*-*-freebsd[[12]] | *-*-freebsd[[12]].* | *-*-freebsd*aout*): - Remove case. - (*-*-kaos*): Don't disable GCC libraries, zlib or fastjar. - (arm-*-coff): Don't disable libgcj. - (arm*-*-linux-gnueabi): Remove useless assignment. - (arm-*-riscix*): Don't disable libgcj. - (bfin-*-*): Don't enable target-bsp and target-cygmon depending on - configuration. - (c4x-*-* | tic4x-*-*): Don't disable GCC libraries. - (c54x*-*-*): Remove case. - (tic54x-*-*): Don't disable GCC or GCC libraries. - (cris-*-* | crisv32-*-*): Don't handle *-*-aout. Change *-*-elf - to *. - (d10v-*-*): Don't disable GCC libraries. - (d30v-*-*): Don't disable libgcj. - (h8500-*-*): Don't disable GCC libraries. - (i960-*-*): Don't disable libgcj. - (i[[3456789]]86-*-linux*): Don't handle *-*-*libc1*. - (i[[3456789]]86-*-sco3.2v5*, i[[3456789]]86-*-sco*, - i[[3456789]]86-*-sysv4*, i[[3456789]]86-*-beos*): Don't disable - libgcj. - (m68k-*-coff*): Remove case. - (mmix-*-*): Don't disable libgloss on host. - (mn10200-*-*, mn10300-*-*): Remove cases. - (powerpc*-*-winnt* | powerpc*-*-pe*, powerpcle-*-solaris*, - powerpc-*-beos*, m68k-apollo-*, mips*-*-irix5*, mips*-*-bsd*): - Don't disable libgcj. - (romp-*-*): Remove case. - (sparclite-*-*, sparc-*-sunos4*): Don't disable libgcj. - (sparc-*-solaris2.[[0-6]] | sparc-*-solaris2.[[0-6]].*): Remove - case. - (v810-*-*): Don't disable GCC libraries. - (v850*-*-*, vax-*-vms, xtensa*-*-*): Remove cases. - (ip2k-*-*): Don't disable GCC libraries. - * configure: Regenerate. - -2011-03-28 Joseph Myers <joseph@codesourcery.com> - - * configure.ac (i[[3456789]]86-*-msdosdjgpp*): Don't disable - libffi on host. - (x86_64-*-mingw*, i[[3456789]]86-*-mingw32*): Don't disable newlib - on host. - (c54x*-*-* | tic54x-*-*): Don't disable newlib on host. - * configure: Regenerate. - -2011-03-26 John Marino <binutils@marino.st> - - * configure.ac: Add support for *-*-dragonfly* - * configure: Regenerate. - -2011-03-25 Joseph Myers <joseph@codesourcery.com> - - * configure.ac (native_only): Remove. - (i[[3456789]]86-*-msdosdjgpp*): Don't disable expect dejagnu - send-pr uudecode guile gnuserv on host. - (x86_64-*-mingw*): Don't disable expect dejagnu autoconf automake - send-pr rcs guile perl texinfo libtool on host. - (i[[3456789]]86-*-mingw32*): Don't disable expect dejagnu autoconf - automake send-pr rcs guile perl texinfo libtool on host. - (*-*-cygwin*, *-*-netbsd*): Remove host cases. - (*-*-kaos*): Don't disable target-examples target-gperf on target. - (alpha*-dec-osf*): Don't disable fileutils on target. - (sh*-*-pe|mips*-*-pe|*arm-wince-pe): Don't disable target-examples - texinfo send-pr expect dejagnu on target. - (arm-*-elf* | arm*-*-eabi*, arm*-*-linux-gnueabi): Don't disable - target-qthreads on target. - (hppa*-hp-hpux11*, hppa*-*-*): Don't disable shellutils on target. - (ia64*-*-elf*, ia64*-*-*vms*): Don't disable mmalloc on target. - (i[[3456789]]86-w64-mingw*, i[[3456789]]86-*-mingw*, - x86_64-*-mingw*): Don't disable expect on target. - (*-*-cygwin*): Don't disable target-gperf on target. - (powerpc*-*-winnt* | powerpc*-*-pe*): Don't disable make expect - gnuserv on target. - (powerpcle-*-solaris*): Don't disable make expect gnuserv on - target. - * configure: Regenerate. - -2011-03-25 Joseph Myers <joseph@codesourcery.com> - - * configure.ac (target_tools): Remove target-groff. - (native_only): Remove target-groff. - (hppa*64*-*-*): Don't disable byacc. - (i[[3456789]]86-*-mingw32*): Remove commented-out noconfigdirs - setting. - (*-*-kaos*): Don't skip target-librx and target-groff. - (*-*-netware*): Don't skip target-libmudflap. - (*-*-tpf*): Don't skip target-libmudflap. - (sh*-*-pe|mips*-*-pe|*arm-wince-pe): Don't condition configured - directories on the host. - (ia64*-*-*vms*): Don't skip tix. - (sh-*-* | sh64-*-*): Don't condition skipped directories on the - host. - * configure: Regenerate. - -2011-03-24 Paolo Bonzini <pbonzini@redhat.com> - - * configure.ac: Remove references to mt-mep, mt-netware, - mt-wince. - * Makefile.def: Add all-utils soft dependencies. - * Makefile.tpl: Remove GDB_NLM_DEPS. - * configure: Regenerate. - * Makefile.in: Regenerate. - -2011-03-24 Paolo Bonzini <bonzini@gnu.org> - - Sync from GCC: - - 2011-03-24 Paolo Bonzini <bonzini@gnu.org> - - * configure.ac: Do not include mh-x86omitfp. - * configure: Regenerate. - - 2011-03-24 Paolo Bonzini <bonzini@gnu.org> - - * configure.ac: Remove empty cases. - * configure: Regenerate. - - 2011-03-24 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.def: Add dependency from termcap to gdb. - * Makefile.in: Regenerate. - - 2011-03-24 Paolo Bonzini <bonzini@gnu.org> - - * configure.ac: Remove all mentions of mh-sysv4 and mh-solaris. - * configure: Regenerate. - * Makefile.def: Remove all mentions of X11_FLAGS_TO_PASS. - * Makefile.tpl: Likewise. - * Makefile.in: Regenerate. - - 2011-03-24 Paolo Bonzini <bonzini@gnu.org> - - * configure.ac: Remove all mentions of tentative_cc. - * configure: Regenerate. - - 2011-03-16 Jack Howarth <howarth@bromo.med.uc.edu> - - PR lto/48086 - * configure.ac: Re-enable LTO on *-apple-darwin9. - * configure: Regenerate. - -2011-03-24 Joseph Myers <joseph@codesourcery.com> - - * configure.ac (i[[3456789]]86-*-vsta, i[[3456789]]86-*-go32*, - i[[3456789]]86-*-beos*, powerpc-*-beos*, m68k-hp-hpux*, - m68k-apollo-sysv*, m68k-apollo-bsd*, m88k-dg-dgux*, - m88k-harris-cxux*, m88k-motorola-sysv*, mips*-dec-ultrix*, - mips*-nec-sysv4*, mips*-sgi-irix4*, mips*-*-sysv4*, mips*-*-sysv*, - i370-ibm-opened*, i[[3456789]]86-*-sysv5*, i[[3456789]]86-*-dgux*, - i[[3456789]]86-ncr-sysv4.3*, i[[3456789]]86-ncr-sysv4*, - i[[3456789]]86-*-sco3.2v5*, i[[3456789]]86-*-sco*, - i[[3456789]]86-*-udk*, vax-*-ultrix2*, m68k-sun-sunos*, - hppa*-*-hiux*, *-*-hiux*, rs6000-*-lynxos*, *-*-sysv4*, - *-*-rhapsody*): Remove host cases. - * configure: Regenerate. - -2011-03-24 Joseph Myers <joseph@codesourcery.com> - - * configure.ac (ppc*-*-pe): Remove host case. - (strongarm-*-coff | xscale-*-coff, strongarm-*-elf* | - xscale-*-elf*, thumb-*-coff, thumb-*-elf, thumb-*-pe, ep9312-*-elf - | ep9312-*-coff, parisc*64*-*-linux*, ppc*-*-pe): Remove target - cases. - * configure: Regenerate. - -2011-03-24 Joseph Myers <joseph@codesourcery.com> - - * config.sub: Update to version 2011-03-23. - -2011-03-22 Joseph Myers <joseph@codesourcery.com> - - * configure.ac (arm-semi-aof, crx-*-*, parisc*-*-linux*, - i370-*-opened*, i[[3456789]]86-moss-msdos | i[[3456789]]86-*-moss* - | i[[3456789]]86-*-uwin*, mcore-*-pe*): Remove empty cases. - * configure: Regenerate. - -2011-03-22 Joseph Myers <joseph@codesourcery.com> - - * config-ml.in: Don't handle arc-*-elf*. - * configure.ac (arc-*-*, crx-*-*, i[[3456789]]86-*-pe, - m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*, mcore-*-pe*): Don't - handle GCC libraries. - * configure: Regenerate. - -2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - PR bootstrap/48120: - * configure.ac (pwllib): Use LIBS instead of LDFLAGS. - Add -lstdc++ -lm to LIBS. - * configure: Regenerate. - -2011-03-18 David Edelsohn <dje.gcc@gmail.com> - - * config.guess: Update to version 2011-02-02 - * config.sub: Update to version 2011-02-24 - -2011-03-03 Sebastian Pop <sebastian.pop@amd.com> - - * configure.ac: Adjust test of with_ppl. - * configure: Regenerated. - -2011-03-02 Sebastian Pop <sebastian.pop@amd.com> - - * configure.ac: Add -lpwl to ppllibs. - * config/cloog.m4: Add -lisl to clooglibs. - * configure: Regenerated. - -2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - Import from Libtool and gnulib: - - 2011-01-27 Gerald Pfeifer <gerald@pfeifer.com> - - Prepare for supporting FreeBSD 10. - * config.rpath: Remove handling of freebsd1* which soon would - match FreeBSD 10.0. - - 2011-01-20 Gerald Pfeifer <gerald@pfeifer.com> (tiny change) - - Remove support for FreeBSD 1.x. - * libtool.m4 (_LT_LINKER_SHLIBS) - (_LT_SYS_DYNAMIC_LINKER): Remove handling of freebsd1* which - soon would incorrectly match FreeBSD 10.0. - -2011-02-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - PR binutils/12283 - * MAINTAINERS (mkinstalldirs): Comes from Automake. - (move-if-change): Comes from gnulib. - * move-if-change: Import version from gnulib. - -2011-02-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - Sync from GCC: - - 2011-02-12 Alexandre Oliva <aoliva@redhat.com> - - PR lto/47225 - * Makefile.def (lto-plugin): Double dash for enable-shared. - (configure-gcc): Depend on all-lto-plugin. - * Makefile.in: Rebuilt. - - 2011-02-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure.ac: Remove extra bracket. - * configure: Regenerate. - - 2011-02-06 Kai Tietz <kai.tietz@onevision.com> - - PR lto/47225 - * Makefile.def: Add dependency for install-gcc - on install-lto-plugin. - * Makfile.in: Regenerated - - 2011-01-25 Jakub Jelinek <jakub@redhat.com> - - * configure.ac: If with_ppl is no, move setting with_cloog=no - after CLOOG_REQUESTED check. - * configure: Regenerated. - - 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> - - * configure.ac: Call AC_MSG_ERROR when PPL 0.11 is not present and - CLooG has been requested. - * configure: Regenerated. - - 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> - - * configure: Regenerated. - * configure.ac: Check for version 0.11 (or later revision) of PPL. - - 2011-01-25 Tobias Grosser <grosser@fim.uni-passau.de> - - * configure: Regenerated. - * configure.ac: Use CLOOG_CHECK_VERSION(0,16,1). - - 2011-01-07 Jan Hubicka <jh@suse.cz> - - PR lto/47225 - * Makefile.in: Regenerate. - * Makefile.def (lto-plugin): Always pass enable-shared to the plugin - configure. - -2011-01-31 Alexandre Oliva <aoliva@redhat.com> - - PR libgcj/44341 - * configure.ac: Discard --with-* flags for host when configuring - target libraries for cross build. - * configure: Rebuilt. - -2011-01-21 Andreas Schwab <schwab@redhat.com> - - Sync from GCC: - - 2011-01-21 Andreas Schwab <schwab@redhat.com> - - * configure.ac: Use AS_HELP_STRING throughout. - * configure: Regenerate. - - 2011-01-18 Jie Zhang <jie.zhang@analog.com> - - * configure.ac (bfin-*-*): Remove gdb from noconfigdirs. - * configure: Regenerate. - -2010-12-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * ltmain.sh (relink): Use absolute path when hardcoding with -L. - -2011-01-13 Joel Brobecker <brobecker@adacore.com> - - * configure.ac: Remove readline, mmalloc, and gdb from noconfigdirs - for ia64-hpux. - * configure: Regenerate. - -2011-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - Sync from GCC: - 2010-12-22 Hariharan Sandanagobalane <hariharan@picochip.com> - - * configure.ac: (picochip): Disable libiberty. - * configure: Regenerate. - -2010-12-18 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.LIBGLOSS: Remove the GPL for fr30 target. - -2010-12-10 Ian Lance Taylor <iant@google.com> - - PR bootstrap/46819 - * configure.ac: For --disable-libgcj clear libgcj_saved. - * configure: Rebuild. - -2010-12-10 Tobias Burnus <burnus@net-b.de> - - PR fortran/46540 - * configure.ac: Add --disable-libquadmath and - --disable-libquadmath-support. - * configure: Regenerate. - -2010-12-10 Tristan Gingold <gingold@adacore.com> - - * src-release (ETC_SUPPORT): add gnu-oids.texi - -2010-12-03 Hans-Peter Nilsson <hp@axis.com> - - PR libffi/46792 - * configure.ac (cris-*-elf, crisv32-*-elf): Disable target-libffi. - * configure: Regenerate. - -2010-12-02 Ian Lance Taylor <iant@google.com> - - * configure.ac: Always set default for poststage1_ldflags to - -static-libstdc++ -static-libgcc. - -2010-12-02 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Add National Semiconductor notice. - -2010-11-29 Andreas Schwab <schwab@redhat.com> - - * configure.ac: Move comment to remove extra space in last argument - of GCC_TARGET_TOOL. - -2010-11-26 Alexandre Oliva <aoliva@redhat.com> - - PR other/46026 - * configure.ac (CXX_FOR_TARGET): Add -funconfigured-libstdc++-v3. - * Makefile.def (CXX_FOR_TARGET): Removed from flags_to_pass. - * Makefile.tpl (CXX_FOR_TARGET_FLAG_TO_PASS): New. - (BASE_FLAGS_TO_PASS): Use it. - * configure: Rebuilt. - * Makefile.in: Rebuilt. - -2010-11-23 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/12258 - * configure.ac: Correct comments for --enable-gold/--enable-ld. - Properly check default linker. - * configure: Regnerated. - -2010-11-23 Matthias Klose <doko@ubuntu.com> - - * configure.ac: For --enable-gold, handle value `default' instead of - `both*'. New configure option --{en,dis}able-ld. - * configure: Regenerate. - -2010-11-20 Ian Lance Taylor <iant@google.com> - - * configure.ac: Only disable a language library if no language needs - it. Don't let --disable-libgcj uncondtionally disable libffi. - * configure: Rebuild. - -2010-11-20 Paolo Bonzini <bonzini@gnu.org> - - * configure: Regenerate. - -2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - PR other/46202 - * configure.ac: Fix just-built in-tree STRIP name to be - binutils/strip-new. - * configure: Regenerate. - * Makefile.def (install-strip-gcc, install-strip-binutils) - (install-strip-opcodes, install-strip-ld, install-strip-itcl) - (install-strip-sid): Mirror dependencies on non-strip variants - of these targets on the respective -strip prerequisites. - * Makefile.tpl (install-strip, install-strip-host) - (install-strip-target): New targets. - (install-strip-[+module+], install-strip-target-[+module+]): - New targets. - * Makefile.in: Regenerate. - -2010-11-19 Ian Lance Taylor <iant@google.com> - Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure.ac: Add target-libgo to target_libraries. Set - and substitute GOC_FOR_BUILD and GOC_FOR_TARGET. - * Makefile.tpl (BUILD_EXPORTS): Add GOC and GOCFLAGS. - (HOST_EXPORTS): Add GOC. - (BASE_TARGET_EXPORTS): Add GOC. - (GOC_FOR_BUILD, GOCFLAGS, GOC_FOR_TARGET): New variables. - (GOCFLAGS_FOR_TARGET): New variable. - (EXTRA_HOST_FLAGS): Add GOC. - (EXTRA_TARGET_FLAGS): Add GOC and GOCFLAGS. - * Makefile.def (target_modules): Add libgo. - (flags_to_pass): Add GOC_FOR_TARGET and GOCFLAGS_FOR_TARGET. - (dependencies): Add dependency from configure-target-libgo to - configure-target-libffi and all-target-libstdc++-v3. Add - dependencies from all-target-libgo to all-target-libffi. - (languages): Add go. - * configure: Rebuild. - * Makefile.in: Rebuild. - -2010-11-19 Ian Lance Taylor <iant@google.com> - - * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other - compiler/flag environment variables. - -2010-11-18 Ian Lance Taylor <iant@google.com> - - * configure.ac: Check for lang_requires_boot_languages in - config-lang.in files. - * configure: Rebuild. - -2010-11-17 Mike Frysinger <vapier@gentoo.org> - - * .gitignore: New file. - -2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - Tobias Burnus <burnus@net-b.de> - - PR fortran/32049 - * Makefile.def: Add libquadmath; build it with language=fortran. - * configure.ac: Add libquadmath. - * Makefile.tpl: Handle multiple libs in check-[+language+]. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2010-11-15 Andreas Schwab <schwab@redhat.com> - - * configure.ac: Fix spelling in option names. - * configure: Regenerated. - -2010-11-13 Georg-Johann Lay <georgjohann@web.de> - - PR bootstrap/39622 - * configure.ac (FLAGS_FOR_TARGET): Add include-fixed path. - * configure: Regenerated. - -2010-11-12 Tobias Grosser <grosser@fim.uni-passau.de> - - * config/cloog.m4: Add -enable-cloog-backend=(isl|ppl|ppl-legacy) to - define the cloog backend to use. Furthermore, only pass the ppllibs to - the configure checks, if necessary. - * configure: Regenerate. - -2010-11-12 Tobias Grosser <grosser@fim.uni-passau.de> - - * config/cloog.m4: Use CLooG predefined macro to check for CLooG PPL. - * configure: regenerate - -2010-11-12 Tobias Grosser <grosser@fim.uni-passau.de> - - * config/cloog.m4: Fix typo. verison -> version. - * configure: Regenerate. - -2010-11-12 Tobias Grosser <grosser@fim.uni-passau.de> - - * config/cloog.m4: Pass ppl libraries to the CLooG version check. - * configure: Regenerate. - -2010-11-11 Andreas Simbuerger <simbuerg@fim.uni-passau.de> - - * configure.ac: Support official CLooG.org versions. - * configure: Regenerate. - * config/cloog.m4: New. - -2010-11-05 Michael Eager <eager@eagercon.com> - - * COPYING.LIBGLOSS: Correct typo in microblaze. - * COPYING.NEWLIB: Same. - -2010-11-04 Iain Sandoe <iains@gcc.gnu.org> - - * configure.ac (*-*-darwin*): Use mh-darwin for all Darwin variants. - * configure: Regenerate. - -2010-11-03 Ian Lance Taylor <iant@google.com> - Dave Korn <dave.korn.cygwin@gmail.com> - - PR lto/46273 - * configure.ac: Remove libelf tests. Build lto-plugin on ELF always - and on other supported platforms whenever LTO is enabled. - * configure: Rebuild. - -2010-11-02 Alan Modra <amodra@gmail.com> - - PR binutils/12110 - * configure.ac: Error when source path contains spaces. - * configure: Regenerate. - -2010-10-20 Ian Lance Taylor <iant@google.com> - - * Makefile.def (target_modules): Set lib_path to src/.libs for - libstdc++-v3 module. - * Makefile.tpl: Fix typo in TARGET_LIB_PATH comment. - * Makefile.in: Rebuild. - -2010-10-08 Bernd Schmidt <bernds@codesourcery.com> - Joseph Myers <joseph@codesourcery.com> - - * COPYING.LIBGLOSS: Add National Semiconductor and CodeSourcery - notices. - * COPYING.NEWLIB: Add Texas Instruments notice. - -2010-10-07 Dave Korn <dave.korn.cygwin@gmail.com> - - * configure.ac (build_lto_plugin): New shell variable. - (--enable-lto): Turn on by default for all non-ELF platforms that - have had LTO support added so far. Set build_lto_plugin appropriately - for both ELF and non-ELF. - (configdirs): Add lto-plugin or not based on build_lto_plugin. - * configure: Regenerate. - -2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - PR bootstrap/45326 - PR bootstrap/45174 - * configure.ac: Honor initial values of $build_configargs, - $host_configargs, $target_configargs. Mark the precious, so - environment settings get recorded. - * configure: Regenerate. - -2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - Sync from GCC: - - 2010-09-30 Michael Eager <eager@eagercon.com> - - * configure.ac (microblaze): Add target-libssp to noconfigdirs. - * configure: Regenerate. - - 2010-09-21 Iain Sandoe <iains@gcc.gnu.org> - - * configure.ac (enable-lto): Add Darwin to the list of supported lto - targets and amend comment. - * configure: Regenerate. - - 2010-09-03 Jack Howarth <howarth@bromo.med.uc.edu> - - * configure.ac: Enable LTO by default on Darwin. - * configure: Regenerate. - - 2010-07-23 Marc Glisse <marc.glisse@normalesup.org> - - PR bootstrap/44455 - * configure.ac (extra_mpfr_configure_flags): Copy from - extra_mpc_gmp_configure_flags. - * configure: Re-generated. - -2010-09-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - Sync from GCC: - - PR bootstrap/45796 - * Makefile.def (info-gcc, dvi-gcc, pdf-gcc, html-gcc): - Depend on all-build-libiberty. - * Makefile.in: Regenerate. - -2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - Sync from GCC: - - PR bootstrap/44621 - * configure.ac: Fix unportable shell quoting. - * configure: Regenerate. - -2010-07-26 Naveen.H.S <naveen.S@kpitcummins.com> - - * configure.ac: Support all v850 targets. - * configure: Regenerate. - -2010-07-17 Jack Howarth <howarth@bromo.med.uc.edu> - - PR target/44862 - * Makefile.tpl (POSTSTAGE1_CXX_EXPORT): - Provide -B option to allow for link spec %s substitutions for - libstdc++.a on darwin. - * Makefile.in: Regenerate. - -2010-06-10 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.def (configure-gcc): Depend on all-libelf. - * Makefile.in: Rebuild. - -2010-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * config.sub, config.guess: Update from upstream sources. - -2010-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - Sync from GCC: - - 2010-05-05 Sebastian Pop <sebastian.pop@amd.com> - * configure.ac: Allow all the versions greater than 0.10 of PPL. - * configure: Regenerated. - - 2010-04-20 Eric Botcazou <ebotcazou@adacore.com> - * configure.ac (BUILD_CONFIG): Redirect output to /dev/null. - * configure: Regenerate. - - 2010-04-17 Ralf Cors<E9>pius <ralf.corsepius@rtems.org> - * configure.ac (*-*-rtems*): Add target-libiberty to $skipdirs. - * configure: Regenerate. - - 2010-04-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - * configure.ac: Check for elf_getshdrstrndx or elf_getshstrndx - separately. - * configure: Regenerate. - - 2010-04-13 Steve Ellcey <sje@cup.hp.com> - * configure: Regenerate after change to elf.m4. - - 2010-04-02 Sebastian Pop <sebastian.pop@amd.com> - * configure.ac: Add brackets around AC_TRY_COMPILE alternative. - * configure: Regenerated. - - 2010-04-02 Sebastian Pop <sebastian.pop@amd.com> - * configure.ac: Print "buggy but acceptable" when CLooG - revision is less than 9. - * configure: Regenerated. - -2010-05-26 Dave Korn <dave.korn.cygwin@gmail.com> - - Merge from gcc: - - 2010-05-18 Steven Bosscher <steven@gcc.gnu.org> - * configure.ac (--enable-lto): All *-apple-darwin* now support LTO. - * configure: Regenerate. - - 2010-05-07 Steven Bosscher <steven@gcc.gnu.org> - * configure.ac (--enable-lto): Add x86_64-apple-darwin* as - a platform that supports LTO. - * configure: Regenerate. - - 2010-04-27 Dave Korn <dave.korn.cygwin@gmail.com> - PR lto/42776 - * configure.ac (--enable-lto): Refactor handling so libelf tests - are only performed inside then-clause of ACX_ELF_TARGET_IFELSE, - and allow LTO to be explicitly enabled on non-ELF platforms that - are known to support it inside else-clause. - * configure: Regenerate. - -2010-04-27 Roland McGrath <roland@redhat.com> - H.J. Lu <hongjiu.lu@intel.com> - - * configure.ac (--enable-gold): Support both, both/gold and - both/bfd to add gold to configdirs without removing ld. - * configure: Regenerated. - - * Makefile.def: Add install-gold dependency to install-ld. - * Makefile.in: Regenerated. - -2010-04-14 Tristan Gingold <gingold@adacore.com> - - * configure.ac (alpha*-*-*vms*): Remove ld from noconfigdirs. - * configure: Regenerate. - -2010-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - Merge from gcc: - PR bootstrap/43615 - PR bootstrap/43328 - Revert: - 2010-03-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - * configure.ac: Do not pass --enable-multilib nor - --disable-multilib in baseargs. Accept explicitly passed - --enable_multilib. - * configure: Regenerate. - -2010-03-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - PR bootstrap/43328 - * configure.ac: Do not pass --enable-multilib nor - --disable-multilib in baseargs. Accept explicitly passed - --enable_multilib. - * configure: Regenerate. - -2010-03-23 Joseph Myers <joseph@codesourcery.com> - - * configure.ac (tic6x-*-*): New case. - * configure: Regenerate. - -2010-03-23 Joseph Myers <joseph@codesourcery.com> - - Merge from gcc: - 2010-03-19 Jack Howarth <howarth@bromo.med.uc.edu> - PR ada/42554 - * configure.ac: Only pass -c to ranlib for darwin9 and earlier. - * configure: Regenerate. - -2010-03-23 Joseph Myers <joseph@codesourcery.com> - - * config.sub: Update to version 2010-03-22. - * config.guess: Update to version 2009-12-30. - -2010-03-14 Joseph Myers <joseph@codesourcery.com> - - Merge from gcc: - 2010-01-11 Richard Guenther <rguenther@suse.de> - PR lto/41569 - * Makefile.def (all-lto-plugin): Depend on all-gcc. - * Makefile.in: Regenerated. - -2010-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - PR libstdc++/32499 - * configure.ac (RANLIB): Default to true. - (STRIP): Likewise. - (RANLIB_FOR_TARGET): Remove superfluous : argument. - * configure: Regenerate. - -2010-02-17 Nick Clifton <nickc@redhat.com> - - PR 11238 - * Makefile.tpl (local-distclean): Also remove config.cache files in - sub-directories as there may not be Makefiles present in the - sub-directories. - * Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete - the config.cache files found by the find command. - - * Makefile.in: Regenerate. - * configure.ac: Revert previous delta. - * configure: Regenerate. - -2010-02-15 Nick Clifton <nickc@redhat.com> - - PR 11238 - * configure.ac: Delete config.cache files in sub-directories when - deleting Makefiles. - * configure: Regenerate. - -2010-02-15 Nick Clifton <nickc@redhat.com> - - * configure.ac: Sync from gcc. - * configure: Regenerate. - -2010-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - Sync from gcc: - * configure.ac: Add "recommended" version checks for GMP/MPC. - Update recommended GMP/MPFR/MPC versions. - * configure: Regenerate. - -2010-01-25 Joern Rennecke <amylaar@spamcop.net> - - gcc PR libstdc++/36101, gcc PR libstdc++/42813 - * configure.ac (bootstrap_target_libs): Make inclusion of - target-libgomp conditional on libgomb being in target_configdirs. - * configure: Regenerate. - -2010-01-23 Joern Rennecke <amylaar@spamcop.net> - - gcc PR libstdc++/36101, gcc PR libstdc++/42813 - * configure.ac (bootstrap_target_libs): Include target-libgomp. - * configure: Regenerate. - -2010-01-22 Joern Rennecke <amylaar@spamcop.net> - - gcc PR libstdc++/36101, gcc PR libstdc++/42813 - * configure.ac (target_configdirs): Substitute. - * Makefile.def: Bootstrap target module libgomp. - Add dependency of all-target-libstdc++-v3 on configure-target-libgomp. - * Makefile.tpl (TARGET_CONFIGDIRS): New makefile variable. - (BASE_TARGET_EXPORTS): Export TARGET_CONFIGDIRS. - * configure, Makefile.in: Regenerate. - -2009-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * libtool.m4: Sync from git Libtool. - * ltmain.sh: Likewise. - * ltoptions.m4: Likewise. - * ltversion.m4: Likewise. - * lt~obsolete.m4: Likewise. - -2010-01-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - PR bootstrap/42424 - * configure.ac: Include libtool m4 files. - (_LT_CHECK_OBJDIR): Call it. - (extra_mpc_mpfr_configure_flags, extra_mpc_gmp_configure_flags, - gmplibs, ppllibs, clooglibs): Use $lt_cv_objdir. - - * configure: Regenerate. - -2010-01-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - PR bootstrap/41818 - * Makefile.tpl (BASE_TARGET_EXPORTS): Only add TARGET_LIB_PATH - to $(RPATH_ENVVAR) if bootstrapping. Fix typo in comment. - * Makefile.in: Regenerate. - -2009-12-18 Ben Elliston <bje@au.ibm.com> - - * config.sub, config.guess: Update from upstream sources. - -2009-12-17 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Update copyright date. - * COPYING.LIBGLOSS: Ditto. - -2009-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - PR middle-end/30447 - PR middle-end/30789 - PR other/40302 - - * configure.ac: Require MPC. - * configure: Regenerate. - - * configure.ac: Update minimum MPC version to 0.8. - * configure: Regenerate. - -2009-11-20 Paolo Bonzini <bonzini@gnu.org> - - * config.guess: Sync with upstream and gcc. - * config.sub: Sync with upstream and gcc. - -2009-11-16 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.def: Restore host and target settings for gmp. - * Makefile.in: Rebuild. - -2009-11-16 Alexandre Oliva <aoliva@redhat.com> - - * configure.ac: Add libelf to host_libs. Enable in-tree configury - of ppl and cloog. Fix in-tree configury of libelf, skip tests. - Fix portability of test of C++ as bootstrap language. Add - ppl/src/ppl-config.o to the bootstrap compare exclusion list. - * configure: Rebuild. - * Makefile.def: Drop host and target settings from gmp, mpfr, ppl, - and cloog. Fix in-tree ppl configuration. Introduce libelf - in-tree building. - * Makefile.tpl (POSTSTAGE1_CXX_EXPORT): New. - (POSTSTAGE1_HOST_EXPORTS): Use it. - (STAGE[+id+]_CXXFLAGS): New. - (BASE_FLAGS_TO_PASS): Pass it down. - (configure-stage[+id+]-[+prefix+][+module+]): Use it. Add - extra_exports. - (all-stage[+id+]-[+prefix+][+module+]): Likewise. - (configure-[+prefix+][+module+], all-[+prefix+][+module+]): Add - extra_exports. - * Makefile.in: Rebuild. - -2009-11-06 Ozkan Sezer <sezeroz@gmail.com> - - * configure.ac (FLAGS_FOR_TARGET): Add -L and -isystem - paths for *-w64-mingw* and x86_64-*mingw*. - * configure: Regenerated. - -2009-10-30 Kai Tietz <kai.tietz@onevision.com> - - * configure.ac: Disable target-winsup & co for - x86_64-*-mingw* and *-w64-mingw* targets. - * configure: Regenerated. - -2009-10-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - * configure.ac (CLooG test): Use = with test. - * configure: Regenerate. - -2009-10-22 Richard Guenther <rguenther@suse.de> - - * configure.ac: Do not set LIBS for ppl/cloog checks. Disable - cloog if the ppl version check failed. Move flags saving - before setting in libelf check. - * configure: Regenerate. - -2009-10-21 Richard Guenther <rguenther@suse.de> - - * configure.ac: Adjust the ppl and cloog configure to work as - documented. Disable cloog if ppl was disabled. Omit the version - checks if they were disabled. - * configure: Re-generate. - -2009-10-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure.ac: Add 'lto' to enable_languages, not - new_enable_languages, and only if not already present. - * configure: Regenerate. - -2009-10-06 Ian Lance Taylor <iant@google.com> - - * Makefile.def: check-gold depends upon all-gas. - * Makefile.in: Rebuild. - -2009-10-03 2009-02-05 Rafael Avila de Espindola <espindola@google.com> - - * Makefile.def: all-lto-plugin depends on all-libiberty. - set bootstrap=true for lto-plugin. - Add lto-plugin. - * Makefile.in: Regenerate. - * configure.ac (host_libs): Add lto-plugin. - * configure: Regenerate. - -2009-10-03 Diego Novillo <dnovillo@google.com> - - * Makefile.tpl (HOST_EXPORTS): Add LIBELFLIBS and LIBELFINC. - (HOST_LIBELFLIBS): Define. - (HOST_LIBELFINC): Define. - * Makefile.in: Regenerate. - * configure.ac: Add --enable-lto. - Add --with-libelf, --with-libelf-include and --with-libelf-lib. - If --enable-lto is used, add 'lto' to new_enable_languages. - If --enable-lto is used and gold is enabled, add - lto-plugin to configdirs. - * configure: Regenerate. - -2009-10-03 Simon Baldwin <simonb@google.com> - - * configure.ac: If --with-system-zlib, suppress local zlib and - pass --with-system-zlib to subdir configure scripts. - * configure: Regenerate. - -2009-10-01 Loren J. Rittle <ljrittle@acm.org> - Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Use $$s rather than - $(srcdir). - * Makefile.in: Rebuilt. - -2009-09-29 Paolo Bonzini <bonzini@gnu.org> - - Sync from gcc: - 2009-09-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * configure.ac: Update minimum MPC version to 0.7. - * configure: Regenerate. - -2009-09-25 Nick Clifton <nickc@redhat.com> - - * configure.ac: Pass any --cache-file=/dev/null option on to - subconfigures. - * configure: Regenerate. - -2009-09-23 Nick Clifton <nickc@redhat.com> - - * config.sub, config.guess: Update from upstream sources. - -2009-09-22 Loren J. Rittle <ljrittle@acm.org> - - * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Remove stray $$r/. - * Makefile.in: Rebuilt. - -2009-09-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - PR bootstrap/32272 - * configure.ac: Error out if $srcdir isn't '.' but contains - host-${host_noncanonical}. - * configure: Regenerate. - -2009-09-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure.ac: If bootstrapping a combined tree with - --enable-gold, require c++ in stage1_languages. - * configure: Regenerate. - - * configure.ac: Also add target_libs of stage1_languages to - bootstrap_target_libs. - * configure: Regenerate. - - * configure.ac: Diagnose --enable-build-with-cxx bootstrap - with --enable-languages not containing c++. - * configure: Regenerate. - -2009-09-16 Jie Zhang <jie.zhang@analog.com> - - * configure.ac: Disable java and boehm-gc for bfin-*-*. - * configure: Regenerate. - -2009-09-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure.ac: Do not use $extrasub for replacing @if/@endif - parts in Makefile; instead, use additional arguments to - AC_CONFIG_COMMANDS to do the replacement manually, with several - sed invocations, to avoid HP-UX sed command limits. - * configure: Regenerate. - -2009-09-04 Alexandre Oliva <aoliva@redhat.com> - - * configure.ac (with-build-config): Document. Handle without. - Handle missing argument. - * configure: Rebuilt. - -2009-09-03 Alexandre Oliva <aoliva@redhat.com> - - * configure.ac (--with-build-config): New. Set BUILD_CONFIG. - Default to bootstrap-debug only if compare-debug works. - * configure: Rebuilt. - * Makefile.tpl: Make BUILD_CONFIG configure-configurable. - * Makefile.in: Rebuilt. - -2009-09-01 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.tpl (BUILD_CONFIG): Default to bootstrap-debug. - * Makefile.in: Rebuilt. - -2009-09-02 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (AWK): Fix typo. - * Makefile.in: Regenerate. - -2009-09-02 Paolo Bonzini <bonzini@gnu.org> - - * configure.ac: Detect awk and sed. - * Makefile.def (flags_to_pass): Add AWK and SED. - * Makefile.tpl (AWK, SED): New. - (BASE_FLAGS_TO_PASS): Add AWK and SED. - * configure: Regenerate. - * Makefile.in: Regenerate. - -2009-09-01 Tristan Gingold <gingold@adacore.com> - - * setup.com: Ported to Itanium VMS. Can also build using DCL scripts. - Remove logical names. - -2009-08-31 Dave Korn <dave.korn.cygwin@gmail.com> - - * ltmain.sh (func_normal_abspath): New function. - (func_relative_path): Likewise. - (func_mode_help): Document new -bindir option for link mode. - (func_mode_link): Add new -bindir option, and use it to place - output DLL if specified. - -2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure.ac (AC_PREREQ): Bump to 2.64. - -2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * README-maintainer-mode: Point directly to upstream locations - for autoconf, automake, libtool, gettext, instead of copies on - sources.redhat.com. Document required versions. - * configure.ac: Do not substitute datarootdir, htmldir, - pdfdir, docdir. Do not process --with-datarootdir, - --with-htmldir, --with-pdfdir, --with-docdir. - * configure: Regenerate. - - * configure: Regenerate. - - * compile: Sync from Automake 1.11. - * depcomp: Likewise. - * install-sh: Likewise. - * missing: Likewise. - * mkinstalldirs: Likewise. - * ylwrap: Likewise. - -2009-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure.ac: Call AC_DISABLE_OPTION_CHECKING. - (baseargs): Add --disable-option-checking. - * configure: Regenerate. - - * Makefile.def (configure-target-libiberty): Depend on - all-binutils and all-ld. - (configure-target-newlib): Likewise. - * Makefile.in: Regenerate. - -2009-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - Sync with GCC, merge: - - 2009-07-31 Christian Bruel <christian.bruel@st.com> - - * configure.ac (sh*-*-elf): Don't add target-libgloss to noconfigdirs. - * configure: Regenerate. - - 2009-07-06 Ian Lance Taylor <iant@google.com> - - * configure.ac: Add missing comma in AC_ARG_WITH(boot-libs). - * configure: Rebuild. - - 2009-06-26 Steve Ellcey <sje@cup.hp.com> - - PR bootstrap/40338 - * configure.ac (comparestring): Create new variable. - * Makefile.tpl (comparestring): Use to skip some comparisions. - * configure: Regenerate. - * Makefile.in: Regenerate. - - 2009-06-23 Ian Lance Taylor <iant@google.com> - - * configure.ac: Add --enable-build-with-cxx. When set, add c++ to - boot_languages. Only bootstrap target libraries listed in - target_libs for some boot language. Add --with-stage1-ldflags, - --with-stage1-libs, --with-boot-ldflags, --with-boot-libs. Remove - with_host_libstdcxx from ppllibs. Only add -fkeep-inline-functions - if not building with C++. - * Makefile.def: For target_module libstdc++-v3, set bootstrap=true. - * Makefile.tpl (STAGE1_LDFLAGS, STAGE1_LIBS): New variables. - (POSTSTAGE1_LDFLAGS, POSTSTAGE1_LIBS): New variables. - (HOST_EXPORTS): Add STAGE1_LDFLAGS to LDFLAGS. Export HOST_LIBS. - (POSTSTAGE1_HOST_EXPORTS): Set CXX and CXX_FOR_BUILD. Add - POSTSTAGE1_LDFLAGS to LDFLAGS. Export HOST_LIBS. - (POSTSTAGE1_FLAGS_TO_PASS): Likewise. - * configure, Makefile.in: Rebuild. - - 2009-06-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * configure.ac: Detect MPC in default directory. - * configure: Regenerate. - - 2009-06-02 Richard Sandiford <r.sandiford@uk.ibm.com> - - * configure.ac (powerpc-*-aix*, rs6000-*-aix*): Add target-newlib - to noconfdirs. - * configure: Regenerate. - - 2009-05-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * Makefile.def: Add MPC support and dependencies. - * configure.ac: Likewise. Reorganize GMP/MPFR checks. - - * Makefile.in, configure: Regenerate. - - 2009-05-24 Nicolas Roche <roche@adacore.com> - - * Makefile.tpl (compare-target): Skip ./ada/*tools directories. - * Makefile.in: Regenerate. - - 2009-05-21 Dave Korn <dave.korn.cygwin@gmail.com> - - * configure.ac (cygwin noconfigdirs): Remove libgcj. - * configure: Regenerate. - - 2009-05-07 Dave Korn <dave.korn.cygwin@gmail.com> - - * configure.ac ($with_ppl): Default to no if not supplied. - ($with_cloog): Likewise. - configure: Regenerate. - - 2009-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - PR bootstrap/39739 - * configure.ac (extra_mpfr_configure_flags): Set and AC_SUBST. - * Makefile.def (module=mpfr): Use extra_mpfr_configure_flags. - - * configure, Makefile.in: Regenerate. - - 2009-04-14 Jakub Jelinek <jakub@redhat.com> - - * configure.ac: Change copyright header to refer to version - 3 of the GNU General Public License and to point readers at the - COPYING3 file and the FSF's license web page. - * Makefile.def: Likewise. - * Makefile.tpl: Likewise. - * Makefile.in: Regenerate. - - 2009-04-09 Jack Howarth <howarth@bromo.med.uc.edu> - - * configure.ac: Restore match for darwin9 or later. Use double - brackets since regeneration eats one pair. - * configure: Regenerate. - -2009-08-18 Christopher Faylor <me+cygwin@cgf.cx> - - * MAINTAINERS: Perform some obvious fixups. - -2009-08-17 Ben Elliston <bje@au.ibm.com> - - * config.sub, config.guess: Update from upstream sources. - -2009-08-06 Michael Eager <eager@eagercon.com> - - * configure.ac: Add Microblaze target. - * configure: Regenerate. - -2009-07-02 Tristan Gingold <gingold@adacore.com> - - * configure.ac: Do not exclude gas for i386-*-darwin. - Add a case for x86_64-*-darwin. - * configure: Regenerate. - -2009-06-26 Doug Evans <dje@sebabeach.org> - - * Makefile.def (host_modules): Add cgen. - * Makefile.in: Regenerate. - * configure.ac (host_tools): Add cgen. - * configure: Regenerate. - -2009-06-17 Michael Eager <eager@eagercon.com> - - * COPYING.LIBGLOSS: Add Xilinx license. - -2009-06-15 Ryan Mansfield <rmansfield@qnx.com> - - * configure.ac: Define is_elf for QNX Neutrino targets. - * configure: Regenerate. - -2009-06-03 Jerome Guitton <guitton@adacore.com> - Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.tpl (all): Avoid a trailing backslash. - * Makefile.in: Regenerate. - -2009-06-03 Ben Elliston <bje@au.ibm.com> - - * config.sub, config.guess: Update from upstream sources. - -2009-06-02 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.tpl ([+compare-target+]): Compare all stage - directories, rather than just gcc. - * Makefile.in: Rebuilt. - -2009-05-28 Doug Kwan <dougkwan@google.com> - - * configure.ac: Support gold for target arm*-*-*. - * configure: Regenerate. - -2009-05-27 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.tpl (all): Avoid harmless warning in make all when - gcc-bootstrap is enabled but stage_last does not exist. - * Makefile.in: Rebuilt. - -2009-05-25 Tristan Gingold <gingold@adacore.com> - - * setup.com: Complete the file with configuration and build. - -2009-05-18 Alexandre Oliva <aoliva@redhat.com> - - PR other/40159 - * Makefile.tpl (all): Don't assume gcc-bootstrap and - gcc-no-bootstrap are mutually exclusive. - * Makefile.in: Rebuilt. - -2009-05-18 Alexandre Oliva <aoliva@redhat.com> - - PR other/40159 - * Makefile.tpl (all): Don't end with unconditional success. - * Makefile.in: Rebuilt. - -2009-05-12 Alexandre Oliva <aoliva@redhat.com> - - PR target/37137 - * Makefile.def (flags_to_pass): Remove redundant and incomplete - STAGE1_CFLAGS, STAGE2_CFLAGS, STAGE3_CFLAGS, and STAGE4_CFLAGS. - Add FLAGS_FOR_TARGET and BUILD_CONFIG. - (bootstrap_stage): Remove bootstrap-debug custom stages. Turn - stage_configureflags, stage_cflags and stage_libcflags into - explicit Makefile macros. - * Makefile.tpl (HOST_EXPORTS, EXTRA_HOST_FLAGS): Pass GCJ and - GFORTRAN. - (POSTSTAGE1_HOST_EXPORTS): Add XGCC_FLAGS_FOR_TARGET and TFLAGS to - CC. Set CC_FOR_BUILD from CC. - (BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS, - NORMAL_TARGET_EXPORTS): Move SYSROOT_CFLAGS_FOR_TARGET and - DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS and CXXFLAGS to - XGCC_FLAGS_FOR_TARGET. Add it along with TFLAGS to CC, CXX, GCJ, - and GFORTRAN. - (TFLAGS, STAGE_CFLAGS, STAGE_TFLAGS, STAGE_CONFIGURE_FLAGS): New. - (_LIBCFLAGS): Renamed to _TFLAGS. - (do-compare-debug, do-compare3-debug): Drop. - (CC, GCC_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET, - GCJ_FOR_TARGET, GFORTRAN_FOR_TARGET): Remove FLAGS_FOR_TARGET. - (FLAGS_FOR_TARGET, SYSROOT_CFLAGS_FOR_TARGET, - DEBUG_PREFIX_CFLAGS_FOR_TARGET): Move down. - (XGCC_FLAGS_FOR_TARGET): New. - (BASE_FLAGS_TO_PASS): Pass STAGEid_CFLAGS, STAGEid_TFLAGS and TFLAGS. - (EXTRA_HOST_FLAGS): Pass GCJ and GFORTRAN. - (POSTSTAGE1_FLAGS_TO_PASS): Move SYSROOT_CFLAGS_FOR_TARGET and - DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS, CXXFLAGS, LIBCFLAGS, - LIBCXXFLAGS to XGCC_FLAGS_FOR_TARGET. Add it along with TFLAGS - to CC, CXX, GCJ, and GFORTRAN. Pass XGCC_FLAGS_FOR_TARGET and - TFLAGS. - (BUILD_CONFIG): Include if requested. - (all): Set TFLAGS on bootstrap. - (configure-stageid-prefixmodule): Pass TFLAGS, adjust FLAGS. - (all-stageid-prefixmodule): Likewise. - (do-clean, distclean-stageid): Set TFLAGS. - (restrap): Fix whitespace. - * Makefile.in: Rebuilt. - -2009-04-25 Eric Botcazou <ebotcazou@adacore.com> - - * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Add GNATBIND. - (POSTSTAGE1_FLAGS_TO_PASS): Pick up exported value for GNATBIND. - * Makefile.in: Regenerate. - -2009-04-24 Eli Zaretskii <eliz@gnu.org> - - * config.guess (pc:*:*:*): Return i586-pc-msdosdjgpp, for - consistency with config.sub. (Update from upstream sources.) - -2009-04-21 Joseph Myers <joseph@codesourcery.com> - - * texinfo/texinfo.tex: Update to version 2009-03-28.05. - -2009-04-17 Ben Elliston <bje@au.ibm.com> - - * config.sub, config.guess: Update from upstream sources. - -2009-04-15 Anthony Green <green@moxielogic.com> - - * configure.ac: Add moxie support. - * configure: Rebuilt. - -2009-04-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * configure.ac: Bump minimum GMP/MPFR versions to 4.2 and 2.3.1. - * configure: Regenerate. - -2009-04-09 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10039 - * configure.ac: Require texinfo 4.7. - * configure: Regenerated. - -2009-04-09 Steve Ellcey <sje@cup.hp.com> - - * Makefil.def (languages): New entries. - * Makefile.tpl (check-gcc-*): New generic target. - * Makefile.in: Regenerate. - -2009-03-27 Eli Zaretskii <eliz@gnu.org> - - * djunpack.bat: Use ".." quoting in Sed command, for the sake of - Windows builds of Sed. - -2009-03-18 Tom Tromey <tromey@redhat.com> - - * configure: Rebuild. - * configure.ac (host_libs): Add libiconv. - * Makefile.in: Rebuild. - * Makefile.def (host_modules): Add libiconv. - (configure-gdb, all-gdb): Depend on libiconv. - -2009-03-16 Tristan Gingold <gingold@adacore.com> - - * configure.ac: Treat gdb as supported on x86_64-darwin. - * configure: Regenerate. - -2009-03-16 Joseph Myers <joseph@codesourcery.com> - - Merge from GCC: - - 2009-03-16 Joseph Myers <joseph@codesourcery.com> - - * configure.ac (--with-host-libstdcxx): New option. - * configure: Regenerate. - - 2009-01-29 Robert Millan <rmh@aybabtu.com> - - * configure.ac: Recognize GNU/kOpenSolaris (*-*-kopensolaris*-gnu). - * configure: Regenerate. - - 2009-01-12 Sebastian Pop <sebastian.pop@amd.com> - - PR tree-optimization/38515 - * configure.ac (cloog-polylib): Removed. - (with_ppl, with_cloog): Test for "no". - * configure: Regenerated. - -2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - Backport from git Libtool: - - 2009-01-19 Robert Millan <rmh@aybabtu.com> - Support GNU/kOpenSolaris. - * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) - (_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS) - (_LT_LANG_CXX_CONFIG) [kopensolaris*-gnu]: Recognize - GNU/kOpenSolaris. - -2009-02-05 Andreas Schwab <schwab@suse.de> - - * Makefile.tpl (stage_last): Define $r and $s before using - $(RECURSE_FLAGS_TO_PASS). - * Makefile.in: Regenerate - -2009-01-21 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Add ARM license. - -2009-01-16 Alan Modra <amodra@bigpond.net.au> - - * Makefile.def (configure-opcodes): Depend on configure-libiberty. - (all-opcodes): Depend on all-libiberty. - * Makefile.in: Regenerate. - -2009-01-15 Douglas B Rupp <rupp@gnat.com> - - * configure.ac (ia64*-*-*vms*): Add case with no gdb or ld support. - * configure: Regenerate. - -2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - Backport link test fix from upstream Libtool: - - * libltdl.m4 (_LT_SYS_DYNAMIC_LINKER, _LT_LINKER_SHLIBS): - Add cache variables to tests that require the linker to work. - For shlibpath_overrides_runpath, this also changes the semantics - to let the result from the C compiler take precedence. - compiler take precedence. - -2008-12-02 Ben Elliston <bje@au.ibm.com> - - * config.sub, config.guess: Update from upstream sources. - -2008-12-17 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Updated. - * COPYING.LIBGLOSS: Ditto. - -2008-12-16 Paolo Bonzini <bonzini@gnu.org> - - Sync with GCC: - - 2008-12-12 Sebastian Pop <sebastian.pop@amd.com> - - * configure.ac (ppllibs): Add by default the lib flags. - * configure: Regenerate. - - 2008-12-04 Jack Howarth <howarth@bromo.med.uc.edu> - - * configure.ac: Add double brackets on darwin[912]. - * configure: Regenerate. - - 2008-12-02 Jack Howarth <howarth@bromo.med.uc.edu> - - * configure.ac: Expand to darwin10 and later. - * configure: Regenerate. - -2008-12-02 Andreas Schwab <schwab@suse.de> - - * Makefile.def: configure-target-boehm-gc depends on - all-target-libstdc++-v3. - * Makefile.in: Regenerate. - -2008-12-02 Ben Elliston <bje@au.ibm.com> - - * config.sub, config.guess: Update from upstream sources. - -2008-11-27 Joseph Myers <joseph@codesourcery.com> - - Merge from GCC: - - 2007-12-02 Matthias Klose <doko@ubuntu.com> - - * config-ml.in: Remove 64bit configure tests. - - 2008-05-14 Rafael Espindola <espindola@google.com> - - * config-ml.in: don't handle --enable-shared and --enable-static. - - 2008-09-02 Sebastian Pop <sebastian.pop@amd.com> - Tobias Grosser <grosser@fim.uni-passau.de> - Jan Sjodin <jan.sjodin@amd.com> - Harsha Jagasia <harsha.jagasia@amd.com> - Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> - Konrad Trifunovic <konrad.trifunovic@inria.fr> - Adrien Eliche <aeliche@isty.uvsq.fr> - - Merge from graphite branch. - * configure: Regenerate. - * Makefile.in: Regenerate. - * configure.ac (host_libs): Add ppl and cloog. - Add checks for PPL and CLooG. - * Makefile.def (ppl, cloog): Added modules and dependences. - * Makefile.tpl (PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC): New. - (HOST_PPLLIBS, HOST_PPLINC, HOST_CLOOGLIBS, HOST_CLOOGINC): New. - - 2008-09-03 Richard Guenther <rguenther@suse.de> - - * configure.ac: Always pass -DCLOOG_PPL_BACKEND to the - cloog test. - * configure: Re-generate. - - 2008-09-03 Sebastian Pop <sebastian.pop@amd.com> - - * configure.ac (--with-cloog-polylib): New. - (--disable-cloog-version-check): New. - (--disable-ppl-version-check): New. - * configure: Re-generate. - - 2008-09-05 Richard Guenther <rguenther@suse.de> - - * configure.ac: Initialize clooglibs to -lcloog. - * configure: Re-generate. - - 2008-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * configure.ac (MPFR check): Bump minimum version to 2.3.0 and - recommended version to 2.3.2. - - * configure: Regenerate. - - 2008-10-31 Ben Elliston <bje@au.ibm.com> - - * configure.ac (spu-*-*): Remove special case. - * configure: Regenerate. - - Complete comment text from GCC version of: - - 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com> - - * configure.ac (RPATH_ENVVAR): Use PATH on Windows. - (GCC_SHLIB_SUBDIR): New. - * Makefile.tpl (HOST_LIB_PATH_gcc): Use GCC_SHLIB_SUBDIR. - * configure: Regenerate. - * Makefile.in: Regenerate. - -2008-11-27 Tristan Gingold <gingold@adacore.com> - - * configure.ac: Build gdb for i?86-*-darwin* - * configure: Regenerated. - -2008-11-14 Daniel Jacobowitz <dan@codesourcery.com> - - PR bootstrap/38014 - PR bootstrap/37923 - - Revert: - - 2008-10-24 Daniel Jacobowitz <dan@codesourcery.com> - - * Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo. - * Makefile.in: Regenerated. - - 2008-10-22 Daniel Jacobowitz <dan@codesourcery.com> - - PR gdb/921 - PR gdb/1646 - PR gdb/2175 - PR gdb/2176 - - * Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS. - * Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS. - (EXTRA_BUILD_FLAGS): Correct typo. Pass CPPFLAGS. - (HOST_EXPORTS): Pass CPPFLAGS. - (CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define. - (LDFLAGS_FOR_TARGET): Initialize from configure script. - (EXTRA_TARGET_FLAGS): Set CPPFLAGS. - * Makefile.in, configure: Regenerated. - * configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET, - and CPPFLAGS_FOR_BUILD. - -2008-10-29 Stefan Schulze Frielinghaus <xxschulz@de.ibm.com> - - * configure.ac [spu-*-*]: Do not set skipdirs. - * configure: Re-generate. - -2008-10-24 Daniel Jacobowitz <dan@codesourcery.com> - - * Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo. - * Makefile.in: Regenerated. - -2008-10-22 Daniel Jacobowitz <dan@codesourcery.com> - - PR gdb/921 - PR gdb/1646 - PR gdb/2175 - PR gdb/2176 - - * Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS. - * Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS. - (EXTRA_BUILD_FLAGS): Correct typo. Pass CPPFLAGS. - (HOST_EXPORTS): Pass CPPFLAGS. - (CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define. - (LDFLAGS_FOR_TARGET): Initialize from configure script. - (EXTRA_TARGET_FLAGS): Set CPPFLAGS. - * Makefile.in, configure: Regenerated. - * configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET, - and CPPFLAGS_FOR_BUILD. - -2008-09-29 Peter O'Gorman <pogma@thewrittenword.com> - - * libtool.m4: Update to libtool 2.2.6. - * lt~obsolete.m4: Update to libtool 2.2.6. - * ltmain.sh: Update to libtool 2.2.6. - * ltsugar.m4: Update to libtool 2.2.6. - * ltversion.m4: Update to libtool 2.2.6. - * ltoptions.m4: Update to libtool 2.2.6. - * ltgcc.m4: Update to match changes from libtool 2.2.6. - -2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com> - - * configure.ac (RPATH_ENVVAR): Use PATH on Windows. - (GCC_SHLIB_SUBDIR): New. - * Makefile.tpl (HOST_LIB_PATH_gcc): Use GCC_SHLIB_SUBDIR. - * configure: Regenerate. - * Makefile.in: Regenerate. - -2008-08-28 Tristan Gingold <gingold@adacore.com> - - * configure.ac (powerpc-*-darwin*, i?86-*-darwin*,x86_64-*-darwin9): - Enable bfd, binutils and opcodes. - * configure: Regenerate. - -2008-08-16 Nicolas Roche <roche@adacore.com> - - * Makefile.tpl: Add BOOT_ADAFLAGS. - * Makefile.in: Regenerate. - -2008-08-16 Richard Sandiford <rdsandiford@googlemail.com> - - * configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu. - * configure: Regenerate. - -2008-07-30 Paolo Bonzini <bonzini@gnu.org> - - Sync with gcc: - 2008-07-30 Paolo Bonzini <bonzini@gnu.org> - - * configure.ac: Add makefile fragments for hpux. - * Makefile.def (flags_to_pass): Add ADA_CFLAGS. - * Makefile.tpl (HOST_EXPORTS): Pass ADA_CFLAGS. - * configure: Regenerate. - * Makefile.in: Regenerate. - - 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.tpl ($(srcdir)/configure): Update dependencies. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2008-06-18 Ian Lance Taylor <iant@google.com> - - * src-release (BINUTILS_SUPPORT_DIRS): Remove mkdep and depcomp. - - * src-release (BINUTILS_SUPPORT_DIRS): Add depcomp. - -2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2008-06-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure.ac: Set TOPLEVEL_CONFIGURE_ARGUMENTS early, when - "$@" is still intact with both Autoconf 2.59 and 2.62. - * configure: Regenerate. - -2008-06-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.tpl: Fix comment errors. - * Makefile.in: Regenerate. - -2008-06-13 Julian Brown <julian@codesourcery.com> - - * configure.ac (arm*-*-linux-gnueabi): Don't disable building - of libobjc for ARM EABI Linux. - * configure: Regenerate. - -2008-06-12 David S. Miller <davem@davemloft.net> - David Edelsohn <edelsohn@gnu.org> - - * configure.ac: Add powerpc*-*-* to gold supported targets. - * configure: Regenerate. - -2008-06-08 Joseph Myers <joseph@codesourcery.com> - - PR tree-optimization/36218 - * Makefile.def (flags_to_pass): Add LDFLAGS_FOR_BUILD. - * Makefile.tpl (EXTRA_BUILD_FLAGS): Define. - (all prefix="build-"): Pass them to build-system sub-makes. - * Makefile.in: Regenerate. - -2008-05-16 Daniel Jacobowitz <dan@codesourcery.com> - - * src-release (DEVO_SUPPORT): Add ChangeLog, MAINTAINERS, - README-maintainer-mode, lt~obsolete.m4, ltgcc.m4, depcomp, - mkdep, and compile. Update comments. - (ETC_SUPPORT): Add ChangeLog and update comments. - -2008-05-11 Ian Lance Taylor <iant@google.com> - - * src-release (BINUTILS_SUPPORT_DIRS): Add elfcpp and gold. - -2008-04-18 Paolo Bonzini <bonzini@gnu.org> - - Sync with gcc: - 2008-04-18 Paolo Bonzini <bonzini@gnu.org> - - PR bootstrap/35457 - * configure.ac: Include override.m4. - * configure: Regenerate. - - 2008-04-18 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (restrap): Call `make all' using double-colon rules. - * Makefile.in: Regenerate. - - 2008-04-11 Eric B. Weddington <eweddington@cso.atmel.com> - - * configure.ac: Do not build libssp for the AVR. - * configure: Regenerate. - -2008-04-18 Nick Clifton <nickc@redhat.com> - - * MAINTAINERS: Replace reference to configure.in with reference to - configure.ac. - -2008-04-18 M R Swami Reddy <MR.Swami.Reddy@nsc.com> - - * configure.ac (cr16-*-*): Add case for cr16 target and include gdb - as nonconfigurable directories list. - * configure: Regenerate. - -2008-04-14 David S. Miller <davem@davemloft.net> - - * configure.ac: Add sparc*-*-* to gold supported targets. - * configure: Regenerate. - -2008-04-14 Ben Elliston <bje@au.ibm.com> - - * config.sub, config.guess: Update from upstream sources. - -2008-04-12 Hans-Peter Nilsson <hp@axis.com> - - * Makefile.tpl <gcc>: Error early unless at least GNU make 3.80. - * Makefile.in: Regenerate. - -2008-04-07 Ian Lance Taylor <iant@google.com> - - * Makefile.def: check-gold depends upon all-binutils. - * Makefile.in: Regenerate. - -2008-04-04 Nick Clifton <nickc@redhat.com> - - PR binutils/4334 - * configure.ac: Run ACX_CHECK_CYGWIN_CAT_WORKS for cygwin hosted - builds. - * configure: Regenerate. - -2008-04-04 NightStrike <NightStrike@gmail.com> - - PR other/35151 - * configure.ac: Combine rules for mingw32 and mingw64. - * configure: Regenerate. - -2008-03-27 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (PICFLAG, PICFLAG_FOR_TARGET): Remove. - * Makefile.in: Regenerate. - -2008-03-20 Ian Lance Taylor <iant@google.com> - - * configure.ac: Add support for --enable-gold. - * Makefile.def: Add gold as a directory like ld. - * configure, Makefile.in: Regenerate. - -2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com> - - * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z10 added. - (s390_cond_extensions): Reduced extensions to the compare related. - (main): z10 cpu type option added. - (expandConditionalJump): Renamed to ... - (insertExpandedMnemonic): ... this. - - * opcodes/s390-opc.c: Re-group the operand format makros. - (INSTR_RIE_RRPU, INSTR_RIE_RRP0, INSTR_RIE_RUPI, - INSTR_RIE_R0PI, INSTR_RIE_RUPU, INSTR_RIE_R0PU, INSTR_RIE_R0IU, - INSTR_RIE_R0I0, INSTR_RIE_R0UU, INSTR_RIE_R0U0, - INSTR_RIE_RRUUU, INSTR_RIS_RURDI, INSTR_RIS_R0RDI, INSTR_RIS_RURDU, - INSTR_RIS_R0RDU, INSTR_RRF_U0RR, INSTR_RRF_00RR, INSTR_RRS_RRRDU, - INSTR_RRS_RRRD0, INSTR_RXY_URRD, INSTR_SIY_IRD, INSTR_SIL_RDI, - INSTR_SIL_RDU): New instruction formats added. - (MASK_RIE_RRPU, MASK_RIE_RRP0, MASK_RIE_RUPI, MASK_RIE_R0PI, - MASK_RIE_RUPU, MASK_RIE_R0PU, MASK_RIE_R0IU, MASK_RIE_R0I0, - MASK_RIE_R0UU, MASK_RIE_R0U0, MASK_RIE_RRUUU, MASK_RIS_RURDI, - MASK_RIS_R0RDI, MASK_RIS_RURDU, MASK_RIS_R0RDU, MASK_RRF_U0RR, - MASK_RRF_00RR, MASK_RRS_RRRDU, MASK_RRS_RRRD0, MASK_RXY_URRD, - MASK_SIY_IRD, MASK_SIL_RDI, MASK_SIL_RDU): New instruction format - masks added. - (s390_opformats): New formats added "ris", "rrs", "sil". - * opcodes/s390-opc.txt: Add the conditional jumps with the - extensions removed from automatic expansion in s390-mkopc.c manually. - (asi - trtre): Add new System z10 EC instructions. - * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z10 added. - -2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure.ac: m4_include config/proginstall.m4. - * configure: Regenerate. - -2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - Backport from upstream Libtool: - - 2007-10-12 Eric Blake <ebb9@byu.net> - - Deal with Autoconf 2.62's semantic change in m4_append. - * ltsugar.m4 (lt_append): Replace broken versions of - m4_append. - (lt_if_append_uniq): Don't require separator to be overquoted, - and avoid broken m4_append. - (lt_dict_add): Fix typo. - * libtool.m4 (_LT_DECL): Don't overquote separator. - -2008-03-13 David Edelsohn <edelsohn@gnu.org> - - * config.rpath: Add AIX 6 support. - -2008-03-13 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.def (stageprofile). Remove -fprofile-generate - from stage_libcflags. - * Makefile.in: Regenerate. - -2008-03-13 Ben Elliston <bje@au.ibm.com> - - * config.sub, config.guess: Update from upstream sources. - -2008-03-06 Florian Krohm <fkrohm@us.ibm.com> - - * s390-opc.c (INSTR_RSL_R0RD): Fix operands. - * s390-opc.txt (cmpsc): Duplicate entry removed. - (dxr, sqdr, sqer, cxfbr, cdfbr, cefbr, lzer, lzdr, lzxr, - cegbr, cdgbr, cxgbr, cegr, cdgr, cxgr, cxfr, cdfr, cefr, fixr, fidr, - fier, cu42, cu41): Fix operand format. - -2008-02-20 Paolo Bonzini <bonzini@gnu.org> - - PR bootstrap/32009 - PR bootstrap/32161 - - * configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Compute here. - * configure: Regenerate. - - * Makefile.def: Define stage_libcflags for all bootstrap stages. - * Makefile.tpl (BOOT_LIBCFLAGS, STAGE2_LIBCFLAGS, STAGE3_LIBCFLAGS, - STAGE4_LIBCFLAGS): New. - (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Subst from autoconf, without - $(SYSROOT_CFLAGS_FOR_TARGET) and $(DEBUG_PREFIX_CFLAGS_FOR_TARGET). - (BASE_TARGET_EXPORTS): Append them here to C{,XX}FLAGS. - (EXTRA_TARGET_FLAGS): Append them here to {LIB,}C{,XX}FLAGS. - (configure-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags - for target modules. Don't export LIBCFLAGS. - (all-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags; pass - $(BASE_FLAGS_TO_PASS) where [+args+] was passed, and [+args+] after - the overridden CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET. - (invocations of `all'): Replace $(TARGET_FLAGS_TO_PASS) with - $(EXTRA_TARGET_FLAGS), $(FLAGS_TO_PASS) with $(EXTRA_HOST_FLAGS). - * Makefile.in: Regenerate. - -2008-02-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - PR libgcj/33085 - * libtool.m4 (_LT_COMPILER_PIC) [ mingw, cygwin ] <GCJ>: - Do not use -DDLL_EXPORT. Backport from upstream. - -2008-02-14 Nick Clifton <nickc@redhat.com> - - Import this patch from gcc: - 2008-01-24 David Edelsohn <edelsohn@gnu.org> - - * libtool.m4: Backport AIX 6 support from ToT Libtool. - -2008-02-02 Hans-Peter Nilsson <hp@axis.com> - - * configure.ac: Enable fortran for cris-*-elf and crisv32-*-elf. - * configure: Regenerate. - -2008-01-31 Marc Gauthier <marc@tensilica.com> - - * configure.ac (xtensa*-*-*): Recognize processor variants. - * configure: Regenerate. - -2008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - PR bootstrap/34922 - * configure.ac (PARSE_ARGS): Push suitable setting of - ac_subdirs_all, for `./configure --help=recursive'. - Handle `+' in generic toplevel directory disabling. - * configure: Regenerate. - -2008-01-23 Ben Elliston <bje@au.ibm.com> - - * config.sub, config.guess: Update from upstream sources. - -2008-01-08 Ben Elliston <bje@au.ibm.com> - - * config.sub, config.guess: Update from upstream sources. - -2007-12-19 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.LIBGLOSS: Update default copyright. - -2007-12-19 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Update default copyright. - -2007-12-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * configure.ac: Change required MPFR from 2.2.0 -> 2.2.1. - Change recommended MPFR from 2.2.1 > 2.3.0. - * configure: Regenerate. - -2007-12-13 Richard Sandiford <rsandifo@nildram.co.uk> - - * Makefile.tpl (CFLAGS_FOR_TARGET): Add -g. - (CXXFLAGS_FOR_TARGET): Add -O2 -g. - * Makefile.in: Regenerate. - -2007-12-10 Andreas Tobler <a.tobler@schweiz.org> - - * configure.ac: Enable libjava for x86_64-*-darwin9. - * configure: Regenerate. - -2007-12-05 Ben Elliston <bje@au.ibm.com> - - * config.sub, config.guess: Update from upstream sources. - -2007-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * config-ml.in: Robustify against white space in absolute file - names. - - * config-ml.in (multi-clean): Substitute ${Makefile}. - Remove superfluous ${Makefile} in list. - -2007-10-23 Daniel Jacobowitz <dan@codesourcery.com> - - * Makefile.def (dependencies): Make configure-gdb depend on - all-intl. - * Makefile.in: Regenerated. - -2007-10-15 Patrick Mansfield <patmans@us.ibm.com> - - * Makefile.def: To avoid problems running with parallel makes, - build newlib before libgloss so that target specific header - files are availble. - * Makefile.in: Regenerate. - -2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> - - * Makefile.def (dependencies): Add all-gdb -> all-libdecnumber. - * Makefile.in: Regenerate. - -2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> - - * src-release (GDB_SUPPORT_DIRS): Add libdecnumber. - * libdecnumber: New directory, imported from GCC. - -2007-10-08 Mike Frysinger <vapier@gentoo.org> - - * configure.ac (CFLAGS_FOR_BUILD, CXXFLAGS_FOR_BUILD, - LDFLAGS_FOR_BUILD): Default them to host flags only for $host = $build. - Set default CXXFLAGS_FOR_BUILD to CXXFLAGS, not CFLAGS. Set default - LDFLAGS_FOR_BUILD to LDFLAGS, not CFLAGS. - * configure: Regenerate. - -2007-10-01 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (AR_FOR_BUILD, AS_FOR_BUILD, CXX_FOR_BUILD, - DLLTOOL_FOR_BUILD, GCJ_FOR_BUILD, GFORTRAN_FOR_BUILD, - LDFLAGS_FOR_BUILD, LD_FOR_BUILD, NM_FOR_BUILD, RANLIB_FOR_BUILD, - WINDMC_FOR_BUILD, WINDRES_FOR_BUILD): Use autoconf substitutions. - * configure.ac: Default them to host tools for $host = $build. - Subst them. - - * configure: Regenerate. - * Makefile.in: Regenerate. - -2007-09-20 Richard Sandiford <rsandifo@nildram.co.uk> - - * configure.ac (mipsisa*-*-elfoabi*): New stanza. - * configure: Regenerate. - -2007-09-19 Benjamin Kosnik <bkoz@redhat.com> - - * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Move libgomp before - libstdc++. - * Makefile.def: Add libgomp config as a maybe dependency for libstdc++. - * configure: Regenerate. - * Makefile.in: Regenerate. - -2007-09-17 Andreas Schwab <schwab@suse.de> - - * configure.ac: Raise minimum makeinfo version to 4.6. - * configure: Regenerate. - -2007-09-15 Alan Modra <amodra@bigpond.net.au> - - * configure.ac: Correct makeinfo version check. - * configure: Regenerate. - -2007-09-14 Richard Sandiford <richard@codesourcery.com> - - * configure.ac (mips*-sde-elf*): New stanza. Add target-libiberty - to $skipdirs and only disable gprof for newlib. Use the normal - mips*-elf* handling in other respects. - * configure: Regnerate. - -2007-09-12 David Daney <ddaney@avtrex.com> - - * configure.ac: Remove mips64*-*-linux* noconfigdirs section, thus - enabling libgcj. - * configure: Regenerate. - -2007-09-12 Richard Guenther <rguenther@suse.de> - - * configure.ac (--enable-stage1-checking): If neither --enable-checking - nor --disable-checking is provided also turn on yes and types - checking for stage1. - * configure: Re-generate. - -2007-09-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - PR target/33281 - * configure.ac: Use config/mh-mingw on mingw. - * configure: Regenerate. - -2007-09-10 Rask Ingemann Lambertsen <rask@sygehus.dk> - - PR other/32154 - * configure.ac: For libgloss targets, point the linker to the linker - script, startup code and simulator library. - * configure: Regenerate. - -2007-09-09 Andrew Haley <aph@redhat.com> - - * configure.ac (noconfigdirs): Remove target-libffi and - target-libjava. - -2007-08-29 Nick Clifton <nickc@redhat.com> - - * config.sub, config.guess: Update from upstream sources. - -2007-08-21 Richard Guenther <rguenther@suse.de> - - * configure.ac: Add types checking to stage1 checking flags. - * configure: Regenerate. - -2007-08-18 Paul Brook <paul@codesourcery.com> - Joseph Myers <joseph@codesourcery.com> - - * Makefile.tpl (DEBUG_PREFIX_CFLAGS_FOR_TARGET): New. - (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Include it. - * Makefile.in: Regenerate. - * configure.ac (--with-debug-prefix-map): New. - * configure: Regenerate. - -2007-08-17 Richard Sandiford <richard@codesourcery.com> - Nigel Stephens <nigel@mips.com> - - * configure.ac (mips*-sde-elf*): New stanza. Use config/mt-sde - as target_makefile_frag. - * configure: Regenerate. - -2007-08-16 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS): - Add to flags_to_pass. Adjust uses of BOOT_CFLAGS. - (bootstrap2-debug, bootstrap-debug): New bootstrap stages. - * Makefile.tpl (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS): New. - (do-compare, do-compare3, do-compare-debug): New. - ([+compare-target+]): Use them. - -2007-08-16 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS): - Add to flags_to_pass. Adjust uses of BOOT_CFLAGS. - (bootstrap2-debug, bootstrap-debug): New bootstrap stages. - * Makefile.tpl (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS): New. - (do-compare, do-compare3, do-compare-debug): New. - ([+compare-target+]): Use them. - -2007-08-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - Ben Elliston <bje@au.ibm.com> - - * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Pass - --silent if $silent. - * configure: Regenerate. - -2007-08-12 Daniel Jacobowitz <dan@codesourcery.com> - - * src-release (DEVO_SUPPORT): Add COPYING3 and COPYING3.LIB. - -2007-07-17 Nick Clifton <nickc@redhat.com> - - * COPYING3: New file. Contains version 3 of the GNU General - Public License. - * COPYING3.LIB: New file. Contains version 3 of the GNU - Lesser General Public License. - -2007-07-11 Bernd Schmidt <bernd.schmidt@analog.com> - - * configure.ac: Fix my previous change to really match GCC. - * configure: Regenerate. - -2007-07-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure.ac: Rewrite 'configure --help' strings to look nicer. - * configure: Regenerate. - -2007-07-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure.ac: Add some missing m4 quotation. - * configure: Regenerate. - -2007-07-09 Kai Tietz <kai.tietz@onevision.com> - - * Makefile.def: Add windmc tool to build. - * Makefile.tpl: Likewise. - * configure.ac: Likewise. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2007-07-05 H.J. Lu <hongjiu.lu@intel.com> - - * lt~obsolete.m4: New. Import from 20070318 libtool. - -2007-06-29 Bernd Schmidt <bernd.schmidt@analog.com> - - * configure.ac: Don't add target-libmudflap to noconfigdirs for - uclinux and linux-uclibc targets. - * configure: Regenerate. - -2007-06-28 DJ Delorie <dj@redhat.com> - - * configure.ac (arm*-*-linux-gnueabi): Don't build libgloss if we're - not building newlib. - * configure: Regenerated. - -2007-06-22 Daniel Jacobowitz <dan@codesourcery.com> - - * src-release (DEVO_SUPPORT): Correct typos. - -2007-06-18 Daniel Jacobowitz <dan@codesourcery.com> - - * Makefile.def: Add dependency from configure-gdb to all-bfd. - * Makefile.in: Regenerated. - -2007-06-14 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (cleanstrap): Don't delete the toplevel Makefile. - (distclean-stage[+id+]): Possibly delete stage_last. - * Makefile.in: Regenerate. - -2007-06-07 Ben Elliston <bje@au.ibm.com> - - * config.sub, config.guess: Update from upstream sources. - -2007-06-07 Ben Elliston <bje@au.ibm.com> - - * Makefile.tpl: Fix spelling error. - * Makefile.in: Regenerate. - -2007-06-04 Paolo Bonzini <bonzini@gnu.org> - - Sync with gcc: - 2007-05-30 Jakub Jelinek <jakub@redhat.com> - - PR bootstrap/29382 - * configure.ac: Don't use -fkeep-inline-functions for GCC < 3.3.1. - * configure: Rebuilt. - -2007-06-01 Steve Ellcey <sje@cup.hp.com> - - * libtool.m4 (LT_CMD_MAX_LEN): Try using getconf to set - lt_cv_sys_max_cmd_len. - -2007-05-31 Paolo Bonzini <bonzini@gnu.org> - - * ltgcc.m4: Update from GCC. - -2007-05-25 Andreas Tobler <a.tobler@schweiz.org> - - * ltmain.sh: Fix Darwin verstring, remove ${wl}. - -2007-05-24 Steve Ellcey <sje@cup.hp.com> - - * ltmain.sh: Update from GCC. - * libtool.m4: Update from GCC. - * ltsugar.m4: New. Update from GCC. - * ltversion.m4: New. Update from GCC. - * ltoptions.m4: New. Update from GCC. - * ltconfig: Remove. - * ltcf-c.sh: Remove. - * ltcf-cxx.sh: Remove. - * ltcf-gcj.sh: Remove. - * src-release: Update with new libtool file list. - -2007-05-16 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.def (bootstrap_stage): Replace stage_make_flags with - stage_cflags. - * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS, POSTSTAGE1_FLAGS_TO_PASS): - Remove CFLAGS/LIBCFLAGS. - (configure-stage[+id+]-[+prefix+][+module+], - all-stage[+id+]-[+prefix+][+module+]): Pass it from [+stage_cflags+]. - * Makefile.in: Regenerate. - -2007-04-14 Steve Ellcey <sje@cup.hp.com> - - * config-ml.in: Update from GCC. - -2007-04-09 Daniel Jacobowitz <dan@codesourcery.com> - - * src-release (do-proto-toplev): Process the support directories before - the tool directory. - -2007-03-21 Richard Sandiford <richard@codesourcery.com> - - * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting - of glob. Quote arguments with single quotes too. - * configure: Regenerate. - -2007-03-12 Brooks Moses <brooks.moses@codesourcery.com> - - * Makefile.def (fixincludes): Remove unneeded "missing" lines. - * Makefile.in: Regenerate - -2007-03-07 Andreas Schwab <schwab@suse.de> - - * configure: Regenerate. - -2007-03-01 Brooks Moses <brooks.moses@codesourcery.com> - - * configure.ac: Add "--with-pdfdir" configure option, - which defines pdfdir variable. - * Makefile.def (target=fixincludes): Add install-pdf to - missing targets. - (recursive_targets): Add install-pdf target. - (flags_to_pass): Add pdfdir. - * Makefile.tpl: Add pdfdir handling, add do-install-pdf - target. - * configure: Regenerate - * Makefile.in: Regenerate - -2007-02-28 Eric Christopher <echristo@apple.com> - - Revert: - 2006-12-07 Mike Stump <mrs@apple.com> - - * Makefile.def (dependencies): Add dependency for - install-target-libssp and install-target-libgomp on - install-gcc. - * Makefile.in: Regenerate. - -2007-02-27 Matt Kraai <kraai@ftbfs.org> - - * configure: Regenerate. - * configure.ac: Move statements after variable declarations. - -2007-02-19 Joseph Myers <joseph@codesourcery.com> - - * configure.ac: Adjust for loop syntax. - * configure: Regenerate. - -2007-02-18 Alexandre Oliva <aoliva@redhat.com> - - * configure: Rebuilt. - -2007-02-18 Alexandre Oliva <aoliva@redhat.com> - - * configure.ac: Drop multiple occurrences of --enable-languages, - and fix its quoting. - * configure: Rebuilt. - -2007-02-17 Mark Mitchell <mark@codesourcery.com> - Nathan Sidwell <nathan@codesourcery.com> - Vladimir Prus <vladimir@codesourcery.com - Joseph Myers <joseph@codesourcery.com> - - * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix quoting. - * configure: Regenerate. - -2007-02-13 Daniel Jacobowitz <dan@codesourcery.com> - - * configure.ac (target_libraries): Move libgcc before libiberty. - * configure: Regenerated. - -2007-02-13 Paolo Bonzini <bonzini@gnu.org> - - * configure: Regenerate again? - -2007-02-13 Paolo Bonzini <bonzini@gnu.org> - - * configure: Reapply PR30748 fix which was lost in the previous commit. - -2007-02-13 Daniel Jacobowitz <dan@codesourcery.com> - Paolo Bonzini <bonzini@gnu.org> - - PR bootstrap/30753 - * configure.ac: Remove obsolete build / host tests. Use AC_PROG_CC - unconditionally. Use AC_PROG_CXX. Use ACX_TOOL_DIRS to find $prefix. - * configure: Regenerated. - -2007-02-10 Paolo Bonzini <bonzini@gnu.org> - - * configure: Regenerate. - -2007-02-09 Daniel Jacobowitz <dan@codesourcery.com> - - PR bootstrap/30748 - * configure.ac: Correct syntax for Solaris ksh. - * configure: Regenerated. - -2007-02-09 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.def: Sync with GCC. - * Makefile.tpl: Sync with GCC. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2007-02-09 Daniel Jacobowitz <dan@codesourcery.com> - - * Makefile.tpl (build_alias, host_alias, target_alias): Use - noncanonical equivalents. - * configure.in: Rename to... - * configure.ac: ...this. Update AC_PREREQ. Prevent error for - AS_FOR_TARGET. Set build_noncanonical, host_noncanonical, and - target_noncanonical. Use them. Rewrite removal of configure - arguments for autoconf 2.59. Discard variable settings. Force - program_transform_name for native tools. - - * Makefile.in: Regenerated. - * configure: Regenerated with autoconf 2.59. - - * src-release (DEVO_SUPPORT, do-proto-toplev): Expect configure.ac. - -2007-02-08 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.LIBGLOSS: Reformat default Red Hat - license to fit within 80 columns. - * COPYING.NEWLIB: Ditto. - -2007-02-05 Dave Brolley <brolley@redhat.com> - - * Contribute the following changes: - 2006-11-28 DJ Delorie <dj@redhat.com> - - * configure.in: Fix typo for mep's target_makefile_frag. - * configure: Regenerated. - - 2005-04-22 Richard Sandiford <rsandifo@redhat.com> - - * configure.in (mep*): Add -mlibrary to FLAGS_FOR_TARGET. - * configure: Regenerate. - - 2001-09-19 DJ Delorie <dj@redhat.com> - - * configure.in (target_makefile_frag): use mt-mep - - 2001-06-12 Don Howard <dhoward@redhat.com> - - * configure.in: Remove gdb from MeP skip list. - - 2001-04-05 DJ Delorie <dj@redhat.com> - - * configure.in (noconfigdirs): Remove gcc from MeP skip list. - - 2001-03-20 Ben Elliston <bje@redhat.com> - - * configure.in (noconfigdirs): Add gcc and gdb for MeP. - - 2001-03-19 Ben Elliston <bje@redhat.com> - - * config.sub (mep, mep-*): Add. - -2007-01-31 Andreas Schwab <schwab@suse.de> - - * Makefile.tpl (LDFLAGS): Substitute it. - * Makefile.in: Regenerate. - -2007-01-11 Paolo Bonzini <bonzini@gnu.org> - - * configure.in: Change == to = in test command. - * configure: Regenerate. - -2007-01-11 Paolo Bonzini <bonzini@gnu.org> - Nick Clifton <nickc@redhat.com> - Kaveh R. Ghazi <ghazi@caip.rutgets.edu> - - * configure.in (build_configargs, host_configargs, target_configargs): - Remove build/host/target parameters. - (host_libs): Add gmp and mpfr. - (GMP tests): Reorganize to allow in-tree GMP/MPFR. - * Makefile.def (gmp, mpfr): New. - (gcc): Remove target. - * Makefile.tpl (build_os, build_vendor, host_os, host_vendor, - target_os, target_vendor): New. - (configure): Add host_alias/target_alias arguments. Adjust invocations. - * configure: Regenerate. - * Makefile.in: Regenerate. - -2007-01-11 Matt Fago <fago@earthlink.net> - - * configure.in: Try to link to functions only in mpfr 2.2.x - to improve robustness of configure tests. - * configure: Regenerate. - -2007-01-08 Kai Tietz <kai.tietz@onevision.com> - - * configure.in: Add support for an x86_64-mingw* target. - * configure: Regenerate. - -2007-01-05 Daniel Jacobowitz <dan@codesourcery.com> - - * Makefile.tpl (all-target): Correct @if conditional for target - modules. - * configure.in: Omit libiberty if building only target libgcc. - * configure, Makefile.in: Regenerated. - -2007-01-04 Paolo Bonzini <bonzini@gnu.org> - - * configure.in: Use DEV-PHASE to detect the default for --enable-werror. - * configure: Regenerate. - -2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> - - * Makefile.def (target_modules): Add libgcc. - (lang_env_dependencies): Remove default items. Use no_c and no_gcc. - * Makefile.tpl (clean-target-libgcc): Delete. - (configure-target-[+module+]): Emit --disable-bootstrap dependencies - on gcc even for bootstrapped modules. Rewrite handling of - lang_env_dependencies to loop over target_modules. - * configure.in (target_libraries): Add target-libgcc. - * Makefile.in, configure: Regenerated. - -2006-12-29 Paolo Bonzini <bonzini@gnu.org> - - Sync with gcc: - 2006-12-29 Paolo Bonzini <bonzini@gnu.org> - - * configure.in: Reorganize recognition of languages. Add - --enable-stage1-languages. Show supported languages for the chosen - target rather than all recognized languages. - * configure: Regenerate. - - 2006-12-29 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (GCC_STRAP_TARGETS, all-prebootstrap): Remove. - * Makefile.in: Regenerate. - - 2006-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * configure.in: Warn that MPFR 2.2.0 is buggy. - * configure: Regenerate. - -2006-12-27 Ian Lance Taylor <iant@google.com> - - * configure.in: When removing Makefiles to force a reconfigure, also - remove prev-DIR*/Makefile. - * configure: Regenerate. - -2006-12-23 Kazu Hirata <kazu@codesourcery.com> - - * config.bfd: Recognize fido. - -2006-12-19 Paolo Bonzini <bonzini@gnu.org> - - Sync with gcc: - - 2006-12-19 Paolo Bonzini <bonzini@gnu.org> - - * configure.in: Remove "$build" case for powerpc-*-darwin* since - it only affects bootstrap and could be tested on "$host" as well. - * configure: Regenerate. - * config/mh-ppc-darwin: Add to the stage1 cflags here. - - 2006-12-19 Paolo Bonzini <bonzini@gnu.org> - - PR bootstrap/29544 - * Makefile.def (flags_to_pass): Add STAGE1_CHECKING. - (bootstrap_stage): Add STAGE1_CHECKING to stage1 configure flags, - move here comment from Makefile.tpl. - * Makefile.tpl: Move some definitions higher in the file. - (STAGE1_CHECKING): New. - * configure.in: Add --enable-stage1-checking. - * configure: Regenerate. - * Makefile.in: Regenerate. - - 2006-12-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * configure.in: Update error message for missing GMP/MPFR. - - * configure: Regenerate. - - 2006-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * configure.in: Update MPFR version in error message. - - * configure: Regenerate. - - 2006-11-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * configure.in (--with-mpfr-dir, --with-gmp-dir): Remove flags. - (--with-mpfr-include, --with-mpfr-lib, --with-gmp-include, - --with-gmp-lib): New flags. - - * configure: Regenerate. - -2006-12-12 Andreas Tobler <a.tobler@schweiz.org> - - PR bootstrap/30134 - * configure.in: Correct x86 darwin support for libjava to powerpc - and i?86 only. - * configure: Regenerate. - -2006-12-11 Alan Modra <amodra@bigpond.net.au> - - * configure.in: Handle spu makefile frag. - * Makefile.tpl (MAINT): Define - (MAINTAINER_MODE_FALSE, MAINTAINER_MODE_TRUE): Define. - * configure: Regenerate. - * Makefile.in: Regenerate. - -2006-12-11 Ben Elliston <bje@au.ibm.com> - - * config.sub, config.guess: Update from upstream sources. - -2006-12-11 Ben Elliston <bje@au.ibm.com> - - * configure.in: Sync with GCC (spu-*-*). - * configure: Sync with GCC. - -2006-12-07 Mike Stump <mrs@apple.com> - - * Makefile.def (dependencies): Add dependency for - install-target-libssp and install-target-libgomp on - install-gcc. - * Makefile.in: Regenerate. - -2006-11-16 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (clean-target-libgcc): Test for gcc Makefile presence. - (unstage): Test for stage_last presence. - - PR bootstrap/29802 - * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Add HOST_SUBDIR in STAGE_PREFIX. - * Makefile.in: Regenerate. - -2006-11-14 DJ Delorie <dj@redhat.com> - - * Makefile.tpl (clean-stage*): Sync with GCC (clean). - * Makefile.in: Sync with GCC. - * configure.in: Sync with GCC (mpfr, gmp). - * configure: Sync with GCC. - -2006-11-08 Jie Zhang <jie.zhang@analog.com> - - * configure.in: Remove target-libgloss from noconfigdirs for - bfin-*-*. - * configure: Regenerated. - -2006-10-27 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Add spu license. - * COPYING.LIBGLOSS: Ditto. - -2006-10-17 Brooks Moses <bmoses@stanford.edu> - - * Makefile.def: Added pdf target handling. - * Makefile.tpl: Added pdf target handling. - * Makefile.in: Regenerated. - -2006-10-11 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Updated. - * COPYING.LIBGLOSS: Ditto. - -2006-09-27 Dave Brolley <brolley@redhat.com> - - * configure.in (RUNTEST): Look for 'runtest' in the source tree by using - $s instead of $r. - * configure: Regenerated. - -2006-09-26 Ben Elliston <bje@au.ibm.com> - - * config.sub, config.guess: Update from upstream sources. - -2006-09-20 Thiemo Seufer <ths@mips.com> - - * configure.in: Remove redundant handling of mips*-dec-bsd*. Likewise - for mipstx39-*-*. Disable libgloss for mips64*-*-linux*. - * configure: Regenerate. - -2006-08-30 Corinna Vinschen <corinna@vinschen.de> - - * configure.in: Never build newlib for a Mingw host. - Never build newlib as Mingw target library. - Test the existence of winsup/cygwin for building a Cygwin newlib, - rather than just winsup. - Add winsup/mingw and winsup/w32api paths to FLAGS_FOR_TARGET if - building a Mingw target. - * configure: Regenerate. - -2006-08-15 Thiemo Seufer <ths@mips.com> - Nigel Stephens <nigel@mips.com> - David Ung <davidu@mips.com> - - * config.sub: Add support for sde as alias of mipsisa32-sde-elf. - -2006-07-25 Paolo Bonzini <bonzini@gnu.org> - - Sync from GCC: - 2006-07-04 Eric Botcazou <ebotcazou@libertysurf.fr> - - PR bootstrap/18058 - * configure.in: Add -fkeep-inline-functions to CFLAGS for stage 1 - if the bootstrap compiler is a GCC version that supports it. - * configure: Regenerate. - -2006-07-22 Daniel Jacobowitz <dan@codesourcery.com> - - * configure.in: Allow mingw32 and cygwin targets to build cross-gdb. - * configure: Regenerated. - -2006-07-18 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (configure-stageN-MODULE): Pass --with-build-libsubdir - for stages after the first. - -2006-07-17 Jakub Jelinek <jakub@redhat.com> - - * Makefile.def: Add dependencies for configure-opcodes - on configure-intl and all-opcodes on all-intl. - * Makefile.in: Regenerated. - -2006-07-04 Peter O'Gorman <peter@pogma.com> - - * ltconfig: chmod 644 before ranlib during install. - -2006-07-03 Paolo Bonzini <bonzini@gnu.org> - - * configure.in: Fix thinkos in previous check-in. - * configure: Regenerate. - -2006-07-03 Paolo Bonzini <bonzini@gnu.org> - - Sync from gcc: - - 2007-07-03 Paolo Bonzini <bonzini@gnu.org> - - PR other/27063 - * configure.in: Test subdir_requires and give an appropriate - error message. - * configure: Regenerate. - - 2006-06-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> - - PR target/27540 - * configure.in: Only enable libgomp on IRIX 6. - * configure: Regenerate. - -2006-06-20 David Ayers <d.ayers@inode.at> - - PR bootstrap/28072 - * configure.in: Add target-boehm-gc to noconfigdirs depending on - whether target-libjava is being configured instead of whether the - java front end is enabled. - * configure: Regenerate. - -2006-06-15 Mark Shinwell <shinwell@codesourcery.com> - - * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2} - to R_ARM_LDC_SB_G{0,1,2} respectively. - -2006-06-15 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Export CFLAGS and LDFLAGS - too. - * Makefile.in: Regenerate. - -2006-06-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - Sync from gcc: - - 2006-06-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - * configure.in: Don't enable libgomp on hpux10. - * configure: Rebuilt. - -2006-06-13 David Ayers <d.ayers@inode.at> - - Sync from gcc: - - 2006-06-12 David Ayers <d.ayers@inode.at> - - PR bootstrap/27963 - PR target/19970 - * configure.in: Remove target-boehm-gc from noconfigdirs where - ${libgcj} is specified. - * configure: Regenerate. - -2006-06-08 Jeff Johnston <jjohnstn@redhat.com> - - Sync from gcc: - - 2005-01-12 David Edelsohn <edelsohn@gnu.org> - Andreas Schwab <schwab@suse.de> - - PR bootstrap/18033 - * config-ml.in: Eval option if surrounded by single quotes. - -2006-06-07 Carlos O'Donell <carlos@codesourcery.com> - - Sync from gcc: - - 2006-06-06 David Ayers <d.ayers@inode.at> - - PR libobjc/13946 - * Makefile.def: Add dependencies for libobjc which boehm-gc. - * Makefile.in: Regenerate. - * configure.in: Add --enable-objc-gc at toplevel and have it - enable boehm-gc for Objective-C. - Remove target-boehm-gc from libgcj. - Add target-boehm-gc to target_libraries. - Add target-boehm-gc to noconfigdirs where ${libgcj} - is specified. - Assert that boehm-gc is supported when requested for Objective-C. - Only build boehm-gc if needed either for Java or Objective-C. - * configure: Regenerate. - - 2006-06-05 Paolo Bonzini <bonzini@gnu.org> - - PR 27674 - * Makefile.tpl (configure-[+prefix+][+module+], - all-[+prefix+][+module+]): Depend on stage_current if bootstrapping. - Remove rule to unstage bootstrapped modules. - (stage_current): New. - * Makefile.in: Regenerate. - - 2006-05-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - Andreas Tobler <a.tobler@schweiz.ch> - - * configure.in: Enable libgcj for hppa*-hp-hpux11*. - * configure: Rebuilt. - - Revert - 2006-01-31 Richard Guenther <rguenther@suse.de> - Paolo Bonzini <bonzini@gnu.org> - - * Makefile.def (target_modules): Add libgcc-math target module. - * configure.in (target_libraries): Add libgcc-math target library. - (--enable-libgcc-math): New configure switch. - * Makefile.in: Re-generate. - * configure: Re-generate. - -2006-06-05 Jeff Johnston <jjohnstn@redhat.com> - - * config-ml.in: Alter CCASFLAGS to include special - multilib options the same as is done for CFLAGS. - -2006-05-31 Daniel Jacobowitz <dan@codesourcery.com> - - * Makefile.def: Added dependencies from sim and gdb on intl, and - added configure dependencies to everything with an all dependency - on intl. - * gettext.m4: Removed. - * src-release (DEVO_SUPPORT): Don't mention gettext.m4. - (GDB_SUPPORT_DIRS): Add intl. - * Makefile.in: Regenerated. - -2006-05-25 Daniel Jacobowitz <dan@codesourcery.com> - - * src-release (DEVO_SUPPORT): Add config.rpath. - -2006-05-25 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.def (bfd, opcodes): Fix lib_path. - * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Replace ADAC with ADAFLAGS. - (restrap): Move under "@if gcc-bootstrap". Fix typo. - * Makefile.in: Regenerate. - -2006-05-24 Mark Shinwell <shinwell@codesourcery.com> - - * configure.in: Enable gprof for cross builds. - * configure: Regenerate. - -2006-05-17 Daniel Jacobowitz <dan@codesourcery.com> - - * src-release (MAKEINFOFLAGS): Define. - (do-proto-toplev): Pass MAKEINFOFLAGS to submakes. - -2006-05-14 Ben Elliston <bje@au.ibm.com> - - * config.sub, config.guess: Update from upstream sources. - -2006-05-12 Ben Elliston <bje@au.ibm.com> - - * config.sub, config.guess: Update from upstream sources. - -2006-05-04 Steve Ellcey <sje@cup.hp.com> - - * blt, iwidgets, mmalloc: Remove directories. - -2006-05-01 DJ Delorie <dj@redhat.com> - - * configure.in: Restore CFLAGS if GMP isn't present. - * configure: Regenerate. - -2006-04-18 DJ Delorie <dj@redhat.com> - - * configure.in (m32c): Build libstdc++-v3. Pass flags to - reference libgloss so that libssp can be built in a combined - tree. - * configure: Regenerate. - -2006-04-10 Ben Elliston <bje@au.ibm.com> - - * contrib: Remove directory. - -2006-04-06 Carlos O'Donell <carlos@codesourcery.com> - - * Makefile.tpl: Add install-html target. - * Makefile.def: Add install-html target. - * Makefile.in: Regenerate. - * configure.in: Add --with-datarootdir, --with-docdir, - and --with-htmldir options. - * configure: Regenerate. - -2006-03-31 Ben Elliston <bje@au.ibm.com> - - PR binutils/1860 - * configure.in: Require makeinfo 4.4 or higher. - * configure: Regenerate. - -2006-03-14 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.in: Regenerate. - -2006-03-14 Paolo Bonzini <bonzini@gnu.org> - - Sync with gcc: - 2006-03-10 Aldy Hernandez <aldyh@redhat.com> - - * configure.in: Handle --disable-<component> generically. - * configure: Regenerate. - - 2006-02-21 Rafael Avila de Espindola <rafael.espindola@gmail.com> - - * Makefile.tpl (BUILD_CONFIGDIRS): Remove. - (TARGET_CONFIGDIRS): Remove. - * configure.in: Remove AC_SUBST(target_configdirs). - * Makefile.in, configure: Regenerated. - - -2006-03-01 H.J. Lu <hongjiu.lu@intel.com> - - PR libgcj/17311 - * ltmain.sh: Don't use "$finalize_rpath" for compile. - -2006-02-20 Paolo Bonzini <bonzini@gnu.org> - - PR bootstrap/25670 - - * Makefile.tpl ([+compare-target+]): Print explanation messages. - - * Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass. - * Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass. - (EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES, - BUILD_PREFIX, BUILD_PREFIX_1. - * configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute. - - * Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too. - * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too. - - * Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+], - all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead - of `cat stage_current`. Always provide the `r' and `s' variables. - (clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into - a single shell execution. - (configure-[+prefix+][+module+], all-[+prefix+][+module+]): For - bootstrapped modules, make the stage1 module if the build was not - started yet, else build the current stage. - (all-host, all-target): Omit bootstrapped modules (if bootstrapping). - (all-build, all-host, all-target, [+make_target+]-host, - [+make_target+]-target): Do not use \-continued lines. - (target modules): Depend on stage_last, not all-gcc, if bootstrapping. - (current_stage, restrap, stage_last): New. - - * Makefile.in: Regenerate. - * configure: Regenerate. - -2006-02-14 Paolo Bonzini <bonzini@gnu.org> - - Sync from gcc: - - 2006-01-31 Richard Guenther <rguenther@suse.de> - Paolo Bonzini <bonzini@gnu.org> - - * Makefile.def (target_modules): Add libgcc-math target module. - * configure.in (target_libraries): Add libgcc-math target library. - (--enable-libgcc-math): New configure switch. - * Makefile.in: Re-generate. - * configure: Re-generate. - * libgcc-math: New toplevel directory. - - 2006-01-18 Richard Henderson <rth@redhat.com> - Jakub Jelinek <jakub@redhat.com> - Diego Novillo <dnovillo@redhat.com> - - * libgomp: New directory. - * Makefile.def: Add target_module libgomp. - * Makefile.in: Regenerate. - * configure.in (target_libraries): Add target-libgomp. - * configure: Regenerate. - -2006-02-14 Paolo Bonzini <bonzini@gnu.org> - Andreas Schwab <schwab@suse.de> - - * configure: Regenerate. - -2006-01-16 Paolo Bonzini <bonzini@gnu.org> - - * configure.in: Set with_gnu_as, with_gnu_ld, with_newlib earlier. - Set md_exec_prefix. Use ACX_CHECK_INSTALLED_TARGET_TOOL to find - the assembler, linker and binutils. - * configure: Regenerate. - -2006-01-16 Nick Clifton <nickc@redhat.com> - - * config.sub, config.guess: Sync from config repository. - -2006-01-05 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.tpl (clean-stage[+id+]-[+prefix+][+module+]): Remove - @ from continuation. - * Makefile.in: Rebuilt. - -2006-01-04 Paolo Bonzini <bonzini@gnu.org> - - Sync from gcc: - - 2006-01-04 Paolo Bonzini <bonzini@gnu.org> - - PR bootstrap/24252 - - * Makefile.def (flags_to_pass): Add STAGE1_CFLAGS and STAGE1_LANGUAGES. - * Makefile.tpl (OBJDUMP): New. - (EXTRA_HOST_FLAGS): Add it. - (EXTRA_GCC_FLAGS): Remove flags already specified in flags_to_pass. - - * Makefile.tpl (stage[+id+]-start, stage[+id+]-end): Do not try - to use symbolic links between directories. Avoid race conditions - or make them harmless. - * configure.in: Do not try to use symbolic links between directories. - - * Makefile.def (LEAN): Pass. - * Makefile.tpl (LEAN): Define. - (stage[+id+]-start): Accept that the previous directory does not - exist, if the bootstrap is lean. - (stage[+id+]-bubble): Invoke lean bootstrap commands after - stage[+id+]-start. Use a makefile variable and an `if' instead of a - configure substitution. - ([+compare-target+]): Likewise. - ([+bootstrap-target+]-lean): New. - * configure.in: Remove lean bootstrap support from here. - - * Makefile.in: Regenerate. - * configure: Regenerate. - - 2006-01-02 Andreas Schwab <schwab@suse.de> - - * configure.in: When reconfiguring remove Makefile in - all stage directories. - * configure: Regenerate. - -2005-12-27 Leif Ekblad <leif@rdos.net> - - * configure.in: Add support for RDOS target. - * configure: Regenerate. - -2005-12-27 Nick Clifton <nickc@redhat.com> - - PR binutils/1990 - * libtool.m4: Synchronize with version in GCC sources. - -2005-12-20 Paolo Bonzini <bonzini@gnu.org> - - Revert Ada-related part of the previous change. - - * Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, ADAFLAGS_FOR_TARGET): - Do not pass. - * Makefile.tpl (BOOT_ADAFLAGS): Do not define. - * Makefile.in: Regenerate. - * configure.in: Do not include mt-ppc-aix target fragment. - * configure: Regenerate. - -2005-12-19 Paolo Bonzini <bonzini@gnu.org> - - * configure.in: Select appropriate fragments for PowerPC/AIX. - * configure: Regenerate. - - * Makefile.def (flags_to_pass): Add ADAFLAGS, BOOT_ADAFLAGS, - BOOT_CFLAGS, BOOT_LDFLAGS. - * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Handle BOOT_ADAFLAGS, - BOOT_CFLAGS, BOOT_LDFLAGS. - (TARGET_FLAGS_TO_PASS): Handle ADAFLAGS_FOR_TARGET. - (stage[+id+]-bubble): Pass flags recursively to the comparison target. - (stage): Fail if we cannot complete the work. - * Makefile.in: Regenerate. - -2005-12-16 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Update copyright year for default - copyright. - -2005-12-15 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (all, do-[+make_target+], do-check, install, - install-host-nogcc): Don't invoke $(stage) at the end. - * Makefile.in: Regenerate. - -2005-12-14 Paolo Bonzini <bonzini@gnu.org> - - * configure.in: Flip the top-level bootstrap switch. - * configure: Regenerate. - - Merge from gcc: - - 2005-12-14 Daniel Jacobowitz <dan@codesourcery.com> - - * Makefile.tpl: Throughout the file, use : $(MAKE) along with - $(stage) and $(unstage). - (EXTRA_TARGET_FLAGS): Correct double-quoting. - (all): Remove stray semicolon. - (local-distclean): Don't handle multilib.tmp and multilib.out. - (install.all): Set $s for consistency. - (configure-[+prefix+][+module+]): Instead of [+deps+], handle - check_multilibs setting. Always make the install directory. - (configure-stage[+id+]-[+prefix+][+module+]): Likewise. - Correct @if/@endif. - (all-stage[+id+]-[+prefix+][+module+]): Correct @if/@endif. - ($(TARGET_SUBDIR)/[+module+]/multilib.out): Remove. - (stage[+id+]-start, stage[+id+]-end): Stage $(TARGET_SUBDIR). - (multilib.out): Remove. - * Makefile.in: Regenerated. - -2005-12-12 Nathan Sidwell <nathan@codesourcery.com> - - * config.sub: Replace ms1 arch with mt. Allow ms1 as alias. - * configure.in: Replace ms1 arch with mt. - * configure: Rebuilt. - -2005-12-05 Paolo Bonzini <bonzini@gnu.org> - - Sync with gcc: - -2005-12-12 Nathan Sidwell <nathan@codesourcery.com> - - * config.sub: Replace ms1 arch with mt. Allow ms1 as alias. - * configure.in: Replace ms1 arch with mt. - * configure: Rebuilt. - -2005-12-05 Paolo Bonzini <bonzini@gnu.org> - - Sync with gcc: - - 2005-12-05 Paolo Bonzini <bonzini@gnu.org> - - * configure.in (CONFIGURED_BISON, CONFIGURED_YACC, CONFIGURED_M4, - CONFIGURED_FLEX, CONFIGURED_LEX, CONFIGURED_MAKEINFO): Remove - "CONFIGURED_" from the AC_CHECK_PROGS invocation. Move below. - Find in-tree tools if available. - (EXPECT, RUNTEST, LIPO, STRIP): Find them and substitute them. - (CONFIGURED_*_FOR_TARGET): Don't set nor substitute. - (*_FOR_TARGET): Set them with GCC_TARGET_TOOL. - (COMPILER_*_FOR_TARGET): New. - * Makefile.tpl (HOST_EXPORTS): Add *_FOR_TARGET symbols that gcc needs. - (BASE_TARGET_EXPORTS): Use COMPILER_*_FOR_TARGET symbols. - (CONFIGURED_*, USUAL_*): Remove. - (BISON, YACC, FLEX, LEX, M4, MAKEINFO, EXPECT, RUNTEST, LIPO, - STRIP): Use autoconf substitutions. - (COMPILER_AS_FOR_TARGET, COMPILER_LD_FOR_TARGET, - COMPILER_NM_FOR_TARGET): New. - (EXTRA_HOST_FLAGS): Pass LIPO and STRIP. - - (all): Make all-host and all-target in parallel. - (do-[+make_target+], do-check, install, [+compare-target+]): Ensure - that $$r and $$s are set before invoking a recursive make. - (stage[+id+]-bubble): Likewise, and invoke the comparison at the end. - ([+bootstrap-target+]): Inline most of the `all' target. - - 2005-11-29 Ben Elliston <bje@au.ibm.com> - - * Makefile.tpl (clean-target-libgcc): Invoke clean-target-libgcc - from the gcc build directory. - * Makefile.in: Regenerate. - - 2005-11-29 Ben Elliston <bje@au.ibm.com> - - * Makefile.def: Add new libdecnumber host_module. Make all-gcc - depend on all-libdecnumber. - * configure.in (host_libs): Include libdecnumber. - * Makefile.in: Regenerate. - * configure: Likewise. - - 2005-11-21 Kean Johnston <jkj@sco.com> - - * config.sub, config.guess: Sync from upstream sources. - -2005-11-11 Daniel Jacobowitz <dan@codesourcery.com> - - * Makefile.def: Remove gdb dependencies for gdbtk. - * Makefile.tpl (CONFIGURE_GDB_TK, INSTALL_GDB_TK): New variables. - (configure-gdb, install-gdb): New rules. - * configure.in: Set CONFIGURE_GDB_TK and INSTALL_GDB_TK. - * Makefile.in, configure: Regenerated. - -2005-10-22 Paolo Bonzini <bonzini@gnu.org> - - PR bootstrap/24297 - * Makefile.tpl (do-[+make-target+], do-check, install, - stage[+id+]-bubble, [+compare-target+]): Ensure $$r and $$s - are set before recursing. - * Makefile.in: Regenerate. - -2005-10-20 Eric Botcazou <ebotcazou@adacore.com> - - PR bootstrap/18939 - * Makefile.def (gcc) <target>: Fix thinko. - * Makefile.in: Regenerate. - -2005-10-17 Bernd Schmidt <bernd.schmidt@analog.com> - - * configure.in (bfin-*-*): Use test, not brackets, in if statement. - * configure: Regenerate. - -2005-10-09 Kazu Hirata <kazu@codesourcery.com> - - * configure.in (arm-*-linux-gnueabi): Add to noconfigdirs - target-libffi, target-qthreads, target-libjava, and - targetlibobjc. - * configure: Regenerate. - -2005-10-06 Daniel Jacobowitz <dan@codesourcery.com> - - * Makefile.def (flags_to_pass): Add OBJDUMP_FOR_TARGET. - * Makefile.tpl (BASE_TARGET_EXPORTS): Add OBJDUMP. - (OBJDUMP_FOR_TARGET, CONFIGURED_OBJDUMP_FOR_TARGET) - (USUAL_OBJDUMP_FOR_TARGET): New. - (EXTRA_TARGET_FLAGS): Add OBJDUMP. - * configure.in: Check for $OBJDUMP_FOR_TARGET. - * configure, Makefile.in: Regenerated. - -2005-10-05 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (all) [gcc-no-bootstrap]: Make prebootstrap packages - before other host packages. - -2005-10-05 Paolo Bonzini <bonzini@gnu.org> - - PR bootstrap/22340 - - * configure.in (default_target): Remove. - * Makefile.tpl (all): Do not use prerequisites as subroutines - (all) [gcc-bootstrap]: Bootstrap gcc first if it was not done yet. - (do-[+make_target+], check, install, [+bootstrap_target+]): Do not - use prerequisites as subroutines. - (check-host, check-target): New. - (bootstrap configure & all targets): Do not use stage*-start - if the directory layout is already ok. - (non-bootstrap configure & all targets): Prepend a $(unstage). - (stage[+id+]-bubble): Do that here. Do not use NOTPARALLEL. - (NOTPARALLEL): Remove. - (unstage, stage variables): New variables. - (unstage, stage targets): Simply expand to those variables. - - * configure: Regenerate. - * Makefile.in: Regenerate. - -2005-10-04 James E Wilson <wilson@specifix.com> - - * Makefile.def (lang_env_dependencies): Add libmudflap. - * Makefile.in: Regenerate. - -2005-10-03 Catherine Moore <clm@cm00re.com> - - * configure.in (bfin-*-*): Support bfin. - * configure: Regenerated. - -2005-09-30 H.J. Lu <hongjiu.lu@intel.com> - - * configure.in (*-*-darwin*): Build bfd, binutils and opcodes. - * configure: Regenerated. - -2005-09-28 Geoffrey Keating <geoffk@apple.com> - - * Makefile.tpl (BASE_TARGET_EXPORTS): Add LIPO, STRIP. - (LIPO_FOR_TARGET): New. - (CONFIGURED_LIPO_FOR_TARGET): New. - (USUAL_LIPO_FOR_TARGET): New. - (STRIP_FOR_TARGET): New. - (CONFIGURED_STRIP_FOR_TARGET): New. - (USUAL_STRIP_FOR_TARGET): New. - * Makefile.def (flags_to_pass): Add LIPO_FOR_TARGET and - STRIP_FOR_TARGET. - * configure.in: Set LIPO_FOR_TARGET, STRIP_FOR_TARGET, - CONFIGURED_LIPO_FOR_TARGET, CONFIGURED_STRIP_FOR_TARGET. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2005-09-19 David Edelsohn <edelsohn@gnu.org> - - * configure.in (powerpc-*-aix*): Add target-libssp to noconfigdirs. - (rs6000-*-aix*): Same. - * configure: Regenerate. - -2005-09-14 Francois-Xavier Coudert <coudert@clipper.ens.fr> - - * configure.in: Recognize f95 in the --enable-languages option, - and substitute it for fortran, issuing a warning. - * configure: Regenerate. - -2005-09-07 Ben Elliston <bje@au.ibm.com> - - Import from Autoconf sources: - - 2005-09-06 Paul Eggert <eggert@cs.ucla.edu> - * move-if-change: Don't output "$2 is unchanged"; suggested by Ben - Elliston. Handle weird characters correctly. - -2005-08-30 Phil Edwards <phil@codesourcery.com> - - * configure.in (*-*-vxworks*): Add target-libstdc++-v3 to noconfigdirs. - * configure: Regenerated. - -2005-08-20 Richard Earnshaw <richard.earnshaw@arm.com> - - * Makefile.def (libssp): Add to lang_env_dependencies. - * Makefile.in: Regenerate. - -2005-08-17 Christian Groessler <chris@groessler.org> - - * Makefile.tpl: (USUAL_CC_FOR_TARGET): Add missing trailing slash. - * Makefile.in: Regenerate. - -2005-08-12 Paolo Bonzini <bonzini@gnu.org> - - * configure.in: Replace NCN_STRICT_CHECK_TOOL with - NCN_STRICT_CHECK_TOOLS, and likewise for NCN_STRICT_CHECK_TARGET_TOOLS. - Look for alternate names of the target cc and c++ - * configure: Regenerate. - -2005-08-08 Paolo Bonzini <bonzini@gnu.org> - - * configure.in (CC_FOR_TARGET, CXX_FOR_TARGET, GCJ_FOR_TARGET, - GCC_FOR_TARGET, RAW_CXX_FOR_TARGET, GFORTRAN_FOR_TARGET): Find - them with NCN_STRICT_CHECK_TARGET_TOOL, like the other target - tools; remove code to manually set them. - (Target tools): Look in the environment for them. - * Makefile.tpl (CC_FOR_TARGET, CXX_FOR_TARGET, GCJ_FOR_TARGET, - GCC_FOR_TARGET, RAW_CXX_FOR_TARGET, GFORTRAN_FOR_TARGET): Redefine. - (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): Look into gcc - build directory. - (CONFIGURED_CC_FOR_TARGET, CONFIGURED_CXX_FOR_TARGET, - CONFIGURED_GCJ_FOR_TARGET, CONFIGURED_GCC_FOR_TARGET, - CONFIGURED_GFORTRAN_FOR_TARGET, USUAL_CC_FOR_TARGET, - USUAL_CXX_FOR_TARGET, USUAL_GCJ_FOR_TARGET, USUAL_GCC_FOR_TARGET, - USUAL_RAW_CXX_FOR_TARGET, USUAL_GFORTRAN_FOR_TARGET): New. - (CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, - RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS): Delete. - * configure: Regenerate. - * Makefile.in: Regenerate. - -2005-07-27 Mark Mitchell <mark@codesourcery.com> - - * Makefile.tpl (EXTRA_TARGET_FLAGS): Set LDFLAGS=LDFLAGS_FOR_TARGET. - * Makefile.def (flags_to_pass): Add LDFLAGS_FOR_TARGET. - * Makefile.in: Regenerated. - -2005-07-26 Mark Mitchell <mark@codesourcery.com> - - * Makefile.tpl (SYSROOT_CFLAGS_FOR_TARGET): New variable. - (CFLAGS_FOR_TARGET): Use it. - (CXXFLAGS_FOR_TARGET): Likewise. - * Makefile.in: Regenerated. - * configure.in (--with-build-sysroot): New option. - * configure: Regenerated. - -2005-07-24 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl: Wrap install between unstage and stage - * Makefile.in: Regenerate. - -2005-07-16 Kelley Cook <kcook@gcc.gnu.org> - - * all files: Update FSF address. - -2005-07-14 Jim Blandy <jimb@redhat.com> - - * configure.in: Add cases for Renesas m32c. - * configure: Regenerated. - -2005-07-14 Kelley Cook <kcook@gcc.gnu.org> - - * COPYING, compile, config-ml.in, config.guess, - config.sub, install-sh, missing, mkinstalldirs, - symlink-tree, ylwrap: Sync from upstream sources. - -2005-07-13 Eric Christopher <echristo@redhat.com> - - * configure.in: Add toplevel noconfigdir support for tpf. - * configure: Regenerate. - -2005-07-11 Jakub Jelinek <jakub@redhat.com> - - * Makefile.def (target_modules): Add libssp. - * configure.in (target_libraries): Add target-libssp. - * configure: Rebuilt. - * Makefile.in: Rebuilt. - -2005-07-11 Paolo Bonzini <bonzini@gnu.org> - - PR ada/22340 - - * Makefile.def: Sync with gcc. - * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Fix pasto. - * Makefile.in: Regenerate. - -2005-07-07 Andreas Schwab <schwab@suse.de> - - * Makefile.def (flags_to_pass): Add CFLAGS_FOR_BUILD. - * Makefile.tpl (EXTRA_GCC_FLAGS): Don't pass CFLAGS_FOR_BUILD here. - * Makefile.in: Regenerated. - -2005-07-07 Kazu Hirata <kazu@codesourcery.com> - - * configure.in: Add --enable-libssp and --disable-libssp. - * configure: Regenerate with autoconf-2.13. - -2005-07-06 Geoffrey Keating <geoffk@apple.com> - - * configure.in: Don't build sim or rda when targetting darwin. - * configure: Regenerate. - -2005-07-04 Ben Elliston <bje@gnu.org> - - * src-release (do-proto-toplev): Remove dejagnu bits. - (DEJAGNU_SUPPORT_DIRS): Remove. - (dejagnu.tar.bz2, dejagnu.tar): Likewise. - (GDBD_SUPPORT_DIRS): Likewise. - (gdb+dejagnu.tar.bz2, gdb+dejagnu.tar): Likewise. - (INSIGHTD_SUPPORT_DIRS): Likewise. - (insight+dejagnu.tar.bz2, insight+dejagnu.tar): Likewise. - -2005-06-30 Ben Elliston <bje@gnu.org> - - * setup.com (mpw): Remove unused directive. - -2005-06-22 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.def (stagefeedback): Come after profile. - Define profiledbootstrap target. - * Makefile.tpl (profiledbootstrap): Remove. - (stageprofile-end): Zap stagefeedback. - (stagefeedback-start): Copy all .gcda files, not only GCC's. - * Makefile.in: Regenerate. - -2005-06-13 Zack Weinberg <zack@codesourcery.com> - - * depcomp: Update from automake CVS. Add 'ia64hp' stanza. - In 'cpp' stanza, support '#line' as well as '# '. - -2005-06-07 Hans-Peter Nilsson <hp@axis.com> - - * configure.in (unsupported_languages): New macro. - <mmix-knuth-mmixware>: Set unsupported_languages. Name explicit - non-ported target libraries in noconfigdirs. - <cris-*, crisv32-*> Ditto, except for non-aout, non-elf, - non-linux-gnu. Remove libgcj_ex_libffi. - <lang_frag loop>: Set add_this_lang=no if the language is in - unsupported_languages. - * configure: Regenerate. - -2005-06-04 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de> - - * configure.in: Fix typo in handling of --with-mpfr-dir. - * configure: Regenerate. - -2005-06-02 Jim Blandy <jimb@redhat.com> - - * config.sub: Add cases for the Renesas m32c. (This patch has been - accepted into the master sources.) - -2005-06-02 Aldy Hernandez <aldyh@redhat.com> - Michael Snyder <msnyder@redhat.com> - Stan Cox <scox@redhat.com> - - * configure.in: Set noconfigdirs for ms1. - - * configure: Regenerate. - -2005-05-25 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (stage[+id+]-start): Iterate over target module as well. - (Dependencies): Consider target modules for bootstrap dependencies. - Make target bootstrap modules depend on each stage's gcc. - * Makefile.in: Regenerate. - -2005-05-20 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.def (configure-gcc): Depend on binutils having been built. - (all-gcc): No need to do it here. - * Makefile.in: Regenerate. - -2005-05-19 Paul Brook <paul@codesourcery.com> - - * configure.in: Rewrite misleading error message when requested - language cannot be built. - * configure: Regenerate. - -2005-05-15 Daniel Jacobowitz <dan@codesourcery.com> - - * ylwrap: Import from Automake 1.9.5. - -2005-05-04 Mike Stump <mrs@apple.com> - - * configure.in: Always pass --target to target configures as - otherwise rebuilds that do --recheck will fail. - * configure: Rebuilt. - -2005-05-04 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Rename from - STAGE_HOST_EXPORTS. - (configure, all): Add bootstrap support. - (Host modules, target modules): Pass post-stage1 flags and exports. - (Top-level bootstrap): Remove bootstrap rules, expanded elsewhere. - * Makefile.in: Regenerate. - -2005-04-29 Paolo Bonzini <bonzini@gnu.org> - - Sync from gcc: - - 2005-04-22 Bernd Schmidt <bernd.schmidt@analog.com> - - * config.sub: Update from master copy. - - 2005-04-19 Hans-Peter Nilsson <hp@axis.com> - - * configure.in <crisv32-*-*, cris-*-*>: New local variable - libgcj_ex_libffi. Have specific match for *-*-linux*. Separate - matches for "*-*-aout" and "*-*-elf". Don't disable libffi for - "*-*-elf" and "*-*-linux*". - * configure: Regenerate. - -2005-04-06 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (BUILD_CONFIGARGS): Include --with-build-subdir. - (TARGET_CONFIGARGS): Include --with-target-subdir. - (configure, all): New macros. Use them throughout. - -2005-04-05 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl: Sync with gcc. - * Makefile.in: Regenerate. - -2005-03-30 J"orn Rennecke <joern.rennecke@st.com> - - * config/mh-mingw32: Delete. - * configure.in: Don't use it. - * configure: Regenerate. - -2005-03-31 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.def (bfd, opcodes, libstdc++-v3, libmudflap): Set lib_path. - * Makefile.tpl (SET_LIB_PATH, REALLY_SET_LIB_PATH): Remove. - (HOST_EXPORTS, STAGE_HOST_EXPORTS, TARGET_EXPORTS): Set $(RPATH_ENVVAR). - (HOST_LIB_PATH): Generate from Makefile.def. - (TARGET_LIB_PATH): Likewise. - (Old bootstrap targets): Include TARGET_LIB_PATH into RPATH_ENVVAR. - * Makefile.in: Regenerate. - * configure.in (set_lib_path, SET_LIB_PATH, SET_GCC_LIB_PATH): Remove. - (RPATH_ENVVAR): Include Darwin case. - * configure: Regenerate. - -2005-03-25 Paolo Bonzini <bonzini@gnu.org> - - * configure.in (RPATH_ENVVAR): Set to DYLD_LIBRARY_PATH on Darwin. - * configure: Regenerate. - -2005-03-21 Zack Weinberg <zack@codesourcery.com> - - * Makefile.def: Remove libstdcxx_incdir, libsubdir, gxx_include_dir, - gcc_version, and gcc_version_trigger from set of flags to pass. - * Makefile.tpl: Remove definitions of above variables. - (config.status): Remove dependency on $(gcc_version_trigger). - * Makefile.in: Regenerate. - * configure.in: Do not reference config/gcc-version.m4 nor - config/gxx-include-dir.m4. Do not invoke TL_AC_GCC_VERSION nor - TL_AC_GXX_INCLUDE_DIR. Do not set gcc_version_trigger. - * configure: Regenerate. - -2005-03-16 Manfred Hollstein <manfred.h@gmx.net> - Andrew Pinski <pinskia@physics.uc.edu> - - * Makefile.tpl (check-[+module+]): Fix shell statement inside if ... fi. - * Makefile.in: Regenerate. - -2005-03-01 Alexandre Oliva <aoliva@redhat.com> - - PR libgcj/20160 - * ltmain.sh: Avoid creating archives with components that have - duplicate basenames. - -2005-02-28 Andrew Pinski <pinskia@physics.uc.edu> - - PR bootstrap/20250 - * Makefile.tpl (HOST target installs): Fix copy and pasto, use install - instead of check. - * Makefile.in: Regenerate. - -2005-02-28 Paolo Bonzini <bonzini@gnu.org> - - Sync from gcc. - - 2005-02-28 Paolo Bonzini <bonzini@gnu.org> - - PR bootstrap/17383 - * Makefile.def (target_modules): Remove "stage", now unnecessary. - * Makefile.tpl (HOST_SUBDIR): New substitution. - (STAGE_HOST_EXPORTS, EXPECT, HOST_LIB_PATH, USUAL_AR_FOR_TARGET, - USUAL_AS_FOR_TARGET, USUAL_DLLTOOL_FOR_TARGET, USUAL_GCC_FOR_TARGET, - USUAL_LD_FOR_TARGET, USUAL_NM_FOR_TARGET, USUAL_OBJDUMP_FOR_TARGET, - USUAL_RANLIB_FOR_TARGET, USUAL_WINDRES_FOR_TARGET): Use it. - (Host modules, Bootstrapped modules): Use it. - (Build modules, Target modules): Do not create symlink trees, - always configure out-of-srcdir. - (distclean): Try removing $(host_subdir) with rm before using rm -rf. - * configure.in (FLAGS_FOR_TARGET, CC_FOR_TARGET, GCJ_FOR_TARGET, - GFORTRAN_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET): Use - $(HOST_SUBDIR). Create a symlink for host_subdir. - - * Makefile.in: Regenerate. - * configure: Regenerate. - - Merged from libada-gnattools-branch: - 2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.def: Add gnattools as a module, depending on target-libada. - * Makefile.in: Regenerate. - * configure.in: Include gnattools in host_tools; disable it if ada - is disabled. - * configure: Regenerate. - -2005-02-23 Nick Clifton <nickc@redhat.com> - - * configure: Regenerate. - -2005-02-22 Paul Schlie <schlie@comcast.net> - - * configure.in: Allow darwin targeted ports to build tk, itcl and - libgui. - -2005-02-21 Eric Botcazou <ebotcazou@libertysurf.fr> - - PR libgcj/10353 - * configure.in (noconfigdirs) <sparc-*-solaris2.[0-6]>: Add libgcj. - * configure: Regenerate. - -2005-02-08 Andrew Cagney <cagney@gnu.org> - - * MAINTAINERS: Delete reference to dejagnu/ and mmalloc/ from the - gdb/ section. Update GDB's URL. - -2005-01-31 Andrew Cagney <cagney@gnu.org> - - * gettext.m4: Only set ENABLE_NLS when gettext is present. - -2005-01-29 Hans-Peter Nilsson <hp@axis.com> - - * configure.in (noconfigdirs) <crisv32-*-*>: Match like cris-*-*. - <crisv32-*-*, cris-*-*>: Only disable target-newlib and - target-libgloss when not *-*-elf and *-*-aout. - * configure: Regenerate. - -2005-01-27 Andrew Cagney <cagney@gnu.org> - - * gettext.m4: Don't use NONE as a default for CATOBJEXT. - -2005-01-24 Andrew Cagney <cagney@gnu.org> - - * gettext.m4: Only fall back to ../intl/ when it's present. - -2005-01-17 Kelley Cook <kcook@gcc.gnu.org> - - * install-sh, config.sub: Import from upstream. - -2005-01-17 Kelley Cook <kcook@gcc.gnu.org> - - PR bootstrap/18222 - * Makefile.def: Pass CPPFLAGS_FOR_TARGET. - * Makefile.tpl: Define target CPPFLAGS on CPPFLAGS_FOR_TARGET. - * Makefile.in: Regenerate. - -2005-01-03 Paolo Bonzini <bonzini@gnu.org> - - Revert 2004-12-28 Makefile changes, a better fix will be - applied to mainline and src after GCC 4.0 branches. - -2004-12-28 Paolo Bonzini <bonzini@gnu.org> - - PR bootstrap/17383 - - * Makefile.def (target_modules): Remove stage parameter, - it is always true now. - * Makefile.tpl (configure-build-[+module+], - configure-target-[+module+]): Always build symlink tree - for the directory and for include. BUILD_SUBDIR and - TARGET_SUBDIR cannot be . anymore. - * Makefile.in: Regenerate. - -2004-12-25 David Edelsohn <edelsohn@gnu.org> - - Revert 2004-12-08 Makefile changes. - -2004-12-16 Andrew Stubbs <andrew.stubbs@st.com> - - * configure.in (sh64-*-*): Reenable gprof. - * configure: Regenerate. - -2004-12-09 Jim Blandy <jimb@redhat.com> - - * MAINTAINERS: List 'depcomp' as part of automake. - -2004-12-08 David Edelsohn <edelsohn@gnu.org> - - * Makefile.def (flags_to_pass): Add PICFLAG_FOR_TARGET. - * Makefile.tpl (EXTRA_HOST_FLAGS): Add PICFLAG. - (EXTRA_TARGET_FLAGS): Add PICFLAG. - * Makefile.in: Regenerate. - -2004-12-07 Matt Kraai <kraai@ftbfs.org> - - * Makefile.tpl: Generate normal dependencies if the LHS module is - not bootstrapped. - * Makefile.in: Regenerate. - -2004-12-03 Richard Sandiford <rsandifo@redhat.com> - - * configure.in: Include config/gxx-include-dir.m4. Use - TL_AC_GXX_INCLUDE_DIR. Remove some now-redundant AC_SUBSTs. - * configure: Regenerate. - -2004-12-03 Richard Sandiford <rsandifo@redhat.com> - - * config.if: Delete. - * configure.in: Set libstdcxx_incdir directly. - * configure: Regenerate. - * MAINTAINERS: Remove mention of config.if. - * src-release (DEVO_SUPPORT): Remove config.if. - -2004-12-02 Eric Christopher <echristo@redhat.com> - - * Makefile.tpl (clean-target-libgcc): Add stmp-dirs to list - of things to remove. - * Makefile.in: Regenerate. - -2004-12-02 Richard Sandiford <rsandifo@redhat.com> - - * configure.in: Clear gcc_version_trigger if the file doesn't exist. - * configure: Regenerate. - -2004-12-02 Richard Sandiford <rsandifo@redhat.com> - - * configure.in: Include config/gcc-version.m4. Use TL_AC_GCC_VERSION - to set gcc_version_trigger. Remove some now-redundant AC_SUBSTs. - * configure: Regenerate. - -2004-11-26 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs. - (hppa*64*-*-*): Delete incorrect comment. - * configure: Rebuilt. - -2004-11-15 Kelley Cook <kcook@gcc.gnu.org> - - * install-sh, compile: Import from automake. - -2004-11-15 Kelley Cook <kcook@gcc.gnu.org> - - * config.guess, config.sub: Import from savannnah. - -2004-11-12 Mike Stump <mrs@apple.com> - - * Makefile.def: Add html support. - * Makefile.tpl: Likewise. - * Makefile.in: Regenerate. - -2004-11-11 Geoffrey Keating <geoffk@apple.com> - - PR 18423 - * configure.in: Remove all instances of build-fixincludes from - noconfigdirs. - (build_configargs): Supply --target to subdirectories. - * configure: Regenerate. - - * Makefile.def: Make gcc install depend on fixincludes install. - * Makefile.in: Regenerate. - -2004-11-08 Hans-Peter Nilsson <hp@bitrange.com> - - * configure.in (noconfigdirs) [mmix-*-*]: Disable - target-libgfortran. - * configure: Regenerate. - -2004-11-07 David Edelsohn <edelsohn@gnu.org> - - * config-ml.in: Pass FCFLAGS for multilibs, handle GFORTRAN - like CC. - -2004-11-05 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.def (host fixincludes): Specify missing targets. - * Makefile.in: Regenerate. - -2004-11-04 H.J. Lu <hongjiu.lu@intel.com> - - PR other/17783 - * configure.in: Set up LD_LIBRARY_PATH by default for gcc. - * configure: Regenerated. - -2004-11-04 Daniel Jacobowitz <dan@debian.org> - - * configure.in (arm-*-oabi*, thumb-*-oabi*): Remove. - * configure: Regenerated. - -2004-10-28 Eric B. Weddington <ericw@evcohs.com> - - PR target/18151 - * configure.in (case ${target}): Do not build fixincludes for avr. - * configure: Regenerated. - -2004-10-26 Paolo Bonzini <bonzini@gnu.org> - - * configure.in (case ${target}): Do not build fixincludes - on platforms where it is not used. - * configure: Regenerated. - -2004-10-23 Daniel Jacobowitz <dan@debian.org> - - * configure.in: Use an absolute path to install-sh. - * configure: Regenerated. - -2004-10-19 Andrew Cagney <cagney@gnu.org> - - * src-release (do-djunpack, do-md5sum): Install the generated file - directly into the proto-toplev/ directory. - -2004-10-19 Andrew Cagney <cagney@gnu.org> - - * src-release (GDB_SUPPORT_DIRS): Remove utils and intl. - -2004-10-12 Kelley Cook <kcook@gcc.gnu.org> - - * configure.in (*-*-cygwin*): Supress warning if newlib not present. - * configure: Regenerate. - -2004-10-06 Paolo Bonzini <bonzini@gnu.org> - - Fix wrong conflict resolution in: - - 2004-08-16 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.in: Regenerate. - * Makefile.tpl (Autogenerated `all-*' targets): Invoke $(TARGET-*) - in the recursive `make', instead of hardwiring `all'. - (Autogenerated TARGET-* variables): New. - -2004-10-05 Ulrich Weigand <uweigand@de.ibm.com> - - Merged from GCC / libtool upstream: - 2004-10-02 P.J. Darcy <darcypj@us.ibm.com> - * ltcf-c.sh (tpf*): Add ld_shlibs=yes. - * ltcf-cxx.sh (tpf*): Likewise. - * ltconfig (tpf*): Add TPF OS configuration support. - -2004-09-30 Tomer Levi <Tomer.Levi@nsc.com> - - * configure.in: Enable target-libgloss for crx-*-*. - * configure: Regenerate. - -2004-09-24 Michael Roth <mroth@nessie.de> - - * configure.in (--without-headers): Add missing double quotes. - * configure: Regenerate. - -2004-09-24 Kelley Cook <kcook@gcc.gnu.org> - - * ylwrap: Revert to previous version. - -2004-09-23 H.J. Lu <hongjiu.lu@intel.com> - - PR bootstrap/17369 - * Makefile.tpl (REALLY_SET_LIB_PATH): Add @SET_GCC_LIB_PATH@. - (HOST_EXPORTS]): Add @SET_GCC_LIB_PATH@. Set and export - SET_GCC_LIB_PATH_CMD. - (BASE_TARGET_EXPORTS): Likewise. - * Makefile.in: Regenerated. - - * configure.in (SET_GCC_LIB_PATH): Set and substitute. - * configure: Regenerated. - -2004-09-23 Kelley Cook <kcook@gcc.gnu.org> - - * config.guess: New upstream version - * compile, depcomp, install-sh, ylwrap: Likewise. - -2004-09-19 Roger Sayle <roger@eyesopen.com> - - * config/mh-x86omitfp: New host makefile fragment. Add - -fomit-frame-pointer to the default BOOT_CFLAGS. - * configure.in: Use it to speed up bootstrap on some IA-32 hosts. - * configure: Regenerate. - -2004-09-15 Andrew Pinski <pinskia@physics.uc.edu> - - PR target/11572 - * configure.in (*-*-darwin*): Renable libobjc. - * configure: Regenerate. - -2004-09-09 Daniel Berlin <dberlin@dberlin.org> - - * Makefile.def: Remove libbanshee. - * Makefile.tpl: Ditto. - * configure.in: Ditto. - * Makefile.in: Regen. - * configure: Ditto. - -2004-09-07 Paolo Bonzini <bonzini@gnu.org> - - * missing: Import latest version from master repository. - -2004-09-04 Nick Clifton <nickc@redhat.com> - - * config.sub: Import latest version from master repository. - * config.guess: Likewise. - This includes these changes: - - 2004-08-27 Hans-Peter Nilsson <hp@axis.com> - - * config.sub: Handle crisv32, alias etraxfs. - * config.guess (crisv32:Linux:*:*): Handle. - - 2004-08-13 Brad Smith <brad@comstyle.com> - - * config.guess (*:OpenBSD:*:*): Remove defunct MIPS machines. - (sgi:OpenBSD:*:*): Emit mips64, not mipseb. - - 2004-08-11 Paul Eggert <eggert@cs.ucla.edu> - - * config.guess (*:Darwin:*:*): If uname -p reports "unknown", - assume the processor is a powerpc. This is because coreutils - uname (at least versions 4.5.7 through 5.2.1) outputs "unknown" - in this case, due to a MacOS X bug that causes - sysctl ((int[]) {CTL_HW, HW_MACHINE_ARCH}, 2, buffer, &bufsize, 0, 0) - to return a negative number. - Problem reported by Petter Reinholdtsen in: - http://lists.gnu.org/archive/html/bug-gnu-utils/2003-02/msg00201.html - - 2004-07-19 Ben Elliston <bje@gnu.org> - - * config.guess (S7501:*:4.0:3.0): Handle NCR System V UNIX machine. - - 2004-06-24 Ben Elliston <bje@gnu.org> - - * config.guess: Update copyright years. - * config.sub: Likewise. - - 2004-06-22 Robert Millan <robertmh@gnu.org> - - * config.guess (*:FreeBSD:*:*): Remove check for glibc (unneeded - since GNU/kFreeBSD systems match *:GNU/*:*:* instead). - - 2004-06-22 Stanley F. Quayle <stan@stanq.com> - - * config.guess (*:*VMS:*:*): New entry. Replaces - Alpha:OpenVMS:*. Recognize and advertise all VMS flavors as dec - manufacturer. - - 2004-06-22 Ben Elliston <bje@gnu.org> - - * config.guess: Cray fixes from Wendy Palm <wendyp@cray.com>. - * config.sub: Likewise. - - 2004-06-22 Ben Elliston <bje@gnu.org> - - Reported by Hans-Peter Nilsson <hp@bitrange.com>: - * config.sub: Correctly handle mmix-knuth and mmix-knuth-mmixware. - - 2004-06-11 Ben Elliston <bje@gnu.org> - - * config.guess (pegasos:OpenBSD:*:*): Remove. - - 2004-06-11 Ben Elliston <bje@gnu.org> - - From Wouter Verhelst <wouter@grep.be>: - * config.guess (M68*:*:R3V[5678]:*): Detect R3V8. - - 2004-06-11 Ben Elliston <bje@gnu.org> - - * config.guess (luna88k:OpenBSD:*:*): New. - - 2004-03-12 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * config.guess (m32r*:Linux:*:*): New case. - * config.sub: Handle m32rle. - - 2004-03-12 Ben Elliston <bje@wasabisystems.com> - - From Jens Petersen <petersen@redhat.com>: - * config.sub: Handle sparcv8. - - 2004-03-03 Ben Elliston <bje@wasabisystems.com> - - From Tom Smith <smith@cag.lkg.hp.com>: - * config.guess: Version suffixes are equally significant on Tru64 - V4.* and V5.*, so do not ignore them on V5.*. Handle a version - prefix of "P" (patched kernel). - - 2004-02-23 Tal Agmon <Tal.Agmon@nsc.com> - - * config.sub: Add support for National Semiconductor CRX target. - -2004-09-03 Jan Beulich <jbeulich@novell.com> - - * configure.in: Remove target-libstdc++-v3 from noconfigdirs for - *-*-netware, but add target-libmudflap. - Consolidate *-*-netware targets (of which really only i?86 exists) - into a single entry. - * configure: Likewise. - -2004-09-01 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (sorry): Remove. - (clean-stage[+id+], clean-stage[+id+]-module): New targets. - (cleanstrap targets): Depend on distclean, not distclean-stage1. - (do-clean): Clean per-stage directories too. - (do-distclean): Run distclean-stage1 too. - (.NOTPARALLEL): Enable during toplevel bootstrap. - (stage[+id+]-bubble): Enable parallel execution during - the recursive invocation. - * Makefile.in: Regenerate. - - Sync from gcc (moving the Makefile.in change to Makefile.tpl): - - 2004-08-31 Robert Bowdidge <bowdidge@apple.com> - - * Makefile.in: Move BOOT_CFLAGS above host makefile fragment include. - * configure.in: add test for powerpc-*-darwin* to specify makefile frag - * configure: regenerate - * config/mh-ppc-darwin: create file, override BOOT_CFLAGS for - -mdynamic-no-pic - -2004-08-31 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl: Move BOOT_CFLAGS above host makefile fragment - include. - * configure.in: Fix indentation. - * configure: Regenerate. - -2004-08-31 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.def (build_modules): Add fixincludes. - (dependencies): Make gcc depend on fixincludes. - * configure.in (build_tools): Add fixincludes. - (build_configdirs): Always include build_libs. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2004-08-30 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.def (bootstrap stages): Add 'lean' parameter. - * Makefile.tpl (configure-stageN-*, all-stageN-*): Turned into - phony targets; do not generate timestamp files. - (distclean-stageN): Remove references to their timestamp files. - (restageN, touch-stageN): Remove. - (stageN-bubble): Rewritten. - (compare): Support lean bootstraps. - * Makefile.in: Regenerate. - - * configure.in: Only warn when bootstrapping but - build != host or build != target. Support lean bootstraps. - * configure: Regenerate. - - Sync from gcc: - 2004-08-26 Phil Edwards <phil@codesourcery.com> - - * configure.in: Give a better error message if GMP/MPFR are missing - and a language needing them has been requested. - * configure: Regenerated. - - 2004-08-25 Phil Edwards <phil@codesourcery.com> - - * configure.in: Print a list of available language front-ends if - a requested one is missing. Tidy stray tab characters. - * configure: Regenerated. - -2004-08-17 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.in: Regenerate. - * configure: Regenerate. - - * Makefile.def (bootstrap-stage): Rename extra_*_flags to - stage_*_flags. - * Makefile.tpl (configure-[+module+], all-[+module+]): Exit - for bootstrapped modules if toplevel bootstrap is going. - (GCC bootstrap): Generate per-stage targets for all bootstrapped - modules. Adjust for changes in Makefile.def. Enable several - rules even in non-bootstrap mode, just to avoid peppering the - template with unnecessary "@if/@endif gcc-bootstrap" pairs. - (stage-[+prev+]-bubble): Remove. - - * Makefile.def (Dependencies): Depend on all-build-bison, - all-build-flex, all-build-byacc, all-build-texinfo, rather - than the host variations. - * Makefile.tpl (BUILD_DIR_PREFIX): Remove. Replace throughout - with BUILD_SUBDIR. - (BISON): Update for recent Bisons. - (YACC): Fix typo. - (cross): Depend on all-build. - (all): Do not depend on all-build. - (prebootstrap): Remove. - (dep-kind): Accept separate prefixes for MODULE and ON variables. - (Prebootstrap dependencies): Add them to the per-stage targets - and to all-prebootstrap. - * configure.in (build_configdirs): Always enable build_tools. - (BUILD_DIR_PREFIX): Remove. - - * Makefile.def (gcc): Add target variable. - (gdb, expect, guile, tk, tix): Replace with_x with extra_make_flags. - * Makefile.tpl (Autogenerated `all-*' targets): Invoke $(TARGET-*) - in the recursive `make', instead of hardwiring `all'. - (Autogenerated TARGET-* variables): New. - -2004-08-17 Robert Millan <robertmh@gnu.org> - - * configure.in: In noconfigdirs check, match GNU/k*BSD with GNU/Linux - (instead of FreeBSD). - * configure: Regenerate. - -2004-08-12 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.def, configure.in, src-release: Remove useless, bogus - references to tix. - * Makefile.in, configure: Regenerate. - - * src-release: Stop distributing mmalloc with gdb (which doesn't - use it). - * Makefile.def: GDB doesn't depend on mmalloc anymore. - * Makefile.in: Regenerate. - -2004-08-09 Mark Mitchell <mark@codesourcery.com> - - * configure.in (arm*-*-eabi*): New target. - * configure: Regenerate. - -2004-08-01 Robert Millan <robertmh@gnu.org> - - * configure.in: Turn mt-linux into mt-gnu. Use mt-gnu and enable - libmudflap for all GNU-based systems (with Glibc). - * configure: Regenerate. - -2004-08-06 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.def (bfd, opcodes, gcc, zlib): Mark as bootstrap module. - (bison, byacc, flex, texinfo): Do not mark as bootstrap module. - (Dependencies): New section. - * Makefile.tpl (Dependencies): Generate from Makefile.def. - (configure-target-[+module+]): Depend on maybe-all-gcc - (all-prebootstrap): New name of all-bootstrap. Changed throughout. - (toplevel profiledbootstrap): Fix dependencies. - * Makefile.in: Regenerate. - -2004-08-03 Mark Mitchell <mark@codesourcery.com> - - * configure.in (arm*-*-symbianelf*): Add ${libgcj} and - target-libiberty to noconfigdirs. - -2004-08-03 Paul Brook <paul@codesourcery.com> - - * configure.in: Check for MPFR as well as GMP. - * configure: Regenerate. - -2004-08-03 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.def (host-modules): Add gcc. - * Makefile.in: Regenerate. - * Makefile.tpl (sorry): New rule. - (configure-host, all-host, [+make_target+]-host, do-check, - install-host): Do not add gcc as a special case. - (host modules): Add a small special-casing for gcc. Export - extra_make_flags through the environment. - (maybe-configure-gcc, configure-gcc, maybe-all-gcc, all-gcc, - maybe-check-gcc, check-gcc, maybe-install-gcc, install-gcc, - other recursive targets for gcc): Remove. - - (all, do-[+make_target+], do-check): Wrap between unstage and stage. - (stage, unstage): New rules. - (stage[+id+]-start, stage[+id+]-end, [+compare-target+], - distclean-stage[+id+]): Use stage_current. - ([+bootstrap-target+], profiledbootstrap): Do not invoke manually - the stage*-start rules. - -2004-07-19 Robert Millan <robertmh@gnu.org> - - Synced from gcc: - - 2004-04-26 Robert Millan <robertmh@gnu.org> - - Add patches from libtool CVS. - * libtool.m4: Add kfreebsd*-gnu and knetbsd*-gnu. - * ltconfig: Likewise. - * ltcf-c.sh: Likewise. - * ltcf-cxx.sh: Likewise. - * ltcf-gcj.sh: Likewise. - -2004-07-12 Paolo Bonzini <bonzini@gnu.org> - - * configure.in: Add noconfigdirs for crx-*-*. - * configure: Regenerate. - -2004-07-12 Paolo Bonzini <bonzini@gnu.org> - - Synced from gcc: - - 2004-07-09 Loren J. Rittle <ljrittle@acm.org> - - * configure.in: Build libmudflap by default on FreeBSD. - * configure: Regenerated. - - 2004-07-09 Mark Mitchell <mark@codesourcery.com> - - * configure.in: Do not build libmudflap by default on non-GNU/Linux - systems. - * configure: Regenerated. - - 2004-07-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - PR target/16344 - * Makefile.tpl (profiledbootstrap): Build runtime libraries with - feedback based compiler. - * Makefile.in: Rebuilt. - - 2004-07-05 Phil Edwards <phil@codesourcery.com> - - * configure.in: Do not prepend $srcdir to /dev/null in - makefile fragments. - * configure: Regenerate. - -2004-07-08 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.def (host_modules): Set bootstrap=true for flex. - * Makefile.tpl (all-gcc): Depend on texinfo and flex. - * Makefile.in: Rebuilt. - -2004-07-01 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.def (build_modules): Add bison, byacc, flex, - m4, texinfo. - (flags_to_pass): Add FLEX. - * Makefile.tpl (BUILD_DIR_PREFIX, BASE_EXPORTS): New. - (BUILD_EXPORTS, HOST_EXPORTS, BASE_TARGET_EXPORTS): Include it. - (DEFAULT_YACC, USUAL_YACC, DEFAULT_LEX, USUAL_LEX, DEFAULT_M4, - DEFAULT_MAKEINFO): Remove. - (CONFIGURED_YACC, CONFIGURED_FLEX, CONFIGURED_BISON, - CONFIGURED_LEX, CONFIGURED_M4, CONFIGURED_MAKEINFO): Substitute. - (YACC, FLEX, BISON, LEX, M4, MAKEINFO): Define to look into - objdir or else use configured tool. - (all-build): New. - (all): Depend on it. - (Build module dependencies): Add. - * Makefile.in: Regenerate. - * configure.in: Better support for multiple build modules, - matching what is done for host/target modules. Do not look - for "plausible" locations of build tools if Canadian cross. - Use autoconf's AC_PROG_CC to find a C compiler. Define - BUILD_DIR_PREFIX. Look for flex, makeinfo and m4. - * configure: Regenerate. - -2004-06-22 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (HOST_EXPORTS): Fix pasto. - * Makefile.in: Regenerate. - -2004-06-22 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (configure-build-[+module+], - configure-[+module+], configure-target-[+module+]): Pass - [+extra_configure_args+]. - (all-build-[+module+], all-[+module+], check-[+module+], - install-[+module+], [+make_target+]-[+module+], - all-target-[+module+], check-target-[+module+], - install-target-[+module+], [+make_target+]-target-[+module+]): - Pass [+extra_make_args+]. - (HOST_EXPORTS): Include the former GCC_HOST_EXPORTS. - (GCC_HOST_EXPORTS): Remove. - (configure-gcc, all-gcc, GCC_STRAP_TARGETS, profiledbootstrap, - cross, check-gcc, check-gcc-c++, install-gcc, - gcc-no-fixedincludes, [+make_target+]-gcc, stage[+id+]-bubble): - Replace GCC_HOST_EXPORTS with HOST_EXPORTS. - * Makefile.in: Regenerate. - -2004-06-21 Christopher Faylor <cgf@alum.bu.edu> - - * configure.in: Check for srcdir/winsup rather than build directory - winsup. - * configure: Regenerate. - -2004-06-17 Corinna Vinschen <vinschen@redhat.com> - - * configure.in: Don't build Cygwin native newlib if winsup - directory is missing. Emit warning instead. - * configure: Regenerate. - -2004-06-09 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (touch-stage[+id+]): New. - (restage[+prev+]): Depend on touch-stage[+id+]. - - * Makefile.tpl (RECURSE_FLAGS_TO_PASS): New. - Use it throughout. - - * Makefile.def: Add profile and feedback bootstrap stages. - Remove next field from bootstrap stages. - * Makefile.tpl (LN, LN_S): Substitute. - (stageN-start, stageN-end): Use double-colon rules, to - provide a hook for additional setup commands. - (distclean-stageN-gcc, restageN): Create dependencies from - [+prev+], not from [+next+]. - (stageN-bubble): Add commands for successive stages from - [+prev+], using double-colon rules. - (all-stageN-gcc): Fix typo. - (stagefeedback-start, profiledbootstrap): New. - * Makefile.in: Regenerate. - * configure.in: Call ACX_PROG_LN. - * configure: Regenerate. - -2004-06-03 Paolo Bonzini <bonzini@gnu.org> - - * configure.in: Fix --enable-bootstrap breakage introduced in trees - without gcc. - * configure: Regenerate. - -2004-06-01 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl: Fix typo. - * Makefile.in: Regenerate. - -2004-06-01 Paolo Bonzini <bonzini@gnu.org> - - * configure.in: Remove new- prefix from toplevel - bootstrap targets. - * configure: Regenerate. - -2004-06-01 Paolo Bonzini <bonzini@gnu.org> - - Merge this patch from the gcc tree: - - 2004-05-30 Andreas Jaeger <aj@suse.de> - Jim Wilson <wilson@specifixinc.com> - - * config-ml.in: Pass FFLAGS and ADAFLAGS for multilibs, handle F77 - like CC. - -2004-06-01 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (all.normal): Rename to all. - (all): Replace with a rule to pick the default - target from configure. - (all-gcc, configure-gcc): Use conditionals to - do nothing when toplevel bootstrap is going on. - (GCC directory bootstrap) [gcc-bootstrap]: Disable. - (Toplevel bootstrap) [gcc-no-bootstrap]: Disable. - * configure.in: Support --enable-bootstrap. - - * Makefile.def: Remove new- prefix from toplevel - bootstrap targets. - * Makefile.tpl: Likewise. - - * Makefile.def: Add bootstrap_stage 4. Add bootstrap2 - target. - - * Makefile.tpl (Toplevel bootstrap): Pass $(BASE_FLAGS_TO_PASS) - $(RECURSE_FLAGS) to recursive invocation of make. - - * Makefile.in: Regenerate. - * configure: Regenerate. - -2004-05-27 Daniel Jacobowitz <dan@debian.org> - - * configure.in: Fix sed invocation for GFORTRAN_FOR_TARGET. - * configure: Regenerate. - -2004-05-25 Daniel Jacobowitz <drow@false.org> - - * Makefile.tpl (BUILD_EXPORTS, HOST_EXPORTS, GCC_HOST_EXPORTS) - (STAGE_HOST_EXPORTS, BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS) - (NORMAL_TARGET_EXPORTS): New macros. Use them in all the recursive - targets. - * Makefile.in: Regenerate. - -2005-05-24 Paolo Bonzini <bonzini@gnu.org> - - * configure.in: Test the ability to symlink directories. - * configure: Regenerate. - - * Makefile.def (bootstrap-stage): New definitions. - * Makefile.tpl (configure-stage1-gcc, - configure-stage2-gcc, configure-stage3-gcc, - all-stage1-gcc, all-stage2-gcc, all-stage3-gcc, - new-bootstrap, new-cleanstrap, new-restage1, new-restage2, - new-restage3, compare): Autogenerate, see Makefile.in - entry for behavioral changes. - (distclean-stage1, new-stage1-start, new-stage1-end, - new-stage1-bubble, distclean-stage2, new-stage2-start, - new-stage2-end, new-stage2-bubble, distclean-stage3, - new-stage3-start, new-stage3-end): New autogenerated targets. - (objext, prebootstrap, BOOT_CFLAGS, - POSTSTAGE1_FLAGS_TO_PASS): Move above the autogenerated - targets. - - * Makefile.in: Regenerate. - (distclean-stage1, new-stage1-start, new-stage1-end, - new-stage1-bubble, distclean-stage2, new-stage2-start, - new-stage2-end, new-stage2-bubble, distclean-stage3, - new-stage3-start, new-stage3-end): New targets. - (all-stage1-gcc): Move prebootstrap dependency from here... - (configure-stage1-gcc): ...to here. - (new-bootstrap): Use bubble targets. - (new-cleanstrap, new-restage1, new-restage2, new-restage3): - Use per-stage distclean targets. - (configure-stage1-gcc, configure-stage2-gcc, - configure-stage3-gcc, all-stage1-gcc, - all-stage2-gcc, all-stage3-gcc, new-bootstrap): - Use new-stageN-start to prepare the tree. - -2004-05-23 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.def (host_modules): add libcpp. - * Makefile.tpl: Add dependencies on and for libcpp. - * Makefile.in: Regenerate. - * configure.in: Add libcpp host module. - * configure: Regenerate. - -2004-05-17 Zack Weinberg <zack@codesourcery.com> - - * Makefile.def, Makefile.tpl, configure.in: Remove all mention - of libf2c. - * configure, Makefile.in: Regenerate. - -2004-05-13 Diego Novillo <dnovillo@redhat.com> - - Merge from tree-ssa-20020619-branch. - - * Makefile.def: Add libbanshee, libmudflap and libgfortran. - * Makefile.tpl (BUILD_CONFIGDIRS): Add libbanshee. - (HOST_GMPLIBS): Define. - (HOST_GMPINC): Define. - (TARGET_LIB_PATH): Add libmudflap. - (GFORTRAN_FOR_TARGET): Define. - (configure-build*): Export GFORTRAN. - (configure-gcc): Export GMPLIBS and GMPINC. - (all-gcc): Add maybe-all-libbanshee. - (configure-target-libgfortran): Define. - * Makefile.in: Regenerate. - * configure.in (host_libs): Add libbanshee. - (target_libraries): Add target-libmudflap and target-libgfortran. - Add --with-libbanshee. - Handle --disable-libmudflap. - (*-*-freebsd*): Use with_gmp. - Add $(libgcj) to noconfigdirs. - * configure: Regenerate. - * depcomp: New file. - * MAINTAINERS: Add tree-ssa maintainers. - -2004-04-28 Paolo Bonzini <bonzini@gnu.org> - - * config/acx.m4: Fix fastcompare support for new-bootstrap. - * configure: Regenerate. - -2004-04-27 Paolo Bonzini <bonzini@gnu.org> - - Revert: - 2004-04-26 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.def (flags_to_pass): Remove *dir variables that - are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS, - as well as prefix and exec_prefix. - * Makefile.in: Regenerate. - -2004-04-26 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.def (host_modules): Mark with the bootstrap - flag packages on which gcc depends. - * Makefile.tpl (all-bootstrap): Use it. - * Makefile.in: Regenerate. - -2004-04-26 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.def (flags_to_pass): Remove *dir variables that - are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS, - as well as prefix and exec_prefix. - * Makefile.in: Regenerate. - -2004-04-26 Paolo Bonzini <bonzini@gnu.org> - - * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL. - * configure: Regenerate. - * config/acx.m4: Mutuate ACX_PROG_CMP_IGNORE_INITIAL from gcc. - * gcc/Makefile.tpl (compare): Use the result of the test. - * gcc/Makefile.in: Regenerate. - -2004-04-23 Paolo Bonzini <bonzini@gnu.org> - - * Makefile.tpl (all-stage1-gcc, all-stage2-gcc, all-stage3-gcc): - Always relocate gcc and prev-gcc to the original names, even - if the build fails. - (new-cleanstrap, new-restage1, new-restage2, new-restage3): - New targets. - -2004-04-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> - - * configure.in (mips*-*-irix5*): Enable ld. - * configure: Regenerate. - -2004-04-15 James E Wilson <wilson@specifixinc.com> - - * Makefile.tpl (configure-[+module+], configure-gcc, - configure-stage1-gcc, configure-stage2-gcc, configure-stage3-gcc): - Set and export LDFLAGS. - * Makefile.in: Regenerate. - -2004-04-09 Nathanael Nerode <neroden@gcc.gnu.org> - - PR bootstrap/14871 - * Makefile.tpl: If we don't have built-in-tree target tools, - use the ones found by configure rather than hacking around with - program_transform_name. - * configure.in: Give Makefile.tpl the information necessary - to do that. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2004-04-06 Nathanael Nerode <neroden@gcc.gnu.org> - - PR bootstrap/14760 - * configure.in: When computing baseargs, strip *all* copies of - offending options. Also, don't match/substitute the trailing space, - so that this actually works when two similar options are separated by - only one space. - * configure: Regenerate. - -2004-04-06 David Edelsohn <edelsohn@gnu.org> - - * configure.in (powerpc-*-aix*): Remove target-libada from noconfigdirs. - (rs6000-*-aix*): Same. - * configure: Regenerate. - -2004-03-25 Stan Shebs <shebs@apple.com> - - Remove MPW support, no longer used. - * mpw-README, mpw-build.in, mpw-config.in, mpw-configure, - mpw-install: Remove files. - * src-release (DEVO_SUPPORT): Remove names of removed files. - * MAINTAINERS: Likewise. - -2004-03-24 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl (top level bootstrap support): Remove now-unneeded - STRICT_WARN, WARN_CFLAGS flags passed down to make. - * Makefile.in: Regenerate. - - * configure.in (top level bootstrap support): Rework --enable-werror - to set @stage2_werror_flag@. - * configure: Regenerate. - * Makefile.tpl (top level bootstrap support): Pass - @stage2_werror_flag@ down to configure in stages 2 and 3. - * Makefile.in: Regenerate. - -2004-03-23 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl (new-bootstrap): Set CC and CC_FOR_BUILD in configure - for stages 2 and 3 as well as in make. As a consequence, remove - OUTPUT_OPTION (now detected by configure) from the flags passed down - to make. - * Makefile.in: Regenerate. - - * Makefile.tpl (new-bootstrap): Fix typo. - * Makefile.in: Regenerate. - -2004-03-22 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Rearrange by moving recursive_targets rules - into their proper sections. - * Makefile.tpl (top level bootstrap support): Move disabling - of coverage flags from 'make' to 'configure'; improve comments. - * Makefile.in: Regenerate. - - * Makefile.tpl (experimental top level bootstrap) Move stage1 - language setting from all- target to configure- target; disable - intermodule optimization in stage 1; prevent gratuitous rebuilds - of stage 1. - * Makefile.in: Regenerate. - * configure.in: Comma-separate stage 1 language list for top - level bootstrap. - * configure: Regenerate. - - * Makefile.tpl: Clean up experimental top level bootstrap support: - note known problems; set CONFIG_SHELL; don't set BUILD_CC; relocate - prev-gcc in configure- targets as well as all- targets. - * Makefile.in: Regenerate. - -2004-03-17 Paolo Bonzini <bonzini@gnu.org> - - * configure.in: Remove symbolic link section. - * configure: Regenerate. - * Makefile.tpl (links): Remove. - * Makefile.in: Regenerate. - -2004-03-15 Paolo Bonzini <bonzini@gnu.org> - Nathanael Nerode <neroden@gcc.gnu.org> - - * configure.in (DEFAULT_YACC, DEFAULT_M4, DEFAULT_LEX): - Set with AC_CHECK_PROGS. - * configure.in: Fix comment typo from last patch. - * configure: Regenerate. - -2004-03-15 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Introduce experimental top level bootstrap support. - * Makefile.in: Regenerate. - * configure.in: Introduce support for top level bootstrap. - * configure: Regenerate. - -2004-03-12 Eric Botcazou <ebotcazou@gcc.gnu.org> - Paolo Bonzini <bonzini@gnu.org> - - PR bootstrap/14522 - * configure.in: Cope with shells that do not support unquoted ^ - * configure: Regenerate. - -2004-03-11 Eric Botcazou <ebotcazou@gcc.gnu.org> - Paolo Bonzini <bonzini@gnu.org> - - PR bootstrap/14522 - * configure.in: Cope with shell that do not support nesting - quotes inside quoted backquote substitutions. - * configure: Regenerate. - -2004-03-10 Andrew Pinski <pinskia@physics.uc.edu> - - PR bootstrap/14522 - * configure.in: Fix escaping of $. - * configure: Regenerate. - -2004-03-11 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure: Regenerate. - -2004-03-08 Paolo Bonzini <bonzini@gnu.org> - - PR ada/14131 - Move language detection to the top level. - * configure.in: Find default values for the tools as - soon as possible. Disable ada if GNAT is not found. - Emit error message about missing languages. Expand - --enable-languages=all for the gcc subdirectory. - -2004-03-01 Richard Sandiford <rsandifo@redhat.com> - - * configure.in (mips64*-*-linux*): Override mips*-*-linux* case - and disable libgcj. - * configure: Regenerated. - -2004-02-28 Nathanael Nerode <neroden@gcc.gnu.org> - - PR bootstrap/7087 - * Makefile.tpl: Guard XFOO sed statements better. - * Makefile.tpl: Add dependency for configure-target-libada. - * Makefile.in: Regenerate (incidentally fixes broken - commit when libada-branch was merged). - -2004-02-28 Andrew Cagney <cagney@redhat.com> - - * src-release (CVS_NAMES): Define. - (do-tar, do-tar): Prune $(CVS_NAMES). - -2004-02-23 Andrew Cagney <cagney@redhat.com> - - * texinfo/texinfo.tex: Update from version 2003-02-03.16 to - 2004-02-19.09. - -2004-02-19 Nathanael Nerode <neroden@gcc.gnu.org> - - PR bootstrap/11932 - * mkinstalldirs, install-sh: Import from automake CVS HEAD. - -2004-02-19 Andrew Cagney <cagney@redhat.com> - - * config.guess: Update from version 2003-06-12 to 2004-02-16. - * config.sub: Update from version 2003-06-13 to 2004-02-16. - -2004-02-11 David Edelsohn <edelsohn@gnu.org> - - * configure.in (powerpc-*-aix*): Add target-libada to noconfigdirs. - (rs6000-*-aix*): Same. - * configure: Regenerate. - -2004-02-11 Kelley Cook <kcook@gcc.gnu.org> - - * configure.in (host): Add in missing $noconfigdirs to defines. - * configure: Regenerate. - -2004-02-10 Arnaud Charlet <charlet@act-europe.fr>, - Nathanael Nerode <neroden@gcc.gnu.org> - - PR ada/6637, PR ada/5911 - Merge with libada-branch: - * configure.in, Makefile.tpl, Makefile.def: Add target-libada, - with appropriate dependencies. Add --enable-libada configure switch. - * configure, Makefile.in: Regenerate. - -2004-02-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> - - * configure.in: Don't pass --with-stabs on IRIX 5 either. - * configure: Regenerate. - -2004-02-02 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Update Red Hat license to 2004. - -2004-01-23 DJ Delorie <dj@redhat.com> - - * Makefile.def (target_modules) [libiberty]: Don't stage. - * Makefile.in: Rebuilt. - -2004-01-23 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Update to include copyrights for new - iconv code. - -2004-01-15 Andrew Cagney <cagney@redhat.com> - - * src-release: Update copyright year. - (do-proto-toplev): Configure using i686-pc-linux-gnu. - (NEWLIB_SUPPORT_DIRS): Delete macro. - (newlib.tar.bz2): Delete rule. - -2004-01-14 Loren J. Rittle <ljrittle@acm.org> - - * Makefile.def (target_modules) [libtermcap, libiberty, zlib]: Stage. - * Makefile.tpl (configure-target-[+module+]): Support stage. - * Makefile.in: Rebuilt. - -2003-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * gettext.m4: Quote names of macros to be defined by AC_DEFUN - throughout. - -2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure.in: Use ./config.cache, not config.cache. - * configure: Regenerate. - * Makefile.tpl: Special-casing not needed for GCC any more. - * Makefile.in: Regenerate. - - * configure.in: Don't share a cache file for host dirs. - * configure: Regenerate. - - * config-ml.in: Don't mess with the cache file. - -2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Make GCC use a separate config.cache. - * Makefile.in: Regenerate. - - PR bootstrap/11932, PR bootstrap/11933 - (I don't know if it will fix either of them, but it relates - to them.) - * configure.in: Don't use shared config.cache for target - directories. - * configure: Regenerate. - -2003-12-31 Roger Sayle <roger@eyesopen.com> - - * configure.in (ia64*-*-hpux*): Disable building java libraries. - * configure: Regenerated. - -2003-12-21 Bernardo Innocenti <bernie@develer.com> - - * configure.in (*-*-uclinux): Exclude newlib, libgloss and rda. - * configure: Regenerated. - -2003-12-19 Nathanael Nerode <neroden@gcc.gnu.org> - - Port change over from GCC: - 2003-11-20 Kelley Cook <kcook@gcc.gnu.org> - * Makefile.tpl (BASE_FLAGS_TO_PASS): Pass along CONFIG_SHELL. - (configure-build-[+module+], configure-[+module+]): Likewise. - (configure-target-[+module+], configure-gcc, config.status): Likewise. - * Makefile.in: Regenerate. - -2003-12-08 Thomas Fitzsimmons <fitzsim@redhat.com> - - * configure.in (raw_libstdcxx_flags): Remove the leading space. - * configure: Regenerate. - -2003-11-27 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Add license info for long long routines added to - stdlib. - -2003-11-14 Arnaud Charlet <charlet@act-europe.fr> - - * Makefile.tpl (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS. - * Makefile.in: Regenerate. - -2003-10-20 Phil Edwards <phil@codesourcery.com> - - * configure.in (*-*-vxworks): Add target-libiberty to noconfdirs. - * configure: Regenerate. - -2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Make GCC_FLAGS_TO_PASS a superset of - HOST_FLAGS_TO_PASS. - * Makefile.in: Regenerate. - -2003-10-05 Mohan Embar <gnustuff@thisiscool.com> - - * configure.in: Allow explicit specification of CFLAGS_FOR_BUILD. - * configure: Rebuilt - * Makefile.tpl: Use CFLAGS_FOR_BUILD computed by configure - * Makefile.in: Rebuilt - -2003-10-03 H.J. Lu <hongjiu.lu@intel.com> - - * ltconfig (sys_lib_search_path_spec): Fix a typo for HPUX. - -2003-10-01 Phil Edwards <pme@gcc.gnu.org> - - * config-ml.in: Use ac_configure_args directly instead of - ml_arguments. Only set ml_norecursion if --no[-]recursion is - actually seen. - -2003-10-01 Eric Botcazou <ebotcazou@libertysurf.fr> - - * config-ml.in: Propagate INSTALL variables. - -2003-09-21 Daniel Jacobowitz <drow@mvista.com> - - * configure.in: Pass a computed --program-transform-name - to subconfigures. - * configure: Regenerated. - -2003-09-20 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Don't pass down obsolete ENQUIRE variable. - * Makefile.in: Regenerate. - - * Makefile.tpl: Don't pass (unused) DLLTOOL or WINDRES to gcc. - * Makefile.in: Regenerate. - -2003-09-17 Daniel Jacobowitz <drow@mvista.com> - - * configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Fix - quoting. - * configure: Regenerated. - -2003-09-12 Michael Chastain <mec@shout.net> - - Fix PR gdb/857. - * src-release (do-proto-topleve): Remove junk files - intl/config.cache, intl/config.status, - intl/config.h, intl/stamp-h. - -2003-09-14 Andrew Cagney <cagney@redhat.com> - - * src-release (dejagnu.tar): New target. - (dejagnu.tar.bz2): Recursively call "gdb-taz" rule. - (do-djunpack): Use $(PACKAGE) for the package name. - -2003-09-04 DJ Delorie <dj@redhat.com> - - * configure: Regenerate. - -2003-09-04 Robert Millan <robertmh@gnu.org> - - * configure.in: Match GNU/KFreeBSD with new kfreebsd*-gnu triplet. - -2003-09-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * configure.in: Ensure arguments to sed are properly spaced. - * configure: Regenerate. - -2003-08-28 Daniel Jacobowitz <drow@mvista.com> - - Merge from gcc: - 2003-07-20 Phil Edwards <pme@gcc.gnu.org> - * install-sh: Update to newer upstream versions (associated with - aclocal 1.7). - * missing: Likewise, plus $1Help2man -> $1 typo fix. - -2003-08-27 Daniel Jacobowitz <drow@mvista.com> - - * configure.in: Set RAW_CXX_FOR_TARGET if unset. - * configure: Regenerated. - -2003-08-23 Phil Edwards <pme@gcc.gnu.org> - - * configure.in: Use newline instead of semicolon when assuming - shell arguments in a for loop. - * configure: Regenerated. - -2003-08-20 Geoffrey Keating <geoffk@apple.com> - - PR 8180 - * configure.in: When testing with_libs and with_headers, treat - 'no' as unset. Based on a patch by Dan Kegel <dank@kegel.com>. - * configure: Regenerate. - - * configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS): Quote properly for - make, shell, etc. - (baseargs): Likewise. - * configure: Regenerate. - -2003-08-19 Geoffrey Keating <geoffk@apple.com> - - * configure.in: Disable libgcj for darwin not on powerpc. - * configure: Rebuild. - -2003-08-15 Michael Chastain <mec@shout.net> - - * src-release (do-proto-toplev): Remove junk files - dejagnu/example/calc/config.status, - dejagnu/example/calc/config.log. - -2003-08-14 Alexandre Duret-Lutz <adl@gnu.org> - - * config-ml.in, symlink-tree: Add license. - -2003-08-01 Nathanael Nerode <neroden@gcc.gnu.org> - - Merge from gcc: - - 2003-08-01 Matt Kraai <kraai@alumni.cmu.edu> - * Makefile.tpl (check, check-c++): Express dependencies using - dependencies rather than commands. - * Makefile.in: Regenerate. - - 2003-07-31 Geoffrey Keating <geoffk@apple.com> - * Makefile.tpl (libsubdir): Use gcc instead of gcc-lib. - * Makefile.in: Update. - -2003-08-01 Andrew Cagney <cagney@redhat.com> - - * configure.in (noconfigdirs): Do not add GDB when m32r-*-*. - * configure: Ditto. - -2003-07-30 Andreas Tobler <a.tobler@schweiz.ch> - - * configure.in: Enable libgcj for darwin. - * configure: Rebuild. - -2003-07-29 Nathanael Nerode <neroden@gcc.gnu.org> - - * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version. - -2003-07-27 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' when - creating target and build subdirs to build all parent dirs as needed. - * Makefile.in: Rebuild. - * configure.in: Don't build dirs explicitly here. - * configure: Rebuild. - -2003-07-22 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.tpl (all-make): Depend on intl. - * Makefile.in: Rebuilt. - -2003-07-16 Nathanael Nerode <neroden@gcc.gnu.org> - - * config.if: Remove unused libc_interface determination. - -2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.in: Regenerate, correctly this time. - -2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Set INSTALL and friends using autoconf. Remove - unused INSTALL_PROGRAM_ARGS. - * configure.in: Use AC_PROG_INSTALL. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2003-07-10 Alexandre Oliva <aoliva@redhat.com> - - * configure: Rebuilt. - 2001-09-26 Alexandre Oliva <aoliva@redhat.com> - * configure.in (noconfigdirs) [am33_2.0-*-linux*]: Don't build - newlib nor libgloss. - Wed May 9 10:07:19 2001 Alexandre Oliva <aoliva@redhat.com> - * configure.in (am33_2.0-*-linux*): Added. - -2003-07-09 Bob Wilson <bob.wilson@acm.org> - - * configure.in: Add ${libgcj} to noconfigdirs for xtensa-*-* targets. - * configure: Regenerate. - -2003-07-06 H.J. Lu <hongjiu.lu@intel.com> - - * config-ml.in: Replace PWD with PWD_COMMAND. - * Makefile.tpl: Likewise. - * Makefile.in: Regenerated. - -2003-06-27 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure.in: Clean up config-lang.in handling. Delete - useless assignment to "subdirs". - * configure: Regenerate. - -2003-06-26 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure.in: Rename 'target_libs' to 'target_libraries'. - Remove useless reference to 'target_libs'. - * configure: Regenerate. - -2003-06-23 Keith Seitz <kseitz@sources.redhat.com> - - * Makefile.tpl: Add maybe-configure-itcl to configure-gdb. - * Makefile.in: Regenerate. - -2003-06-23 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.def: Introduce flags_to_pass. - * Makefile.tpl: Generate BASE_FLAGS_TO_PASS using it. - * Makefile.in: Regenerate. - -2003-06-23 Hans-Peter Nilsson <hp@bitrange.com> - - * configure.in (noconfigdirs) <cris-*-*>: Disable target-newlib - and target-libgloss. - <d30v-*-*, fr30-*-*, i960-*-*, m32r-*-*>: Disable gdb. - <h8300*-*-*>: Disable libf2c and ${libgcj}. - * configure: Regenerate. - -2003-06-17 Benjamin Kosnik <bkoz@redhat.com> - - * configure.in: Update testsuite_flags to new location. - * configure. Regenerate. - -2003-06-18 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Remove BUILD_CC stuff. - * Makefile.in: Regenerate. - -2003-06-14 H.J. Lu <hongjiu.lu@intel.com> - - * config.guess: Update to 2003-06-12 version. - * config.sub: Update to 2003-06-13 version. - -2003-06-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * MAINTAINERS: Add myself as MIPS co-maintainer. - -2003-06-12 H.J. Lu <hongjiu.lu@intel.com> - - * config.guess: Update to 2003-06-06 version. - * config.sub: Update to 2003-06-06 version. - -2003-06-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> - - * configure.in: Don't pass --with-stabs for mips*-sgi-irix6*o32. - * configure. Regenerate. - -2003-06-10 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure.in: Disable serial configure by default. - * configure: Regenerate. - * Makefile.tpl: Abolish .NOTPARALLEL. - * Makefile.in: Regenerate. - - * Makefile.tpl: Replace {build,host,target}_canonical by - {build,host,target}. - * Makefile.in: Regenerate. - - * Makefile.tpl: Fix stupid pasto. - * Makefile.in: Regenerate. - -2003-06-09 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Remove bogus conditional. - * Makefile.in: Regenerate. - -2003-06-03 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Make 'recursive targets' using autogen rather - than shell loop. Remove duplicate 'clean' targets and false - comments. - * Makefile.def: Add systematic dependencies to 'recursive' targets. - Add systematic method of specifying missing targets in subdirs. - Add copyright boilerplate. - * Makefile.in: Regenerate. - * configure.in: Add 'recursive targets' to maybe list. - * configure: Regenerate. - - * Makefile.tpl: Rename [+target+] to [+make_target+]. - * Makefile.def: Rename 'target' to 'make_target'. - -2003-05-30 Nick Clifton <nickc@redhat.com> - - * README-maintainer-mode: Update URL for locating blessed config - tools. - -2003-05-29 Robert Millan <rmh@debian.org> - - * ltconfig: Import this patch and modify for use with current - version of ltconfig: - - 2003-05-21 Bruno Haible <bruno@clisp.org> - - * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Add support for - GNU/FreeBSD. - -2003-05-28 DJ Delorie <dj@redhat.com> - - * Makefile.tpl: Make maybe-check-gcc .PHONY. - * Makefile.in: Regenerate. - -2003-05-28 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Add license info for newlib/libc/sys/linux/stdlib. - -2003-05-21 DJ Delorie <dj@redhat.com> - - * Makefile.tpl (configure-target-libiberty): Depend only on gcc, not - newlib or libgloss. - * Makefile.in: Regenerate. - -2003-05-21 DJ Delorie <dj@redhat.com> - - * Makefile.tpl: Add missing empty maybe-check-gcc target. - * Makefile.in: Regenerate. - -2003-05-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * configure.in: Use curly braces in the definition of tooldir. - * configure: Regenerate. - -2003-05-19 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure.in: Switch more things to use maybe dependencies. - * Makefile.tpl: Switch more things to use maybe dependencies. - Factor out common code from autogen IF statements. - * configure: Regenerate. - * Makefile.in: Regenerate. - -2003-05-14 Kelley Cook <kelleycook@wideopenwest.com> - - * configure.in: Accept i[3456789]86 for machine type. - * configure: Regenerate. - -2003-05-18 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure.in: Switch more things to use maybe dependencies. - Rearrange a little. Use GCC_TOPLEV_SUBDIRS. - * configure: Regenerate. - * Makefile.tpl: Switch more things to use maybe dependencies. - * Makefile.in: Regenerate. - -2003-05-16 Andreas Schwab <schwab@suse.de> - - * Makefile.tpl (install-opcodes): Define. - * Makefile.in: Rebuild. - -2003-05-13 Andreas Jaeger <aj@suse.de> - - * config.guess: Update to 2003-05-09 version. - * config.sub: Update to 2003-05-09 version. - -2003-05-13 Michael Eager <eager@mvista.com> - - * configure.in: Correct sed script so that options in quotes are not - deleted. - * configure: Rebuild. - -2003-05-12 Corinna Vinschen <corinna@vinschen.de> - - * configure.in (FLAGS_FOR_TARGET): Remove $$s/newlib/libc/sys/cygwin - and $$s/newlib/libc/sys/cygwin32 include paths. - * configure: Ditto. - -2003-05-05 H.J. Lu <hjl@gnu.org> - - * config-ml.in: Restored from gcc repository. - -2003-05-02 Chris Demetriou <cgd@broadcom.com> - - * Makefile.tpl: Require "makeinfo" from texinfo 4.2 or later. - * Makefile.in: Regenerate. - -2003-04-27 Daniel Jacobowitz <drow@mvista.com> - - * src-release (DEVO_SUPPORT): Add src-release, Makefile.tpl, - and Makefile.def. - -2003-04-27 Daniel Jacobowitz <drow@mvista.com> - - * Makefile.tpl: Clean $(BUILD_SUBDIR). - * Makefile.in: Regenerated. - -2003-04-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> - - * Makefile.tpl (MAKEINFOFLAGS): Default to --split-size=5000000. - * Makefile.in: Regenerate. - -2003-04-18 Jakub Jelinek <jakub@redhat.com> - - * configure.in (powerpc64*-*-linux*): Remove. - * configure: Rebuilt. - -2003-04-17 Phil Edwards <pme@gcc.gnu.org> - - * Makefile.tpl (GCC_STRAP_TARGETS): New variable containing all the - previous bootstrap targets, plus bubblestrap, quickstrap, cleanstrap, - and restrap. - * Makefile.in: Regenerate. - -2003-04-16 Richard Earnshaw <rearnsha@arm.com> - - * configure.in (arm-*-netbsdelf*): Enable building java libraries. - * configure: Regenerated. - -2003-04-11 Alexandre Oliva <aoliva@redhat.com> - - * libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on mips*. - * */configure: Rebuilt. - -2003-03-14 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES back down. - * Makefile.in: Regenerate. - -2003-03-14 Michael Chastain <mec@shout.net> - - * Makefile.in: Regenerate with correct Makefile.def. - -2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up. Delete unused - Make macro. - * Makefile.in: Regenerate. - * configure.in: Clean up gxx_include_dir logic. - * configure: Regenerate. - -2003-03-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - - * configure.in (gxx_include_dir): Fix typo. - * configure: Regenerated. - -2003-03-06 Andrew Cagney <cagney@redhat.com> - - * texinfo/texinfo.tex: Import version 2003-02-03.16. - -2003-03-04 Daniel Jacobowitz <drow@mvista.com> - - * configure.in: Include $(build_tooldir)/sys-include in - FLAGS_FOR_TARGET. - * configure: Regenerated. - -2003-03-04 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Reindent. - * Makefile.in: Regenerate. - * configure.in: Reindent. Don't set unused variables. - * configure: Regenerate. - - * Makefile.tpl: Always pass down RANLIB. - * Makefile.in: Regenerate. - - * Makefile.tpl: Don't set unused enable_shared, enable_threads macros. - * Makefile.in: Regenerate. - * configure.in: Remove unused logic relating to --enable-shared - and --enable-threads. Remove bogus comments. Remove redundant - noconfigdirs. - * configure: Regenerate. - - * configure.in: Replace ${libstdcxx_version} by its value. - Remove reference to mh-dgux. - * configure: Regenerate. - -2003-02-28 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Rearrange. - * Makefile.in: Regenerate. - -2003-02-25 Nick Clifton <nickc@redhat.com> - - * configure: Remove site-file supprot - it is obsolete. - -2003-02-24 Uwe Stieber <uwe@wwws.de> - - * configure.in: Add support for kaOS as cross build target system. - * configure: Regenerated. - -2003-02-20 Sean McNeil <sean@blue.mcneil.com> - - * Makefile.tpl: Add definition of CPPFLAGS to pass into - configure-target-* as some target builds may require additional - flags for preprocessor tests. - * Makefile.in: Regenerated. - -2003-02-19 Alexandre Oliva <aoliva@redhat.com> - - * libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld. - * ltconfig: Handle it. - * ltcf-cxx.sh: Use with_gnu_ld passed as a shell variable instead of - auto-detecting it. - -2003-02-19 Alexandre Oliva <aoliva@redhat.com> - - * ltcf-cxx.sh: Replace $linker_flags with $compiler_flags wherever - it is used as argument to $CC. - * ltcf-gcj.sh: Likewise. - -2003-02-19 Alexandre Oliva <aoliva@redhat.com> - - * configure.in: Introduce --enable-maintainer-mode. - * configure: Rebuilt. - * Makefile.tpl (Makefile.in, configure): Enable dependencies only - for maintainer mode. - * Makefile.in: Rebuilt. - -2003-02-19 Andrew Cagney <ac131313@redhat.com> - - * configure: Regenerate using autoconf 2.13. - -2003-02-19 Alan Modra <amodra@bigpond.net.au> - - * config.guess: Import latest version. - * config.sub: Import latest version. - -2003-02-18 Jason Merrill <jason@redhat.com> - - * Makefile.tpl (check-c++): Allow parallelism. - -2003-02-17 Andrew Cagney <ac131313@redhat.com> - - * configure: Regenerate using autoconf 000227. - -2003-02-15 Geoffrey Keating <geoffk@apple.com> - - * configure.in (*-*-darwin*): Rename from powerpc*-*-darwin*, - don't configure target-libobjc. - * configure: Regenerate. - -2003-02-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> - - * Makefile.tpl (RANLIB): Define. - * Makefile.in: Regenerate. - -2003-02-06 Keith R Seitz <keiths@redhat.com> - - * Makefile.def: Remove "snavigator", "grep", and "db" modules. - * Makefile.tpl: Remove "all-snavigator" and "all-grep". - * Makefile.in: Regenerated. - * configure.in: Remove all traces of snavigator, db, and grep. - * configure: Regenerated. - -2003-01-31 Frank Ch. Eigler <fche@redhat.com> - - * Makefile.tpl (all-sid): Add libiberty/bfd/opcodes dependencies. - * Makefile.in: Regenerated. - -2003-01-30 Alexandre Oliva <aoliva@redhat.com> - - * config.if: Copy from GCC. - -2003-01-27 Phil Edwards <pme@gcc.gnu.org> - - * configure.in: Revert 24Jan change. - * configure: Regenerate. - -2003-01-23 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure.in: Revert previous change. - * configure: Regenerate. - -2003-01-23 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure.in: Make rda native-only. - * configure: Regenerate. - -2003-01-19 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure.in: Add missing \. - * configure: Rebuilt. - -2003-01-17 Jakub Jelinek <jakub@redhat.com> - - * configure.in (baseargs): Avoid using \| in sed regular - expressions. - * configure: Rebuilt. - -2003-01-16 Jakub Jelinek <jakub@redhat.com> - - * configure.in (baseargs): Remove all supported forms of - --cache-file, --srcdir, --host, --build and --target options - from argument lists. - * configure: Rebuilt. - -2003-01-15 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (noconfigdirs): Don't skip gas on IRIX 6. - * configure: Rebuilt. - -2003-01-09 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS. - * Makefile.tpl: Pass TOPLEVEL_CONFIGURE_ARGUMENTS to gcc. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de> - - * Makefile.tpl (BASE_FLAGS_TO_PASS): Also pass DESTDIR. - (install-info, dir.info): Prepend $(DESTDIR) to $(infodir). - * Makefile.in: Regenerate. - -2003-01-09 Alexandre Oliva <aoliva@redhat.com> - - * configure.in: Remove Makefile in build, host and target modules - unless configure was run with --no-recursion. - * configure: Rebuilt. - -2003-01-08 Chris Demetriou <cgd@broadcom.com> - - * config.guess: Update to 2003-01-03 version. - * config.sub: Update to 2003-01-03 version. - -2003-01-07 Christopher Faylor <cgf@redhat.com> - - * configure: Regenerate with proper autoconf 2.13. - -2003-01-07 Christopher Faylor <cgf@redhat.com> - - * configure.in: Add AC_PREREQ for consistency. - * configure: Regenerate. - -2003-01-06 Andrew Cagney <ac131313@redhat.com> - - * configure.in (GDB_TK): Add tcl directories conditional on - gdb/gdbtk directory being present. - * configure: Regenerate. - -2003-01-04 John David Anglin <dave.anglin@nrc.ca> - - * configure.in (LD): Improve test for gcc. Try to set LD to the ld used - by gcc if LD is not defined and we are not doing a Canadian Cross. - * configure: Rebuilt. - -2003-01-01 Daniel Jacobowitz <drow@mvista.com> - - * src-release (ETC_SUPPORT): Add fdl.texi and texi2pod.pl. - -2002-12-31 Tom Tromey <tromey@redhat.com> - - * Makefile.in: Rebuilt. - * Makefile.def (target_modules) [libffi]: Allow installation. - -2002-12-31 Andreas Schwab <schwab@suse.de> - - * configure.in: Fix use of $program_transform_name. - * configure: Regenerated. - -2002-12-30 Daniel Jacobowitz <drow@mvista.com> - - * configure.in (baseargs): Don't remove first configure argument. - * configure: Regenerated. - -2002-12-29 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.tpl (local-distclean): Don't remove... - (multilib.ts): ... this. Moved into... - (multilib.out): ... this. Don't use sub-make. - ($(BUILD_SUBDIR)/[+module+]/Makefile, [+module+]/Makefile, - $(TARGET_SUBDIR)/[+module+]/Makefile, gcc/Makefile): Moved into... - (configure-build-[+module+], configure-[+module+], - configure-target-[+module+], configure-gcc): ... these. Test - for Makefile existence. Drop config.status from dependencies. - * Makefile.in: Rebuilt. - * configure.in: Move gcc-version-trigger to the end of - ac_configure_args. Add comments to maybedep.tmp and - serdep.tmp. Introduce --disable-serial-configure. Remove - nonopt from baseargs, matching and removing corresponding - whitespace while at it. - * configure: Rebuilt. - -2002-12-28 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (host_configargs): Replace reference to - no-longer-defined buildopts with --build=${build_alias}. - * configure: Rebuilt. - -2002-12-28 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.tpl ($(NOTPARALLEL)): Move to the end. Bring uses of - program_transform_name to standard idiom. - (AUTOGEN, AUTOCONF): Define. - (Makefile.in): Use $(AUTOGEN). - (Makefile): Depend on config.status, and use autoconf-style rule to - build it. Move original commands to... - (config.status): ... this new target. - (configure): Add $(srcdir). Depend on config/acx.m4. Use - $(AUTOCONF). - * Makefile.in: Rebuilt. - -2002-12-28 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Fix dramatic bustage due to change in - program_transform_name. - * Makefile.in: Regenerate. - - * configure.in: Remove unnecessary PATH setting. - * configure: Regnerate. - - * configure.in: Don't default to unprefixed tools unless - the native tools will work. - * configure: Regenerate. - - * configure.in: Convert to autoconf script. Blow away lots - of now-redundant Makefile fragments. - * configure: Generate using Autoconf. - * Makefile.tpl: Rewrite to reflect autoconfiscation. - * Makefile.in: Regenerate. - -2002-12-27 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure: Remove unneeded 'export's. Make CC_FOR_TARGET, - CXX_FOR_TARGET, GCJ_FOR_TARGET substituted in configure.in only. - - * ChangeLog: Move a couple of entries from here to winsup/cygwin, - where they belong. - -2002-12-24 Andreas Schwab <schwab@suse.de> - - * Makefile.tpl (multilib.out): Fix missing space. - * Makefile.in: Regenerate. - -2002-12-23 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Use shared multilib.out. Use move-if-change for it. - Convert (cd foo; make) to (cd foo && make). Clean up multilib.out. - * Makefile.in: Regenerate. - * configure.in: Remove unnecessary leftovers. - -2002-12-21 Geoffrey Keating <geoffk@apple.com> - - * configure.in (extra_ranlibflags_for_target): New variable. - (*-*-darwin): Add -c to ranlib commands. - * configure (tooldir): Handle extra_ranlibflags_for_target. - -2002-12-20 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Updated. - * COPYING.LIBGLOSS: Ditto. - -2002-12-19 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Revert HJL's change. - * Makefile.in: Regenerated. - * configure.in: Put build_prefix before $(BUILD_SUBDIR) here, and - always. - -2002-12-19 Andreas Schwab <schwab@suse.de> - - * Makefile.tpl, configure.in: Substitute libstdcxx_incdir. - * Makefile.in: Regenerate. - -2002-12-18 H.J. Lu <hjl@gnu.org> - - * Makefile.tpl: Add @build_prefix@ before $(BUILD_SUBDIR). - * Makefile.in: Regenerated. - - * configure.in (build_prefix): New. Substitute. - -2002-12-18 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Don't let real targets depend on phony targets. - * Makefile.in: Regenerate. - - * Makefile.tpl (do-info): Depend on maybe-all-texinfo, not all-texinfo. - * Makefile.in: Regenerate. - -2002-12-16 Jason Merrill <jason@redhat.com> - - * Makefile.tpl (all-gcc): Use 'make quickstrap' if there was a - previous 'make bootstrap'. - * Makefile.in: Regenerate. - -2002-12-17 Hans-Peter Nilsson <hp@bitrange.com> - - * configure.in (noconfigdirs) [mmix-*-*]: Disable libgloss and gdb. - -2002-12-13 Jason Merrill <jason@redhat.com> - - * Makefile.tpl (check-gcc-c++): Renamed from check-c++. Don't run - library tests. - (check-c++): Just depend on it and check-target-libstdc++-v3. - * Makefile.in: Regenerate. - -2002-12-13 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure.in, Makefile.tpl, Makefile.def: Remove tclX. - * Makefile.in: Regenerate. - -2002-12-12 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Update list of alternate Regent of California - licenses and discuss official revoking of advertising clause. - * COPYING.LIBGLOSS: Ditto. - -2002-12-12 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.tpl (configure-target-rda): Depend on $(ALL_GCC_C). - * Makefile.in: Rebuilt. - -2002-12-10 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure: Fix bug put in by gremlins. - - * Makefile.tpl: Substitute more autoconfily. - * configure: Substitute more autoconfily. - * Makefile.in: Regenerate. - -2002-12-08 Andrew Cagney <ac131313@redhat.com> - - * Makefile.tpl (all-sim): Depend on maybe-configure-gdb. - * Makefile.in (all-sim): Ditto. - -2002-12-06 DJ Delorie <dj@redhat.com> - - * Makefile.tpl: Change configure dependencies to not have real - targets depend on phony targets. - -2002-12-05 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure.in: Revert unintentional change. - - * src-release: Configure host subdirs. - - * Makefile.tpl: Change dependency for */multilib.out so that - it works when gcc isn't in the tree. - - * configure.in: Substitute more. - * configure: Run subconfigures from the Makefile. - * Makefile.tpl: Run subconfigures from the Makefile; add a few - convenience targets. Make sure gcc isn't rebuilt after bootstrap. - -2002-12-03 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Add targets for configuring host subdirs in Makefile, - and corresponding dependencies. - * Makefile.in: Regenerate. - - * configure.in (host_tools): Order binutils, gas and ld for - convenience in running the testsuites. - - * Makefile.tpl: Introduce rules to serialize subconfigure runs. - * Makefile.in: Regenerate. - * configure.in: Introduce rules to serialize subconfigure runs. - - * configure.in: Introduce BASE_CC_FOR_TARGET. - * Makefile.tpl: Reorganize and comment. Introduce HOST_CONFIGARGS. - Realize configure-build-* targets. Realize configure-target-* targets. - * Makefile.in: Regenerate. - -2002-12-02 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure: Move gcc_version_trigger stuff from here... - * configure.in: ...to here. - - * configure.in: Separate subconfigure options added by this file from - options given by the user. Add machinery to put args for host - subconfigures into the Makefile. - - * Makefile.tpl: Remove 'vault' targets. - * Makefile.tpl: Reorder and comment dependencies. - * Makefile.in: Regenerate. - -2002-11-28 Geoffrey Keating <geoffk@apple.com> - - * configure.in: Move host-specific darwin noconfigdirs into - the host-specific section. - -2002-12-02 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Restore bkorb's style patch, accidentally lost - during replay. - * Makefile.in: Regenerate. - - (finishing slow-motion replay) - * configure: Remove skip-this-dir support. - * Makefile.tpl: Remove skip-this-dir support. - - * Makefile.tpl: Remove leftover support for non-autoconfiscated - subdirectories. - * Makefile.in: Regenerate. - - * Makefile.tpl: Strip out useless setting of 'dir'. - * Makefile.in: Regenerate. - -2002-12-02 Nathanael Nerode <neroden@gcc.gnu.org> - - (finishing slow-motion replay) - * configure.in: Fix deeply stupid bug. - - * configure.in: Introduce RAW_CXX_FOR_TARGET and simplify embedded - shell code in CXX_FOR_TARGET - * Makefile.def: Introduce raw_cxx. - * Makefile.tpl: Use raw_cxx to select between CXX_FOR_TARGET and - RAW_CXX_FOR_TARGET. - * Makefile.in: Regenerate. - -2002-12-02 Nathanael Nerode <neroden@gcc.gnu.org> - - (finishing slow-motion replay) - * Makefile.tpl: Remove unnecessary ifs. - * Makefile.in: Regenerate. - - * Makefile.tpl: Implement soft dependency machinery. Maybe-ize - dependencies. Maybe-ize build-libiberty. Create dummy install - targets for 'no_install' modules. - * configure: Move GDB_TK substitution to configure.in. Move - build_modules stuff to configure.in. - * configure.in: Implement soft dependency machinery. Maybe-ize - GDB_TK, rearrange slightly. Move build_modules stuff from configure. - * Makefile.in: Regenerate. - -2002-12-01 Nathanael Nerode <neroden@gcc.gnu.org> - - (continuing slow-motion replay) - * Makefile.tpl: Make all-target, install-target behave similarly - to all, install (only hitting configured targets). Eliminate - unused macro defintions. - - * Makefile.tpl: Add all-gcc: all-build-libiberty dependency when - build != host. - - * Makefile.tpl: Add all-gcc: all-libiberty dependency. - - * ltcf-c.sh, ltcf-gcj.sh, Makefile.tpl: Correct BUILD/HOST confusion. - - * configure.in: Produce lists of subdir targets we're actually - configuring. Remove references to "dosrel". - * Makefile.tpl: Let configure set which subdir targets are hit. - Remove install-cross; clean up install; remove ALL. Remove - references to "dosrel". Remove "EXTRA_TARGET_HOST" hackery. - Autogenerate host module targets. Remove empty dependency lines - and redundant dependency; rearrange slightly. - * Makefile.def: Add host-side libtermcap, utils. - - * Makefile.in: Regenerate. - -2002-12-01 Nathanael Nerode <neroden@gcc.gnu.org> - - (Continuing slow-motion replay) - * Makefile.def: Add list of recursive targets to autogenerate. - Add build_modules. - * Makefile.tpl: Autogenerate do-* targets. Autogenerate *-target-* - targets. Autogenerate *-build-* targets. - * Makefile.in: Regenerate. - -2002-11-30 Nathanael Nerode <neroden@gcc.gnu.org> - - (Continuing slow-motion replay) - * configure: More autoconf-style substitutions. - * Makefile.tpl: More autoconf-style substitutions. - * Makefile.in: Regenerate. - -2002-11-30 Nathanael Nerode <neroden@gcc.gnu.org> - - (Continuing slow-motion replay) - * configure: Substitute more variables in a more autoconf-friendly - way. Simplify slightly. - * Makefile.tpl: Make more variables substitutable in an - autoconf-friendly way. - * Makefile.in: Regenerate. - -2002-11-29 Nathanael Nerode <neroden@gcc.gnu.org> - - (Continuing slow-motion replay) - * configure.in (v810*): Remove special setting of tools. - - * configure: Add support for extra required flags for ar or nm. - * configure.in (aix4.3+): Use above support for target-specific - issues, rather than using config/mt-aix43. - -2002-11-29 Nathanael Nerode <neroden@gcc.gnu.org> - - (Starting slow-motion replay merge from gcc 3.4 b-i-b branch) - * configure: Remove 'removing', which doesn't work. Replace $subdir - with . everywhere. Replace $subdirs with ''. Replace $makesrcdir - with $srcdir. Reformat indentation. Substitute some variables - formerly hard-coded in the Makefile for build=host. - * Makefile.tpl: Autogenerate more; make more autoconf-friendly. - * Makefile.def: Autogenerate more. - * Makefile.in: Regenerate. - -2002-11-13 Bruce Korb <bkorb@gnu.org> - - * Makefile.tpl: syntactic cleanup - -2002-11-04 Kevin Buettner <kevinb@redhat.com> - - * Makefile.def (host_modules): Add rda. - * Makefile.in: Regenerate. - * configure.in (target_tool): Add target-rda to list. - -2002-10-25 Phil Edwards <pme@gcc.gnu.org> - - * Makefile.tpl (bootstrap): Add bubblestrap, quickstrap, cleanstrap, - and restrap targets to this rule. - * Makefile.in: Regenerate. - -2002-10-24 Hans-Peter Nilsson <hp@bitrange.com> - - * configure.in (i[3456]86-*-linux*): Add check to disable - ${libgcj} for glibc1. - -2002-10-07 Svein E. Seldal <Svein.Seldal@solidas.com> - - * configure.in: Add tic4x target. - -2002-10-03 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Make SET_LIB_PATH substitution more autoconfy. - * Makefile.tpl: Make RPATH_ENVVAR substitution more autoconfy. - * configure.in: Make SET_LIB_PATH substitution more autoconfy. - * configure.in: Make RPATH_ENVVAR substitution more autoconfy. - * Makefile.in: Regenerate. - -2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Eliminate reference to all-gui, all-libproc. - * Makefile.in: Regenerate. - - * Makefile.def: Remove order dependency comments. - * Makefile.tpl: Add explicit install-install dependencies. - * Makefile.in: Regenerate. - - * Makefile.tpl: Remove material now in src-release. (Finally!) - * Makefile.in: Regenerate. - - * configure: Restore my original patch by syncing with gcc version. - - * Bring following over from gcc: - -2002-09-30 Ulrich Weigand <uweigand@de.ibm.com> - - * configure.in (s390*-*-linux*): Enable libgcj. - -2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.in: Regenerate. This really ought to fix things. :sigh: - -2002-10-02 Alan Modra <amodra@bigpond.net.au> - - * configure: Move stray lines back to where they belong. - -2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Insert configure-target target, for src-release. - - * configure: Finish reverting change which Andrew Cagney started - reverting. Should fix bustage. - - * src-release (BINUTILS_SUPPORT_DIRS): Add cpu directory. - * src-release: New file. Contains material for making net - releases for gdb, binutils, et al., formerly in Makefile.in. - -2002-09-30 Nick Clifton <nickc@redhat.com> - - * cpu: New top level directory. Intended to hold input files for - CGEN which have FSF copyright assignment. - * Makefile.in (BINUTILS_SUPPORT_DIRS): Add cpu directory. - -2002-09-29 Andrew Cagney <ac131313@redhat.com> - - Revert below (note that src does not contain Makefile.tpl): - * Makefile.tpl: Make subsituted variables more autoconfy. - * Makefile.in: Regenerate. - -2002-09-29 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure: Revert accidentally applied changes. - - * Makefile.tpl: Make more autoconf-friendly. - * Makefile.in: Regenerate. - * configure: Make substitution more autoconf-like. - -2002-09-28 Richard Earnshaw <rearnsha@arm.com> - - * configure.in (arm-*-coff, strongarm-*-coff, xscale-*-coff): Use a - single entry to handle all these. - (arm-*-elf, strongarm-*-elf, xscale-*-elf): Likewise. Also enable - libjava on arm-*-elf. - -2002-09-27 Geoffrey Keating <geoffk@apple.com> - - * configure.in (powerpc-*-darwin*): Don't configure BFD, TK, or the - things that depend on them. - -2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Make subsituted variables more autoconfy. - * Makefile.in: Regenerate. - * configure: Make seds more autoconfy. - -2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.tpl: Rewrite substituted lines to look autoconfy. - * Makefile.in: Regenerate. - * configure.in: Rewrite sed statements to look autoconfy. - - * Makefile.tpl: Autogenerate *-target-* lists, dependencies of - all-target-foo on configure-target-foo. - * Makefile.def: Ditto. - * Makefile.in: Rebuild. - -2002-09-22 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.def: New file. - * Makefile.tpl: New file. - * Makefile.in: Generate from Makefile.tpl with 'autogen Makefile.def'. - - * configure.in: Minor rearrangement. Simplify tests. - -2002-09-23 Jason Thorpe <thorpej@wasabisystems.com> - - * configure.in (with_headers): Skip copy if value is "yes". - (with_libs): Likewise. - -2002-09-20 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure.in (*-*-netbsd*): Use noconfigdirs, not skipdirs. - * configure.in (sh*-*-pe*): Ditto. - * configure.in (mips*-*-pe*): Ditto. - * configure.in (*arm-wince-pe): Ditto. - - * configure.in: Rearrange. - -2002-09-12 Nick Clifton <nickc@redhat.com> - - * Import these changes from the config master repository: - - 2002-09-05 Svein E. Seldal <Svein.Seldal@solidas.com> - - * config.sub: Add tic4x target. - - 2002-09-03 Ben Elliston <bje@redhat.com> - - * config.guess: Detect NSR-D machines for nsr-tandem-nsk. - Reported by <Duncan_Stodart@insession.com>. - -2002-09-10 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: More updates. - -2002-09-09 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Update. - -2002-08-23 Andrew Cagney <ac131313@redhat.com> - - * texinfo/texinfo.tex: Import version 2002-06-04.06. - - * config.guess: Import version 2002-08-23. - * config.sub: Import version 2002-08-22. - -2002-08-20 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER. - * configure.in (CC_FOR_TARGET, GCJ_FOR_TARGET, CXX_FOR_TARGET, - CXX_FOR_TARGET_FOR_RECURSIVE_MAKE): Likewise. - -2002-08-06 Federico G. Schwindt <fgsch@olimpo.com.br> - - * configure.in (hppa*-*-openbsd*): Treat like hppa*-*-*elf*. - -2002-08-04 H.J. Lu (hjl@gnu.org) - - * configure.in (mips*-*-linux*): Don't skip target-libffi. - -2002-07-31 Alan Modra <amodra@bigpond.net.au> - - * configure.in: Move generic linux case to end. Copy generic - linux noconfigdirs to mips*-*-linux* entry and new - powerpc64*-*-linux* entry. Add target-libffi for the latter. - -2002-07-19 Chris Demetriou <cgd@broadcom.com> - - * MAINTAINERS: Clarify on config.guess and config.sub, and add - one instance of them which was missed to the list to update. - -2002-07-16 Chris Demetriou <cgd@broadcom.com> - - * config.guess: Update to 2002-07-09 version. - * config.sub: Update to 2002-07-03 version. - -2002-07-11 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure.in: Remove two redundant tests. - -2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> - - * configure.in (mips*-*-irix6*o32): Enable stabs. - -2002-07-08 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure.in: Don't build grez. - * Makefile.in: Ditto. - - * Makefile.in: Remove references to bsp, cygmon, libstub. - * configure.in: Ditto. - - * configure.in: Remove leftover reference to gdbtest. - -2002-07-08 Phil Edwards <pme@gcc.gnu.org> - - * configure.in (gxx_include_dir): Change to match versioned - C++ headers if --enable-version-specific-runtime-libs is used. - -2002-07-04 Steve Ellcey <sje@cup.hp.com> - - * ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*. - -2002-07-03 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure.in: Make --without-x work. - -2002-07-03 Nick Clifton <nickc@cambridge.redhat.com> - - * contrib: New directory. Created to contain a copy of the - texi2pod.pl script so that it is in the same place as the version in - the FSF GCC sources. - -2002-07-02 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure.in: Rearrange target Makefile fragment collection. - - * Makefile.in: Don't try to build gdbtest, tgas, ispell, inet, or - cvs[src]. - * configure.in: Ditto. - -2002-07-01 Nathanael Nerode <neroden@gcc.gnu.org> - - * Makefile.in: Eliminate 'apache' targets. - * configure.in: Eliminate 'apache' targets. - - * configure.in: Eliminate redundant tests. Reorganize. - - * Makefile.in: Eliminate last reference to LIBGCC1_TEST. - - * config-ml.in: Eliminate references to Cygnus configure. - - * Makefile.in: Eliminate references to building emacs. - -2002-07-01 Denis Chertykov <denisc@overta.ru> - - * configure.in: Add support for ip2k. - -2002-06-24 Ben Elliston <bje@redhat.com> - - * configure.in (host_tools): Remove cgen. - - * Makefile.in (all-cgen): Remove; runs from its source directory. - (check-cgen, install-cgen, clean-cgen): Likewise. - (all-opcodes): No not depend on all-cgen. - (all-sim): Likewise. - -2002-06-22 Nathanael Nerode <neroden@twcny.rr.com> - - * configure.in: Fix AIX configury bug. - -2002-06-19 Nathanael Nerode <neroden@twcny.rr.com> - - * configure.in: Replace ${topsrcdir} with ${srcdir}. - - * configure.in: Move definition of libstdcxx_flags right above - usage, rather than way earlier. - - * configure.in: Pull definition of is_cross_compiler earlier. - - * configure.in: Rearrange a little. - - * configure.in: Remove references to librx. - * Makefile.in: Remove references to librx. - -2002-06-19 Nathanael Nerode <neroden@twcny.rr.com> - - * configure.in: Eliminate ${gasdir} variable. - -2002-06-18 Dave Brolley <brolley@redhat.com> - - * configure.in: Add support for frv. - * config.sub: Add support for frv. - -2002-06-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * Makefile.in (CFLAGS_FOR_TARGET): Add -O2. - -2002-06-08 Jason Thorpe <thorpej@wasabisystems.com> - - * configure.in (vax-*-netbsd*): Re-enable gas. - -2002-05-31 Nathanael Nerode <neroden@twcny.rr.com> - - * Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with BUILD_PREFIX, - BUILD_PREFIX_1, to correct nomenclature. - * configure: Likewise. - - * Makefile.in: Eliminate version-specific references to tcl8.1, tk8.1. - * configure.in: Eliminate version-specific references to tcl8.1, tk8.1. - -2002-05-31 Olaf Hering <olh@suse.de> - - * config-ml.in: Propogate DESTDIR also. - -2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> - - * configure.in (vax-*-netbsd*): Don't build gas for this - platform. - -2002-05-28 Marek Michalkiewicz <marekm@amelek.gda.pl> - - * configure.in (noconfigdirs): Don't compile libiberty, libstdcxx - and libgcj for AVR. - -2002-05-28 Nick Clifton <nickc@cambridge.redhat.com> - - * config.sub: Add DLX target. - -2002-05-22 Jason Thorpe <thorpej@wasabisystems.com> - - * config.guess: Update to 2002-05-22 version. - * config.sub: Likewise. - -2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> - - * Makefile.in: Allow for PWDCMD to override hardcoded pwd. - * config-ml.in: Likewise. - * configure: Likewise. - * configure.in: Likewise. - -2002-05-13 Nathanael Nerode <neroden@twcny.rr.com> - - * configure.in: Simplify makefile fragment collection. - - * configure.in: Remove code to build emacs. - - * configure.in : Remove --srcdir argument from targargs and buildargs - (it's always overridden in the Makefile anyway). Rearrange a bit. - - * configure: Move some logic to configure.in. - * configure.in: Move some logic from configure. - -2002-05-07 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.LIBGLOSS: New file. - -2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br> - - * Makefile.in: Honour DESTDIR. - -2002-05-05 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (noconfigdirs): Don't disable libgcj on - sparc64-*-solaris* and sparcv9-*-solaris*. - -2002-05-03 Alexandre Oliva <aoliva@redhat.com> - - * configure.in: Revert 2002-04-18's patch; fixed in libjava. - -2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com> - - * configure.in (FLAGS_FOR_TARGET): Do not add - -B$$r/$(TARGET_SUBDIR)/newlib/ when compiling newlib natively - on i[3456]86-*-linux*. - -2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com> - - * configure.in (noconfigdirs): Replace [ ] with test. - - * configure.in (noconfigdirs): Do not add target-newlib if - target == i[3456]86-*-linux*, and host == target. - -2002-04-29 Mark Mitchell <mark@codesourcery.com> - - * config.guess: Updated to 2002-04-26's version. - * config.sub: Updated to 2002-04-26's version. - -2002-04-29 Nathanael Nerode <neroden@doctormoo.dyndns.org> - - * configure.in: delete reference to absent file - - * configure.in: replace '[' with 'test' - - * configure.in: Eliminate references to gash. - * Makefile.in: Eliminate references to gash. - - * configure.in: remove useless references to 'pic' makefile fragments. - - * configure.in: (*-*-windows*) Finish removing. - - * configure.in: Eliminate redundant test for libgui. - -2002-04-26 Joel Sherrill <joel@OARcorp.com> - - * configure.in (h8300*-*-rtems*): Disable libf2c and libgcj. - (sparc-*-elf*, sparc64-*-elf*): Disable libgcj. - -2002-04-19 Nathanael Nerode <neroden@twcny.rr.com> - - * configure.in: remove references to dead files - -2002-04-18 Tom Tromey <tromey@redhat.com> - - * configure.in: Disallow configuring libgcj when it is already - installed and we're using Solaris 2.8 linker. Do enable libgcj on - Solaris 2.8 by default. For PR libgcj/6158. - -2002-04-17 Nathanael Nerode <neroden@twcny.rr.com> - - * configure.in: Move default CC setting out of config/mh-* fragments - directly into here. - -2002-04-17 Nathanael Nerode <neroden@twcny.rr.com> - - * configure.in: don't even try to configure or make a subdirectory - if there's no configure script for it. - -2002-04-15 Mark Mitchell <mark@codesourcery.com> - - * MAINTAINERS: Remove chill maintainers. - * Makefile.in (CHILLFLAGS): Remove. - (CHILL_LIB): Remove. - (TARGET_CONFIGDIRS): Remove libchill. - (CHILL_FOR_TARGET): Remove. - (BASE_FLAGS_TO_PASS): Don't pass CHILLFLAGS, CHILL_FOR_TARGET, or - CHILL_LIB. - (CONFIGURE_TARGET_MODULES): Remove configure-target-libchill. - (CHECK_TARGET_MODULES): Likewise. - (INSTALL_TARGET_MODULES): Likewise. - (CLEAN_TARGET_MODULES): Likewise. - (configure-target-libchill): Remove. - (all-target-libchill): Remove. - * configure.in (target_libs): Remove target-libchill. - Do not compute CHILL_FOR_TARGET. - * libchill: Remove directory. - -2002-04-15 DJ Delorie <dj@redhat.com> - - * Makefile.in, configure.in, configure: Sync with gcc, entries - follow... - -2002-04-08 Tom Tromey <tromey@redhat.com> - - * configure.in: Add FLAGS_FOR_TARGET to GCJ_FOR_TARGET. - Fixes PR libgcj/6068. - -2002-03-30 Krister Walfridsson <cato@df.lth.se> - - * configure.in (i*86-*-netbsdelf*): Don't disable libgcj. - -2002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> - - * configure.in (alpha*-dec-osf*): Enable libgcj. - -2002-03-24 Nick Clifton <nickc@cambridge.redhat.com> - - Fix for: PR bootstrap/3591, target/5676 - * configure.in (mcore-pe): Disable the configuration of - libstdc++-v3 since exceptions are not supported. - -2002-03-20 Anthony Green <green@redhat.com> - - * configure.in: Enable libgcj for xscale-elf target. - -2002-02-28 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for - libjava. - (CXX_FOR_TARGET): Explain why -shared-libgcc here. - -2002-02-22 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (CXX_FOR_TARGET): Add -shared-libgcc for - libstdc++-v3 and libjava. - -2002-02-11 Adam Megacz <adam@xwt.org> - - * gcc/Makefile.in: Removed libstdc++-v3 dependancy for libjava and - boehm-gc - -2002-02-09 Alexandre Oliva <aoliva@redhat.com> - - * config.guess: Updated to 2002-01-30's version. - * config.sub: Updated to 2002-02-01's version. - Contribute sh64-elf. - 2000-12-01 Alexandre Oliva <aoliva@redhat.com> - * configure.in: Added sh64-*-*. - -2002-01-17 H.J. Lu <hjl@gnu.org> - - * Makefile.in (all-fastjar): Also depend on all-libiberty. - (all-target-fastjar): Also depend on all-target-libiberty. - -Wed Dec 5 07:33:45 2001 Douglas B. Rupp <rupp@gnat.com> - - * configure, configure.in: Use temp file for long sed commands. - -2001-11-14 Hans-Peter Nilsson <hp@bitrange.com> - - * configure.in (noconfigdirs) [h8300*-*-*, h8500-*-*]: Disable - libf2c. - -2001-11-03 Hans-Peter Nilsson <hp@bitrange.com> - - * configure.in (noconfigdirs) [mmix-*-*]: Disable libgcj. - -2001-10-11 Hans-Peter Nilsson <hp@axis.com> - - * configure.in (noconfigdirs) [cris-*-*]: Disable libgcj. - -2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk> - - * configure: Handle temporary files securely using mkdir. - -2001-09-26 Will Cohen <wcohen@redhat.com> - - * configure.in (*-*-linux*): Disable configuration of target-newlib - and target-libgloss. - -2001-09-26 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.in (EXTRA_TARGET_FLAGS): Pass RANLIB_FOR_TARGET for - RANLIB. - -2001-08-11 Graham Stott <grahams@redhat.com> - - * Makefile.in (check-c++): Add missing semicolon. - -2001-07-25 Andrew Haley <aph@cambridge.redhat.com> - - * configure.in (sh-*-linux*): New. - -2001-07-12 Stephane Carrez <Stephane.Carrez@worldnet.fr> - - * configure.in (noconfigdirs): Don't compile libiberty, libstdcxx - and libgcj on m68hc11/m68hc12. - -2001-06-27 H.J. Lu (hjl@gnu.org) - - * Makefile (CFLAGS_FOR_BUILD): New. - (EXTRA_GCC_FLAGS): Add CFLAGS_FOR_BUILD. - -2001-06-01 Hans-Peter Nilsson <hp@axis.com> - - * configure.in (libstdcxx_flags): Do not try to execute - libstdc++-v3/testsuite_flags until it exists. - -2001-05-18 Benjamin Kosnik <bkoz@redhat.com> - - * configure.in (libstdcxx_flags): Remove reference to libstdc++.INC. - -2001-05-09 Jeffrey Oldham <oldham@codesourcery.com> - - * ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds. - -Mon Apr 23 09:15:03 2001 Anthony Green <green@redhat.com> - - * configure.in: Move *-chorusos target case to the proper switch. - Disable libgcj. - -2001-04-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - - * Makefile.in (STAGE1_CFLAGS): Pass down. - -2001-04-13 Alan Modra <amodra@one.net.au> - - * config.guess: Add hppa64-linux support. Note for next import that - this is already in the master file. - * configure.in: Likewise. Accept `parisc' alias for `hppa'. - -2001-03-22 Colin Howell <chowell@redhat.com> - - * Makefile.in (DO_X): Do not backslash single-quotes in - backquotes (two places). - -2001-03-18 Laurynas Biveinis <lauras@softhome.net> - - * Makefile.in (DO_X): Quote nested quotes. - -2001-03-15 Laurynas Biveinis <lauras@softhome.net> - - * Makefile.in (DO_X): Use double quotes for quoting - "RANLIB=$${RANLIB}". - -2001-03-09 Nicola Pero <n.pero@mi.flashnet.it> - - * configure.in: Only use `lang_requires' for languages athat are - actually enabled. - -2001-03-07 Tom Tromey <tromey@redhat.com> - - * configure.in: Allow config-lang.in to set `lang_requires' to list - of other required languages. - -2001-03-06 Laurynas Biveinis <lauras@softhome.net> - - * Makefile.in: Remove RANLIB definition. Use RANLIB - in RANLIB_FOR_TARGET, EXTRA_HOST_FLAGS, EXTRA_TARGET_FLAGS, - EXTRA_GCC_FLAGS, $(DO_X) targets only when the RANLIB is set. - -2001-02-28 Benjamin Kosnik <bkoz@redhat.com> - Alexandre Oliva <aoliva@redhat.com> - - * Makefile.in (check-c++): Use tabs, not spaces. - -2001-02-19 Benjamin Kosnik <bkoz@redhat.com> - - * Makefile.in (check-c++): New rule. - - * configure.in (target_libs): Remove libg++. - (noconfigdirs): Remove libg++. - (noconfigdirs): Same. - (noconfigdirs): Same. - (noconfigdirs): Same. - - * config-ml.in: Remove libg++ references. - - * Makefile.in (TARGET_CONFIGDIRS): Remove libio, libstdc++, libg++. - (ALL_TARGET_MODULES): Same. - (configure-target-libg++): Remove. - (all-target-libg++): Remove. - (configure-target-libio): Remove. - (all-target-libio): Remove. - (check-target-libio): Remove. - (.PHONY): Remove. - (libg++.tar.bz2): Remove. - (all-target-cygmon): Remove libio. - (all-target-libstdc++): Remove. - (configure-target-libstdc++): Remove. - (TARGET_LIB_PATH): Remove libstdc++. - (ALL_GCC_CXX): Remove libstdc++. - (all-target-gperf): Correct. - -2001-02-15 Anthony Green <green@redhat.com> - - * configure: Introduce GCJ_FOR_TARGET. - * configure.in: Ditto. - * Makefile.in: Ditto. - -2001-02-08 Chandrakala Chavva <cchavva@redhat.com> - - * configure.in: for *-chorusos, don't config target-newlib and - target-libgloss. - -2001-02-04 Mark Mitchell <mark@codesourcery.com> - - Remove V2 C++ library. - * configure.in: Remove --enable-libstdcxx_v3 support. - -2001-01-27 Richard Henderson <rth@redhat.com> - - * configure.in (target_makefile_frag) [alpha*-*]: Use mt-alphaieee. - -2001-01-26 Tom Tromey <tromey@redhat.com> - - * configure.in: Allow libgcj to be built on Sparc Solaris. - -2001-01-23 Bryce McKinlay <bryce@albatross.co.nz> - - * configure.in: Enable libgcj on several additional platforms. - -2001-01-22 Bryce McKinlay <bryce@albatross.co.nz> - - * configure.in: Enable libgcj for linux targets. - -2001-01-09 Mike Stump <mrs@wrs.com> - - * Makefile.in (CONFIGURE_TARGET_MODULES): Pass back configuration - failures of subdirectories. - -2001-01-02 Laurynas Biveinis <lauras@softhome.net> - - * configure: handle DOS-style absolute paths. - -2001-01-02 Laurynas Biveinis <lauras@softhome.net> - - * configure.in: remove supported directories from $noconfigdirs for DJGPP. - -2000-12-18 Benjamin Kosnik <bkoz@redhat.com> - - * Makefile.in (BASE_FLAGS_TO_PASS): Alphabetize. - (libstdcxx_incdir): Pass down. - * config.if: Remove expired bits for cxx_interface, add stub. - (libstdcxx_incdir): Add variable for g++ include directory. - * configure.in (gxx_include_dir): Use it. - -2000-12-15 Andreas Jaeger <aj@suse.de> - - * configure.in: Handle lang_dirs. - -2000-12-13 Anthony Green <green@redhat.com> - - * configure.in: Disable libgcj for any target not specifically - listed. Disable libgcj for x86 and Alpha Linux until compatible - with g++ abi. - -2000-12-13 Mike Stump <mrs@wrs.com> - - * Makefile.in (local-distclean): Also remove fastjar. - -2000-12-10 Anthony Green <green@redhat.com> - - * configure.in: Define libgcj. Disable libgcj target libraries for - most targets. - -2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com> - - * configure.in (target_libs): Revert 2000-12-08 patch. - (noconfigdirs): Added target-libjava. - -2000-12-09 Laurynas Biveinis <lauras@softhome.net> - - * Makefile.in: handle DOS-style absolute paths. - -2000-12-08 Alexandre Petit-Bianco <apbianco@cygnus.com> - - * Makefile.in (TARGET_CONFIGDIRS): Wrong place. Removed note about - libjava. - * configure.in (target_libs): Removed `target-libjava'. - -2000-12-08 Alexandre Petit-Bianco <apbianco@cygnus.com> - - * Makefile.in (TARGET_CONFIGDIRS): Added note about libjava. - (ALL_MODULES): Added fastjar. - (NATIVE_CHECK_MODULES, INSTALL_MODULES, CLEAN_MODULES): Likewise. - (all-target-libjava): all-fastjar replaces all-zip. - (all-fastjar): Added. - (configure-target-fastjar, all-target-fastjar): Likewise. - * configure.in (host_tools): Added fastjar. - -2000-12-07 Mike Stump <mrs@wrs.com> - - * Makefile.in (local-distclean): Remove leftover built files. - -2000-11-16 Fred Fish <fnf@be.com> - - * configure.in (enable_libstdcxx_v3): Fix typo, - libstd++ -> libstdc++. - -2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> - - * configure: Provide the original toplevel configure arguments - (including $0) to subprocesses in the environment rather than - through gcc/configargs.h. - -2000-11-12 Mark Mitchell <mark@codesourcery.com> - - * configure: Turn on libstdc++ V3 by default. - -2000-10-16 Michael Meissner <meissner@redhat.com> - - * configure (gcc/configargs.h): Only create if there is a build GCC - directory created. - -2000-10-05 Phil Edwards <pme@gcc.gnu.org> - - * configure: Save configure arguments to gcc/configargs.h. - -2000-10-04 Andris Pavenis <pavenis@latnet.lv> - - * Makefile.in (bootstrap): avoid recursion if subdir missing - (cross): ditto - (do-proto-toplev): ditto - -Wed Sep 13 11:11:29 2000 Jeffrey A Law (law@cygnus.com) - - * configure.in: Do not build byacc for hppa64. Provide paths to the - X11 libraries for hppa64. - -2000-09-02 Anthony Green <green@cygnus.com> - - * Makefile.in (all-gcc): Depend on all-zlib. - (CLEAN_MODULES): Add clean-zlib. - (ALL_MODULES): Add all-zlib. - * configure.in (host_libs): Add zlib. - -2000-08-25 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (FLAGS_FOR_TARGET): Use $target_configdirs and - $targargs to tell whether newlib is going to be built. - - * configure.in [disable-libstdcxx-v3] (libstdcxx_flags): Search - $$r/TARGET_SUBDIR/libio for _G_config.h. - -2000-08-14 Zack Weinberg <zack@wolery.cumb.org> - - * configure.in (libstdcxx_flags): Remove -isystem $$s/libio/stdio. - - * configure: Make enable_threads and enable_shared defaults - explicit. Substitute enable_threads into generated Makefiles. - * configure.in: Accept *-*-linux* not just *-*-linux-gnu*. - * libtool.m4: Accept *-*-linux* not just *-*-linux-gnu*. - -2000-08-02 Manfred Hollstein <manfredh@redhat.com> - - * configure.in: Re-enable all references to libg++ and librx. - -2002-04-09 Loren James Rittle <rittle@labs.mot.com> - - * configure.in: Add *-*-freebsd* configurations. - -2002-04-07 Andrew Cagney <ac131313@redhat.com> - - * Makefile.in (do-tar-bz2): Delete rule. Replace with ... - (do-tar, do-bz2): New rules. - (taz): Update. Replace do-tar-bz2 with do-tar and do-bz2. - (gdb-tar): New rule. - (gdb-taz): Rewrite. Use gdb-tar and do-bz2. - (insight_dejagnu.tar): New rule. - (insight.tar): New rule. - (gdb+dejagnu.tar): New rule. - (gdb.tar): New rule. - -2002-04-07 Andrew Cagney <ac131313@redhat.com> - - * MAINTAINERS: Update dejagnu/ - -2002-03-16 Alexandre Oliva <aoliva@redhat.com> - - * ltmain.sh (relink_command): Fix typo in previous change. - -2002-03-15 Alexandre Oliva <aoliva@redhat.com> - - * ltmain.sh (taglist): Initialized. Don't let `CC' tag out of it. - (relink_command): Added --tag flags. - (mode=install): If relinking fails; error out. - -2002-03-12 Richard Henderson <rth@redhat.com> - - * Makefile.in (NOTPARALLEL): New. Use it instead of explicit - .NOTPARALLEL tag. - (do-check): Rename from check. - (check): Allow parallel check. - -2002-03-11 Richard Henderson <rth@redhat.com> - - * Makefile.in (.NOTPARALLEL): Add fake tag. - -2002-03-07 H.J. Lu (hjl@gnu.org) - - * configure.in: Enable gprof for mips*-*-linux*. - -2002-02-28 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for - libjava. - (CXX_FOR_TARGET): Add -shared-libgcc for libstdc++-v3 and libjava. - -2002-02-24 Andrew Cagney <ac131313@redhat.com> - - * texinfo/texinfo.tex: Update to version 2002-02-14.08. - -2002-02-23 Daniel Jacobowitz <drow@mvista.com> - - * config.guess: Import from master sources, rev 1.232. - * config.sub: Import from master sources, rev 1.246. - -2002-02-23 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.in (MAKEINFO): Don't assume makeinfo will be built just - because its Makefile is there; test for the executable instead. - -2002-02-09 Alexandre Oliva <aoliva@redhat.com> - - Contribute sh64-elf. - 2000-12-01 Alexandre Oliva <aoliva@redhat.com> - * configure.in: Added sh64-*-*. - -2002-02-04 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Remove advertising clause from - Berkeley and Red Hat licenses. - -2002-02-01 Mo DeJong <supermo@bayarea.net> - - * Makefile.in: Add all-tix to deps for all-snavigator - so that tix is built when building snavigator. - -2002-02-01 Ben Elliston <bje@redhat.com> - - * config.guess: Import from master sources, rev 1.229. - * config.sub: Import from master sources, rev 1.240. - -2002-01-27 Daniel Jacobowitz <drow@mvista.com> - - From Steve Ellcey <sje@cup.hp.com>: - * libtool.m4 (HPUX_IA64_MODE): Set to 32 or 64 based on ABI. - (lt_cv_deplibs_check_method, lt_cv_file_magic_cmd, - lt_cv_file_magic_test_file): Set to appropriate values for HP-UX - IA64. - * ltcf-c.sh (archive_cmds, hardcode_*): Ditto. - * ltconfig (shlibpath_*, dynamic_linker, library_names_spec, - soname_spec, sys_lib_search_path_spec): Ditto. - -2002-01-26 Jason Thorpe <thorpej@wasabisystems.com> - - * configure.in (*-*-netbsd*): New. Skip target-newlib, - target-libiberty, and target-libgloss. Skip Java-related - libraries if not supported for NetBSD on target CPU. - -2002-01-23 Nick Clifton <nickc@cambridge.redhat.com> - - * configure.in: Import StrongARM and XScale target_configdirs from - FSF GCC version. - -2002-01-16 H.J. Lu (hjl@gnu.org) - - * config.guess: Import from master sources, rev 1.225. - * config.sub: Import from master sources, rev 1.238. - - * MAINTAINERS: Updated notes on config.guess and config.sub. - -2002-01-11 Steve Ellcey <sje@cup.hp.com> - - * configure.in (ia64*-*-hpux*): New target for IA64 HP-UX, - ld and gdb are not supported. - -2002-01-07 Jeff Johnston <jjohnstn@redhat.com> - - * Change reference to Cygnus Solutions to be Red Hat. - -2002-01-07 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Update generic copyright date. - -2002-01-07 Mark Salter <msalter@redhat.com> - - * configure.in: Remove target-bsp and target-cygmon from arm builds. - Allow target-libgloss to be built for arm, strongarm, and xscale. - -2002-01-03 Ben Elliston <bje@redhat.com> - - * MAINTAINERS: Update URL for config.* scripts. - -2001-12-18 Alan Modra <amodra@bigpond.net.au> - - * config.sub: Import latest version. - * config.guess: Likewise. - -2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com> - - * configure.in (FLAGS_FOR_TARGET): Remove -nostdinc and -isystem - options for i[3456]86-pc-linux* native builds. - -2001-12-05 Laurent Guerby <guerby@acm.org> - - * MAINTAINERS: gcc adopts symlink-tree, refer more to - libiberty. - - Import this patch from gcc: - - 2000-12-09 Laurynas Biveinis <lauras@softhome.net> - - * symlink-tree: handle DOS-style absolute paths. - -2001-11-28 DJ Delorie <dj@redhat.com> - Zack Weinberg <zack@codesourcery.com> - - When build != host, create libiberty for the build machine. - - * Makefile.in (TARGET_CONFIGARGS, BUILD_CONFIGARGS): Replace - CONFIG_ARGUMENTS. - (ALL_BUILD_MODULES_LIST, BUILD_CONFIGDIRS, BUILD_SUBDIR): - New variables. - (ALL_BUILD_MODULES, CONFIGURE_BUILD_MODULES): New variables - and rules. - (all.normal): Depend on ALL_BUILD_MODULES. - (CONFIGURE_TARGET_MODULES rule): Use TARGET_CONFIGARGS. - (all-build-libiberty): Depend on configure-build-libiberty. - - * configure: Calculate and substitute proper value for - ALL_BUILD_MODULES. - * configure.in: Create the build subdirectory. - Calculate and substitute TARGET_CONFIGARGS (formerly - CONFIG_ARGUMENTS); also BUILD_SUBDIR and BUILD_CONFIGARGS (new). - -2001-11-26 Geoffrey Keating <geoffk@redhat.com> - - * config.sub: Update to version 1.232 on subversion. - -2001-11-20 Nick Clifton <nickc@cambridge.redhat.com> - - * Makefile.in (do-proto-toplev): Use msgfmt to generate .gmo - files from .po files for a distribution. - -2001-11-19 Hans-Peter Nilsson <hp@bitrange.com> - - * COPYING.NEWLIB: Mention preserved notice in specific parts. - -2001-11-13 Jeff Holcomb <jeffh@redhat.com> - - Merged from net gcc: - 2001-07-30 Jeff Sturm <jsturm@one-pont.com> - * ltcf-c.sh: Use $objext, not $ac_objext. - 2001-07-27 Mark Kettenis <kettenis@gnu.org> - * ltcf-cxx.sh: Add support for GNU. - 2001-07-22 Timothy Wall <twall@redhat.com> - * ltcf-c.sh: Don't disable shared libraries for AIX5/IA64. Preserve - default settings if using GNU tools with that configuration. - * ltcf-cxx.sh: Ditto. - * ltcf-gcj.sh: Ditto. - 2001-07-21 Michael Chastain <chastain@redhat.com> - * ltconfig: Set max_cmd_len to a maximum of 512Kb, as it seems some - HPUX 11.0 systems have trouble with 1MB. Mark as gcc-local. - * ltmain.sh: Mark as gcc-local. - -2001-11-13 Jeff Holcomb <jeffh@redhat.com> - - * Makefile.in (all-bison): Revert 2001-10-24. - Don't depend on texinfo. - -2001-11-12 Hans-Peter Nilsson <hp@bitrange.com> - - * COPYING.NEWLIB: Add BSD-style license/copyright blurb for my work. - -2001-11-08 Phil Edwards <pedwards@disaster.jaj.com> - - * configure.in (--enable-languages): Be more permissive about - syntax. Check for empty lists better. Warn about $LANGUAGES. - -2001-11-06 Hans-Peter Nilsson <hp@bitrange.com> - - * Makefile.in (MAKEINFO): Use "missing" for makeinfo older than 4.0. - -2001-10-24 Jeff Holcomb <jeffh@redhat.com> - - Makefile.in (all-bison): Don't depend on texinfo. - -2001-10-03 Alan Modra <amodra@bigpond.net.au> - - * gettext.m4: Test po/POTFILES.in exists before trying to read. - -2001-09-29 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.in (configure-target-gperf): Depend on $(ALL_GCC_CXX). - -2001-09-28 Hans-Peter Nilsson <hp@axis.com> - - * config.sub, config.guess: Import latest from subversions. - -2001-09-21 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, - DLLTOOL_FOR_TARGET, WINDRES_FOR_TARGET, AR_FOR_TARGET, - RANLIB_FOR_TARGET, NM_FOR_TARGET): Don't use double quotes to - avoid quotes nesting problems. - (NATIVE_CHECK_MODULES): Ditto, just for consistency. - (DO_X): Export only variables that are set. - -2001-09-19 Ben Elliston <bje@redhat.com> - - * configure.in (sparc-sun-solaris2*): Don't use /usr/bin/which on - Solaris when testing for the /usr/ucb/cc compiler; it has incorrect - semantics. Use the shell built-in "type" command instead. - -2001-09-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * config.sub: Reverted the earlier change, this version is not the - master file. - -2001-09-14 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * config.sub: Change machine triplets from mipsel*-* to mips*el-*. - Add support for mips64. - -2001-09-03 Jeff Holcomb <jeffh@redhat.com> - - * configure.in: Enable libstdc++-v3 for h8300 targets. - -2001-08-30 Eric Christopher <echristo@redhat.com> - Jason Eckhardt <jle@redhat.com> - - * config.sub: Add support for mipsisa32. - -2001-08-30 Eric Christopher <echristo@redhat.com> - - * config.sub, config.guess: Import latest from subversions. - -2001-08-20 Alan Modra <amodra@bigpond.net.au> - - * config.sub, config.guess: Import latest from subversions. - -2001-07-26 DJ Delorie <dj@redhat.com> - - * MAINTAINERS: Clarify libiberty merge rules and procedures. - -2001-06-19 Alan Modra <amodra@bigpond.net.au> - - * Makefile.in: Revert 2001-06-17. - (VER): If AM_INIT_AUTOMAKE uses BFD_VERSION, get version from bfd/. - -2001-06-17 H.J. Lu <hjl@gnu.org> - - * Makefile.in (gas.tar.bz2): Pass TOOL=bfd PACKAGE=gas to make. - (gas+binutils.tar.bz2): Likewise. - (binutils.tar.bz2): Pass TOOL=bfd PACKAGE=binutils to make. - -Fri Jun 8 11:14:02 2001 Andrew Cagney <cagney@b1.cygnus.com> - - * Makefile.in (VER): When present, extract the version number from - the file version.in. - -2001-06-08 Alexandre Oliva <aoliva@redhat.com>, Jeff Sturm <jsturm@one-point.com> - - * Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If - gcc/xgcc is built, use -print-prog-name to find out the program - name to use. - -2001-06-04 Mark Mitchell <mark@codesourcery.com> - - * ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris, - with_gcc]: Use `gcc -shared' to build a shared library. - -2001-06-04 John David Anglin <dave@hiauly1.hia.nrc.ca> - - * ltcf-c.sh (archive_cmd) [hpux, with_gcc]: Use gcc to link shared - archives. - -2001-05-28 Simon Patarin <simon.patarin@inria.fr> - - * ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++ shared - libraries when using g++ with native linker. - -2001-05-28 Alexandre Oliva <aoliva@redhat.com> - - * ltconfig, ltmain.sh: Upgrade to libtool 1.4a 1.641.2.256. - -2001-05-24 Tom Rix <trix@redhat.com> - - * configure.in : enable ld for aix - -2001-05-22 Alexandre Oliva <aoliva@redhat.com> - - * ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag) - [aix4*|aix5*]: Prepend blank. - -2001-05-20 Alexandre Oliva <aoliva@redhat.com> - - * ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh, - ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254. Rebuilt a number - of subdir/configure scripts to use the new libtool.m4. - -2001-05-14 H.J. Lu <hjl@gnu.org> - - * config.if (libc_interface): Set to -libc6.2- for cross - compiling to Linux/glibc 2.2. - -2001-05-03 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (noconfigdirs) [*-cygwin*, *-mingw*, *-beos]: Disable - libgcj. - -2001-04-26 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (noconfigdirs): Don't reset it from scratch in the - target case; only append to it. - -2001-04-26 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (noconfigdirs) [hppa*-*-*, mips*-*-irix6*, - sparc-*-solaris2.8]: Disable ${libgcj}. - -2001-04-25 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (libgcj_saved): Copy from $libgcj. - (libgcj): Zero out if --enable-libgcj; add to noconfigdirs is - --disable-libgcj. - -2001-04-20 Alexandre Oliva <aoliva@redhat.com> - - * ltconfig, ltmain.sh, ltcf-cxx.sh: Upgraded to libtool 1.4a - 1.641.2.228. - -2001-04-12 Alexandre Oliva <aoliva@redhat.com> - - * ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh, - ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.226. - -2001-04-01 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.in (CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS): - New macros. - (bootstrap, cross): Use RECURSE_FLAGS. - * configure.in: Subst CXX_FOR_TARGET_FOR_RECURSIVE_MAKE. - -2001-03-27 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3. - -2001-03-23 Nick Clifton <nickc@redhat.com> - - * README-maintainer-mode: Add note about inability to use "make - distclean" in maintainer mode. - -2001-03-22 Alexandre Oliva <aoliva@redhat.com> - - Re-installed: - 2001-01-02 Laurynas Biveinis <lauras@softhome.net> - * ltcf-c.sh: Clear ac_cv_prog_cc_pic for DJGPP. Do not add - '-DPIC' to ac_cv_prog_cc_pic for DJGPP. - * ltcf-cxx.sh: Likewise. - * ltcf-gcj.sh: Likewise. - -2001-03-22 Philip Blundell <philb@gnu.org> - - * config.sub, config.guess: Import latest from subversions. - -2001-03-22 Alexandre Oliva <aoliva@redhat.com> - - * ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh, - ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.198. - -2001-03-20 Michael Chastain <chastain@redhat.com> - - * Makefile.in: all-m4 depends on all-texinfo. - -2001-03-08 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.in (ALL_GCC, ALL_GCC_C, ALL_GCC_CXX): Set before use. - -2001-02-22 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Remove DJ Delorie's address because it is no - longer valid. - -2001-02-16 Nick Clifton <nickc@redhat.com> - - * configure.in (noconfigdirs): Allow configuration of texinfo - for Cygwin hosts. - -2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * config.guess: Add linux target for S/390. - * config.sub: Likewise. - * configure.in: Likewise. - -2001-02-06 Ben Elliston <bje@redhat.com> - - * configure: Output host type to stdout, not stderr. - -2001-02-04 Michael Sokolov <msokolov@ivan.Harhan.ORG> - - * config.guess: Import from subversions.gnu.org (revision 1.181). - * config.sub: Import from subversions.gnu.org (revision 1.199). - -2001-01-30 Alan Modra <alan@linuxcare.com.au> - - * config.guess: Handle hppa64-linux systems. - -2001-01-27 Michael Sokolov <msokolov@ivan.Harhan.ORG> - - * ltcf-cxx.sh (ac_cv_prog_cc_pic_works, ac_cv_prog_cc_static_works): - Don't unset, it's non-portable and no longer necessary, set to empty - instead. - -2001-01-27 Michael Sokolov <msokolov@ivan.Harhan.ORG>, Alexandre Oliva <oliva@lsd.ic.unicamp.br> - - * ltconfig: Shell portability fix for the tagname validity check. - -2001-01-27 Michael Sokolov <msokolov@ivan.Harhan.ORG> - - * ltcf-cxx.sh: Use parentheses around eval $ac_compile. - -2001-01-27 Alexandre Oliva <aoliva@redhat.com> - - * ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types. - * ltcf-cxx.sh, ltcf-gcj.sh: Likewise. - -2001-01-24 Alexandre Oliva <aoliva@redhat.com> - - * ltmain.sh (TAG disable-shared, TAG disable-static): Make sure we - keep at least one of build_libtool_libs or build_old_libs set to - yes. - -2001-01-24 Alexandre Oliva <aoliva@redhat.com> - - * ltcf-gcj.sh (lt_simple_link_test_code): Remove stray `(0)'. - * libtool.m4 (_AC_LIBTOOL_GCJ): Pass $CPPFLAGS on. - -2000-11-07 Philip Blundell <pb@futuretv.com> - - * Makefile.in (ETC_SUPPORT): Also add configbuild.* and configdev.*. - -2000-11-03 Philip Blundell <pb@futuretv.com> - - * Makefile.in (ETC_SUPPORT): Add configure.texi and associated info - files. - -2001-01-15 Jeff Johnston <jjohnstn@redhat.com> - - * COPYING.NEWLIB: Put into source repository. - -2001-01-15 Ben Elliston <bje@redhat.com> - - * configure.in (host_tools): Add sid. - Always configure cgen. - * Makefile.in (all-sid): New target. - (check-sid, clean-sid, install-sid): Likewise. - -2001-01-07 Andreas Jaeger <aj@suse.de> - - * config.sub, config.guess: Update from subversions. - -2000-12-12 Alexandre Oliva <aoliva@redhat.com> - - * configure.in: Disable language-specific target libraries for - languages that aren't enabled. - -2000-11-24 Nick Clifton <nickc@redhat.com> - - * configure.in (xscale-elf): Add target. - (xscale-coff): Add target. - (c4x, c5x, tic54x): Move after ARM targets. - -2000-11-23 Alexandre Oliva <aoliva@redhat.com> - - * ltcf-gcj.sh: Added file, required by 2000-11-18 merge. - -2000-11-20 Ian Lance Taylor <ian@zembu.com> - - * ltcf-cxx.sh: Added file, required by 2000-11-18 merge. - -2000-11-18 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.in: Merge with GCC and libgcj. - (ALL_GCC_C, ALL_GCC_CXX): New macros. Use them as dependencies of - configure-target-<library> when their configure scripts need the C - or C++ library to have already been built to work properly. - (do_proto_toplev): Set them to an empty string. - -2000-11-18 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.in (HOST_LIB_PATH, TARGET_LIB_PATH): New macros. - (REALLY_SET_LIB_PATH): Use them. - -2000-11-06 Christopher Faylor <cgf@cygnus.com> - - * config.sub: Add support for Sun Chorus - -2000-11-02 Per Lundberg <plundis@chaosdev.org> - - * config.sub: Add support for the *-storm-chaos OS. - -2000-10-30 Stephane Carrez <stcarrez@worldnet.fr> - - * configure.in (noconfigdirs): Don't compile some - of the libraries for 68HC11 & 68hc12 targets. - -2000-09-30 Alexandre Oliva <aoliva@redhat.com> - - * ltconfig, ltmain.sh, libtool.m4: Updated from libtool - multi-language branch, to work around Solaris' /bin/sh bug. Rebuilt - all affected `configure' scripts. - -2000-09-25 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.in (DEVO_SUPPORT): Added gettext.m4, libtool.m4 and - ltcf-c.sh. - -2000-09-12 Philip Blundell <philb@gnu.org> - - * config.sub, config.guess: Update from subversions. - -2000-09-06 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.in (all-zlib): Added dummy target. - - * ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh: Updated from libtool - multi-language branch. - -2000-09-05 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.in (all-bootstrap): Added all-texinfo and all-zlib. - (bootstrap*): Depend on all-bootstrap. - -2000-09-02 Alexandre Oliva <aoliva@redhat.com>, DJ Delorie <dj@redhat.com> - - * configure.in (FLAGS_FOR_TARGET): Use -nostdinc even for Canadian - crosses, but add gcc/include to the header search path for them. - -2000-08-31 Alexandre Oliva <aoliva@redhat.com> - - * ltconfig, ltmain.sh: Updated from libtool multi-language branch. - * libtool.m4, ltcf-c.sh: Copied from libtool multi-language branch. - * gettext.m4: New file, extracted from aclocal.m4. - -2000-08-22 Alexandre Oliva <aoliva@redhat.com> - - * config-ml.in (CC, CXX): Avoid trailing whitespace. - (LD_LIBRARY_PATH, SHLIB_PATH): Adjust for multilibs and export to - sub-configures. - -2000-08-20 Doug Evans <dje@casey.transmeta.com> - - * Makefile.in (ALL_MODULES): Add all-cgen. - (CROSS_CHECK_MODULES,INSTALL_MODULES,CLEAN_MODULES): Similarily. - (all-cgen): New target. - (all-opcodes,all-sim): Depend on all-cgen. - * configure.in (host_tools): Add cgen. - Only configure cgen if --enable-cgen-maint. - -2000-08-17 Alexandre Oliva <aoliva@redhat.com> - - * config-ml.in (CC, CXX): Don't introduce a leading space. - -2000-08-16 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (libstdcxx_flags): Use - libstdc++-v3/src/libstdc++.INC. - -2000-08-15 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES. - -2000-08-11 Jason Merrill <jason@redhat.com> - - * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET, - CXX_FOR_TARGET): Add -B$$r/gcc/ here. - (FLAGS_FOR_TARGET): Not here. - (CHILL_FOR_TARGET, CXX_FOR_TARGET): Don't check the list of languages. - -2000-08-07 DJ Delorie <dj@redhat.com> - - * configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean - "if we're also building gcc, and it's a gcc that will run on the - build machine, we want to use its includes instead of the system's - default includes". - -2000-08-03 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (libstdcxx_flags): Don't use `"'. - - * config-ml.in: Adjust multilib search paths to the - appropriate multilib tree. - -2000-08-02 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to - commas in $LANGUAGES. - -2000-08-01 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (qCXX_FOR_TARGET): Use echo instead of expr. - -2000-07-31 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (qCXX_FOR_TARGET): Quote `&' characters in - CXX_FOR_TARGET for sed. - -2000-07-30 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET, CXX_FOR_TARGET): - Do not override if already set in the environment or in configure. - Don't duplicate $(FLAGS_FOR_TARGET) if it already appears in them. - (FLAGS_FOR_TARGET): Don't use host directories on Canadian crosses. - -2000-07-27 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.in (FLAGS_FOR_TARGET): New macro. - (GCC_FOR_TARGET): Use it. - (CC_FOR_TARGET, CXX_FOR_TARGET, CHILL_FOR_TARGET): Now defined... - * configure.in: ... here. - (FLAGS_FOR_TARGET): Define. Add ld build dir to -L path. - (libstdcxx_flags): Define and append to CXX_FOR_TARGET. - -2000-07-24 Alexandre Oliva <aoliva@redhat.com> - - * Makefile.in (configure-target-libf2c): Depend on $(ALL_GCC). - (configure-target-libchill, configure-target-libobjc): Likewise. - - * configure.in: Use the same cache file for all target libs. - * config-ml.in: But different cache files per multilib variant. - -2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG> - - * configure (topsrcdir): Don't use dirname. - -2000-07-20 Jason Merrill <jason@redhat.com> - - * configure.in: Remove all references to libg++ and librx. - - * configure, configure.in, Makefile.in: Unify gcc and binutils. - -2000-07-20 Hans-Peter Nilsson <hp@axis.com> - - * config.sub: Update to subversions version 2000-07-06. - -2000-07-12 Andrew Haley <aph@cygnus.com> - - * configure.in (host_makefile_frag): Use mh-ia64pic on IA-64 hosts. - (target_makefile_frag): Use mt-ia64pic on IA-64 targets. - -2000-07-07 Phil Edwards <pme@sourceware.cygnus.com> - - * symlink-tree: Check number of arguments. - -2000-06-06 Andrew Cagney <cagney@b1.cygnus.com> - - * texinfo/texinfo.tex: Update to version 2000-05-28.15. - -2000-07-05 Jim Wilson <wilson@cygnus.com> - - * Makefile.in (CXX_FOR_TARGET): Add libstdc++ to the library - search path for a g++ extracted from the build tree. This - will allow link tests run by configure scripts in - subdirectories to succeed. - -2000-07-01 Koundinya K <kk@ddeorg.soft.net> - - * ltconfig: Add support for mips-dde-sysv4.2MP - -2000-06-28 Corinna Vinschen <vinschen@cygnus.com> - - * ltconfig: Check for host_os beeing one of `cygwin', `mingw' or - `os2'. Force ac_cv_exeext to be ".exe" in that case. - -2000-06-19 Timothy Wall <twall@cygnus.com> - - * configure.in (noconfigdirs): Set noconfigdirs for tic54x target. - * config.sub: Add tic54x target. - -2000-06-07 Phillip Thomas <pthomas@suse.de> - - * README-maintainer-mode: New file: Contains notes on using - --enable-maintainer-mode with binutils. - -2000-05-29 Andrew Cagney <cagney@b1.cygnus.com> - - * texinfo/texinfo.tex: Update. Version from makeinfo 4.0. - -2000-05-30 Andrew Cagney <cagney@b1.cygnus.com> - - * config.sub: Import CVS version 1.167 Tue May 30 09:00:07 2000. - * config.guess: Import CVS version 1.148 Tue May 30 09:00:06 2000 - -20000-05-21 H.J. Lu (hjl@gnu.org) - - * Makefile.in (CC_FOR_TARGET): Make sure as/ld in the gcc - directory are used if they exist. Make sure - $(build_tooldir)/include is searched for header files, - $(build_tooldir)/lib/ for library files. - (GCC_FOR_TARGET): Likewise. - (CXX_FOR_TARGET): Likewise. - -2000-05-18 Jeffrey A Law (law@cygnus.com) - - * configure.in (hppa*64*-*-*): Do build ld for this configuration. - -2000-05-17 Alexandre Oliva <aoliva@cygnus.com> - - * Makefile.in (configure-target-libiberty): Depend on - configure-target-newlib. - -2000-05-16 Alexandre Oliva <aoliva@cygnus.com> - - * configure.in, Makefile.in: Merge all libffi-related - configury stuff from the libgcj tree. - -2000-05-16 Andrew Cagney <cagney@b1.cygnus.com> - - Thu Apr 27 11:01:48 2000 Andrew Cagney <cagney@b1.cygnus.com>: - * Makefile.in (do-tar-bz2, do-md5sum): Skip CVS directories. - -2000-05-16 Andrew Cagney <cagney@b1.cygnus.com> - - Wed Apr 26 17:03:53 2000 Andrew Cagney <cagney@b1.cygnus.com>: - * Makefile.in (do-djunpack): New target. Update djunpack.bat with - current version information. Add to proto-toplev directory. - (gdb-taz): Build do-djunpack. - -2000-05-15 David Edelsohn <edelsohn@gnu.org> - - * configure.in: Special case powerpc*-*-aix* target_makefile_frag. - -2000-05-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br> - - * ltmain.sh: Preserve in relink_command any environment - variables that may affect the linker behavior. - -2000-05-12 Jeffrey A Law (law@cygnus.com) - - * config.sub (basic_machine): Recognize hppa64 as a valid cpu type. - -2000-05-10 Jim Wilson <wilson@cygnus.com> - - * configure.in (ia64*-*-elf*): Add gdb and friends to noconfigdirs. - -2000-05-08 Eli Zaretskii <eliz@is.elta.co.il> - - * djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst - with the version name. - -2000-05-01 Benjamin Kosnik <bkoz@cygnus.com> - - * config.if: Tweak. - -2000-04-23 Eli Zaretskii <eliz@is.elta.co.il> - - * djunpack.bat: New file. - -2000-04-19 Andrew Cagney <cagney@b1.cygnus.com> - - * Makefile.in (taz, gdb-taz, gas.tar.bz2, binutils.tar.bz2, - gas+binutils.tar.bz2, libg++.tar.bz2, gnats.tar.bz2, gdb.tar.bz2, - dejagnu.tar.bz2, gdb+dejagnu.tar.bz2, insight.tar.bz2, - insight+dejagnu.tar.bz2, newlib.tar.bz2): Pass MD5PROG to sub-make. - -2000-04-16 Dave Pitts <dpitts@cozx.com> - - * config.sub (case $basic_machine): Change default for "ibm-*" - to "openedition". - -2000-04-12 Andrew Cagney <cagney@b1.cygnus.com> - - * Makefile.in (gdb-taz): New target. GDB specific archive. - (do-md5sum): New target. - (MD5PROG): Define. - (PACKAGE): Default to TOOL. - (VER): Default to a shell script. - (taz): Rewrite target. Move real work to do-proto-toplev. Include - md5 checksum generation. - (do-proto-toplev): New target. Create $(PACKAGE)-$(VER) link. - (do-tar-bz2): Delete creation of $(PACKAGE)-$(VER) link. - (gdb.tar.bz2, dejagnu.tar.bz2, gdb+dejagnu.tar.bz2, - insight.tar.bz2): Use gdb-taz to create archive. - -2000-04-07 Andrew Cagney <cagney@b1.cygnus.com> - - * configure (warn_cflags): Delete. - -2000-04-05 Benjamin Kosnik <bkoz@cygnus.com> - Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de> - - * configure.in (enable_libstdcxx_v3): Add. - (target_libs): Add bits here to switch between libstdc++-v2 and - libstdc++-v3. - * config.if: And this file too. - * Makefile.in: Add libstdc++-v3 targets. - -2000-04-05 Michael Meissner <meissner@redhat.com> - - * config.sub (d30v): Add d30v as a basic machine type. - -2000-03-29 Jason Merrill <jason@casey.cygnus.com> - - * configure.in: -linux-gnu*, not -linux-gnu. - -2000-03-03 Andrew Cagney <cagney@b1.cygnus.com> - - * Makefile.in (taz): Set PACKAGE to TOOL when not defined. - (do-tar-bz2): Replace TOOL with PACKAGE. - (gdb.tar.bz2): Remove GDBTK from GDB package. - (gdb+dejagnu.tar.bz2, insight.tar.bz2, insight+dejagnu.tar.bz2, - dejagnu.tar.bz2): New packages. - -2000-02-27 Andreas Jaeger <aj@suse.de> - - * configure.in: Add entry for mips*-*-linux*, move catch all - *-*-*linux* entry below this one. - -2000-02-27 Ian Lance Taylor <ian@zembu.com> - - * ltconfig, ltmain.sh: Update to libtool 1.3.4. - -2000-02-24 Nick Clifton <nickc@cygnus.com> - - * config.sub: Support an OS of "wince". - -2000-02-24 Andrew Cagney <cagney@b1.cygnus.com> - - * config.guess, config.sub: Updated to match config's 2000-02-15 - version. - -2000-02-23 Linas Vepstas <linas@linas.org> - - * config.sub: Add support for Linux/IBM 370. - * configure.in: Likewise. - -2000-02-22 Nick Clifton <nickc@cygnus.com> - - * configure.in: Add mips-pe, sh-pe and arm-wince-pe targets. - -2000-02-20 Christopher Faylor <cgf@cygnus.com> - - * config.guess: Guess "cygwin" rather than "cygwin32". - -2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * configure (gcc_version): When setting, narrow search to - lines containing `version_string'. - -2000-02-15 Denis Chertykov <denisc@overta.ru> - - * config.sub: Add support for avr target. - -2000-02-01 Hans-Peter Nilsson <hp@bitrange.com> - - * config.sub: Add mmix-knuth-mmixware. - -2000-01-27 Christopher Faylor <cgf@redhat.com> - - * Makefile.in (CC_FOR_TARGET): Add new winsup directory - structure stuff to -L library search. - (CXX_FOR_TARGET): Ditto. - (CROSS_CHECK_MODULES): Fix spelling mistake. - -2000-01-24 Mark Mitchell <mark@codesourcery.com> - - * Makefile.in (CXX_FOR_TARGET): Use g++, not xgcc, to invoke - the C++ compiler. - -2000-01-12 Richard Henderson <rth@cygnus.com> - - * configure.in: Don't build some bits for beos. - -2000-01-12 Joel Sherrill (joel@OARcorp.com) - - * Makefile.in (CC_FOR_TARGET): Use newlib libraries as well - as include files. - -2000-01-06 Geoff Keating <geoffk@cygnus.com> - - * configure.in: Use mt-aix43 to handle *_TARGET defs, - not mh-aix43. - -1999-12-14 Richard Henderson <rth@cygnus.com> - - * config.guess (alpha-osf, alpha-linux): Detect ev67. - * config.sub: Accept alphaev[78], alphaev8. - -1999-12-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br> - - * config.guess, config.sub: Update from autoconf. - -Tue Nov 23 00:57:41 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> - - * config-ml.in (sparc*-*-*): Disable sparcv9 support if the - necessary libraries are missing. - -1999-10-25 Andreas Schwab <schwab@suse.de> - - * configure: Fix quoting inside arguments of eval. - -1999-10-21 Nick Clifton <nickc@cygnus.com> - - * config-ml.in: Allow suppression of some ARM multilibs. - -Tue Sep 7 23:33:57 1999 Linas Vepstas <linas@linas.org> - - * config.guess: Add OS/390 match pattern. - * config.sub: Add mvs, openedition targets. - * configure.in (i370-ibm-opened*): New. - -1999-09-04 Steve Chamberlain <sac@pobox.com> - - * config.sub: Add support for configuring for pj. - -1999-08-31 Nick Clifton <nickc@cygnus.com> - - * config.sub (maybe_os): Add support for configuring for fr30. - -1999-08-25 Nick Clifton <nickc@cygnus.com> - - * configure.in: Do not configure or build ld for AIX - platforms. ld is known to be broken on these platforms. - -Wed Aug 25 01:12:25 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> - - * config-ml.in: Pass compiler flag corresponding to multidirs to - subdir configures. - -1999-08-09 Ian Lance Taylor <ian@zembu.com> - - * Makefile.in (LDFLAGS): Define. - -1999-08-08 Mumit Khan <khan@xraylith.wisc.edu> - - * configure.in (i[3456]-*-mingw32*): Don't put gprof in - noconfigdirs. - (*-*-cygwin*): Likewise. - -1999-08-08 Ian Lance Taylor <ian@zembu.com> - - * mkdep: New file. - * Makefile.in (GAS_SUPPORT_DIRS): Add mkdep. - (BINUTILS_SUPPORT_DIRS): Add mkdep. - - From Eli Zaretskii <eliz@is.elta.co.il>: - * configure (tmpfile): Change cONf$$ to cNf$$ to avoid an overly - long file name when using DJGPP on MS-DOS. - -Wed Aug 4 02:07:14 1999 Jeffrey A Law (law@cygnus.com) - - * config.sub (vxworks case): Use os=-vxworks, not os=vxworks. - -1999-07-30 Alan Modra <alan@spri.levels.unisa.edu.au> - - * Makefile.in (check-target-libio): Remove all-target-libstdc++ - dependency as this causes "make check" to globally "make all" - -Tue Jun 22 23:45:18 1999 Tom Tromey <tromey@cygnus.com> - - * configure.in (target_libs): Added target-zlib. - * Makefile.in (ALL_TARGET_MODULES): Added zlib. - (CONFIGURE_TARGET_MODULES): Likewise. - (CHECK_TARGET_MODULES): Likewise. - (INSTALL_TARGET_MODULES): Likewise. - (CLEAN_TARGET_MODULES): Likewise. - (configure-target-zlib): New target. - (all-target-zlib): Likewise. - (all-target-libjava): Depend on all-target-zlib. - (configure-target-libjava): Depend on configure-target-zlib. - - * Makefile.in (configure-target-libjava): Depend on - configure-target-newlib. - (configure-target-boehm-gc): New target. - (configure-target-qthreads): New target. - - * configure.in (target_libs): Added target-qthreads. - * Makefile.in (ALL_TARGET_MODULES): Added qthreads. - (CONFIGURE_TARGET_MODULES): Likewise. - (CHECK_TARGET_MODULES): Likewise. - (INSTALL_TARGET_MODULES): Likewise. - (CLEAN_TARGET_MODULES): Likewise. - (all-target-qthreads): New target. - (configure-target-libjava): Depend on configure-target-qthreads. - (all-target-libjava): Depend on all-target-qthreads. - - * Makefile.in (ALL_TARGET_MODULES): Added libjava, boehm-gc. - (CONFIGURE_TARGET_MODULES): Likewise. - (CHECK_TARGET_MODULES): Likewise. - (INSTALL_TARGET_MODULES): Likewise. - (CLEAN_TARGET_MODULES): Likewise. - (all-target-libjava): New target. - (all-target-boehm-gc): Likewise. - * configure.in (target_libs): Added libjava, boehm-gc. - -1999-07-22 Ian Lance Taylor <ian@zembu.com> - - * Makefile.in (binutils.tar.bz2): Don't pass makeall.bat and - configure.bat in SUPPORT_FILES. - (gas+binutils.tar.bz2): Likewise. - - * makeall.bat: Remove; obsolete. - -1999-07-21 Ian Lance Taylor <ian@zembu.com> - - From Mark Elbrecht: - * configure.bat: Remove; obsolete. - -1999-07-11 Ian Lance Taylor <ian@zembu.com> - - * configure: Add -W -Wall to the default CFLAGS when compiling with - gcc. - -Thu Jul 8 12:32:23 1999 John David Anglin <dave@hiauly1.hia.nrc.ca> - - * configure.in: Build ld, binutils & gas for hppa*-*-linux-gnu*. - -1999-06-30 Mark Mitchell <mark@codesourcery.com> - - * configure.in: Build ld on IRIX6. - -1999-06-12 Ian Lance Taylor <ian@zembu.com> - - * Makefile.in: Change distribution targets to use bzip2 instead of - gzip. - (TEXINFO_SUPPORT): Set to just texinfo/texinfo.tex. - (taz): Don't use texinfo/gpl.texinfo or texinfo/lgpl.texinfo. - -1999-06-04 Nick Clifton <nickc@cygnus.com> - - * config.sub: Add mcore target. - -1999-05-30 Cort Dougan <cort@cs.nmt.edu> - - * config.guess (ppc-*-linux-gnu): Also use ld emul elf32ppclinux. - -1999-05-25 H.J. Lu (hjl@gnu.org) - - * config.guess (dummy): Changed to $dummy. - -1999-05-24 Nick Clifton <nickc@cygnus.com> - - * config.sub: Tidied up case statements. - -1999-05-22 Ben Elliston <bje@cygnus.com> - - * config.guess: Handle NEC UX/4800. Contributed by Jiro Takabatake - <jiro@din.or.jp>. - - * config.guess: Merge with FSF version. Future changes will be - more accurately recorded in this ChangeLog. - * config.sub: Likewise. - -1999-05-20 Stephen L Moshier <moshier@world.std.com> - - * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include. - -1999-04-30 Tom Tromey <tromey@cygnus.com> - - * ltmain.sh: [mode link] Always use CC given by ltconfig. - -1999-04-23 Tom Tromey <tromey@cygnus.com> - - * ltconfig, ltmain.sh: Update to libtool 1.2f. - -1999-04-20 Drew Moseley <dmoseley@cygnus.com> - - * configure.in (noconfigdirs): Don't build libstub for arm-elf targets. - (noconfigdirs): Don't build any bsp stuff for for arm-oabi targets. - Bad merge removed these two changes. - -Tue Apr 13 22:50:54 1999 Donn Terry (donn@interix.com) - Martin Heller (Ing.-Buero_Heller@t-online.de) - - * config.guess (interix Alpha): Add. - -1999-04-11 Richard Henderson <rth@cygnus.com> - - * configure.in (i?86-*-beos*): Do config gperf; don't config - gdb, newlib, or libgloss. - -1999-04-11 Alexandre Oliva <oliva@dcc.unicamp.br> - - * config-ml.in: On mips*-*-*, if multidirs contains mabi=64, try to - link a trivial program with -mabi=64. If it fails, remove mabi=64 - from multidirs. - -1999-04-10 Philipp Thomas (kthomas@gwdg.de) - - * config.sub: Set basic_machine to i586 when target_alias = k6-*. - -1999-04-08 Nick Clifton <nickc@cygnus.com> - - * config.sub: Add support for mcore targets. - -1999-04-07 Michael Meissner <meissner@cygnus.com> - - * configure.in (d30v-*): Use config/mt-d30v as makefile fragment, - not mt-ospace, in order to shut up assembler warning about using - symbols that are named the same as registers. - -1999-04-07 Drew Moseley <dmoseley@cygnus.com> - - * Makefile.in (all-target-cygmon): Added all-target-bsp to the - dependency list for all-target-cygmon. - -1999-04-05 Doug Evans <devans@casey.cygnus.com> - - * config-ml.in: Check $host, not $target, for selective multilibs. - (arm-*-*): Allow disabling of biendian, h/w fp, 26 bit apcs, - thumb interworking, and underscore prefix multilibs. - -1999-04-04 Ian Lance Taylor <ian@zembu.com> - - * missing: Update to version from current automake. - -Fri Apr 2 15:11:32 1999 H.J. Lu (hjl@gnu.org) - - * configure (gxx_include_dir): Removed. - - * configure.in (gxx_include_dir): Handle it. - * Makefile.in: Likewise. - -1999-03-29 Gavin Romig-Koch <gavin@cygnus.com> - - * config.sub (mips64vr4111,mips64vr4111el) Add. - -1999-03-21 Ben Elliston <bje@cygnus.com> - - * config.guess: Correct typo for detecting ELF on FreeBSD. - -Thu Mar 18 00:17:50 1999 Mark Elbrecht <snowball3@usa.net> - - * configure.in (pc-msdosdjgpp): Set host_makefile_frag to - config/mh-djgpp. - -Thu Mar 11 18:37:23 1999 Drew Moseley <dmoseley@cygnus.com> - - * Makefile.in (all-target-bsp): Added all-gcc all-binutils and - all-target-newlib to dependency list for all-target-bsp. - -Thu Mar 11 01:19:31 1999 Mumit Khan <khan@xraylith.wisc.edu> - - * config.sub: Add i386-uwin support. - * config.guess: Likewise. - -Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - - * configure.in: cleanup, add mh-*pic handling for arm, special - case powerpc*-*-aix* - -Wed Mar 10 18:35:07 1999 Jeff Johnston <jjohnstn@cygnus.com> - - * configure.in (noconfigdirs): Removed target-libgloss so libnosys.a - can be built. - -Wed Mar 10 17:39:09 1999 Drew Moseley <dmoseley@cygnus.com> - - * configure.in: Added bsp support to arm-*-coff and arm-*-elf - targets. - -1999-03-02 Nick Clifton <nickc@cygnus.com> - - * config.sub: Rename CYGNUS LOCAL to EGCS LOCAL - -1999-02-28 Geoffrey Noer <noer@cygnus.com> - - * config.sub: Check for "cygwin*" rather than "cygwin32*" - -1999-02-24 Nick Clifton <nickc@cygnus.com> - - * config.sub: Fix typo in arm recognition. - -1999-02-24 Drew Moseley <dmoseley@cygnus.com> - - * configure.in (noconfigdirs): Changed target_configdirs to - include target-bsp only for m68k-*-elf* and m68k-*-coff* - rather than m68k-*-* since it is not known to work on - m68k-aout. Ditto for arm-*-*oabi. - -1999-02-24 Stan Shebs <shebs@andros.cygnus.com> - - * configure.in (*-*-windows*): Remove, no longer used. - -1999-02-19 Ben Elliston <bje@cygnus.com> - - * config.guess: Automatically recognise ELF on FreeBSD. From Niall - Smart and improved by Andrew Cagney. - -1999-02-18 Marc Espie <espie@cvs.openbsd.org> - - * config.guess: Recognize openbsd-*-hppa. - -1999-02-17 H.J. Lu (hjl@gnu.org) - - * Makefile.in (REALLY_SET_LIB_PATH): Append $$$(RPATH_ENVVAR) - only if it is not empty. - -1999-02-17 Nick Clifton <nickc@cygnus.com> - - Patch from: Scott Bambrough <scottb@corelcomputer.com> - - * config.guess: Modified to recognize uname's armv* syntax. - - * config.sub: Modified to recognize uname's armv* syntax. - -1999-02-17 Mark Salter <msalter@cygnus.com> - - * configure.in: Added target-bsp for sparclite. - -1999-02-08 Richard Henderson <rth@cygnus.com> - - * config.sub: Recognize alphapca5[67] and up to alphaev8. - -1999-02-08 Nick Clifton <nickc@cygnus.com> - - * configure.in: Add support for strongarm port. - * config.sub: Add support for strongarm target. - -1999-02-07 Mumit Khan <khan@xraylith.wisc.edu> - - * configure.in (*-*-cygwin32*): Use config/mh-cygwin instead of - the old name config/mh-cygwin32. - Enable texinfo. - -1999-02-04 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Do build ld for ix86 Solaris. - -1999-02-02 Jim Wilson <wilson@cygnus.com> - - * Makefile.in (EXTRA_GCC_FLAGS): Set AR to $AR instead of - $AR_FOR_TARGET. Likewise for RANLIB. - -1999-02-02 Catherine Moore <clm@cygnus.com> - - * config.sub (oabi): Recognize. - * configure.in (arm-*-oabi): Handle. - -1999-01-30 Robert Lipe (robertlipe@usa.net) - - * config.guess: Improve detection of i686 on UnixWare 7. - -1999-01-30 Mumit Khan <khan@xraylith.wisc.edu> - - * config.guess: Add support for i386-pc-interix. - * config.sub: Likewise. - * configure.in: Likewise. - -1999-01-18 Christopher Faylor <cgf@cygnus.com> - - * Makefile.in: Remove unneeded all-target-libio from - from all-target-winsup target since it is now unneeded. - Add all-target-libtermcap in its place since it is now - needed. - -1998-12-30 Christopher Faylor <cgf@cygnus.com> - - * configure.in: makefile stub for cygwin target is probably - unnecessary. Remove it for now. - -1998-12-30 Christopher Faylor <cgf@cygnus.com> - - * configure.in: libtermcap.a should be built when cygwin is the - target as well as the host. - * config.guess: Allow mixed case in cygwin uname output. - * Makefile.in: Add libtermcap target. - -1998-12-23 Jeffrey A Law (law@cygnus.com) - - * config.sub: Clean up handling of hppa2.0. - -1998-12-22 Rodney Brown (rodneybrown@pmsc.com) - - * config.guess: Use C code to identify more HP machines. - -Thu Dec 17 01:22:30 1998 Jeffrey A Law (law@cygnus.com) - - * config.sub: Handle hppa2.0. - -Tue Dec 15 17:02:58 1998 Bob Manson <manson@charmed.cygnus.com> - - * configure.in: Add cygmon for x86-coff and x86-elf. Configure - cygmon for all sparclite targets, regardless of object format. - -1998-12-15 Mark Salter <msalter@cygnus.com> - - * configure.in: Added target-bsp for several target architectures. - - * Makefile.in: Added rules for bsp. - -Fri Dec 4 01:34:02 1998 Jeffrey A Law (law@cygnus.com) - - * config.guess: Improve detection of hppa2.0 processors. - -Fri Dec 4 01:33:05 1998 Niall Smart <nialls@euristix.ie> - - * config.guess: Recognize FreeBSD using ELF automatically. - -1998-11-26 Manfred Hollstein <manfred@s-direktnet.de> - - * configure (skip-this-dir): Add handling for new shell script, which - might be created by a sub-directory's configure to indicate, this particular - directory is "unwanted". - * Makefile.in ($(CONFIGURE_TARGET_MODULES)): Likewise. - -Wed Nov 18 18:28:45 1998 Geoffrey Noer <noer@cygnus.com> - - * ltconfig: import from libtool, after changing libtool to - account for the cygwin name change. - -Wed Nov 18 18:09:14 1998 Geoffrey Noer <noer@cygnus.com> - - * Makefile.in: CC_FOR_TARGET and CXX_FOR_TARGET should also - include newlib/libc/sys/cygwin and newlib/libc/sys/cygwin32. - -Wed Nov 18 20:13:29 1998 Christopher Faylor <cgf@cygnus.com> - - * configure.in: Add libtermcap to list of cygwin dependencies. - -1998-11-17 Geoffrey Noer <noer@cygnus.com> - - * Makefile.in: modify CC_FOR_TARGET and CXX_FOR_TARGET so that - they include winsup/include when it's a cygwin target. - -1998-11-12 Tom Tromey <tromey@cygnus.com> - - * configure.in (host_tools): Added zip. - * Makefile.in (all-target-libjava): Depend on all-zip. - (all-zip): New target. - (ALL_MODULES): Added all-zip. - (NATIVE_CHECK_MODULES): Added check-zip. - (INSTALL_MODULES): Added install-zip. - (CLEAN_MODULES): Added clean-zip. - -1998-11-12 Geoffrey Noer <noer@cygnus.com> - - * Makefile.in: lose "32" from comment about cygwin. - -1998-11-05 Nick Clifton <nickc@cygnus.com> - - * configure.in: Use -Os to build target libraries for the fr30. - -1998-11-04 Dave Brolley <brolley@cygnus.com> - - * config.sub: Add fr30. - -1998-11-02 Geoffrey Noer <noer@cygnus.com> - - * configure.in: drop "32" from config/mh-cygwin32. Check - cygwin* instead of cygwin32*. - * config.sub: Check cygwin* instead of cygwin32*. - -1998-10-22 Robert Lipe <robertl@dgii.com> - - * config.guess: Match any version of Unixware7. - -1998-10-20 Syd Polk <spolk@cygnus.com> - - * Makefile.in configure.in: Add the ability to use tcl8.1 and tk8.1 - if desired. - -1998-10-18 Jeffrey A Law (law@cygnus.com) - - * config.if (cxx_interface, libstdcxx_interface): Do not try to set - these if the appropriate directories and files to not exist. - -1998-10-14 Jeffrey A Law (law@cygnus.com) - - * Makefile.in (DEVO_SUPPORT): Add config.if. - -1998-10-13 Manfred Hollstein <manfred@s-direktnet.de> - - * configure: Add pattern to replace "build_tooldir"'s - definition in the generated Makefile with "tooldir"'s - actual value. - -Tue Oct 13 09:17:06 1998 Jeffrey A Law (law@cygnus.com) - - * config.sub: Bring back lost sparcv9. - - * Makefile.in (all-snvavigator): Remove all-flexlm dependency. - -Mon Oct 12 12:09:44 1998 Jeffrey A Law (law@cygnus.com) - - * Makefile.in (CHILL_FOR_TARGET): Mirror recent changes to - CC_FOR_TARGET and friends. - -Mon Oct 12 12:09:30 1998 Alexandre Oliva <oliva@dcc.unicamp.br> - - * Makefile.in (build_tooldir): New variable, same as tooldir. - (CC_FOR_TARGET, GCC_FOR_TARGET, CXX_FOR_TARGET): Add - -B$(build_tooldir)/bin/. - (BASE_FLAGS_TO_PASS): Pass build_tooldir down. - -Wed Sep 30 22:20:50 1998 Robert Lipe <robertl@dgii.com> - - * config.sub: Add support for i[34567]86-pc-udk. - * configure.in: Likewise. - -Wed Sep 30 19:23:48 1998 Geoffrey Noer <noer@cygnus.com> - - * Makefile.in: add bzip2 package building bits for user - tools module - * configure.in: ditto - -Wed Sep 30 03:00:05 1998 Jeffrey A Law (law@cygnus.com) - - * Makefile.in (TARGET_CONFIGDIRS): Add libobjc. - (ALL_TARGET_MODULES): Add all-target-libobjc. - (CONFIGURE_TARGET_MODULES, CHECK_TARGET_MODULES): Similarly. - (INSTALL_TARGET_MODULES, CLEAN_TARGET_MODULES): Similarly. - (all-target-libchill): Add dependencies. - * configure.in (target_libs): Add libchill. - -1998-09-30 Manfred Hollstein <manfred@s-direktnet.de> - - * configure.in (target_subdir): Remove duplicate line. - -Tue Sep 29 22:45:41 1998 Felix Lee <flee@cygnus.com> - - * Makefile.in (all-automake): fix dependencies. - -Mon Sep 28 04:04:27 1998 Jeffrey A Law (law@cygnus.com) - - * configure.in: Minor cleanups for building in the $(target_alias) - subdir. - -1998-09-22 Jim Wilson <wilson@cygnus.com> - - * Makefile.in (bootstrap): Set r and s before make all. Use - BASE_FLAGS_TO_PASS in make all. - (cross): Likewise. - -1998-09-20 Mark Mitchell <mark@markmitchell.com> - - * Makefile.in (bootstrap): Pass TARGET_FLAGS_TO_PASS to `make all'. - -Sun Sep 20 00:13:02 1998 Richard Henderson <rth@cygnus.com> - - * config.sub: Fix typo in last change. - -1998-09-19 Michael Hayes <m.hayes@elec.canterbury.ac.nz> - - * config.sub: Add support for C4x target. - * configure.in: Likewise. - -1998-09-13 David S. Miller <davem@pierdol.cobaltmicro.com> - - * config.sub: Recognize sparcv9 just like sparc64. - -Wed Sep 9 15:44:52 1998 Robert Lipe <robertl@dgii.com> - - * config.guess: Match "Pent II" or "PentII" for OpenServer. - -Tue Sep 8 01:18:39 1998 Jeffrey A Law (law@cygnus.com) - - * config.guess: Correctly identify Pentium II sco boxes. - - * config.guess: Fix "tr" code. From Weiwen Liu. - -Sat Sep 5 13:56:52 1998 John Hughes <john@Calva.COM> - - * configure.in: Do not assume x86-svr4 or x86-unixware can handle - stabs. - -Sat Sep 5 02:12:02 1998 Jeffrey A Law (law@cygnus.com) - - * Makefile.in (TARGET_CONFIGDIRS): Add libchill. - (ALL_TARGET_MODULES): Add all-target-libchill. - (CONFIGURE_TARGET_MODULES, CHECK_TARGET_MODULES): Similarly. - (INSTALL_TARGET_MODULES, CLEAN_TARGET_MODULES): Similarly. - (all-target-libchill): Add dependencies. - * configure.in (target_libs): Add libchill. - -Sun Aug 30 22:27:02 1998 Lutz Wohlrab <lutz.wohlrab@informatik.tu-chemnitz.de> - - * config.guess: Avoid assumptions about "tr" behaves when - LANG is set to something other than English. - -Sun Aug 30 22:14:44 1998 H.J. Lu (hjl@gnu.org) - - * configure (gxx_include_dir): Changed to - '${prefix}/include/g++'-${libstdcxx_interface}. - - * config.if: New to determine the interfaces. - -Sun Aug 30 21:15:19 1998 Mark Klein (mklein@dis.com) - - * config.guess: Detect and handle MPE/IX. - * config.sub: Deal with MPE/IX. - -Sat Aug 29 14:32:55 1998 David Edelsohn <edelsohn@mhpcc.edu> - - * configure.in: Use mh-aix43. - -1998-07-29 Manfred Hollstein <manfred@s-direktnet.de> - - * configure: Fix --without/--disable cases for gxx-include-dir. - -Fri Aug 28 12:28:26 1998 Per Bothner <bothner@cygnus.com> - - * mdata-sh: Imported. Needed for automake support. - -Thu Aug 13 12:49:29 1998 H.J. Lu <hjl@gnu.org> - - * Makefile.in (taz): Try "chmod -R og=u ." before - "chmod og=u `find . -print`". - -Fri Jul 31 09:38:33 1998 Catherine Moore <clm@cygnus.com> - - * configure.in: Add arm-elf and thumb-elf support. - -Mon Jul 27 16:23:58 1998 Doug Evans <devans@canuck.cygnus.com> - - * Makefile.in: Undo previous patch. - -Fri Jul 24 19:55:24 1998 Doug Evans <devans@canuck.cygnus.com> - - * Makefile.in (INSTALL_TARGET): Move EXTRA_TARGET_HOST_INSTALL_MODULES - to here ... - (install-no-fixedincludes): and here - (INSTALL_MODULES): ... from here. - -Fri Jul 24 17:01:42 1998 Ian Lance Taylor <ian@cygnus.com> - - * config.sub: Merge with FSF. - - * config.guess: Merge with FSF. - -Fri Jul 24 08:43:36 1998 Doug Evans <devans@canuck.cygnus.com> - - * configure (extraconfigdirs): New variable. - (SUBDIRS): Add extraconfigdirs and recurse on them too. - * Makefile.in (all): Move higher in file. - (EXTRA_TARGET_HOST_ALL_MODULES): New variable. - (EXTRA_TARGET_HOST_{INSTALL,CHECK}_MODULES): New variables. - (ALL_MODULES): Add EXTRA_TARGET_HOST_ALL_MODULES. - (CROSS_CHECK_MODULES): Add EXTRA_TARGET_HOST_CHECK_MODULES. - (INSTALL_MODULES): Add EXTRA_TARGET_HOST_INSTALL_MODULES. - -1998-07-23 Brendan Kehoe <brendan@cygnus.com> - - * Makefile.in (all-target-libjava): Depend on all-gcc and - all-target-newlib. - (configure-target-libjava): Depend on $(ALL_GCC). - -Sat Jul 18 14:32:43 CDT 1998 Robert Lipe <robertl@dgii.com> - - * config.guess: (*-pc-sco3.2v5) Add detection for Pentium II. - (*-pc-unixware7) Add detection for Pentium II, Pentium Pro. - -Fri Jul 17 13:30:18 1998 Ian Lance Taylor <ian@cygnus.com> - - * ylwrap: Change absolute path checks to check for DOS style path - names. - - * ylwrap: Don't use a full path name if the source file is in the - same directory. From hjl@lucon.org (H.J. Lu). - - * config-ml.in: Default to being verbose, to match Feb 18 change to - configure. - -Thu Jul 16 12:29:51 1998 Ian Lance Taylor <ian@cygnus.com> - - Brought over from egcs: - - Sat Jun 27 22:46:32 1998 Jeffrey A Law (law@cygnus.com) - - * configure.in (target_subdir): Set to ${target_alias} instead - of "libraries". - - Mon Sep 1 16:45:44 1997 Jim Wilson <wilson@cygnus.com> - - * configure.in (target_subdir): Set to libraries if enable_multilib. - -Wed Jul 15 01:00:54 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in ($(CONFIGURE_TARGET_MODULES)): If there are any - multilibs, force reconfiguration the first time we create - multilib.out in a subdirectory, in case TARGET_SUBDIR is `.'. - -Tue Jul 14 23:41:03 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Strip any --no option from CONFIG_ARGUMENTS, to - avoid confusion with --no-recursion. - -Tue Jul 14 15:37:41 1998 Geoffrey Noer <noer@cygnus.com> - - * configure.in: Win32 hosts shouldn't use install -x - * install-sh: remove -x option, and special .exe-handling - hack. - -Tue Jul 14 15:28:41 1998 Richard Henderson <rth@cygnus.com> - - * config.guess: Recognize i586-pc-beos. - * configure.in: Don't build some bits for beos. - -Tue Jul 14 13:22:18 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure: If CC is set but CFLAGS is not, and CC is gcc, make - CFLAGS default to -O2. - - * ltmain.sh: Add some hacks to make SunOS --enable-shared work - when using GNU ld. - -Fri Jul 10 13:18:23 1998 Ian Lance Taylor <ian@cygnus.com> - - * ltmain.sh: Correct install when using a different shell. - -Tue Jul 7 15:24:38 1998 Ian Lance Taylor <ian@cygnus.com> - - * ltconfig, ltmain.sh: Update to libtool 1.2b. - -Thu Jul 2 13:57:36 1998 Klaus Kaempf <kkaempf@rmi.de> - - * makefile.vms: Update to build binutils/makefile.vms. Add install - target. - -Wed Jul 1 16:45:21 1998 Ian Lance Taylor <ian@cygnus.com> - - * ltconfig: Update to correct AIX handling. - -Sat Jun 27 22:46:32 1998 Jeffrey A Law (law@cygnus.com) - - * Makefile.in (BASE_FLAGS_TO_PASS): Add TARGET_SUBDIR. - - * configure.in (target_subdir): Set to ${target_alias} instead - of "libraries". - -1998-06-26 Manfred Hollstein <manfred@s-direktnet.de> - - * Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger. - (Makefile): Depend on $(gcc_version_trigger). - - * configure (gcc_version): Change default initializer to empty - string. - (gcc_version_trigger): New variable; pass this variable down - to subdir configures to enable them checking gcc's version - themselves. Emit make macros for both gcc_version vars. - (topsrcdir): Initialize reliably. - (recursion line): Remove --with-gcc-version=${gcc_version}. - -1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> - - * configure (enable_version_specific_runtime_libs): Implement new flag - --enable-version-specific-runtime-libs which installs C++ runtime stuff - in $(libsubdir); emit definition in each generated Makefile. - (gxx_include_dir): Initialize depending on - $enable_version_specific_runtime_libs. - -1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> - - * configure (gcc_version): Initialize properly depending on - how and where configure is started. - (recursion line): Pass a --with-gcc-version=${gcc_version} - to configures in subdirs. - -Wed Jun 24 16:01:59 1998 John Metzler <jmetzler@cygnus.com> - - * configure.in (noconfigdirs): Add configure pattern for mips tx39 - cygmon - -Tue Jun 23 22:42:32 1998 Mark Alexander <marka@cygnus.com> - - * configure.in: Add cygmon and libstub support for mn10200. - -1998-06-19 Manfred Hollstein <manfred@s-direktnet.de> - - * configure (gcc_version): Add new variable describing the - particular gcc version we're building. - * Makefile.in (libsubdir): Add new macro for the directory - in which the compiler finds executables, libraries, etc. - (BASE_FLAGS_TO_PASS): Pass down gcc_version, target_alias - and libsubdir. - -Fri Jun 19 02:36:59 1998 Alexandre Oliva <oliva@dcc.unicamp.br> - - * Makefile.in (local-clean): Remove *.log. - (warning.log): Built with warn_summary from build.log. - (mail-report.log): Run test_summary. - (mail-report-with-warnings.log): Run test_summary including - warning.log in the report. - -Thu Jun 18 11:26:03 1998 Robert Lipe <robertl@dgii.com> - - * config.guess: Detection of Pentium II for *-sco-3.2v5*. - -Mon Jun 15 14:53:54 1998 Andrew Cagney <cagney@b1.cygnus.com> - - * Makefile.in (grep): Grep no longer depends on libiberty. - -Fri Jun 12 14:03:34 1998 Syd Polk <spolk@cygnus.com> - - * Makefile.in: all-snavigator needs all-libgui. - -Thu Jun 11 19:43:47 1998 Mark Alexander <marka@cygnus.com> - - * configure.in: Add cygmon and libstub support for mn10300. - -Wed Jun 10 11:19:47 1998 Ian Lance Taylor <ian@cygnus.com> - - * missing: Update to version from automake 1.3. - - * ltmain.sh: On installation, don't get confused if the same name - appears more than once in the list of library names. - -Wed Jun 3 14:51:42 1998 Ian Lance Taylor <ian@cygnus.com> - - * config.sub: Accept m68060 and m5200 as CPU names. - -Mon Jun 1 17:25:16 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure: Use && rather than using -a in test, because odd - strings can confuse test. - * configure.in: Likewise. - -Thu May 28 19:31:13 1998 Ian Lance Taylor <ian@cygnus.com> - - * ltconfig, ltmain.sh: Bring in Visual C++ support. - -Sat May 23 23:44:13 1998 Alexandre Oliva <oliva@dcc.unicamp.br> - - * Makefile.in (boostrap2-lean, bootstrap3-lean, - bootstrap4-lean): New targets. - -Mon May 11 23:55:56 1998 Jeffrey A Law (law@cygnus.com) - - * mpw-* Delete. Not used. - -Mon May 11 23:11:34 1998 Jeffrey A Law (law@cygnus.com) - - * COPYING.LIB: Update FSF address. - -Fri May 8 01:30:20 1998 Ian Lance Taylor <ian@cygnus.com> - - * ltconfig, ltmain.sh: Update to libtool 1.2a. - - * Makefile.in (GASB_SUPPORT_DIRS): Remove intl; already included via - GAS_SUPPORT_DIRS. - -Thu May 7 17:27:35 1998 Ian Lance Taylor <ian@cygnus.com> - - * ltconfig, ltmain.sh: Avoid producing a version number if - -version-info was not used. - -Tue May 5 18:02:24 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Add --with-newlib to CONFIG_ARGUMENTS if we are - building with newlib. - -1998-04-30 Paul Eggert <eggert@twinsun.com> - - * Makefile.in (EXTRA_GCC_FLAGS): Remove backslash at end; - Solaris `make' causes it to continue to next definition. - -Tue Apr 28 16:24:24 1998 Jason Molenda (crash@bugshack.cygnus.com) - - * Makefile.in (install-gdbtk): Call this 'install-gdb' so that - the right GUI libraries and files are installed along with GDB. - -Tue Apr 28 18:11:24 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Change alpha to alpha* in several places. - -Tue Apr 28 07:42:00 1998 Mark Alexander <marka@cygnus.com> - - * config.sub: Recognize sparc86x. - -Tue Apr 28 07:35:02 1998 Michael Meissner <meissner@cygnus.com> - - * configure.in (--enable-target-optspace): Remove debug echo. - -Thu Apr 23 21:31:16 1998 Jim Wilson <wilson@cygnus.com> - - * configure: Set CXXFLAGS from CXXFLAGS, not CFLAGS. - -Thu Apr 23 12:26:38 1998 Ian Lance Taylor <ian@cygnus.com> - - * ltconfig: Update cygwin32 support. - - * Makefile.in (GAS_SUPPORT_DIRS): Add intl. - (BINUTILS_SUPPORT_DIRS, GASB_SUPPORT_DIRS): Likewise. - (GDB_SUPPORT_DIRS): Likewise. - -Wed Apr 22 12:30:10 1998 Michael Meissner <meissner@cygnus.com> - - * configure.in (target_makefile_frag): If --enable-target-optspace, - use -Os to compile target libraries rather than -O2. Default to - using -Os for d10v and m32r if --{enable,disable}-target-optspace is - not used. - * configure.in (target_cflags): Ditto for d30v. - -Tue Apr 21 23:06:54 1998 Tom Tromey <tromey@cygnus.com> - - * Makefile.in (all-bfd): Depend on all-intl. - (all-binutils): Likewise. - (all-gas): Likewise. - (all-gprof): Likewise. - (all-ld): Likewise. - -1998-04-19 Brendan Kehoe <brendan@cygnus.com> - - * configure.in (host_tools): Fix typo, lbtool -> libtool. - -Fri Apr 17 16:20:42 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (all-bfd): Depend upon all-libiberty. - - * ltconfig, ltmain.sh: Bring in newer cygwin32 support. - -Fri Apr 17 12:22:22 1998 Bob Manson <manson@charmed.cygnus.com> - - * Makefile.in: Add libstub. - - * configure.in: Ditto. Build libstub for targets that have cygmon - support. - -Tue Apr 14 18:01:55 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Don't set PICFLAG on ix86-cygwin32. - -Tue Apr 14 12:24:45 1998 J. Kean Johnston <jkj@sco.com> - - * configure.in: Recognise i[3456]96-*-sysv5* as a valid host, and - use mh-sysv5 if specified. Support gprof on SCO Open Server. - -Tue Apr 14 11:33:51 1998 Krister Walfridsson <cato@df.lth.se> - - * configure: Define DEFAULT_M4 by searching PATH. - * Makfile.in: Use DEFAULT_M4. - -Mon Apr 13 15:37:24 1998 Ian Lance Taylor <ian@cygnus.com> - - * ltconfig: Add cygwin32 support. - - * Makefile.in, configure.in: Add libtool as a native only directory - to configure and build. - -Sun Apr 12 20:58:46 1998 Jeffrey A Law (law@cygnus.com) - - * Makefile.in (INSTALL_MODULES): Remove texinfo. - -Wed Apr 8 13:18:56 1998 Philippe De Muyter <phdm@macqel.be> - - * Makefile.in (EXTRA_GCC_FLAGS): XFOO lines shortened. - -Thu Apr 2 14:48:44 1998 Geoffrey Noer <noer@cygnus.com> - - * Makefile.in: add ash make rules - * configure.in: add ash to native_only and host_tools lists - -Thu Mar 26 12:53:20 1998 Tom Tromey <tromey@cygnus.com> - - * Makefile.in (all-gettext, all-intl): New targets. - (ALL_MODULES): Added all-gettext, all-intl. - (CROSS_CHECK_MODULES): Added check-gettext, check-intl. - (INSTALL_MODULES): Added install-gettext, install-intl. - (CLEAN_MODULES): Added clean-gettext, clean-intl. - - * configure.in (host_tools): Added gettext. - (native_only): Likewise. - (noconfigdirs) [various cases]: Likewise. - (host_libs): Added intl. - -Thu Mar 26 15:00:11 1998 Keith Seitz <keiths@onions.cygnus.com> - - * configure: Do not disable building gdbtk for cygwin32 hosts. - -Wed Mar 25 10:04:18 1998 Nick Clifton <nickc@cygnus.com> - - * configure.in: Add thumb-coff target. - * config.sub: Add thumb-coff target. - -Wed Mar 25 11:49:12 1998 Jason Molenda (crash@bugshack.cygnus.com) - - * Makefile.in: Revert yesterday's change. - (all-target-winsup): all-target-librx stays out of here. - -Tue Mar 24 16:58:29 1998 Jason Molenda (crash@bugshack.cygnus.com) - - * Makefile.in (TARGET_CONFIGDIRS, ALL_TARGET_MODULES, - CONFIGURE_TARGET_MODULES, CHECK_TARGET_MODULES, - INSTALL_TARGET_MODULES, CLEAN_TARGET_MODULES, all-target-winsup): - Remove references to librx and libg++. - -Tue Mar 24 18:28:12 1998 Eric Mumpower <nocturne@cygnus.com> - - * Makefile.in (BASE_FLAGS_TO_PASS): Pass $(lispdir) down to - recursive makes - -Tue Mar 24 11:37:45 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -B - for newlib directory. - (CXX_FOR_TARGET): Likewise. - -Mon Mar 23 11:30:21 1998 Jeffrey A Law (law@cygnus.com) - - * ltconfig: Update after libtool/ltconfig.in change for - hpux11. - -Fri Mar 20 18:51:43 1998 Ian Lance Taylor <ian@cygnus.com> - - * ltconfig, ltmain.sh: Update to libtool 1.2. - -Fri Mar 20 09:32:14 1998 Manfred Hollstein <manfred@s-direktnet.de> - - * Makefile.in (install-gcc): Don't specify LANGUAGES here. - (install-gcc-cross): Instead, override LANGUAGES here. - -1998-03-18 Dave Love <d.love@dl.ac.uk> - - * Makefile.in ($(CONFIGURE_TARGET_MODULES)): Set CONFIG_SITE to a - non-existent file since /dev/null loses with bash 2.0/autoconf 2.12. - -Wed Mar 18 09:24:59 1998 Nick Clifton <nickc@cygnus.com> - - * configure.in: Add Thumb-pe target. - -Tue Mar 17 16:59:00 1998 Syd Polk <spolk@cygnus.com> - - * Makefile.in - changed sn targets to snavigator - * configure.in - changed sn targets to snavigator - -Tue Mar 17 10:33:28 1998 Manfred Hollstein <manfred@s-direktnet.de> - - * config-ml.in: After building symlink tree call make distclean - if a Makefile got linked into ${ml_dir}/${ml_libdir}; this happens - to be the case for libiberty. - -Tue Mar 17 10:22:37 1998 H.J. Lu (hjl@gnu.ai.mit.edu) - - * configure: When making link, also check the current - directory. The configure scripts may create one. - -Fri Mar 6 01:02:03 1998 Richard Henderson <rth@cygnus.com> - - * config.sub: Accept alphapca56 and alphaev6 properly. - -Fri Mar 6 00:14:55 1998 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - - * configure.in: Revert 3 Jan change for powerpc-linux-gnulibc1. - -Mon Feb 23 15:09:18 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de - - * config.sub (sco5): Fix typo. - -Mon Feb 23 14:46:06 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (INSTALL_MODULES): Move install-tcl before - install-itcl. - (install-itcl): Remove dependency on install-tcl. - -Mon Feb 23 09:53:28 1998 Mark Alexander <marka@cygnus.com> - - * configure.in: Remove libgloss from noconfigdirs for MN10300. - -Thu Feb 19 13:40:41 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Don't build libgui for a cygwin32 target when not on - a cygwin32 host. - -Wed Feb 18 12:29:00 1998 Jason Molenda (crash@bugshack.cygnus.com) - - * configure (redirect): Set to null, so default behavior of - configure is now --verbose. - -1998-02-16 Dave Love <d.love@dl.ac.uk> - - * Makefile.in ($(CONFIGURE_TARGET_MODULES)): Run configure with - CONFIG_SITE=/dev/null to forestall lossage with site configuration. - -Mon Feb 16 12:23:53 1998 Manfred Hollstein <Manfred.Hollstein@ks.sel.alcatel.de> - - * Makefile.in (BASE_FLAGS_TO_PASS, EXTRA_TARGET_FLAGS): Really add - this change to sync Makefile.in with its ChangeLog entries. - -Thu Feb 12 15:03:08 1998 H.J. Lu <hjl@gnu.org> - - * ltmain.sh (mkdir): Check that the directory doesn't exist - before we exit with error, so that we don't get races during - parallel builds. - -Sat Feb 7 15:19:18 1998 Ian Lance Taylor <ian@cygnus.com> - - * ltconfig, ltmain.sh: Update from libtool 1.0i. - -Fri Feb 6 01:33:52 1998 Manfred Hollstein <manfred@s-direktnet.de> - - * Makefile.in (BASE_FLAGS_TO_PASS): Don't pass PICFLAG and - PICFLAG_FOR_TARGET. - (EXTRA_TARGET_FLAGS): Don't pass PICFLAG_FOR_TARGET. - - * configure: Emit a definition for the new macro enable_shared - into each Makefile. - -Thu Feb 5 17:01:12 1998 Jason Molenda (crash@bugshack.cygnus.com) - - * configure.in (host_tools, native_only): Add libtool. - -Wed Feb 4 16:53:58 1998 Geoffrey Noer <noer@cygnus.com> - - * configure.in: add target-gperf to noconfigdirs for Cygwin32. - Fix typo in ming config comment. - -Wed Feb 4 18:56:13 1998 Ian Lance Taylor <ian@cygnus.com> - - * ltconfig, ltmain.sh: Update from libtool 1.0h. - -Mon Feb 2 19:38:19 1998 Ian Lance Taylor <ian@cygnus.com> - - * config.sub: Add tic30 cases, and map c30 to tic30. - -Sun Feb 1 02:40:41 1998 Richard Henderson <rth@cygnus.com> - - * Makefile.in (TARGET_CONFIGDIRS): Add libf2c. - (ALL_TARGET_MODULES, CONFIGURE_TARGET_MODULES): Similarly - (CHECK_TARGET_MODULES, INSTALL_TARGET_MODULES): Similarly - (CLEAN_TARGET_MODULES): Similarly - (all-target-libf2c): Add dependences. - * configure.in (target_libs): Add libf2c. - -Fri Jan 30 17:18:32 1998 Geoffrey Noer <noer@cygnus.com> - - * configure.in: Remove expect from noconfigdirs when target - is cygwin32. OK to build expect and dejagnu with Canadian - Cross. - -Wed Jan 28 12:58:49 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Do build expect, dejagnu, and cvssrc for a cygwin32 - host. - - * config.guess: Use ${UNAME_MACHINE} rather than i386 for cygwin32 - and mingw32. - -Wed Jan 28 10:26:37 1998 Manfred Hollstein <manfred@s-direktnet.de> - - * Makefile.in (BASE_FLAGS_TO_PASS): Remove passing $(local_prefix) - here as it is not defined in the toplevel Makefile. - -Tue Jan 27 23:25:06 1998 Manfred Hollstein <manfred@s-direktnet.de> - - * configure (package_makefile_rules_frag): New variable, which names - a file with generic rules, ... - Change comment to mention we now have FIVE parts. - * configure: Undo last change. - -Tue Jan 27 23:15:55 1998 Lassi A. Tuura <lat@iki.fi> - - * config.guess: More accurate determination of HP processor types. - * config.sub: More accurate determination of HP processor types. - -Sat Jan 24 01:59:45 1998 Manfred Hollstein <manfred@s-direktnet.de> - - * configure (package_makefile_frag): Move inserting the - ${package_makefile_frag} to where it should be according - to the comment. - -Fri Jan 23 00:29:28 1998 Philip Blundell <pb@nexus.co.uk> - - * config.guess: Add support for Linux/ARM. - -Thu Jan 22 15:14:01 1998 Fred Fish <fnf@cygnus.com> - - * .cvsignore: Remove *-info and *-install since they match - release-info and mpw-install, which we don't want to just ignore. - -Thu Jan 22 01:38:33 1998 Richard Henderson <rth@cygnus.com> - - * configure.in: Revert 3 Jan change for alpha-linux-gnulibc1. - -Sat Jan 17 21:28:08 1998 Pieter Nagel <pnagel@epiuse.co.za> - - * Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and - local_prefix to sub-make invocations. - -Sat Jan 17 21:04:59 1998 H.J. Lu (hjl@gnu.org) - - * configure.in: Check makefile fragments in the source - directory. - -Fri Jan 16 00:41:37 1998 Alexandre Oliva <oliva@dcc.unicamp.br> - - * configure.in: Check whether host and target makefile - fragments exist before adding them to *_makefile_frag. - -Wed Jan 14 23:39:10 1998 Bob Manson <manson@charmed.cygnus.com> - - * configure.in (target_configdirs): Add cygmon for sparc64-elf. - -Wed Jan 14 12:48:07 1998 Keith Seitz <keiths@pizza.cygnus.com> - - * configure.in: Make sure we only replace RPATH_ENVVAR on - lines which begin with RPATH_ENVVAR, i.e. add "^" to the - regexp to sed. - - * Makefile.in (BASE_FLAGS_TO_PASS): Pass RRPATH_ENVVAR down - to sub-makes. - -1998-01-13 Lee Iverson (leei@ai.sri.com) - - * config-ml.in (multi-do): LDFLAGS must include multilib - designator. - -Tue Jan 13 01:13:24 1998 Robert Lipe (robertl@dgii.com) - - * config.guess: Recognize i[3456]-i586-UnixWare7-sysv5. - -Sun Jan 4 01:06:55 1998 Mumit Khan <khan@xraylith.wisc.edu> - - * config.sub: Add mingw32 support. - * configure.in: Likewise. - -Sat Jan 3 12:11:05 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com> - - * configure.in: Finalize support for {alpha|powerpc}*-*-linux-gnulibc1 - -Sun Dec 28 11:28:58 1997 Jeffrey A Law (law@cygnus.com) - - * Makefile.in (INSTALL_TARGET): Do install-gcc first. - * configure (gxx_include_dir): Provide a definition for subdirs - which do not use autoconf. - -Wed Dec 24 22:46:55 1997 Jeffrey A Law (law@cygnus.com) - - * config.guess: Sync with egcs. Picks up new alpha support, - BeOS & some additional linux support. - -Tue Dec 23 12:44:24 1997 Jeffrey A Law (law@cygnus.com) - - * config.guess: HP 9000/803 is a PA1.1 machine. - -Mon Dec 22 02:39:24 1997 Richard Henderson <rth@cygnus.com> - - * configure.in: It's alpha*-... - -Sun Dec 21 16:53:12 1997 H.J. Lu (hjl@gnu.ai.mit.edu) - - * configure.in (host_makefile_frag, target_makefile_frag): - Handle multiple config files. - (alpha-*-linux*): Treat alpha-*-linux* as alpha-*-linux* and - alpha-*-*. - -Thu Dec 18 13:13:03 1997 Doug Evans <devans@canuck.cygnus.com> - - * mkdep: New file. - -Wed Dec 17 09:53:02 1997 Michael Meissner <meissner@cygnus.com> - - * configure.in (d30v-*-*): Allow configuring of libide, vmake, etc. - -Tue Dec 16 17:36:05 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in: Add libgui directory. - (GDB_TK): Add all-libgui. - * configure.in: Add libgui directory. - * configure: Add all-libgui to GDB_TK. - -Mon Dec 15 16:12:28 1997 Nick Clifton <nickc@cygnus.com> - - * config-ml.in (multidirs): Add m32r to multilib list. - -Fri Dec 12 10:43:31 1997 Brendan Kehoe <brendan@canuck.cygnus.com> - - * Makefile.in (all-target-gperf): Change dependency to - all-target-libstdc++. - -Thu Dec 11 23:30:51 1997 Fred Fish <fnf@ninemoons.com> - - * config.guess: Add BeOS support. - -Wed Dec 10 15:10:38 1997 Ian Lance Taylor <ian@cygnus.com> - - Source directory cvs renamed to cvssrc: - * configure.in (host_tools): Change cvs to cvssrc. - (native_only): Likewise. - (noconfigdirs) [various cases]: Likewise. - * Makefile.in (ALL_MODULES): Change all-cvs to all-cvssrc. - (CROSS_CHECK_MODULES): Change check-cvs to check-cvssrc. - (INSTALL_MODULES): Change install-cvs to install-cvssrc. - (CLEAN_MODULES): Change clean-cvs to clean-cvssrc. - (all-cvssrc): Rename target from all-cvs. - -Wed Dec 3 07:55:59 1997 Jeffrey A Law (law@cygnus.com) - - * configure (gxx_include_dir): Fix thinko. - -Tue Dec 2 10:55:34 1997 Jeffrey A Law (law@cygnus.com) - - * Makefile.in (INSTALL_TARGET_CROSS): Define. - (install-cross, install-gcc-cross): New targets. - -Tue Dec 2 10:08:31 1997 Nick Clifton <nickc@cygnus.com> - - * configure.in (noconfigdirs): Add support for Thumb target. - - * config.sub (maybe_os): Add support for Thumb target. - -Sun Nov 30 16:12:27 1997 Bob Manson <manson@charmed.cygnus.com> - - * Makefile.in: Add rules for cygmon. - - * configure.in: Build cygmon for sparc-elf and sparclite-aout. - -Thu Nov 27 01:31:30 1997 Jeffrey A Law (law@cygnus.com) - - * Makefile.in (INSTALL_TARGET): Do install-gcc first. - * configure (gxx_include_dir): Provide a definition for subdirs - which do not use autoconf. - -Wed Nov 26 11:53:33 1997 Keith Seitz <keiths@onions.cygnus.com> - - * Makefile.in, configure, configure.in, ChangeLog: merge with foundry's - 11/18/97 build - -Wed Nov 26 16:08:50 1997 Jeffrey A Law (law@cygnus.com) - - * From Franz Sirl. - * config.guess (powerpc*-*-linux): Handle glibc2 beta release - found on RedHat Linux systems. - -Fri Nov 21 09:51:01 1997 Jeffrey A Law (law@cygnus.com) - - * config.guess (alpha stuff): Merge with FSF to avoid incorrect - guesses. - -Thu Nov 13 11:38:37 1997 Jeffrey A Law (law@cygnus.com) - - * configure.in (i[3456]86-ncr-sysv4.3*): Tweak. - -Mon Nov 10 15:23:21 1997 H.J. Lu <hjl@gnu.ai.mit.edu> - - * ltmain.sh: If mkdir fails, check whether the directory was created - anyhow by some other process. - -Mon Nov 10 14:38:03 1997 Michael Meissner <meissner@cygnus.com> - - * configure.in (d30v-*-*): Configure all directories. - -Sun Nov 9 17:36:20 1997 Michael Meissner <meissner@cygnus.com> - - * configure.in (d30v-*-*): Configure newlib, libiberty directories - for the D30V. - -Sat Nov 8 14:42:59 1997 Michael Meissner <meissner@cygnus.com> - - * configure.in (d30v-*-*): Configure target-libgloss on the D30V. - -Fri Nov 7 10:34:09 1997 Rob Savoye <rob@darkstar.cygnus.com> - - * include/libiberty.h: Add extern "C" { so it can be used with C++ - progrms. - * include/remote-sim.h: Add extern "C" { so it can be used with C++ - programs. - -Thu Oct 30 11:09:29 1997 Michael Meissner <meissner@cygnus.com> - - * configure.in (d30v-*-*): Configure GCC now. - -Mon Oct 27 13:17:24 1997 Stan Shebs <shebs@andros.cygnus.com> - - * configure.in: Remove a "second pass" of tweaking noconfigdirs, - is no longer needed. - -Mon Oct 27 12:03:53 1997 Jason Merrill <jason@yorick.cygnus.com> - - * Makefile.in: check-target-libio depends on all-target-libstdc++. - -Sun Oct 26 11:48:27 1997 Manfred Hollstein (manfred@s-direktnet.de) - - * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap - targets using "$@" to provide support for similar but not identical - targets without having to duplicate code. - -Mon Oct 20 15:28:49 1997 Klaus K"ampf <kkaempf@progis.de> - - * makefile.vms: Fix to work with DEC C. - -Tue Oct 7 23:58:57 1997 Gavin Koch <gavin@cygnus.com> - - * config.sub: Add mips-tx39-elf to marketing names. - -Tue Oct 7 14:24:41 1997 Ian Lance Taylor <ian@cygnus.com> - - * ltmain.sh: Handle symlinks in generated script. - -Wed Oct 1 13:11:27 1997 Ian Lance Taylor <ian@cygnus.com> - - * configure: Handle autoconf style directory options: --bindir, - --datadir, --includedir, --infodir, --libdir, --libexecdir, - --mandir, --oldincludedir, --sbindir, --sharedstatedir, - --sysconfdir. - * Makefile.in (sbindir, libexecdir, sysconfdir): New variables. - (sharedstatedir, localstatedir, oldincludedir): New variables. - (BASE_FLAGS_TO_PASS): Pass down bindir, datadir, includedir, - infodir, libdir, libexecdir, localstatedir, mandir, oldincludedir, - sbindir, sharedstatedir, and sysconfdir. - -Mon Sep 29 00:38:08 1997 Aaron Jackson <jackson@negril.msrce.howard.edu> - - * Makefile.in (bootstrap-lean): New target. - -Wed Sep 24 18:06:27 1997 Stu Grossman <grossman@babylon-5.cygnus.com> - - * configure.in (d30v): Remove tcl, tk, expect, gdb, itcl, tix, db, - sn, and gnuserv from noconfigdirs. - -Wed Sep 24 15:18:32 1997 Ian Lance Taylor <ian@cygnus.com> - - * ltmain.sh: Tweak shell pattern to avoid bug in NetBSD /bin/sh. - -Thu Sep 18 23:58:27 1997 Jeffrey A Law (law@cygnus.com) - - * Makefile.in (cross): New target. - -Thu Sep 18 21:43:23 1997 Alexandre Oliva <oliva@dcc.unicamp.br> - Jeff Law <law@cygnus.com> - - * Makefile.in (bootstrap2, bootstrap3): New targets. - (all-bootstrap): Remove outdated and confusing target. - (bootstrap, bootstrap2, bootstrap3): Don't pass BOOT_CFLAGS down. - -Thu Sep 18 15:37:42 1997 Andrew Cagney <cagney@b1.cygnus.com> - - * configure (tooldir): enable_gdbtk=YES for cygwin32, NO for - windows. Consistent with gdb/configure. - -1997-09-15 02:37 Ulrich Drepper <drepper@cygnus.com> - - * configure.in: Name Linux target fragment. - - * configure: Rewrite so that project Makefile fragment is inserted - first and appears last in the resulting Makefile. - -Tue Sep 16 09:55:07 1997 Andrew Cagney <cagney@b1.cygnus.com> - - * Makefile.in (install-itcl): Install tcl first. - -Fri Sep 12 16:19:20 1997 Geoffrey Noer <noer@cygnus.com> - - * configure.in: remove bison from noconfigdirs for Cygwin32 host - -Thu Sep 11 16:40:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu) - - * Makefile.in (local-distclean): Also remove mh-frag mt-frag. - - * configure.in (skipdirs): Add target-librx for Linux. - (alpha-*-linux*): Use config/mh-elfalphapic and config/mt-elfalphapic. - -Wed Sep 10 21:29:54 1997 Jeffrey A Law (law@cygnus.com) - - * Makefile.in (bootstrap): New target. - -Wed Sep 10 15:19:22 1997 Jeffrey A Law (law@cygnus.com) - - * config.sub: Accept 'amigados' for backward compatability. - -Mon Sep 8 20:46:20 1997 Ian Lance Taylor <ian@cygnus.com> - - * config.guess: Merge with FSF. - -Sun Sep 7 23:18:32 1997 Fred Fish <fnf@ninemoons.com> - - * config.sub: Change 'amigados' to 'amigaos' to match current usage. - -Sun Sep 7 15:55:28 1997 Gavin Koch <gavin@cygnus.com> - - * config.sub: Add "marketing-names" patch. - -Fri Sep 5 16:11:28 1997 Joel Sherrill (joel@OARcorp.com) - - * configure.in (*-*-rtems*): Do not build libgloss for rtems. - -Fri Sep 5 12:27:17 1997 Jeffrey A Law (law@cygnus.com) - - * config.sub: Handle v850-elf. - -Wed Sep 3 22:01:58 1997 Fred Fish <fnf@ninemoons.com> - - * .cvsignore (*-install): Remove. - -Wed Sep 3 12:15:24 1997 Chris Provenzano <proven@cygnus.com> - - * ltconfig: Set CONFIG_SHELL in libtool. - * ltmain.sh: Use CONFIG_SHELL instead of /bin/sh - -Mon Sep 1 16:45:44 1997 Jim Wilson <wilson@cygnus.com> - - * configure.in (target_subdir): Set to libraries if enable_multilib. - -Wed Aug 27 16:15:11 1997 Jim Wilson <wilson@cygnus.com> - - * config.guess: Update from gcc directory. - -Tue Aug 26 16:46:46 1997 Andrew Cagney <cagney@b1.cygnus.com> - - * Makefile.in (all-sim): Depends on all-readline. - -Wed Aug 20 19:57:37 1997 Jason Merrill <jason@yorick.cygnus.com> - - * Makefile.in (BISON, YACC): Use $$s. - (all-bison): Depend on all-texinfo. - -Tue Aug 19 01:41:32 1997 Jason Merrill <jason@yorick.cygnus.com> - - * Makefile.in (BISON): Add -L flag. - (YACC): Likewise. - -Mon Aug 18 11:30:50 1997 Nick Clifton <nickc@cygnus.com> - - * configure.in (noconfigdirs): Add support for v850e target. - - * config.sub (maybe_os): Add support for v850e target. - -Mon Aug 18 11:30:50 1997 Nick Clifton <nickc@cygnus.com> - - * configure.in (noconfigdirs): Add support for v850ea target. - - * config.sub (maybe_os): Add support for v850ea target. - -Mon Aug 18 09:24:06 1997 Gavin Koch <gavin@cygnus.com> - - * config.sub: Add mipstx39. Delete r3900. - -Mon Aug 18 17:20:10 1997 Jason Molenda (crash@godzilla.cygnus.co.jp) - - * Makefile.in (all-autoconf): Depends on all-texinfo. - -Fri Aug 15 23:09:26 1997 Michael Meissner <meissner@cygnus.com> - - * config-ml.in ({powerpc,rs6000}*-*-*): Update to current AIX and - eabi targets. - -Thu Aug 14 14:42:17 1997 Ian Lance Taylor <ian@cygnus.com> - - * configure: Get CFLAGS and CXXFLAGS from Makefile, if possible. - - * configure: When handling a Canadian Cross, handle YACC as well as - BISON. Just set BISON to bison. When setting YACC, prefer bison. - * Makefile.in (all-bison): Depend upon all-texinfo. - -Tue Aug 12 20:09:48 1997 Jason Merrill <jason@yorick.cygnus.com> - - * Makefile.in (BISON): bison, not byacc or bison -y. - (YACC): bison -y or byacc or yacc. - (various): Add *-bison as appropriate. - (taz): No need to mess with BISON anymore. - -Tue Aug 12 22:33:08 1997 Ian Lance Taylor <ian@cygnus.com> - - * configure: If OSTYPE matches *win32*, try to find a good value for - CONFIG_SHELL. - -Sun Aug 10 14:41:11 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (taz): Get the version number from AM_INIT_AUTOMAKE in - configure.in if it is present. - -Sat Aug 9 00:58:01 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (LD_FOR_TARGET): Change ld.new to ld-new. - -Fri Aug 8 16:30:13 1997 Doug Evans <dje@canuck.cygnus.com> - - * config.sub: Recognize `arc' cpu. - * configure.in: Likewise. - * config-ml.in: Likewise. - -Thu Aug 7 11:02:34 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in ($(INSTALL_X11_MODULES)): Depend upon installdirs. - -Wed Aug 6 16:27:29 1997 Chris Provenzano <proven@cygnus.com> - - * configure: Changed sed delimiter from ':' to '|' when - attempting to substitute ${config_shell} for SHELL. On - NT ${config_shell} may contain a ':' in it. - -Wed Aug 6 12:29:05 1997 Jason Merrill <jason@yorick.cygnus.com> - - * Makefile.in (EXTRA_GCC_FLAGS): Fix for non-bash shells. - -Wed Aug 6 00:42:35 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (AS_FOR_TARGET): Change as.new to as-new. - -Tue Aug 5 14:08:51 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (NM_FOR_TARGET): Change nm.new to nm-new. - - * ylwrap: If the program is a relative path, force it to be - absolute. - -Tue Aug 5 12:12:44 1997 Andrew Cagney <cagney@b1.cygnus.com> - - * configure (tooldir): Set BISON to `bison -y' and not just bison. - -Mon Aug 4 22:59:02 1997 Andrew Cagney <cagney@b1.cygnus.com> - - * Makefile.in (CC_FOR_TARGET): When winsup/Makefile present, - correctly specify the target build directory $(TARGET_SUBDIR)/winsup - for libraries. - -Mon Aug 4 12:40:24 1997 Jason Merrill <jason@yorick.cygnus.com> - - * Makefile.in (EXTRA_GCC_FLAGS): Fix handling of macros with values - separated by spaces. - -Thu Jul 31 19:49:49 1997 Ian Lance Taylor <ian@cygnus.com> - - * ylwrap: New file. - * Makefile.in (DEVO_SUPPORT): Add ylwrap. - - * ltmain.sh: Handle /bin/sh at start of install program. - - * Makefile.in (DEVO_SUPPORT): Add ltconfig, ltmain.sh, and missing. - - * ltconfig, ltmain.sh: New files, from libtool 1.0. - * missing: New file, from automake 1.2. - -Thu Jul 24 12:57:56 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in: Treat tix like tk, putting it in X11_MODULES. Add - check-tk to CHECK_X11_MODULES. - -Wed Jul 23 17:03:29 1997 Ian Lance Taylor <ian@cygnus.com> - - * config.sub: Merge with FSF. - -Tue Jul 22 19:08:29 1997 Ian Lance Taylor <ian@cygnus.com> - - * config.guess: Merge with FSF. - -Tue Jul 22 14:50:42 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE> - - * configure: Treat msdosdjgpp like go32. - * configure.in: Likewise. Don't remove gprof for go32. - - * configure: Change Makefile.tem2 to Makefile.tm2. - -Mon Jul 21 10:31:26 1997 Stephen Peters <speters@cygnus.com> - - * configure.in (noconfigdirs): For alpha-dec-osf*, don't ignore grep. - -Tue Jul 15 14:33:03 1997 Brendan Kehoe <brendan@lisa.cygnus.com> - - * install-sh (chmodcmd): Set to null if the DST directory already - exists. Same as Nov 11th change. - -Mon Jul 14 11:01:15 1997 Martin M. Hunt <hunt@cygnus.com> - - * configure (GDB_TK): Needs itcl and tix. - -Mon Jul 14 00:32:10 1997 Jason Merrill <jason@yorick.cygnus.com> - - * config.guess: Update from FSF. - -Fri Jul 11 11:57:11 1997 Martin M. Hunt <hunt@cygnus.com> - - * Makefile.in (GDB_TK): Depend on itcl and tix. - -Fri Jul 4 13:25:31 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (INSTALL_PROGRAM_ARGS): New variable. - (INSTALL_PROGRAM): Use $(INSTALL_PROGRAM_ARGS). - (INSTALL_SCRIPT): New variable. - (BASE_FLAGS_TO_PASS): Pass down INSTALL_SCRIPT. - * configure.in: If host is *-*-cygwin32*, set INSTALL_PROGRAM_ARGS - to -x. - * install-sh: Add support for -x option. - -Mon Jun 30 15:51:30 1997 Ian Lance Taylor <ian@cygnus.com> - - * configure.in, Makefile.in: Treat tix like itcl. - -Thu Jun 26 13:59:19 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (WINDRES): New variable. - (WINDRES_FOR_TARGET): New variable. - (BASE_FLAGS_TO_PASS): Add WINDRES_FOR_TARGET. - (EXTRA_HOST_FLAGS): Add WINDRES. - (EXTRA_TARGET_FLAGS): Add WINDRES. - (EXTRA_GCC_FLAGS): Add WINDRES. - ($(DO_X)): Pass down WINDRES. - ($(CONFIGURE_TARGET_MODULES)): Set WINDRES when configuring. - * configure: Treat WINDRES like DLLTOOL, and WINDRES_FOR_TARGET like - DLLTOOL_FOR_TARGET. - -Wed Jun 25 15:01:26 1997 Felix Lee <flee@cygnus.com> - - * configure.in: configure sim before gdb for win32-x-ppc - -Wed Jun 25 12:18:54 1997 Brendan Kehoe <brendan@lisa.cygnus.com> - - Move gperf into the toplevel, from libg++. - * configure.in (target_tools): Add target-gperf. - (native_only): Add target-gperf. - * Makefile.in (all-target-gperf): New target, depend on - all-target-libg++. - (configure-target-gperf): Empty rule. - (ALL_TARGET_MODULES): Add all-target-gperf. - (CONFIGURE_TARGET_MODULES): Add configure-target-gperf. - (CHECK_TARGET_MODULES): Add check-target-gperf. - (INSTALL_TARGET_MODULES): Add install-target-gperf. - (CLEAN_TARGET_MODULES): Add clean-target-gperf. - -Mon Jun 23 10:51:53 1997 Jeffrey A Law (law@cygnus.com) - - * config.sub (mn10200): Recognize new basic machine. - -Thu Jun 19 14:16:42 1997 Brendan Kehoe <brendan@lisa.cygnus.com> - - * configure.in: Don't set ENABLE_MULTILIB, so we'll be passing - --enable-multilib down to subdirs; setting TARGET_SUBDIR was enough. - -Tue Jun 17 15:31:20 1997 Brendan Kehoe <brendan@lisa.cygnus.com> - - * configure.in: If we're building mips-sgi-irix6* native, turn on - ENABLE_MULTILIB and set TARGET_SUBDIR. - -Tue Jun 17 12:20:59 1997 Tom Tromey <tromey@cygnus.com> - - * Makefile.in (all-sn): Depend on all-grep. - -Mon Jun 16 11:11:10 1997 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Use mh-ppcpic and mt-ppcpic for powerpc*-* targets. - - * configure: Set CFLAGS and CXXFLAGS, and substitute them into - Makefile. From Jeff Makey <jeff@cts.com>. - * Makefile.in: Add comment for CFLAGS and CXXFLAGS. - - * Makefile.in (DISTBISONFILES): Remove. - (taz): Don't futz with DISTBISONFILES. Change BISON to use - $(DEFAULT_YACC). - - * configure.in: Build itl, db, sn, etc., when building for native - cygwin32. - - * Makefile.in (LD): New variable. - (EXTRA_HOST_FLAGS): Pass down LD. - ($(DO_X)): Likewise. - -Mon Jun 16 11:10:35 1997 Philip Blundell <Philip.Blundell@pobox.com> - - * Makefile.in (INSTALL): Use $(SHELL) when executing install-sh. - -Fri Jun 13 10:22:56 1997 Bob Manson <manson@charmed.cygnus.com> - - * configure.in (targargs): Strip out any supplied --build argument - before adding our own. Always add --build. - -Thu Jun 12 21:12:28 1997 Bob Manson <manson@charmed.cygnus.com> - - * configure.in (targargs): Pass --build if we're doing - a cross-compile. - -Fri Jun 6 21:38:40 1997 Rob Savoye <rob@chinadoll.cygnus.com> - - * configure: Use '|' instead of ":" as the separator in - sed. Otherwise sed chokes on NT path names with drive - designators. Also look for "?:*" as the leading characters in an - absolute pathname. - -Mon Jun 2 13:05:20 1997 Gavin Koch <gavin@cygnus.com> - - * config.sub: Support for r3900. - -Wed May 21 17:33:31 1997 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Use install-sh, not install.sh. - -Wed May 14 16:06:51 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (taz): Improve check for BISON so it doesn't try to - apply it twice. - -Fri May 9 17:22:05 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (INSTALL_MODULES): Put install-opcodes before - install-binutils. - -Thu May 8 17:29:50 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in: Add automake targets. - * configure.in (host_tools): Add automake. - -Tue May 6 15:49:52 1997 Ian Lance Taylor <ian@cygnus.com> - - * configure: Default CXX to c++, not gcc. - * Makefile.in (CXX): Set to c++, not gcc. - (CXX_FOR_TARGET): When cross, transform c++, not gcc. - -Thu May 1 10:11:43 1997 Geoffrey Noer <noer@cygnus.com> - - * install-sh: try appending a .exe if source file doesn't - exist - -Wed Apr 30 12:05:36 1997 Jason Merrill <jason@yorick.cygnus.com> - - * configure.in: Turn on multilib by default. - (cross_only): Remove target-libiberty. - - * Makefile.in (all-gcc): Don't depend on libiberty. - -Mon Apr 28 18:39:45 1997 Michael Snyder <msnyder@cleaver.cygnus.com> - - * config.guess: improve algorithm for recognizing Gnu Hurd x86. - -Thu Apr 24 19:30:07 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (DEVO_SUPPORT): Add mpw-install. - (DISTBISONFILES): Add ld/Makefile.in - -Tue Apr 22 17:17:28 1997 Geoffrey Noer <noer@pizza.cygnus.com> - - * configure.in: if target is cygwin32 but host isn't cygwin32, - don't configure gdb tcl tk expect, not just gdb. - -Mon Apr 21 13:33:39 1997 Tom Tromey <tromey@cygnus.com> - - * configure.in: Added gnuserv everywhere sn appears. - - * Makefile.in (ALL_MODULES): Added all-gnuserv. - (CROSS_CHECK_MODULES): Added check-gnuserv. - (INSTALL_MODULES): Added install-gnuserv. - (CLEAN_MODULES): Added clean-gnuserv. - (all-gnuserv): New target. - -Thu Apr 17 13:57:06 1997 Per Fogelstrom <pefo@openbsd.org> - - * config.guess: Fixes for MIPS OpenBSD systems. - -Tue Apr 15 12:21:07 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (INSTALL_XFORM): Remove. - (BASE_FLAGS_TO_PASS): Remove INSTALL_XFORM. - - * mkinstalldirs: New file, copied from automake. - * Makefile.in (installdirs): Rename from install-dirs. Use - mkinstalldirs. Change all users. - (DEVO_SUPPORT): Add mkinstalldirs. - -Mon Apr 14 11:21:38 1997 Ian Lance Taylor <ian@cygnus.com> - - * install-sh: Rename from install.sh. - * Makefile.in (INSTALL): Change install.sh to install-sh. - (DEVO_SUPPORT): Likewise. - - * configure: Use ${config_shell} with ${moveifchange}. From Thomas - Graichen <graichen@rzpd.de>. - -Fri Apr 11 16:37:10 1997 Niklas Hallqvist <niklas@appli.se> - - * config.guess: Recognize OpenBSD systems correctly. - -Fri Apr 11 17:07:04 1997 Jason Molenda (crash@godzilla.cygnus.co.jp) - - * README, Makefile.in (ETC_SUPPORT): Remove references to - cfg-paper*, configure.{texi,man,info*}._ - -Sun Apr 6 18:47:57 1997 Andrew Cagney <cagney@kremvax.cygnus.com> - - * Makefile.in (all.normal): Ensure that gcc is built after all - the x11 - ie gdb - targets. - -Tue Apr 1 16:28:50 1997 Klaus Kaempf <kkaempf@progis.de> - - * makefile.vms: Don't run conf-a-gas. - -Mon Mar 31 16:26:55 1997 Joel Sherrill <joel@oarcorp.com> - - * configure.in (hppa1.1-*-rtems*): New target, like hppa-*-*elf*. - -Sun Mar 30 12:38:27 1997 Fred Fish <fnf@cygnus.com> - - * configure.in: Remove noconfigdirs case since gdb also - configures and builds for tic80-coff. - -Fri Mar 28 18:28:52 1997 Ian Lance Taylor <ian@cygnus.com> - - * configure: Set cache_file to config.cache. - * Makefile.in (local-distclean): Remove config.cache. - -Wed Mar 26 18:49:39 1997 Ian Lance Taylor <ian@cygnus.com> - - * COPYING: Update FSF address. - -Wed Mar 26 10:38:25 1997 Michael Meissner <meissner@cygnus.com> - - * configure.in (tic80-*-*): Remove G++ libraries and libgloss from - noconfigdirs. - -Mon Mar 24 15:02:39 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (install-dirs): Don't crash if prefix, and hence - MAKEDIRS, is empty. - -Mon Mar 24 12:40:55 1997 Doug Evans <dje@canuck.cygnus.com> - - * config.sub: Tweak mn10300 entry. - -Fri Mar 21 15:35:27 1997 Michael Meissner <meissner@cygnus.com> - - * configure.in (host_tools): Put sim before gdb, so gdb's - configure.tgt can determine if the simulator was configured. - -Sun Mar 16 16:07:08 1997 Fred Fish <fnf@cygnus.com> - - * config.sub: Move BeOS $os case to be with other Cygnus - local cases. - -Sun Mar 16 01:34:55 1997 Martin Hunt <hunt@cygnus.com> - - * config.sub: Remove misplaced comment that broke Linux. - -Sat Mar 15 22:50:15 1997 Fred Fish <fnf@cygnus.com> - - * config.sub: Add BeOS support. - -Mon Mar 10 13:30:11 1997 Tom Tromey <tromey@cygnus.com> - - * Makefile.in (CHECK_X11_MODULES): Don't run check-tk. - -Wed Mar 5 12:09:29 1997 Martin <hunt@cygnus.com> - - * configure.in (noconfigdirs): Remove tcl and tk from - noconfigdirs for cygwin32 builds. - -Fri Feb 28 18:20:15 1997 Fred Fish <fnf@cygnus.com> - - * configure.in (tic80-*-*): Remove ld from noconfigdirs. - -Thu Feb 27 14:57:26 1997 Ken Raeburn <raeburn@cygnus.com> - - * Makefile.in (GAS_SUPPORT_DIRS, BINUTILS_SUPPORT_DIRS): Remove - make-all.com, use makefile.vms instead. - -Tue Feb 25 18:46:14 1997 Stan Shebs <shebs@andros.cygnus.com> - - * config.sub: Accept -lnews*. - -Tue Feb 25 13:19:14 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au> - - * configure.in (noconfigdirs): Disable target-newlib, - target-examples and target-libiberty for d30v. - -Fri Feb 21 17:56:25 1997 Martin M. Hunt <hunt@pizza.cygnus.com> - - * configure.in (noconfigdirs): Enable ld for d30v. - -Fri Feb 21 20:58:51 1997 Michael Meissner <meissner@cygnus.com> - - * configure.in (tic80-*-*): Build compiler. - -Sun Feb 16 15:41:09 1997 Andrew Cagney <cagney@critters.cygnus.com> - - * configure.in (d30v-*): Remove sim directory from list of - unsupported d30v directories - -Tue Feb 18 17:32:42 1997 Martin M. Hunt <hunt@pizza.cygnus.com> - - * config.sub, configure.in: Add d30v target cpu. - -Thu Feb 13 22:04:44 1997 Klaus Kaempf <kkaempf@progis.de> - - * makefile.vms: New file. - * make-all.com: Remove. - -Wed Feb 12 12:54:18 1997 Jim Wilson <wilson@cygnus.com> - - * Makefile.in (EXTRA_GCC_FLAGS): Add LIBGCC2_DEBUG_CFLAGS. - -Sat Feb 8 20:36:49 1997 Michael Meissner <meissner@cygnus.com> - - * Makefile.in (all-itcl): The rule is all-itcl, not all-tcl. - -Tue Feb 4 11:39:29 1997 Tom Tromey <tromey@cygnus.com> - - * Makefile.in (ALL_MODULES): Added all-db. - (CROSS_CHECK_MODULES): Addec check-db. - (INSTALL_MODULES): Added install-db. - (CLEAN_MODULES): Added clean-db. - -Mon Feb 3 13:29:36 1997 Ian Lance Taylor <ian@cygnus.com> - - * config.guess: Merge with latest FSF sources. - -Tue Jan 28 09:20:37 1997 Tom Tromey <tromey@cygnus.com> - - * Makefile.in (ALL_MODULES): Added all-itcl. - (CROSS_CHECK_MODULES): Added check-itcl. - (INSTALL_MODULES): Added install-itcl. - (CLEAN_MODULES): Added clean-itcl. - -Thu Jan 23 01:44:27 1997 Geoffrey Noer <noer@cygnus.com> - - * configure.in: build gdb for mn10200 - -Fri Jan 17 15:32:15 1997 Doug Evans <dje@canuck.cygnus.com> - - * Makefile.in (all-target-winsup): Depend on all-target-libio. - -Mon Jan 13 22:46:54 1997 Michael Meissner <meissner@tiktok.cygnus.com> - - * configure.in (tic80-*-*): Turn off most targets right now. - -Fri Jan 3 16:04:03 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (MAKEINFO): Check for the existence of the Makefile, - rather than the makeinfo program. - (do-info): Depend upon all-texinfo. - -Tue Dec 31 16:00:31 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Remove uses of config/mh-linux. - - * config.sub, config.guess: Merge with latest FSF sources. - -Fri Dec 27 23:04:33 1996 Fred Fish <fnf@cygnus.com> - - * config.sub (case $basic_machine): Add tic80 entries. - -Fri Dec 27 12:07:59 1996 Ian Lance Taylor <ian@cygnus.com> - - * config.sub, config.guess: Merge with latest FSF sources. - -Wed Dec 18 22:46:39 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-build.in: Build ld before gcc, use NewFolderRecursive. - * mpw-config.in: Test for NewFolderRecursive. - * mpw-install: Use symbolic name for startup filename. - * mpw-README: Add various additional details. - -Wed Dec 18 13:11:46 1996 Jim Wilson <wilson@cygnus.com> - - * configure.in (mips*-sgi-irix6*): Remove binutils from noconfigdirs. - -Wed Dec 18 10:29:31 1996 Jeffrey A Law (law@cygnus.com) - - * configure.in: Do build gcc and the target libraries for - the mn10200. - -Wed Dec 4 16:53:05 1996 Geoffrey Noer <noer@cygnus.com> - - * configure.in: don't avoid building gdb for mn10300 any more - * Makefile.in: double-quote GCC_FOR_TARGET line in EXTRA_GCC_FLAGS - instead of single-quoting it. - -Tue Dec 3 23:26:50 1996 Jason Merrill <jason@yorick.cygnus.com> - - * configure.in: Don't use --with-stabs on IRIX 6. - -Tue Dec 3 09:05:25 1996 Doug Evans <dje@canuck.cygnus.com> - - * configure.in (m32r): Build gdb, libg++ now. - -Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * configure.in (mips*-sgi-irix6*): Remove gdb and related - directories from noconfigdirs. - -Tue Nov 26 11:45:33 1996 Kim Knuttila <krk@cygnus.com> - - * config.sub (basic_machine): added mips16 configuration - -Sat Nov 23 19:26:22 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * config.sub: Handle d10v-unknown. - -Sat Nov 23 10:23:01 1996 Gavin Koch <gavin@cygnus.com> - - * config.sub: Handle v850-unknown. - -Thu Nov 21 16:19:44 1996 Geoffrey Noer <noer@cygnus.com> - - * Makefile.in: add findutils - * configure.in: add findutils to list of host_tools - -Wed Nov 20 10:09:01 1996 Jeffrey A Law (law@cygnus.com) - - * config.sub: Handle mn10200 and mn10300. - -Tue Nov 19 16:35:14 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * configure.in (d10v-*): Do not build librx. - -Mon Nov 18 13:28:41 1996 Jeffrey A Law (law@cygnus.com) - - * configure.in (mn10300): Build everything except gdb & libgloss. - -Wed Nov 13 14:59:46 1996 Per Bothner <bothner@deneb.cygnus.com> - - * config.guess: Patch for Dansk Data Elektronik servers, - from Niels Skou Olsen <nso@dde.dk>. - - For ncr, use /bin/uname rather than uname, since GNU uname does not - support -p. Suggested by Mark Mitchell <mmitchell@usa.net>. - - Patch for MIPS R4000 running System V, - from Eric S. Raymond <esr@snark.thyrsus.com>. - - Fix thinko for nextstep. - - Patch for OSF1 in i?86, from Dan Murphy <dlm@osf.org> via Harlan Stenn. - - Sat Jun 24 18:58:17 1995 Morten Welinder <terra+@cs.cmu.edu> - * config.guess: Guess mips-dec-mach_bsd4.3. - - Thu Oct 10 04:07:04 1996 Harlan Stenn <harlan@pfcs.com> - * config.guess (i?86-ncr-sysv*): Emit just enough of the minor - release numbers. - * config.guess (mips-mips-riscos*): Emit just enough of the - release number. - - Tue Oct 8 10:37:22 1996 Frank Vance <fvance@waii.com> - * config.guess (sparc-auspex-sunos*): Added. - (f300-fujitsu-*): Added. - - Wed Sep 25 22:00:35 1996 Jeff Woolsey <woolsey@jlw.com> - * config.guess: Recognize a Tadpole as a sparc. - -Wed Nov 13 00:53:09 1996 David J. MacKenzie <djm@churchy.gnu.ai.mit.edu> - - * config.guess: Don't assume that NextStep version is either 2 or - 3. NextStep 4 (aka OpenStep 4) has come out now. - -Mon Nov 11 23:52:03 1996 David J. MacKenzie <djm@churchy.gnu.ai.mit.edu> - - * config.guess: Support Cray T90 that reports itself as "CRAY TS". - From Rik Faith <faith@cs.unc.edu>. - -Fri Nov 8 11:34:58 1996 David J. MacKenzie <djm@geech.gnu.ai.mit.edu> - - * config.sub: Contributions from bug-gnu-utils to: - Support plain "hppa" (no version given) architecture, reported by - OpenStep. - OpenBSD like NetBSD. - LynxOs is not a hardware supplier. - - * config.guess: Contributions from bug-gnu-utils to add support for: - OpenBSD like NetBSD. - Stratus systems. - More Pyramid systems. - i[n>4]86 Intel chips. - M680[n>4]0 Motorola chips. - Use unknown instead of lynx for hardware manufacturer. - -Mon Nov 11 10:09:08 1996 Brendan Kehoe <brendan@lisa.cygnus.com> - - * install.sh (chmodcmd): Set to null if the DST directory already - exists. - -Mon Nov 11 10:43:41 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Do - not use mt-ppc target Makefile fragment any more. - -Sun Nov 3 19:17:07 1996 Stu Grossman (grossman@critters.cygnus.com) - - * configure.in (*-*-windows): Exclude everything but those dirs - needed to build windows. - -Tue Oct 29 16:41:31 1996 Doug Evans <dje@canuck.cygnus.com> - - * Makefile.in (all-target-winsup): Depend on all-target-librx. - -Mon Oct 28 17:32:46 1996 Stu Grossman (grossman@critters.cygnus.com) - - * configure.in: Exclude mmalloc from i386-windows. - -Thu Oct 24 09:22:46 1996 Stu Grossman (grossman@critters.cygnus.com) - - * Undo my previous change. - -Thu Oct 24 12:12:04 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (EXTRA_GCC_FLAGS): Pass down GCC_FOR_TARGET - unconditionally. - (MAKEOVERRIDES): Define (revert this part of October 18 change). - -Thu Oct 24 09:02:07 1996 Stu Grossman (grossman@critters.cygnus.com) - - * Makefile.in (FLAGS_TO_PASS): Add $(HOST_FLAGS) to allow the - host to add it's own flags. - -Tue Oct 22 15:20:26 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure: Handle GCC_FOR_TARGET like CC_FOR_TARGET. - -Fri Oct 18 13:37:13 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (CC_FOR_TARGET): Check for xgcc, not Makefile. - (CXX_FOR_TARGET): Likewise. - (GCC_FOR_TARGET): Define. - (BASE_FLAGS_TO_PASS): Remove GCC_FOR_TARGET. - (EXTRA_GCC_FLAGS): Define GCC_FOR_TARGET based on whether - CC_FOR_TARGET was specified on the command line. - (MAKEOVERRIDES): Don't define. - -Thu Oct 17 10:27:56 1996 Doug Evans <dje@canuck.cygnus.com> - - * configure.in (m32r): Fix spelling of libg++ libs. - -Thu Oct 10 10:37:17 1996 Stan Shebs <shebs@andros.cygnus.com> - - * config.sub (-apple*): Remove, now redundant. - -Thu Oct 10 12:30:54 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure: Don't get confused by CPU-VENDOR-linux-gnu. - - * configure: Rework yesterday's sed script patch. - - * config.sub: Merge with FSF. - -Wed Oct 9 17:24:59 1996 Per Bothner <bothner@deneb.cygnus.com> - - * config.guess: Merge from FSF. - - 1996-09-12 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> - * config.guess: Use pc instead of unknown, for pc clone systems. - Change linux to linux-gnu. - - Mon Jul 15 23:51:11 1996 Karl Heuer <kwzh@gnu.ai.mit.edu> - * config.guess: Avoid non-portable tr syntax. - -Wed Oct 9 06:06:46 1996 Jeffrey A Law (law@cygnus.com) - - * test-build.mk (HOLES): Add "xargs" for gdb. - - * configure: Avoid hpux10.20 sed bug. - -Tue Oct 8 08:32:48 1996 Stu Grossman (grossman@critters.cygnus.com) - - * configure.in: Add support for windows host - (that is a build done under the Microsoft build environment). - -Tue Oct 8 10:39:08 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in: Replace all uses of srcroot with s, to shrink - command line lengths. - - Patches from Geoffrey Noer <noer@cygnus.com>: - * configure.in: If configuring for newlib, pass --with-newlib to - subdirectories. - * Makefile.in (CC_FOR_TARGET): If winsup/Makefile exists, pass a - -Bnewlib/ and -Lwinsup to gcc. - (CXX_FOR_TARGET): Likewise. - -Mon Oct 7 10:59:35 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (ETC_SUPPORT): Add configure. - -Fri Oct 4 12:22:58 1996 Angela Marie Thomas (angela@cygnus.com) - - * configure.in: Use config/mh-dgux386 for i[345]86-dg-dgux - host configuration file. - -Thu Oct 3 09:28:25 1996 Jeffrey A Law (law@cygnus.com) - - * configure.in: Break mn10x00 support into separate - mn10200 and mn10300 configurations. - * config.sub: Likewise. - -Wed Oct 2 22:27:52 1996 Jeffrey A Law (law@cygnus.com) - - * configure.in: Add lots of stuff to noconfigdirs for - the mn10x00 targets. - - * config.sub, configure.in: Add mn10x00 support. - -Wed Oct 2 15:52:36 1996 Klaus Kaempf <kkaempf@progis.de> - - * make-all.com: Call conf-a-gas, not config-a-gas. - -Tue Oct 1 01:28:41 1996 James G. Smith <jsmith@cygnus.co.uk> - - * configure.in (noconfigdirs): Don't build libgloss for arm-coff - targets. - -Mon Sep 30 14:24:01 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-README: Add much more detail for native PowerMac. - * mpw-install: New file. - * mpw-configure: Add --norecursion and --help options. - * mpw-config.in: Translate readme and install files when - copying to objdir. - * mpw-build.in: Don't always depend on byacc and flex. - (install-only-top): New action. - -Fri Sep 27 17:39:44 1996 Stu Grossman (grossman@critters.cygnus.com) - - * configure.in: You can now configure GDB for the v850. - -Tue Sep 24 19:05:12 1996 Stan Shebs <shebs@andros.cygnus.com> - - * configure.in (noconfigdirs): Don't configure any C++ dirs - if targeting D10V. - -Tue Sep 17 12:15:31 1996 Ian Lance Taylor <ian@cygnus.com> - - * config.sub: Recognize mips64vr5000. - -Mon Sep 16 17:00:52 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Use a single line for host_tools and native_only. - -Mon Sep 9 12:21:30 1996 Doug Evans <dje@canuck.cygnus.com> - - * config.sub, configure.in: Add entries for m32r. - -Thu Sep 5 13:52:47 1996 Tom Tromey <tromey@creche.cygnus.com> - - * Makefile.in (inet-install): Don't run install-gzip. - -Wed Sep 4 17:26:13 1996 Stu Grossman (grossman@critters.cygnus.com) - - * configure.in: Don't config lots of things for *-*-windows*. - -Sat Aug 31 11:45:57 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-config.in: Test for mpw-true, true, and null-command scripts. - (host_libs, host_tools): Copy from configure.in. - * mpw-configure: Don't complain about directories not found. - -Thu Aug 29 16:44:58 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * configure.in (i[345]86): Recognize i686 for pentium pro. - (i[3456]86-*-dgux*): Use config/mh-sysv for the host configuration - file. - - * config.guess (i[345]86): Ditto. - -Mon Aug 26 18:34:42 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * configure.in (noconfigdirs): Removed gdb for D10V. - -Thu Aug 22 17:13:52 1996 Jeffrey A Law (law@cygnus.com) - - * configure.in: Remove ld, target-libio, target-libg++, and - target-libstdc++ from noconfigdirs. - -Wed Aug 21 18:56:38 1996 Fred Fish <fnf@cygnus.com> - - * configure: Fix three locations where shell scripts were - being run directly rather than with config_shell. - -Tue Aug 20 13:08:47 1996 J.T. Conklin <jtc@hippo.cygnus.com> - - * configure.in (v850-*-*): Set up initial $noconfigdirs. - * config.sub (basic_machine): Recognize v850. - -Thu Aug 15 12:19:33 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-configure: Handle multiple enable/disable options and - pass them down recursively, handle -c and -s flags appropriately - depending on choice of compiler, add escape mechanism for - quoted arguments to gC. - -Mon Aug 12 13:15:13 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * configure.in (powerpc*-*-*): For eabi, system V.4, Linux, and - solaris targets, use config/mt-ppc to set C{,XX}FLAGS_FOR_TARGETS - so that -mrelocatable-lib and -mno-eabi are used. - - * Makefile.in (CONFIGURE_TARGET_MODULES): If target compiler does - not support --print-multi-lib, don't abort. - -Thu Aug 8 12:18:59 1996 Klaus Kaempf <kkaempf@progis.de> - - * make-all.com: Run config-a-gas. - * setup.com: Don't copy subdirectory files around. - -Tue Jul 30 17:49:31 1996 Brendan Kehoe <brendan@cygnus.com> - - * configure.in (*-*-ose): Remove exclusion of libgloss for this - target, it now compiles correctly. - -Sat Jul 27 15:10:43 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-config.in: Generate Mac include for elf/dwarf2.h. - -Tue Jul 23 10:47:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * configure.in (d10v-*-*): Remove ld from $noconfigdirs. - -Mon Jul 22 13:28:51 1996 Brendan Kehoe <brendan@lisa.cygnus.com> - - * configure.in (native_only): Add prms. - -Mon Jul 22 12:27:58 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (GAS_SUPPORT_DIRS): Add make-all.com and setup.com. - (BINUTILS_SUPPORT_DIRS): Likewise. - -Thu Jul 18 12:55:40 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * configure.in (d10v-*-*): Don't configure ld or gdb until the - d10v support is added. - -Wed Jul 17 14:33:09 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * configure.in (d10v-*-*): New target. - -Mon Jul 15 11:53:00 1996 Jeffrey A Law (law@cygnus.com) - - * config.guess (HP 9000/811): Recognize this as a PA1.1 - machine. - -Fri Jul 12 23:21:17 1996 Ken Raeburn <raeburn@cygnus.com> - - * Makefile.in (do-tar-gz): New target, split out from tail end of - taz target. Run each command separately, don't use pipes. - (taz): Use it. - -Fri Jul 12 12:08:04 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-configure: Look for g-mpw-make.sed in config/mpw. - * mpw-build.in: No builds should depend on building byacc or flex, - they are assumed to be installed already. - -Fri Jul 12 09:52:52 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * Makefile.in (CONFIGURE_TARGET_MODULES): Set r environment - variable that CC_FOR_TARGET needs. - -Thu Jul 11 10:09:45 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * Makefile.in (CONFIGURE_TARGET_MODULES): Determine if the multlib - options have changed since the last time the subdirectory was - configured, and if it has, reconfigure. - (CLEAN_TARGET_MODULES): Delete multilib.out and tmpmulti.out, which - CONFIGURE_TARGET_MODULES uses to remember the old multilib options. - -Wed Jul 10 18:56:59 1996 Doug Evans <dje@canuck.cygnus.com> - - * Makefile.in (ALL_MODULES,CROSS_CHECK_MODULES,INSTALL_MODULES, - CLEAN_MODULES): Add bash. - (all-bash): New target. - -Mon Jul 8 17:33:14 1996 Jim Wilson <wilson@cygnus.com> - - * configure.in (mips-sgi-irix6*): Use mh-irix6 instead of mh-irix5. - -Mon Jul 1 13:31:35 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * config.sub (basic_machine): Recognize d10v as a valid processor. - -Fri Jun 28 12:14:35 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-configure: Add support for --bindir. - * mpw-build.in: Use a GCC-specific build script for GCC actions. - -Wed Jun 26 17:20:12 1996 Geoffrey Noer <noer@cygnus.com> - - * configure.in: add bash, time, gawk to list of hosttools and things - to only build for native toolchains - -Tue Jun 25 23:09:03 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) - - * Makefile.in (docdir): Remove. - -Tue Jun 25 19:00:08 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) - - * Makefile.in (datadir): Set to $(prefix)/share. - -Mon Jun 24 23:26:07 1996 Geoffrey Noer <noer@cygnus.com> - - * configure.in: build diff and patch for cygwin32-hosted - toolchains. - -Mon Jun 24 15:01:12 1996 Joel Sherrill <joel@merlin.gcs.redstone.army.mil> - - * config.sub: Accept -rtems*. - -Sun Jun 23 22:41:54 1996 Geoffrey Noer <noer@cygnus.com> - - * configure.in: enable dosrel for cygwin32-hosted builds, - remove diff from the list of things not buildable - via Canadian Cross - -Sat Jun 22 11:39:01 1996 Jason Merrill <jason@yorick.cygnus.com> - - * Makefile.in (TARGET_SUBDIR): Move comment to previous line so we - don't get ". ". - -Fri Jun 21 17:24:48 1996 Jim Wilson <wilson@cygnus.com> - - * configure.in (mips*-sgi-irix6*): Set noconfigdirs appropriately. - -Thu Jun 20 16:57:40 1996 Ken Raeburn <raeburn@cygnus.com> - - * Makefile.in (taz): Handle case where tex3patch didn't even get - checked out. Also, if it was found, put the symlink in a new util - subdirectory. - -Thu Jun 20 12:20:33 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * config.guess (*:Linux:*:*): Add support for PowerPC Linux. - -Tue Jun 18 14:24:12 1996 Klaus Kaempf (kkaempf@progis.de) - - * config.sub: Recognize -openvms. - * configure.in (alpha*-*-*vms*): Set noconfigdirs. - * make-all.com, setup.com: New files. - -Mon Jun 17 16:34:46 1996 Jason Merrill <jason@yorick.cygnus.com> - - * Makefile.in (taz): tex3patch moved to texinfo/util. - -Sat Jun 15 17:13:25 1996 Geoffrey Noer <noer@cygnus.com> - - * configure: enable_gdbtk=no for cygwin32-hosted toolchains - * configure.in: remove make from disable-if-Can-Cross list - enable gdb if ${host} and ${target} are cygwin32 - -Fri Jun 7 18:16:52 1996 Harlan Stenn <harlan@pfcs.com> - - * config.guess (i?86-ncr-sysv*): Emit minor release numbers. - Recognize the NCR 4850 machine and NCR Pentium-based platforms. - -Wed Jun 5 00:09:17 1996 Per Bothner <bothner@wombat.gnu.ai.mit.edu> - - * config.guess: Combine mips-mips-riscos cases, and use cpp to - distinguish sysv/svr4/bsd variants. - Based on a patch from Harlan Stenn <harlan@pfcs.com>. - -Fri Jun 7 14:24:49 1996 Tom Tromey <tromey@creche.cygnus.com> - - * configure.in: Added copyright notice. - * move-if-change: Added copyright notice. - -Thu Jun 6 16:27:05 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * configure.in (powerpcle-*-solaris*): Until we get shared - libraries working, don't build gdb, sim, make, tcl, tk, or - expect. - -Tue Jun 4 20:41:45 1996 Per Bothner <bothner@deneb.cygnus.com> - - * config.guess: Merge with FSF: - - Mon Jun 3 08:49:14 1996 Karl Heuer <kwzh@gnu.ai.mit.edu> - * config.guess (*:Linux:*:*): Add guess for sparc-unknown-linux. - - Fri May 24 18:34:53 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> - * config.guess (AViiON:dgux:*:*): Fix typo in recognizing mc88110. - - Fri Apr 12 20:03:59 1996 Per Bothner <bothner@spiff.gnu.ai.mit.edu> - * config.guess: Combine two OSF1 rules. - Also recognize field test versions. From mjr@zk3.dec.com. - * config.guess (dgux): Use /usr/bin/uname rather than uname, - because GNU uname does not support -p. From pmr@pajato.com. - -Tue Jun 4 11:07:25 1996 Tom Tromey <tromey@csk3.cygnus.com> - - * Makefile.in (MAKEDIRS): Removed $(tooldir). - -Tue May 28 12:30:50 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-README: Document GCCIncludes. - -Sun May 26 15:16:27 1996 Fred Fish <fnf@cygnus.com> - - * configure.in (alpha-*-linux*): Set enable_shared to yes. - -Tue May 21 15:41:39 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-configure: Handle --enable-FOO and --disable-FOO. - -Mon May 20 10:12:29 1996 Geoffrey Noer <noer@cygnus.com> - - * configure.in (*-*-cygwin32): Configure make. - -Tue May 7 14:19:42 1996 Tom Tromey <tromey@snuffle.cygnus.com> - - * Makefile.in (inet-install): Quote value of INSTALL_MODULES. - -Fri May 3 08:57:17 1996 Tom Tromey <tromey@lisa.cygnus.com> - - * Makefile.in (all-inet): Depend on all-perl. - - * Makefile.in (inet-install): New target. - - * Makefile.in (all-inet): Depend on all-tcl. - (all-inet): Depend on all-send-pr. - -Tue Apr 30 13:55:51 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * configure.in (powerpcle-*-solaris*): Turn off tk and tcl - temporarily. - -Thu Apr 25 11:48:20 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Don't configure --with-gnu-ld on AIX. - -Thu Apr 25 06:33:36 1996 Michael Meissner <meissner@wogglebug.tiac.net> - - * configure.in (powerpcle-*-solaris*): Turn off gdb temporarily. - -Tue Apr 23 09:07:39 1996 Tom Tromey <tromey@creche.cygnus.com> - - * Makefile.in (ALL_MODULES): Added all-inet. - (CROSS_CHECK_MODULES): Added check-inet. - (INSTALL_MODULES): Added install-inet. - (CLEAN_MODULES): Added clean-inet. - (all-indent): New target. - - * configure.in (host_tools): Added inet. - (native_only): Added inet. - (noconfigdirs): Added inet. - -Fri Apr 19 15:35:29 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Don't configure libgloss if we are not configuring - newlib. - -Wed Apr 17 19:30:01 1996 Rob Savoye <rob@chinadoll.cygnus.com> - - * configure.in: Don't configure libgloss for unsupported - architectures. - -Tue Apr 16 11:17:05 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * Makefile.in (CLEAN_MODULES): Add clean-apache. - -Mon Apr 15 15:09:05 1996 Tom Tromey <tromey@creche.cygnus.com> - - * Makefile.in (ALL_MODULES): Include all-apache. - (CROSS_CHECK_MODULES): Include check-apache. - (INSTALL_MODULES): Include install-apache. - (all-apache): New target. - - * configure.in: Added apache everywhere perl is seen. - -Mon Apr 15 14:59:13 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * Makefile.in: Add support for clean-{module} and - clean-target-{module} rules. - -Wed Apr 10 21:37:41 PDT 1996 Marilyn E. Sander <msander@cygnus.com> - - * configure.in (*-*-ose) do not build libgloss. - -Mon Apr 8 16:16:20 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * config.guess (prep*:SunOS:5.*:*): Turn into - powerpele-unknown-solaris2. - -Mon Apr 8 14:45:41 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Permit --enable-shared to specify a list of - directories. - -Fri Apr 5 08:17:57 1996 Jason Molenda (crash@phydeaux.cygnus.com) - - * configure.in (host==solaris): Pass only the first word of $CC - to /usr/bin/which when checking if we're using /usr/ccs/bin/cc. - -Fri Apr 5 03:16:13 1996 Jason Molenda (crash@phydeaux.cygnus.com) - - * Makefile.in (BASE_FLAGS_TO_PASS): pass down $(MAKE). - -Thu Mar 28 14:11:11 1996 Tom Tromey <tromey@creche.cygnus.com> - - * Makefile.in (ALL_MODULES): Include all-perl. - (CROSS_CHECK_MODULES): Include check-perl. - (INSTALL_MODULES): Include install-perl. - (ALL_X11_MODULES): Include all-guile. - (CHECK_X11_MODULES): Include check-guile. - (INSTALL_X11_MODULES): Include install-guile. - (all-perl): New target. - (all-guile): New target. - - * configure.in (host_tools): Include perl and guile. - (native_only): Include perl and guile. - (noconfigdirs): Don't build guile and perl; no ports have been - done. - -Tue Mar 26 21:18:50 1996 Andrew Cagney <cagney@kremvax.highland.com.au> - - * configure (--enable-*): Handle quoted option lists such as - --enable-sim-cflags='-g0 -O' better. - -Thu Mar 21 11:53:08 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * Makefile.in ({,inst}all-target): New rule so we can make and - install all of the target directories easily. - -Wed Mar 20 18:10:57 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * configure.in: Add missing global flag in sed substitution when - deleting `target-' from ${configdirs}. - -Thu Mar 14 19:15:06 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (DO_X): Don't get confused if CC contains `=' in an - option. - - * configure.in (mips*-nec-sysvr4*): Use a host_makefile_frag of - config/mh-necv4. - - * install.sh: Correct misspelling of transformbasename. - - * config.guess: Recognize mips-*-sysv*. - -Mon Mar 11 15:36:42 1996 Dawn Perchik <dawn@critters.cygnus.com> - - * config.sub: Recognize mon960. - -Sun Mar 10 13:18:38 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure: Restore Canadian Cross handling of BISON and LEX, - removed in Feb 20 change. - -Fri Mar 8 20:07:09 1996 Per Bothner <bothner@kalessin.cygnus.com> - - * README: Suggestions from Torbjorn Granlund <tege@matematik.su.se>: - Mention make install. Remove the old copyright date as well the - clumsy and rather pointless copyright on the README file. - -Fri Mar 8 17:51:35 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in ($(CONFIGURE_TARGET_MODULES)): If there is a - Makefile after running symlink-tree, then run `make distclean' to - avoid clobbering any generated files in srcdir. - -Tue Mar 5 08:21:44 1996 J.T. Conklin <jtc@rtl.cygnus.com> - - * configure.in (m68k-*-netbsd*): Build everything now. - -Wed Feb 28 12:25:46 1996 Jason Merrill <jason@yorick.cygnus.com> - - * Makefile.in (taz): Fix quoting. - -Tue Feb 27 11:33:57 1996 Doug Evans <dje@charmed.cygnus.com> - - * configure.in (sparclet-*-*): Build everything now. - -Tue Feb 27 14:31:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * configure.in (m68k-*-linux*): New host. - -Mon Feb 26 14:32:44 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure: Check for bison before byacc. - -Tue Feb 20 23:12:35 1996 Stu Grossman (grossman@critters.cygnus.com) - - * Makefile.in configure: Change the way LEX and BISON/YACC are - set. configure now defines DEFAULT_LEX and DEFAULT_YACC by - searching PATH. These are used as fallbacks by Makefile.in if - flex/bison/byacc aren't in objdir. - -Mon Feb 19 11:45:30 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in: Make everything which depends upon all-bfd also - depend upon all-opcodes, in case --with-commonbfdlib is used. - -Thu Feb 15 19:50:50 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * configure.in (host *-*-cygwin32): Don't build gdb if we are - building NT native compilers on Unix. - -Thu Feb 15 17:42:25 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Don't get CC from the host Makefile fragment if we - can find gcc in PATH, or if this is a Canadian Cross. Move the - Solaris test for /usr/ucb/cc to the post target script, just after - the compiler sanity test. - -Wed Feb 14 16:57:40 1996 Ian Lance Taylor <ian@cygnus.com> - - * config.sub: Merge with FSF. - -Tue Feb 13 14:27:48 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (RPATH_ENVVAR): New variable. - (REALLY_SET_LIB_PATH): Use it. - * configure.in: On HP/UX, set RPATH_ENVVAR to SHLIB_PATH. - -Mon Feb 12 15:28:49 1996 Doug Evans <dje@charmed.cygnus.com> - - * config.sub, configure.in: Recognize sparclet cpu. - -Mon Feb 12 15:33:59 1996 Christian Bauernfeind <chrisbfd@theorie3.physik.uni-erlangen.de> - - * config.guess: Support m68k-cbm-sysv4. - -Sat Feb 10 12:06:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * config.guess (*:Linux:*:*): Guess m68k-unknown-linux and - m68k-unknown-linuxaout from linker help string. Put quotes around - $ld_help_string. - -Thu Dec 7 09:03:24 1995 Tom Horsley <Tom.Horsley@mail.hcsc.com> - - * config.guess (powerpc-harris-powerunix): Add guess for port - to new target. - -Thu Feb 8 15:37:52 1996 Brendan Kehoe <brendan@lisa.cygnus.com> - - * config.guess (UNAME_VERSION): Recognize X4.x as an OSF version. - -Mon Feb 5 16:36:51 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: If --enable-shared was used, set SET_LIB_PATH to - $(REALLY_SET_LIB_PATH) in Makefile. - * Makefile.in (SET_LIB_PATH): New variable. - (REALLY_SET_LIB_PATH): New variable. - ($(DO_X)): Use $(SET_LIB_PATH). - (install.all, gcc-no-fixedincludes, $(ALL_MODULES)): Likewise. - ($(NATIVE_CHECK_MODULES), $(CROSS_CHECK_MODULES)): Likewise. - ($(INSTALL_MODULES), $(CONFIGURE_TARGET_MODULES)): Likewise. - ($(ALL_TARGET_MODULES), $(CHECK_TARGET_MODULES)): Likewise. - ($(INSTALL_TARGET_MODULES), $(ALL_X11_MODULES)): Likewise. - ($(CHECK_X11_MODULES), $(INSTALL_X11_MODULES)): Likewise. - (all-gcc, all-bootstrap, check-gcc, install-gcc): Likewise. - (install-dosrel): Likewise. - (all-opcodes): Depend upon all-libiberty. - -Sun Feb 4 16:51:11 1996 Steve Chamberlain <sac@slash.cygnus.com> - - * config.guess (*:CYGWIN*): New - -Sat Feb 3 10:42:35 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * Makefile.in (all-target-winsup): All all-target-libiberty. - -Fri Feb 2 17:58:56 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * configure.in (noconfigdirs): Add missing # in front of comment. - -Thu Feb 1 14:38:13 1996 Geoffrey Noer <noer@cygnus.com> - - * configure.in: add second pass to things added to noconfigdirs - so *-gm-magic can exclude libgloss properly. - -Thu Feb 1 11:10:16 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-configure (extralibs_name, rez_name): Set correctly - for MWC68K compiler. - - * mpw-README: Add more info on the necessary build tools. - -Thu Feb 1 10:22:38 1996 Steve Chamberlain <sac@slash.cygnus.com> - - * configure.in, config.sub: Recognize cygwin32. - -Wed Jan 31 14:17:10 1996 Richard Henderson <rth@tamu.edu> - - * config.guess, config.sub: Recognize A/UX. - -Wed Jan 31 13:52:14 1996 Ian Lance Taylor <ian@cygnus.com> - - * config.sub: Merge with gcc/config.sub. - -Thu Jan 25 11:01:10 1996 Raymond Jou <rjou@mexican.cygnus.com> - - * mpw-build.in (do-binutils): Add build of stamps. - -Thu Jan 25 17:05:26 1996 James G. Smith <jsmith@cygnus.co.uk> - - * config.sub: Add recognition for mips64vr4100*-* targets. - -Wed Jan 24 12:47:55 1996 Brendan Kehoe <brendan@lisa.cygnus.com> - - * test-build.mk: Add checking of `hpux9' rather than just `hpux'. - Add creation of gconfigargs with `--enable-shared' turned on. - ($(host)-stamp-stage2-configured): Pass $(gconfigargs). - ($(host)-stamp-stage3-configured): Likewise. - (HOLES): Add chatr and ldd. - (i386-ncr-sysv4.3*): Add use of /usr/ccs/bin in the PATH and HOLE_DIRS. - -Wed Jan 24 20:32:30 1996 Torbjorn Granlund <tege@noisy.matematik.su.se> - - * configure: Pass --nfp to recursive configures. - -Mon Jan 22 10:41:56 1996 Steve Chamberlain <sac@slash.cygnus.com> - - * Makefile.in (DLLTOOL): New. - (DLLTOOL_FOR_TARGET): New. - (EXTRA_HOST_FLAGS): Pass down DLLTOOL. - (EXTRA_TARGET_FLAGS): Ditto. - (EXTRA_GCC_FLAGS): Ditto. - (CONFIGURE_TARGET_MODULES): Ditto. - (DO_X): Ditto. - * configure: Add DLLTOOL. - -Fri Jan 19 13:30:15 1996 Stan Shebs <shebs@andros.cygnus.com> - - SCO OpenServer 5 changes from Robert Lipe <robertl@dgii.com>: - * configure.in (i[345]86-*-sco3.2v5*): Use mh-sysv instead of - mh-sco, since old workarounds no longer needed, and don't - build ld, since libraries have weak symbols in COFF. - -Sun Jan 14 23:01:31 1996 Fred Fish <fnf@cygnus.com> - - * Makefile.in (CONFIGURE_TARGET_MODULES): Add missing ';'. - -Fri Jan 12 15:25:35 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Make sure that ${CC} can be used to compile an - executable. - -Sat Jan 6 07:23:33 1996 Michael Meissner <meissner@wogglebug.tiac.net> - - * Makefile.in (all-gdb): Depend on $(GDB_TK). - * configure (GDB_TK): Set GDB_TK to either "all-tcl all-tk" or - nothing depending on whether gdbtk is being built. - -Wed Jan 3 17:54:41 1996 Doug Evans <dje@canuck.cygnus.com> - - * Makefile.in (newlib.tar.gz): Delete building of newlib's info files. - -Mon Jan 1 19:09:14 1996 Brendan Kehoe <brendan@rtl.cygnus.com> - - * configure.in (noconfigdirs): Put ld or gas in this early, if the - user specifically used --with-gnu-ld=no or --with-gnu-as=no. - -Sat Dec 30 16:08:57 1995 Doug Evans <dje@canuck.cygnus.com> - - * config-ml.in: Add support for - --disable-{softfloat,m68881,m68000,m68020} on m68*-*-*. - Simplify setting of multidirs from --disable-foo. - -Fri Dec 29 07:56:11 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * Makefile.in (EXTRA_GCC_FLAGS): If any of the make variables - LANGUAGES, BOOT_CFLAGS, STMP_FIXPROTO, LIMITS_H_TEST, - LIBGCC1_TEST, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES, and ENQUIRE are - non-empty, pass them on to the GCC make. - (all-bootstrap): New rule that is like all-gcc, except it executes - the GCC bootstrap rule instead of the GCC all rule. - -Wed Dec 27 15:51:48 1995 Doug Evans <dje@canuck.cygnus.com> - - * config-ml.in (ml_realsrcdir): New, to account for ${subdir}. - -Tue Dec 26 11:45:31 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * config.guess (AViiON:dgux:*:*): Update from FSF to add pentium - DG/UX support. - -Fri Dec 15 10:01:27 1995 Stan Cox <coxs@dg-rtp.dg.com> - - * config.sub (i*86*) Change [345] to [3456] - -Wed Dec 20 17:41:40 1995 Brendan Kehoe <brendan@lisa.cygnus.com> - - * configure.in (noconfigdirs): Add gas or ld if --with-gnu-as=no or - --with-gnu-ld=no. - -Wed Dec 20 15:15:35 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * config-ml.in (rs6000*, powerpc*): Add switches to control which - AIX multilibs get built. - -Mon Dec 18 17:55:46 1995 Jason Molenda (crash@phydeaux.cygnus.com) - - * configure.in (i386-win32): Don't build expect if we're not - building the tcl subdir. - -Mon Dec 18 11:47:19 1995 Stan Shebs <shebs@andros.cygnus.com> - - * Makefile.in: (configure-target-examples, all-target-examples): - New targets, configure and build example programs. - -Fri Dec 15 16:13:03 1995 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-configure: If an mpw-config.in generated a file mk.sed, - use it as input to sedit the generated MPW makefile. - * mpw-README: Add a suggestion about Gestalt.h. - -Wed Dec 13 16:43:51 1995 Ian Lance Taylor <ian@cygnus.com> - - * config.sub: Accept *-*-ieee*. - -Tue Dec 12 11:52:57 1995 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (local-distclean): Remove $(TARGET_SUBDIR). From - Ronald F. Guilmette <rfg@monkeys.com>. - -Mon Dec 11 15:31:58 1995 Jason Molenda (crash@phydeaux.cygnus.com) - - * configure.in (host==powerpc-pe): Add many directories to noconfigdirs - for powerpc-pe native. - (target==i386-win32): add tcl, make to noconfigdirs if canadian cross. - (target==powerpc-pe): duplicate i386-win32 entry. - -Sat Dec 9 14:58:28 1995 Jim Wilson <wilson@chestnut.cygnus.com> - - * configure.in (noconfigdirs): Exclude target-newlib for all versions - of vxworks, not just vxworks5.1. - -Mon Dec 4 12:05:40 1995 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-configure: Add support for exec-prefix. - -Mon Dec 4 10:22:50 1995 Jeffrey A. Law <law@rtl.cygnus.com> - - * config.guess: Recognize HP model 816 machines as having - a PA1.1 processor. - -Mon Dec 4 12:38:15 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure: Ignore new autoconf configure options. - -Thu Nov 30 16:57:33 1995 Per Bothner <bothner@wombat.gnu.ai.mit.edu> - - * config.guess: Recognize Pentium under SCO. - From Robert Lipe <robertl@arnet.com>. - -Wed Nov 29 13:49:08 1995 J.T. Conklin <jtc@rtl.cygnus.com> - - * configure.in (noconfigdirs): Disable target-libio on v810-*-*. - -Wed Nov 29 12:12:01 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Don't configure gas for alpha-dec-osf*. - -Tue Nov 28 17:16:48 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Default to --with-stabs for some targets for which - it makes sense: mips*-*-*, alpha*-*-osf*, i[345]86*-*-sysv4* and - i[345]86*-*-unixware*. - -Mon Nov 27 13:44:15 1995 Ian Lance Taylor <ian@cygnus.com> - - * config-ml.in: Get list of multidirs using gcc --print-multi-lib - rather than basing it on the target. Simplify handling of options - controlling which directories to configure. Remove extraneous - slash in multi-clean target. - -Fri Nov 24 17:29:29 1995 Doug Evans <dje@deneb.cygnus.com> - - * config-ml.in: Prefix more variables with ml_ so they don't collide - with configure's. - -Wed Nov 22 11:27:02 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure: Don't turn -v into --v. - -Tue Nov 21 16:48:02 1995 Doug Evans <dje@deneb.cygnus.com> - - * configure.in (targargs): Fix typo. - - * Makefile.in (DEVO_SUPPORT): Add symlink-tree. - -Tue Nov 21 14:08:28 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Strip --host and --target options from - CONFIG_ARGUMENTS, and always configure for --host only. Add - --with-cross-host option when building with a cross-compiler. - * configure: Canonicalize the arguments put into config.status by - always using `=' for an option with an argument. Pass a presumed - --host or --target explicitly. - -Fri Nov 17 17:50:30 1995 Stan Shebs <shebs@andros.cygnus.com> - - * config.sub: Merge -macos*, -magic*, -pe*, and -win32 cases - into general OS recognition case. - -Fri Nov 17 17:42:25 1995 Jason Molenda (crash@phydeaux.cygnus.com) - - * configure.in (target_configdirs): add target-winsup only - for win32 target systems. - -Thu Nov 16 14:04:47 1995 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (all-target-libgloss): Depend upon - configure-target-newlib, since when libgloss is built it looks to - see if the newlib directory exists. - -Wed Nov 15 14:47:52 1995 Ken Raeburn <raeburn@cygnus.com> - - * Makefile.in (DEVO_SUPPORT): Use config-ml.in instead of - cfg-ml-*.in. - -Wed Nov 15 11:45:23 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure: Handle LD and LD_FOR_TARGET when configuring a - Canadian Cross. - -Tue Nov 14 14:56:11 1995 Jason Molenda (crash@phydeaux.cygnus.com) - - * configure.in (target_libs): add target-winsup. - (target==i386-win32): add patch diff flex make to $noconfigdirs. - (target==ppcle-pe): remove ld from $noconfigdirs. - -Tue Nov 14 01:25:50 1995 Doug Evans <dje@canuck.cygnus.com> - - * Makefile.in (CONFIGURE_TARGET_MODULES): Pass --with-target-subdir. - Preserve relative path names in $srcdir. Build symlink tree if - configuring cross target dir and srcdir=. (= no VPATH support). - (configure-target-libg++): Depend on configure-target-librx. - * cfg-ml-com.in, cfg-ml-pos.in: Deleted. - * config-ml.in: New file. - * symlink-tree: New file. - * configure: Ensure srcdir="." if that's what it is. - -Mon Nov 13 12:34:20 1995 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-README: Clarify some phrasing, add notes about CodeWarrior - includes and FLEX_SKELETON setting. - * mpw-configure (--with-gnu-ld): New option, controls whether - to use PPCLink or ld with PowerMac GCC. - * mpw-build.in (all-grez, do-grez, install-grez): New targets. - * mpw-config.in: Configure grez if targeting Mac. - - * config.sub: Accept pmac and pmac-mpw as names for PowerMacs, - accept mpw and mac-mpw as names for m68k Macs, change macos7 to - just macos. - * configure.in: Configure grez resource compiler if targeting Mac. - * Makefile.in (all-grez, install-grez): New targets. - -Wed Nov 8 17:33:51 1995 Jason Merrill <jason@yorick.cygnus.com> - - * configure: CXX defaults to gcc, not g++. If we find - gcc in the path, set CC to gcc -O2. - -Tue Nov 7 15:45:17 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure: Default ${build} correctly. Avoid picking up extra - spaces when reading CC and CXX from Makefile. When doing a - Canadian Cross, use plausible default values for numerous - variables. - * configure.in: When doing a Canadian Cross, don't try to - configure tools whose configure script can't handle it. - -Mon Nov 6 19:32:17 1995 Jim Wilson <wilson@chestnut.cygnus.com> - - * cfg-ml-com.in (sh-*-*): Add m2 and ml/m2 to multidirs. - -Sun Nov 5 00:15:41 1995 Per Bothner <bothner@kalessin.cygnus.com> - - * configure: Remove dubious bug reporting address. - -Fri Nov 3 08:17:54 1995 Per Bothner <bothner@kalessin.cygnus.com> - - * Makefile.in ($(CONFIGURE_TARGET_MODULES)): If subdir has - configure script, run that instead of this directory's configure. - In either case, print a message that we're configuring the sub-dir. - -Thu Nov 2 23:23:36 1995 Per Bothner <bothner@kalessin.cygnus.com> - - * configure.in: Before checking for the existence of various files, - use sed to filter out "target-". - -Thu Nov 2 13:24:56 1995 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (DO_X): Split rule to decrease command line length - for systems with small ARG_MAX values. From phdm@info.ucl.ac.be - (Philippe De Muyter). - -Wed Nov 1 15:18:35 1995 Jason Molenda (crash@phydeaux.cygnus.com) - - * Makefile.in (all-patch): depend on all-libiberty. - -Wed Nov 1 12:23:20 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: If the only directory in target_configdirs which - actually exists is libiberty, then set target_configdirs to empty, - to avoid trying to build a target libiberty in a gas or gdb - distribution. - -Tue Oct 31 17:52:39 1995 J.T. Conklin <jtc@slave.cygnus.com> - - * configure.in (host_makefile_frag): Use m68k-sun-sunos* instead - of m68k-sun-* when selecting mh-sun3 to avoid matching NetBSD/sun3 - systems. - -Tue Oct 31 16:57:32 1995 Jim Wilson <wilson@chestnut.cygnus.com> - - * configure.in (copy_dirs): Use sys-include instead of include - for --with-headers option. - -Tue Oct 31 10:29:36 1995 steve chamberlain <sac@slash.cygnus.com> - - * Makefile.in, configure.in: Make winsup builds work with - new scheme. - -Mon Oct 30 18:57:09 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Build the linker on AIX. - -Mon Oct 30 12:27:16 1995 Per Bothner <bothner@kalessin.cygnus.com> - - * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Add $(TARGET_SUBDIR) - where needed. - -Mon Oct 30 12:45:25 1995 Doug Evans <dje@cygnus.com> - - * Makefile.in (all-gcc): Fix typo. - -Sat Oct 28 10:27:59 1995 Per Bothner <bothner@kalessin.cygnus.com> - - * Makefile.in ($(CHECK_TARGET_MODULES)): Fix typo. - -Fri Oct 27 23:14:12 1995 Per Bothner <bothner@kalessin.cygnus.com> - - * configure.in: Rename libFOO to target-libFOO, and xiberty - to target-xiberty, to provide more flexibility. - (target_subdir): Define. Create if cross. - Set TARGET_SUBDIR in Makefile to ${target_subdir}. - * Makefile.in: Rename all-libFOO -> all-target-libFOO, all-xiberty - -> all-target-libiberty, configure-libFOO -> configure-target-libFOO, - check-libFOO -> check-target-libFOO, etc. - ($(DO_X)): Iterate over TARGET_CONFIGDIRS after SUBDIRS. - ($(CONFIGURE_TARGET_MODULES), $(CHECK_TARGET_MODULES), - $(ALL_TARGET_MODULES), $(INSTALL_TARGET_MODULES)): Update accordingly. - (configure-target-XXX): Depend on $(ALL_GCC), not all-gcc, to - allow ALL_GCC="" to only configure. - (DEVO_SUPPORT): Add cfg-ml-com.in and cfg-ml-pos.in. - (ETC_SUPPORT, ETC_SUPPORT_PFX): Merge; update 'taz' accordingly. - (LIBGXX_SUPPORT_DIRS): Remove xiberty. - -Sat Oct 28 01:53:49 1995 Ken Raeburn <raeburn@cygnus.com> - - * Makefile.in (taz): Build "info" in etc explicitly. - -Fri Oct 27 09:32:30 1995 Stu Grossman (grossman@cygnus.com) - - * configure.in: Make sure that CC is undefined (as opposed to - null) if toplevel/config/mh-{host} doesn't define it. Fixes a - problem with autoconf trying to configure on a host without GCC. - -Thu Oct 26 22:35:01 1995 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-configure: Set host alias from choice of host compiler, - only use generic MPW Makefile sed if present, edit a file - named "hacked_Makefile.in" instead of "Makefile.in" if present. - * mpw-README: Add problem notes about CW6 and CW7. - -Thu Oct 26 05:45:10 1995 Ken Raeburn <raeburn@kr-pc.cygnus.com> - - * Makefile.in (taz): Use ";" instead of ";;". - -Wed Oct 25 15:18:24 1995 Per Bothner <bothner@kalessin.cygnus.com> - - * Makefile.in (taz): Grep for '^diststuff:' or '^info:' in - sub-directory Makefiles, instead of using DISTSTUFFDIRS and - DISTDOCDIRS. - (DISTSTUFFDIRS, DISTDOCDIRS): Removed - no longer used. - (newlib.tar.gz): Don't pass DISTDOCDIRS to recursive make. - -Wed Oct 25 14:43:55 1995 Per Bothner <bothner@kalessin.cygnus.com> - - * Makefile.in (DISTDOCDIRS): Remove ld gprof bnutils gas libg++ gdb - and gnats, because they are now subsumed by DISTSTUFFDIRS. - Move bfd to DISTSTUFFDIRS. - -Tue Oct 24 18:19:09 1995 Jason Molenda (crash@phydeaux.cygnus.com) - - * Makefile.in (X11_LIB): Removed. - (X11_FLAGS_TO_PASS): pass only X11_EXTRA_CFLAGS and X11_EXTRA_LIBS. - - * configure.in (host_makefile_frag): mh-aix & mh-sun removed. - -Sun Oct 22 13:04:42 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * cfg-ml-com.in (powerpc*): Shorten some of the multilib directory - names. - -Fri Oct 20 18:02:10 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * cfg-ml-com.in (powerpc*-eabi*): Add mcall-aixdesc varients. - -Thu Oct 19 10:40:57 1995 steve chamberlain <sac@slash.cygnus.com> - - * configure.in (i[345]86-*-win32): Always build newlib. - Don't configure cvs, autoconf or texinfo. - * Makefile.in (LD_FOR_TARGET): New. - (BASE_FLAGS_TO_PASS, EXTRA_TARGET_FLAGS, CONFIGURE_TARGET_MODULES): - Pass down LD_FOR_TARGET. - -Wed Oct 18 15:53:56 1995 steve chamberlain <sac@slash.cygnus.com> - - * winsup: New directory. - * Makefile.in: Build winsup. - * configure.in: Winsup is configured when target is win32. - Can only build win32 target GDB when native. - -Mon Oct 16 09:42:31 1995 Jeffrey A Law (law@cygnus.com) - - * config.guess: Recognize HP model 819 machines as having - a PA 1.1 processor. - -Mon Oct 16 10:49:43 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure: Fix sed loop which substitutes for CC and CXX to - avoid bug found in various sed implementations. - -Wed Oct 11 16:16:20 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * cfg-ml-com.in (powerpc-*-eabisim): Delete separate rule for - simulator. Use standard powerpc-*-eabi*. - -Mon Oct 9 17:21:56 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Stop putting gas and binutils in noconfigdirs for - powerpc-*-aix* and rs6000-*-*. - -Mon Oct 9 12:38:40 1995 Michael Meissner <meissner@cygnus.com> - - * cfg-ml-com.in (powerpc*-*-eabisim*): Add support for building - -mcall-aixdesc libraries. - -Fri Oct 6 16:17:57 1995 Ken Raeburn <raeburn@cygnus.com> - - Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * config.sub (arm | armel | armeb): Fix shell syntax. - -Fri Oct 6 14:40:28 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * cfg-ml-com.in ({powerpc,rs6000}-ibm-aix*): Add multilibs for - -msoft-float and -mcpu=common support. - (powerpc*-*-eabisim*): Add support for building -mcall-aix - libraries. - -Thu Oct 5 13:26:37 1995 Brendan Kehoe <brendan@lisa.cygnus.com> - - * configure.in: Allow configuration and build of emacs19 for the alpha. - -Wed Oct 4 22:05:36 1995 Jason Molenda (crash@phydeaux.cygnus.com) - - * configure.in (CC): Get ^CC, not just any old CC, from - ${host_makefile_frag}. - -Wed Oct 4 21:55:00 1995 Jason Molenda (crash@phydeaux.cygnus.com) - - * configure.in (CC): Try to get CC from - ${srcdir}/${host_makefile_frag}, not ${host_makefile_frag}. - -Wed Oct 4 21:44:12 1995 Jason Molenda (crash@phydeaux.cygnus.com) - - * Makefile.in (TARGET_CONFIGDIRS): configure targetdirs - only if it exists in $(srcdir). - -Wed Oct 4 11:52:31 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure: If CC and CXX are not set in the environment, set - them, based on either an existing Makefile or on searching for gcc - in PATH. Substitute for CC and CXX in Makefile. - * configure.in: Remove libm from target_libs. Separate - target_configdirs from configdirs. If CC is not set in - environment, try to get it from a host Makefile fragment. Rewrite - changes of configdirs to use skipdirs instead. A few minor - tweaks. Take directories out of target_configdirs as they are - taken out of configdirs. Remove existing Makefile files from - subdirectories. Substitute for TARGET_CONFIGDIRS and - CONFIG_ARGUMENTS in Makefile. - * Makefile.in (TARGET_CONFIGDIRS): New variable, automatically set - by configure.in. - (CONFIG_ARGUMENTS): Likewise. - (CONFIGURE_TARGET_MODULES): New variable. - ($(DO_X)): Loop over TARGET_CONFIGDIRS as well as SUBDIRS. - ($(CONFIGURE_TARGET_MODULES)): New target. - (configure-libg++, configure-libio): New targets. - (all-libg++): Depend upon configure-libg++. - (all-libio): Depend upon configure-libio. - (configure-libgloss, all-libgloss): New targets. - (configure-libstdc++): New target. - (all-libstdc++): Depend upon configure-libstdc++. - (configure-librx, all-librx): New targets. - (configure-newlib): New target. - (all-newlib): Depend upon configure-newlib - (configure-xiberty): New target. - (all-xiberty): Depend upon configure-xiberty. - -Sat Sep 30 04:32:59 1995 Jason Molenda (crash@phydeaux.cygnus.com) - - * configure.in (host i[345]86-*-win32): Expand the - noconfigdirs again. - -Thu Sep 28 21:18:49 1995 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-configure: Fix sed command file name. - -Thu Sep 28 17:39:56 1995 steve chamberlain <sac@slash.cygnus.com> - - * configure.in (host i[345]86-*-win32): Reduce the - noconfigdirs again. - -Wed Sep 27 12:24:00 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Don't configure ld and gdb for powerpc*-*-winnt* - or powerpc*-*-pe*, since they are not yet supported. - -Tue Sep 26 14:30:01 1995 Stan Shebs <shebs@andros.cygnus.com> - - Add PowerMac support and many other enhancements. - * mpw-configure: New option --cc to select compiler to use, - paste options set according to --cc into the generated - Makefile, generate the Makefile by sed'ing the Unix Makefile.in - if mpw-make.sed is present. - * mpw-config.in: Don't test for gC1, test for mpw-touch, - add forward includes for PowerPC include files. - * mpw-build.in: Build using Makefile.PPC if present. - (do-byacc, etc): Remove separate version resource builds. - (do-gas): Build "stamps" before "all". - (do-gcc): Build "stamps-h" and "stamps-c" before "all". - * mpw-README: Update to reflect --cc option, PowerMac support, - and recently-reported compatibility problems. - -Fri Sep 22 12:15:42 1995 Doug Evans <dje@deneb.cygnus.com> - - * cfg-ml-com.in (m68*-*-*): Only build multilibs for - embedded m68k systems (-aout, -coff, -elf, -vxworks). - (--with-multilib-top): Pass to recursive invocations. - -Tue Sep 19 13:51:05 1995 J.T. Conklin <jtc@blues.cygnus.com> - - * configure.in (noconfigdirs): Disable libg++ and libstdc++ on - v810-*-*. - -Mon Sep 18 23:08:26 1995 J.T. Conklin <jtc@rtl.cygnus.com> - - * configure.in (noconfigdirs): Disable bfd, binutils, gas, gcc, - gdb, ld and opcodes on v810-*-*. - -Tue Sep 12 18:03:31 1995 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (DO_X): Change do-realclean to do-maintainer-clean. - (local-maintainer-clean): New target. - (maintainer-clean): New target. - (realclean): Just depend upon maintainer-clean. - -Fri Sep 8 17:11:14 1995 J.T. Conklin <jtc@rtl.cygnus.com> - - * configure.in (noconfigdirs): Disable gdb on m68k-*-netbsd*. - -Fri Sep 8 16:46:29 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Build ld in mips*-*-bsd* case. - -Thu Sep 7 20:03:41 1995 Ken Raeburn <raeburn@cygnus.com> - - * config.sub: Accept -lites* OS. From Ian Dall. - -Fri Sep 1 08:06:58 1995 James G. Smith <jsmith@beauty.cygnus.com> - - * config.sub: recognise mips64vr4300 and mips64vr4300el as valid - targets. - -Wed Aug 30 21:06:50 1995 Jason Molenda (crash@phydeaux.cygnus.com) - - * configure.in: treat i386-win32 canadian cross the same as - i386-go32 canadian cross. - -Thu Aug 24 14:53:20 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * cfg-ml-com.in (powerpc*-*-eabisim): Add support for PowerPC - running under the simulator to build a reduced set of libraries. - (powerpc-*-eabiaix): Add fine grained multilib support added to - other powerpc targets yesterday. - -Wed Aug 23 09:41:56 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * cfg-ml-com.in (powerpc*): Add support for -disable-biendian, - -disable-softfloat, -disable-relocatable, -disable-aix, and - -disable-sysv to control which multilib libraries get built. - -Thu Aug 17 16:03:41 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> - - * configure: Add Makefile.tem to list of files to remove in trap - handler. - -Mon Aug 14 19:27:56 1995 Per Bothner <bothner@kalessin.cygnus.com> - - * config.guess (*Linux*): Add missing "exit"s. - Also, need specific check for alpha-unknown-linux (uses COFF). - -Fri Aug 11 15:38:20 1995 Per Bothner <bothner@kalessin.cygnus.com> - - * config.guess: Merge with FSF: - - Wed Jun 28 17:57:27 1995 David Edelsohn <edelsohn@mhpcc.edu> - * config.guess (AIX4): More robust release numbering discovery. - - Thu Jun 22 19:01:24 1995 Kenneth Stailey (kstailey@eagle.dol-esa.gov) - * config.guess (i386-sequent-ptx): Properly get version number. - - Thu Jun 22 18:36:42 1995 Uwe Seimet (seimet@iris1.chemie.uni-kl.de) - * config.guess (mips:*:4*:UMIPS): New case. - -Mon Aug 7 09:21:35 1995 Doug Evans <dje@canuck.cygnus.com> - - * configure.in (i386-go32 host): Fix typo (deja-gnu -> dejagnu). - (i386-win32 host): Likewise. Don't build readline. - -Sat Aug 5 09:51:49 1995 Fred Fish <fnf@rtl.cygnus.com> - - * Makefile.in (GDBTK_SUPPORT_DIRS): Define and pass as part of - SUPPORT_FILES to submakes. - -Fri Aug 4 13:04:36 1995 Fred Fish <fnf@cygnus.com> - - * Makefile.in (GDB_SUPPORT_DIRS): Add utils. - (DEVO_SUPPORT): Add mpw-README, mpw-build.in, mpw-config.h and - mpw-configure. - -Wed Aug 2 16:32:40 1995 Ken Raeburn <raeburn@cygnus.com> - - * configure.in (appdirs): Use =, not ==, in test expression when - trying to build the text to print in the warning message for - Solaris users. - -Mon Jul 31 09:56:18 1995 steve chamberlain <sac@slash.cygnus.com> - - * cfg-ml-com.in (z8k-*-coff): Add 'std' multilib build. - -Fri Jul 28 00:16:31 1995 Jeffrey A. Law <law@rtl.cygnus.com> - - * config.guess: Recognize lynx-2.3. - -Thu Jul 27 15:47:59 1995 steve chamberlain <sac@slash.cygnus.com> - - * config.sub (z8ksim): Deleted - (z8k-*-coff): New, this is the one true name of the target. - -Thu Jul 27 14:33:33 1995 Doug Evans <dje@canuck.cygnus.com> - - * cfg-ml-pos.in (dotdot): Work around SunOS sed bug. - -Thu Jul 27 13:31:05 1995 Fred Fish (fnf@cygnus.com) - - * config.guess (*:Linux:*:*): First try asking the linker what the - default object file format is (elf, aout, or coff). Then if this - fails, try previous methods. - -Thu Jul 27 11:28:17 1995 J.T. Conklin <jtc@rtl.cygnus.com> - - * configure.in: Don't build newlib for *-*-vxworks5.1. - -Thu Jul 27 11:18:47 1995 Brendan Kehoe <brendan@lisa.cygnus.com> - - * configure.in: Don't build newlib for a29k-*-vxworks5.1. - * test-build.mk: Add setting of --with-headers for a29k-vxworks5.1. - -Tue Jul 25 21:25:39 1995 Doug Evans <dje@canuck.cygnus.com> - - * cfg-ml-pos.in (MULTITOP): Trim excess trailing "/.". - -Fri Jul 21 10:41:12 1995 Doug Evans <dje@canuck.cygnus.com> - - * cfg-ml-com.in: New file. - * cfg-ml-pos.in: New file. - -Wed Jul 19 00:37:27 1995 Jeffrey A. Law <law@rtl.cygnus.com> - - * COPYING.NEWLIB: Add HP free copyright to list. - -Tue Jul 18 10:58:51 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * config.sub: Recognize -eabi* for the system, not just -eabi. - -Mon Jul 3 13:44:51 1995 Steve Chamberlain <sac@slash.cygnus.com> - - * Makfile.in (DLLTOOL_FOR_TARGET): New name, pass it down. - * config.sub, configure.in (win32): New target and host. - -Wed Jun 28 23:57:08 1995 Steve Chamberlain <sac@slash.cygnus.com> - - * configure.in: Add i386-pe configuration. - -Fri Jun 23 14:28:44 1995 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-build.in (install): Install GDB after LD. - -Thu Jun 22 17:10:53 1995 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-config.in (elf/mips.h): Always forward-include, needed - for GDB to build. - -Wed Jun 21 15:17:30 1995 Rob Savoye <rob@darkstar.cygnus.com> - - * testsuite: New directory for customer acceptance and whole tool - chain tests. - -Wed Jun 21 16:50:29 1995 Ken Raeburn <raeburn@cujo.cygnus.com> - - * configure: If per-host line isn't found, but AC_OUTPUT is found - and a configure script exists, run it instead. - -Thu Jun 15 21:09:24 1995 Per Bothner <bothner@kalessin.cygnus.com> - - * config.guess: Update from FSF, for alpha-dec-winnt3.5 and Crays. - -Tue Jun 13 21:43:27 1995 Rob Savoye <rob@darkstar.cygnus.com> - - * configure: Set build_{cpu,vendor,os,alias} to host values when - --build isn't specified. - -Mon Jun 5 18:26:36 1995 Jason Merrill <jason@phydeaux.cygnus.com> - - * Makefile.in (PICFLAG, PICFLAG_FOR_TARGET): New macros. - (FLAGS_TO_PASS): Pass them. - (EXTRA_TARGET_FLAGS): Ditto. - -Wed May 31 22:27:42 1995 Jim Wilson <wilson@chestnut.cygnus.com> - - * Makefile.in (all-libg++): Depend on all-libstdc++. - -Thu May 25 22:40:59 1995 J.T. Conklin <jtc@rtl.cygnus.com> - - * configure.in (noconfigdirs): Enable all packages for - i386-unknown-netbsd. - -Sat May 20 13:22:31 1995 Angela Marie Thomas <angela@cirdan.cygnus.com> - - * configure.in (noconfigdirs): Don't configure tk for i386-go32 - hosted builds (DOS builds) - -Thu May 18 18:08:49 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> - - Changes for ARM based on patches from Richard Earnshaw: - * config.sub: Handle armeb and armel. - * configure.in: Omit arm linker only for riscix. - -Thu May 11 17:23:26 1995 Per Bothner <bothner@kalessin.cygnus.com> - - * config.guess: Update from FSF. - -Tue May 9 15:52:05 1995 Michael Meissner <meissner@cygnus.com> - - * config.sub: Recognize powerpcle as the little endian varient of - the PowerPC. Recgonize ppc as a PowerPC variant, and ppcle as a - powerpcle variant. Convert pentium into i586, not i486. Add p5 - alias for i586. Map new x86 variants p6, k5, nexgen into i586 - temporarily. - -Tue May 2 16:29:41 1995 Jeff Law (law@snake.cs.utah.edu) - - * configure.in (hppa*-*-lites*): Treat like hppa*-*-*elf*. - -Sun Apr 30 21:38:09 1995 Jeff Law (law@snake.cs.utah.edu) - - * config.sub: Accept -lites* as a basic system type. - -Thu Apr 27 11:33:29 1995 Michael Meissner (meissner@cygnus.com) - - * config.guess (*:Linux:*:*): Check for whether the pre-BFD linker is - installed, and if so return linuxoldld as the system name. - -Wed Apr 26 10:59:02 1995 Jeff Law (law@snake.cs.utah.edu) - - * config.guess: Add hppa1.1-hp-lites support. - -Tue Apr 25 11:08:11 1995 Rob Savoye <rob@darkstar.cygnus.com> - - * configure.in: Don't build newlib for m68k-vxworks5.1. - -Wed Apr 19 17:02:43 1995 Jim Wilson <wilson@chestnut.cygnus.com> - - * configure.in (mips-sgi-irix6): Use mh-irix5. - -Fri Apr 14 15:21:17 1995 Doug Evans <dje@chestnut.cygnus.com> - - * Makefile.in (all-gcc): Depend on all-ld (for libgcc1-test). - -Wed Apr 12 16:06:01 1995 Jason Merrill <jason@phydeaux.cygnus.com> - - * test-build.mk: Enable building of shared libraries on IRIX 5 and - OSF/1. Fix compiler flags. - * build-all.mk: Support Linux and OSF/1 3.0. Fix compiler flags. - -Tue Apr 11 18:55:40 1995 Doug Evans <dje@canuck.cygnus.com> - - * configure.in: Recognize --with-newlib. - (sparc-*-sunos4*): Build sim, dejagnu, expect, tcl if cross target. - -Mon Apr 10 14:38:20 1995 Jason Molenda (crash@phydeaux.cygnus.com) - - * Makefile.in: move {all,check,install}-gdb from *_MODULES - to *_X11_MODULES due to gdbtk needing X include files et al. - -Mon Apr 10 11:42:22 1995 Stan Shebs <shebs@andros.cygnus.com> - - Merge in support for Mac MPW as a host. - (Old change descriptions retained for informational value.) - - * mpw-config.in: Add generic include forwards for cpu-specific - include files in aout and elf directories. - - * mpw-configure: Added copyright. - * mpw-config.in: Check for presence of required build tools. - (target_libs): Add newlib. - (target_tools): Add examples. - (Read Me): Generate as "Read Me for MPW" instead. - * mpw-build.in: Base sub-builds on all-foo instead of do-foo. - (all-byacc, do-byacc, all-flex, do-flex, do-newlib): New actions. - (do-gas, do-gcc, do-gdb, do-ld): Build Version.r first. - - * mpw-configure: Remove subdir-specific makefile hackery, - delete mk.tmp after using it. - - * mpw-build.in (all): Display start and end times. - - * mpw-configure (host_canonical): Set. - (target_cpu): Always add to makefiles. - (ARCHDEFS, EMUL): Add to makefile only if nonempty. - (TM_FILE, XM_FILE, NM_FILE): No longer add to makefile. - (mpw-mh-mpw): Look for in srcdir and srcroot. - Use sed instead of mpw-edit-prefix to edit prefix definitions. - - * mpw-build.in: (install-only): New target. - - * mpw-configure (host_alias, target_alias): Rename from hostalias - and targetalias, add into generated Makefile. - (mk.tmp): If present, add into generated Makefile. - * mpw-build.in (all-gas): Build config.h first before gas proper. - - * mpw-configure (config.status): Write only if changed. - * mpw-config.in (readline): Configure it (not built, just used for - definitions). - - * mpw-config.in (elf/mips.h): Add a forward include. - - * mpw-config.in: Forward-include most .h files in include into - extra-include. - (readline): Don't build. - mpw-build.in (install): Install GDB. - - * mpw-configure (prefix, mpw_prefix): Handle it. - * mpw-config.in (mmalloc, readline): Don't configure. - * mpw-build.in (thisscript): Rename to ThisScript. - Use mpw-build instead of BuildProgram everywhere. - (mmalloc, readline): Don't build. - * mpw-README: New file, basic documentation about the MPW port. - - * mpw-config.in: Use forward-include to create include files. - - * mpw-configure: Add more things to the top of each configured - Makefile, including contents of config/mpw-mh-mpw. - * mpw-config.in (extra-include): Create this directory and fill it - with Posix-like include files when configuring. - - * config.sub (apple, mac, mpw): Add various aliases. - - * mpw-build.in: New file, top-level build script fragment for MPW. - * mpw-configure: New file, configure script for MPW. - * mpw-config.in: New file, config fragment for MPW. - -Fri Apr 7 19:33:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com) - - * configure.in (host_libs): Remove glob, since it is gone from the - sources. - -Fri Mar 31 11:36:17 1995 Jason Molenda (crash@phydeaux.cygnus.com) - - * Makefile.in: define empty GDB_NLM_DEPS var. - - * configure.in(target_makefile_frag): use config/mt-netware - for netware targets. - -Thu Mar 30 13:51:43 1995 Ian Lance Taylor <ian@cygnus.com> - - * config.sub: Merge in recent FSF changes. Remove linux special - cases. - -Tue Mar 28 14:47:34 1995 Jason Molenda (crash@phydeaux.cygnus.com) - - Revert this change: - - Tue Mar 30 10:03:09 1993 Ian Lance Taylor (ian@cygnus.com) - - * build-all.mk: Use CC=cc -Xs on Solaris. - -Tue Mar 21 10:43:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com) - - * glob/*: Removed. Schauer's 24 Feb 1994 readline change made us - stop using it. - * Makefile.in: Nuke all references to glob subdirectory. - -Thu Mar 16 13:35:30 1995 Jason Merrill <jason@phydeaux.cygnus.com> - - * configure.in: Fix --enable-shared logic in per-host. - -Mon Mar 13 12:33:15 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure.in (*-hp-hpux[78]*): Use mh-hpux8. - -Mon Mar 6 10:21:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com) - - * configure.in (noconfigdirs): Don't build gas on AIX, for - powerpc*-*-aix* as well as for rs6000*-*-aix*. - -Wed Mar 1 12:51:53 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure: Fix --cache-file to work if the file argument is a - relative path. - -Tue Feb 28 17:36:07 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure: If the --cache-file is used, pass it down to - configure in subdirectories. - -Mon Feb 27 12:52:46 1995 Kung Hsu <kung@mexican.cygnus.com> - - * config.sub: add vxworks29k configuration. - -Fri Feb 10 16:12:26 1995 Ken Raeburn <raeburn@cujo.cygnus.com> - - * Makefile.in (taz): Do "diststuff" part quietly. - -Sun Feb 5 14:16:35 1995 Doug Evans <dje@canuck.cygnus.com> - - * config.sub: Mini-merge with gcc/config.sub. - -Sat Feb 4 12:11:35 1995 Jim Wilson <wilson@chestnut.cygnus.com> - - * config.guess (IRIX): Sed - to _. - -Fri Feb 3 11:54:42 1995 J.T. Conklin <jtc@rtl.cygnus.com> - - * Makefile.in (source-vault, binary-vault): New targets. - -Thu Jan 26 13:00:11 1995 Michael Meissner <meissner@cygnus.com> - - * config.sub: Recognize -eabi as a basic system type. - -Thu Jan 12 13:13:23 1995 Jason Merrill <jason@phydeaux.cygnus.com> - - * configure.in (enable_shared stuff): Fix typo. - -Thu Jan 12 01:36:51 1995 deanm@medulla.LABS.TEK.COM (Dean Messing) - - * Makefile.in (BASE_FLAGS_TO_PASS): Fix typo in passing LIBCXXFLAGS*. - -Wed Jan 11 16:29:53 1995 Jason Merrill <jason@phydeaux.cygnus.com> - - * Makefile.in (LIBCXXFLAGS_FOR_TARGET): Add -fno-implicit-templates. - -Mon Jan 9 12:48:01 1995 Jim Kingdon <kingdon@lioth.cygnus.com> - - * configure.in (rs6000-*-*): Don't build gas. - -Wed Jan 4 23:53:49 1995 Ian Lance Taylor <ian@tweedledumb.cygnus.com> - - * Makefile.in: Use /x/x/ instead of /brokensed/brokensed/, to - reduce command line length. - (AS_FOR_TARGET): Check for as.new, not Makefile. - (NM_FOR_TARGET): Check for nm.new, not Makefile. - -Wed Jan 4 13:02:39 1995 Per Bothner <bothner@kalessin.cygnus.com> - - * config.guess: Merge from FSF. - -Thu Dec 15 17:11:37 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * configure: Don't use $ when handling program_suffix. - -Mon Dec 12 12:09:37 1994 Stu Grossman (grossman@cygnus.com) - - * configure.in: Configure tk for hppa/hpux. - -Fri Dec 2 15:55:38 1994 Per Bothner <bothner@kalessin.cygnus.com> - - * Makefile.in (LIBGXX_SUPPORT_DIRS): Add libstdc++. - -Tue Nov 29 19:37:56 1994 Per Bothner <bothner@kalessin.cygnus.com> - - * Makefile.in: Move -fno-implicit-template from CXXFLAGS - to LIBCXXFLAGS. Tests are better run without it. - -Wed Nov 23 10:29:25 1994 Brendan Kehoe (brendan@lisa.cygnus.com) - - * Makefile.in (all-ispell): Depend on all-emacs19 instead of all-emacs. - -Mon Nov 21 11:14:01 1994 J.T. Conklin <jtc@rtl.cygnus.com> - - * configure.in (*-*-netware*): Don't configure xiberty. - -Mon Nov 14 08:49:15 1994 Stu Grossman (grossman@cygnus.com) - - * configure.in: Remove tk from native_only list. - -Fri Nov 11 15:31:26 1994 Bill Cox (bill@rtl.cygnus.com) - - * build-all.mk: Add mips-ncd-elf target to sun4 targets - for special NCD build. - -Mon Nov 7 20:58:17 1994 Ken Raeburn <raeburn@cujo.cygnus.com> - - * Makefile.in (DEVO_SUPPORT): Remove configure.bat and - makeall.bat, they're only useful for binutils snapshots. - (binutils.tar.gz, gas+binutils.tar.gz): Add configure.bat and - makeall.bat to specified SUPPORT_FILES. - -Mon Nov 7 17:25:18 1994 Bill Cox (bill@cirdan.cygnus.com) - - * build-all.mk: Add Ericsson targets to sun4 and solaris - hosts. Add BNR's sun4 target to solaris host, so their - build-from-source will be tested in-house first. - -Sat Nov 5 18:43:30 1994 Jason Merrill (jason@phydeaux.cygnus.com) - - * Makefile.in (LIBCFLAGS): New variable. - (CFLAGS_FOR_TARGET): Ditto. - (LIBCFLAGS_FOR_TARGET): Ditto. - (LIBCXXFLAGS): Ditto. - (CXXFLAGS_FOR_TARGET): Ditto. - (LIBCXXFLAGS_FOR_TARGET): Ditto. - (BASE_FLAGS_TO_PASS): Pass them. - (EXTRA_TARGET_FLAGS): Ditto. - - * configure.in: Support --enable-shared. - -Sat Nov 5 15:44:00 1994 Per Bothner <bothner@kalessin.cygnus.com> - - * configure.in (target_libs): Include libstdc++ again. - * config.guess: Update from FSF (for FreeBSD). - -Thu Nov 3 16:32:30 1994 Ken Raeburn <raeburn@cujo.cygnus.com> - - * Makefile.in (DEVO_SUPPORT): Include configure.bat and - makeall.bat. - (DISTDOCDIRS): Add `etc'. - (ETC_SUPPORT_PFX): New variable. - (taz): Include anything from etc starting with a word in - ETC_SUPPORT_PFX. - -Wed Oct 26 16:19:35 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * config.sub: Update for recent FSF changes. Remove obsolete - h8300hds entry. Add -windows* and -osx as basic os. Minor - spacing changes. - -Thu Oct 20 18:41:56 1994 Per Bothner <bothner@kalessin.cygnus.com> - - * configure.in (target_libs): Remove libstdc++ for libg++-2.6.1. - - * config.guess: Merge with FSF. - * configure.in: Match on i?86-ncr-sysv4.3, not i?86-ncr-sysv43. - -Thu Oct 20 19:26:56 1994 Ken Raeburn <raeburn@cujo.cygnus.com> - - * configure: Since the "trap 0" handler will override the exit - status on many systems, only use it for "exit 1", and make it set - a non-zero exit status; reset it before "exit 0". Also, check - exit status of config.sub, and error out if it failed. - -Wed Oct 19 18:49:55 1994 Rob Savoye (rob@cygnus.com) - - * Makefile.in: (ALL_TARGET_MODULES,INSTALL_TARGET_MODULES) Build - and install libgloss. - -Tue Oct 18 15:25:24 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * Makefile.in (all-binutils): Depend upon all-byacc. - - * configure.in: Don't build emacs on Irix 5. - -Mon Oct 17 16:22:12 1994 J.T. Conklin (jtc@phishhead.cygnus.com) - - * configure.in (*-*-netware*): Add libio. - -Thu Oct 13 15:51:20 1994 Jason Merrill (jason@phydeaux.cygnus.com) - - * Makefile.in (ALL_TARGET_MODULES): Add libstdc++. - (CHECK_TARGET_MODULES): Ditto. - (INSTALL_TARGET_MODULES): Ditto. - (TARGET_LIBS): Ditto. - (all-libstdc++): Note dependencies. - -Thu Oct 13 01:43:08 1994 Ken Raeburn <raeburn@cujo.cygnus.com> - - * Makefile.in (BINUTILS_SUPPORT_DIRS): Add gas. - -Tue Oct 11 12:12:29 1994 Jason Merrill (jason@phydeaux.cygnus.com) - - * Makefile.in (CXXFLAGS): Use -fno-implicit-templates instead of - -fexternal-templates. - - * configure.in (target_libs): Add libstdc++. - (noconfigdirs): Add libstdc++ as appropriate. - -Thu Oct 6 18:00:54 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * config.guess: Update from FSF. - -Tue Oct 4 12:05:42 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * configure: Use ${config_shell} when running ${configsub}. - -Mon Oct 3 14:28:34 1994 Doug Evans <dje@canuck.cygnus.com> - - * config.sub: No longer recognize h8300h. - -Mon Oct 3 12:40:54 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * config.sub: Remove extraneous differences between config.sub and - gcc/config.sub. - -Sat Oct 1 00:23:12 1994 Ken Raeburn <raeburn@cujo.cygnus.com> - - * Makefile.in (DISTSTUFFDIRS): Add gas. - -Thu Sep 22 19:04:55 1994 Doug Evans (dje@canuck.cygnus.com) - - * COPYING.NEWLIB: New file. - -Mon Sep 19 18:25:40 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * config.guess (HP-UX): Patch from Harlan Stenn - <harlan@landmark.com> to also emit release level. - -Wed Sep 7 13:15:25 1994 Jim Wilson (wilson@sphagnum.cygnus.com) - - * config.guess (sun4*:SunOS:*:*): Change '-JL' to '_JL'. - -Tue Sep 6 23:23:18 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * config.sub: Merge nextstep cleanup from FSF. - -Mon Sep 5 05:01:30 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com) - - * configure.in (arm-*-*): Don't configure ld for this target. - -Thu Sep 1 09:35:00 1994 J.T. Conklin (jtc@phishhead.cygnus.com) - - * configure.in (*-*-netware): don't configure libg++, libio, - librx, or newlib. - -Wed Aug 31 13:52:08 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * configure.in (alpha-dec-osf*): Use osf*, not osf1*. Don't - configure ld--it works, but it doesn't support shared libraries. - -Sun Aug 28 18:13:45 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * config.guess (*-unknown-freebsd*): Get rid of possible - trailing "(Release)" in version string. - Patch from Paul Richards <paul@isl.cf.ac.uk>. - -Sat Aug 27 15:00:49 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * config.guess: Fix i486-ncr-sysv43 -> i486-ncr-sysv4.3. - Fix type: *-next-neststep -> *-next-nextstep. - - * config.guess: Merge from FSF: - - Fri Aug 26 18:45:25 1994 Philippe De Muyter (phdm@info.ucl.ac.be) - - * config.guess: Recognize powerpc-ibm-aix3.2.5. - - Wed Apr 20 06:36:32 1994 Philippe De Muyter (phdm@info.ucl.ac.be) - - * config.guess: Recognize UnixWare 1.1 (UNAME_SYSTEM is SYSTEM_V - instead of UNIX_SV for UnixWare 1.0). - -Sat Aug 27 01:56:30 1994 Stu Grossman (grossman@cygnus.com) - - * Makefile.in (all-gdb): Add dependencies on all-gcc and all-ld - to make gdb/nlm/* build after the compiler and linker. - -Fri Aug 26 14:30:05 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * config.guess (netbsd, freebsd, linux): Accept any machine, - not just i[34]86. - (m68k-atari-sysv4): Relocate to match FSF version. - - * config.guess: More merges from the FSF: - - Add a space before function call or macro invocation. - - Tue May 10 16:53:55 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * config.guess: Add trap cmd to remove dummy.c and dummy when - interrupted. - - Wed Apr 20 18:07:13 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * config.guess (dummy.c): Redirect stderr for `hostinfo' command. - (dummy): Redirect stderr from compilation of dummy.c. - - Sat Apr 9 14:59:28 1994 Christian Kranz (kranz@sent5.uni-duisburg.de) - - * config.guess: Distinguish between NeXTStep 2.1 and 3.x. - -Fri Aug 26 13:42:20 1994 Ken Raeburn (raeburn@kr-laptop.cygnus.com) - - * configure: Accept and ignore --cache*, for compatibility with - new autoconf. - -Fri Aug 26 13:05:27 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * config.guess: Merge from FSF: - - Thu Aug 25 20:28:51 1994 Richard Stallman <rms@mole.gnu.ai.mit.edu> - - * config.guess (Pyramid*:OSx*:*:*): New case. - (PATH): Add /.attbin at end for finding uname. - (dummy.c): Handle i860-alliant-bsd. Follow whitespace conventions. - - Wed Aug 17 18:21:02 1994 Tor Egge (tegge@pvv.unit.no) - - * config.guess (M88*:DolphinOS:*:*): New case. - - Thu Aug 11 17:00:13 1994 Stan Cox (coxs@dg-rtp.dg.com) - - * config.guess (AViiON:dgux:*:*): Use TARGET_BINARY_INTERFACE - to select whether to use ELF or COFF. - - Sun Jul 24 16:20:53 1994 Richard Stallman <rms@mole.gnu.ai.mit.edu> - - * config.guess: Recognize i860-stardent-sysv and i860-unknown-sysv. - - Sun May 1 10:23:10 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config.guess: Guess the OS version for HPUX. - - Tue Mar 1 21:53:03 1994 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) - - * config.guess (UNAME_VERSION): Recognize aix3.2.4 and aix3.2.5. - -Fri Aug 26 11:19:08 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * configure.in: Recognize --with-headers, --with-libs, and - --without-newlib. - * Makefile.in (all-xiberty): Depend upon all-ld. - -Wed Aug 24 12:36:50 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * configure.in: Change i[34]86 to i[345]86. - -Mon Aug 22 10:58:33 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * configure (version): A few more tweaks to help message. - -Fri Aug 19 12:40:25 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * Makefile.in: Remove (for now) librx as a host library, - now that we're building it for target. - -Fri Aug 19 10:49:17 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * configure: Fix up help message; from karl@owl.hq.ileaf.com - (Karl Berry). - -Tue Aug 16 16:11:08 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * configure.in: Also configure librx. - -Mon Aug 15 16:51:45 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * Makefile.in: Update various rules to reflect that librx - is now needed for libg++. - -Fri Aug 12 18:07:21 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * config.sub: Accept mips64orion and mips64orionel as a CPU name. - -Mon Aug 8 11:36:17 1994 Stan Shebs (shebs@andros.cygnus.com) - - * configure.in: Configure the examples directory. - -Thu Aug 4 16:12:36 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * configure: Simplify Jun 2 1994 change. - -Wed Aug 3 04:58:16 1994 D. V. Henkel-Wallace (gumby@cygnus.com) - - * change CC to /usr/latest/bin/gcc for lynx host builds, since - /bin/gcc isn't good enough to build gcc. - -Wed Jul 27 09:07:14 1994 Fred Fish (fnf@cygnus.com) - - * Makefile.in (GDB_SUPPORT_FILES): Remove - (setup-dirs-gdb, gdb.tar.gz, make-gdb.tar.gz): Remove old rules. - (gdb.tar.gz): Add new rule to use standard distribution building - mechanism. - -Mon Jul 25 11:10:06 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure.in: Warn about use of /usr/ucb/cc on Solaris. From - Bill Cox <bill@cygnus.com>. - -Sat Jul 23 12:19:46 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * config.guess: Recognize ISC. Patch from kwzh@gnu.ai.mit.edu. - -Fri Jul 22 17:53:59 1994 Stu Grossman (grossman@cygnus.com) - - * configure: Search current dir first in .gdbinit. - -Fri Jul 22 11:28:30 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * config.sub: Recognize freebsd (merged from gcc config.sub). - -Thu Jul 21 14:10:52 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * config.sub: Refer to NeXT's operating system as nextstep. - - * config.sub (case $basic_machine): Re-order the cases, to match - the order in the FSF version (which is mostly alphabethical). - Merge in some additions and changes from the FSF. - -Sat Jul 16 12:03:08 1994 Stan Shebs (shebs@andros.cygnus.com) - - * config.guess: Recognize m68k-atari-sysv4 and m88k-harris-csux7. - * config.sub: Recognize cxux7. - * configure.in: Use mh-cxux for m88k-harris-cxux*. - -Mon Jul 11 14:37:39 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * config.sub: Fix typo powerpc -> powerpc-*. - -Sat Jul 9 13:03:43 1994 Michael Tiemann (tiemann@blues.cygnus.com) - - * Makefile.in: `all-emacs19' depends on `all-byacc'. - - * Makefile.in: Add all-emacs19 and install-emacs19 rules (in - parallel with all-emacs and install-emacs). Top-level command - `make all-emacs19 CC=gcc' now behaves as `make all-emacs CC=gcc'. - -Thu Jun 30 16:53:42 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * test-build.mk ($(host)-stamp-stage2-installed): Remove - $(relbindir)/make before doing ``make install'', and use - $(GNU_MAKE) while doing it. Avoids problem on SunOS with - installing over running make binary. - ($(host)-stamp-stage3-installed): Likewise. - -Tue Jun 28 13:43:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * config.guess: Recognize Mach. - -Mon Jun 27 16:41:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * configure: Check ${exec_prefixoption}, not ${exec_prefix}, to - see whether --exec-prefix was used. - -Sun Jun 26 21:15:54 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * README: Explicitly mention libg++/README. (Zoo's idea.) - -Tue Jun 21 12:45:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * Makefile.in: Add all-librx target similar to all-libproc. - -Wed Jun 8 23:11:55 1994 Stu Grossman (grossman@cygnus.com) - - * config.guess: Rearrange tests for Alpha-OSF1 to properly deal - with post 1.2 uname bogosity. - -Thu Jun 9 00:27:59 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure: Remove temporary files on receipt of a signal. - -Tue Jun 7 12:06:24 1994 Ian Lance Taylor (ian@cygnus.com) - - * configure: If there is a package_makefile_frag, remove - ${subdir}/Makefile.tem after copying it in. - -Mon Jun 6 21:35:02 1994 D. V. Henkel-Wallace (gumby@cygnus.com) - - * build_all.mk: support rs6000 lynx identifies itself as - rs6000-lynx-lynxos2.2.2. Also, use /usr/cygnus/progressive/bin/gcc - since /bin/gcc is too feeble to compile a modern gcc. - -Mon Jun 6 16:06:34 1994 Karen Christiansen (karen@cirdan.cygnus.com) - - * brought devo/test-build.mk update-to-date with progressive/ - test-build.mk. Add lynx targets and hppa flag info. - -Sat Jun 4 17:23:54 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * configure.in: Use mh-ncrsvr43. Patch from - Tom McConnell <tmcconne@sedona.intel.com>. - -Fri Jun 3 17:47:24 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * config.guess (i386-unknown-bsdi): No longer need to - check #if defined(__bsdi__) && defined(__i386__). - -Thu Jun 2 18:56:46 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure: Set program_transform_nameoption correctly. - -Thu Jun 2 10:57:06 1994 Karen Christiansen (karen@cirdan.cygnus.com) - - * brought build-all.mk update-to-date with progressive build-all.mk, - added new targets and hppa info. - -Thu Jun 2 00:12:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure: If config.guess result is a prefix of the user - specified target, assume a native build and use the user specified - target as the host alias. Remove SunOS patch suffix removal hack. - * configure.in: Remove SunOS patch suffix removal hack. - - * Makefile.in (CROSS_CHECK_MODULES): Remove check-flex, since it's - in NATIVE_CHECK_MODULES. - -Wed Jun 1 10:49:41 1994 Bill Cox (bill@rtl.cygnus.com) - - * Makefile.in: Rename HOST_ONLY to NATIVE. - * configure: Delete SunOs patch suffix from host_canonical - and build_canonical variables that are prepended to Makefiles. - * configure.in: Add comments for easier maintenance. - -Tue May 31 19:39:47 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * Makefile.in: Add all-libproc target similar to all-gui. - -Tue May 31 17:16:33 1994 Tom Lord (lord@cygnus.com) - - * Makefile.in (CHECK_MODULES): split into - HOST_ONLY_CHECK_MODULES and CROSS_CHECK_MODULES. - -Tue May 31 16:36:36 1994 Paul Eggert (eggert@twinsun.com) - - * config.guess (i386-unknown-bsdi): New system to guess. - -Wed May 25 16:47:10 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * Makefile.in: Add all-gui target (but not yet build by "all"). - -Thu May 26 08:53:19 1994 Bill Cox (bill@rtl.cygnus.com) - - * config.sub: Move deletion of patch suffix from here... - * configure.in: To here, at Ian's suggestion. The top- - level scripts might need to know of a patch level. - -Wed May 25 09:15:54 1994 Bill Cox (bill@rtl.cygnus.com) - - * config.sub: Strip off patch suffix so rtl is recognized - as a sunos4.1.3 machine, even though it's been patched. - -Fri May 20 08:25:49 1994 Steve Chamberlain (sac@deneb.cygnus.com) - - * Makefile.in (INSTALL_LAST): Delete. - (INSTALL_DOSREL): New. - -Thu May 19 17:12:12 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure.in: Use ld for i[34]86-*-sysv4* and sparc-*-solaris2*. - Don't set use_gnu_ld to no for *-*-sysv4; that only controls - whether we pass down --with-gnu-ld anyhow. - -Thu May 19 09:29:12 1994 Steve Chamberlain (sac@cygnus.com) - - * Makefile.in (INSTALL_LAST): Change operation so it works - on more flavors of make. - * configure.in (go32): Don't build libg++ or libio. - -Fri May 13 13:28:34 1994 Steve Chamberlain (sac@cygnus.com) - - * Makefile.in (Move HOST_PREFIX_1 and friends up so - they can be overriden by templates. - -Sat May 7 16:46:44 1994 Steve Chamberlain (sac@cygnus.com) - - * configure.in (target==go32): Don't build gdb. - * dosrel: New directory. - -Fri May 6 14:19:25 1994 Steve Chamberlain (sac@cygnus.com) - - * configure.in (host==go32): Configure dosrel too. - * Makefile.in (INTALL_TARGET): Call INSTALL_LAST last. - (HOST_CC, HOST_PREFIX, HOST_PREFIX_1): Undefine, they should - be set by incoming names or templates. - (INSTALL_LAST): New rule. - -Thu May 5 17:35:05 1994 Stan Shebs (shebs@andros.cygnus.com) - - * config.sub (sparclitefrw, sparclitefrwcompat): Don't set the os. - -Thu May 5 20:06:45 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * configure.in (appdirs): New variable. Currently empty, but will - be used in gas distribution. If nonempty, lists a set of - directories at least one of which must get configured, or top - level configuration is considered to have failed. - (rs6000-*-lynxos*): Use new file name. - -Thu May 5 13:38:36 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - Eliminate XTRAFLAGS. - * Makefile.in (CC_FOR_TARGET): If newlib exists, refer to the - newlib include files using -idirafter, and also use -nostdinc. - (CXX_FOR_TARGET): Likewise. - (XTRAFLAGS): Removed. - (BASE_FLAGS_TO_PASS): Remove XTRAFLAGS_FOR_TARGET. - (EXTRA_HOST_FLAGS): Remove XTRAFLAGS. - (EXTRA_TARGET_FLAGS, EXTRA_GCC_FLAGS): Likewise. - ($(DO_X)): Don't pass down XTRAFLAGS. - -Thu May 5 00:16:36 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com) - - * configure.in (mips*-dec-bsd*): New target; do build linker. - (mips*-*-bsd*): New target; don't build linker. - -Wed May 4 20:10:10 1994 D. V. Henkel-Wallace (gumby@cygnus.com) - - * configure.in: support rs6000-*-lynxos* configuration. - support sunos4 as a cross target. - - * config.sub: look for lynx*, not lynx since the OS version may - legitimately be part of the name. - -Tue May 3 21:48:11 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * configure.in (i[34]86-*-sco*): Move to be with other i386 - targets. - (romp-*-*): New target. Skip various binary utilities. - (vax-*-*): New target. Don't build newlib. - (vax-*-vms): Renamed from *-*-vms. Don't build opcodes or newlib. - -Thu Apr 28 15:03:05 1994 David J. Mackenzie (djm@rtl.cygnus.com) - - * configure.in: Only set host_makefile_frag if config - directory exists. - -Wed Apr 27 12:14:30 1994 David J. Mackenzie (djm@rtl.cygnus.com) - - * install.sh: If $dstdir exists, don't check whether each - component does. - -Tue Apr 26 18:11:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * test-build.mk (HOLES): Add sleep; used by rcs/src/conf.sh. - -Mon Apr 25 15:06:34 1994 Stan Shebs (shebs@andros.cygnus.com) - - * configure.in (*-*-lynxos*): Don't configure newlib for either - native or cross Lynx. - -Sat Apr 16 11:58:16 1994 Doug Evans (dje@canuck.cygnus.com) - - * config.sub (sparc64-elf): Fix os. - (z8k): Remove duplicate. - -Thu Apr 14 23:33:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * Makefile.in (gcc-no-fixedincludes): Touch gcc/include/fixed, not - gcc/stmp-fixproto, to try to prevent fixproto from being run. - -Wed Apr 13 15:14:52 1994 Bill Cox (bill@cygnus.com) - - * configure: Make file links cleanly even if Lynx fails on - an NFS symlink (at least fail cleanly). - -Mon Apr 11 10:58:56 1994 Jim Wilson (wilson@sphagnum.cygnus.com) - - * test-build.mk (CC): For mips-sgi-irix4, change -XNh1500 to - -XNh2000. - -Sat Apr 9 15:10:45 1994 David J. Mackenzie (djm@rtl.cygnus.com) - - * configure: Unknown options are fatal again. - -Fri Apr 8 12:01:41 1994 David J. Mackenzie (djm@cygnus.com) - - * configure: Ignore --x-includes and --x-libraries, for Autoconf - compatibility. - -Thu Apr 7 17:31:43 1994 Doug Evans (dje@canuck.cygnus.com) - - * build-all.mk: Add `clean' target. - -Wed Apr 6 20:44:56 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * config.guess: Add SINIX support. - * configure.in: Add mips-*-sysv4* support. - -Mon Apr 4 17:41:44 1994 Doug Evans (dje@canuck.cygnus.com) - - * build-all.mk: Document all useful targets. - If canonhost is sparc-sun-solaris2.3, change it to sparc-sun-solaris2. - If canonhost is mips-sgi-irix4.0.5H, change it to mips-sgi-irix4. - -Thu Mar 31 04:55:57 1994 David J. Mackenzie (djm@rtl.cygnus.com) - - * configure: Support --silent, --quiet. - -Wed Mar 30 21:37:38 1994 David J. Mackenzie (djm@rtl.cygnus.com) - - * configure: Support --disable-FEATURE. - -Tue Mar 29 19:15:05 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * config.guess: Recognize NCR running SVR4.3. - -Mon Mar 28 14:55:15 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * config.guess: Make BSDI generate i386-unknown-bsd386. - Patch from Paul Eggert <eggert@twinsun.com>. - -Mon Mar 28 12:54:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure.in (powerpc-*-aix*): Treat like rs6000-*-*. - -Sat Mar 26 11:25:48 1994 David J. Mackenzie (djm@rtl.cygnus.com) - - * configure: Make unrecognized options give nonfatal warnings - instead of fatal errors, and pass them to any subdirectory - configures in case they recognize them. - Make --x equivalent to --with-x. - -Fri Mar 25 21:52:10 1994 David J. Mackenzie (djm@rtl.cygnus.com) - - * configure: Add --enable-* options. Clean up usage message and - some comments. - -Thu Mar 24 09:12:53 1994 Doug Evans (dje@canuck.cygnus.com) - - * Makefile.in (NM_FOR_TARGET): Build tree version is now nm.new. - -Sun Mar 20 11:28:22 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * configure.in (hppa*-*-*): Enable binutils. - -Sat Mar 19 11:50:16 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * config.sub: Recognize cisco. - -Fri Mar 18 16:42:32 1994 Jason Merrill (jason@deneb.cygnus.com) - - * Makefile.in (CXXFLAGS): Add -fexternal-templates. - -Tue Mar 15 11:25:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * config.guess: about target *-hitachi-hiuxwe2, don't print more - than one configuration name. Add comment. - -Sun Mar 6 23:13:38 1994 Hisashi MINAMINO (minamino@sra.co.jp) - - * config.guess: about target *-hitachi-hiuxwe2, fixed - machine guessing order. [Hitachi's CPU_IS_HP_MC68K - macro is incorrect.] - -Sun Mar 13 09:10:08 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * Makefile.in (TAGS): Just build TAGS in each subdirectory, rather - than the "make ls" stuff which used to be here. - -Fri Mar 11 12:52:39 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * config.guess: Recognize i[34]86-unknown-freebsd. - From Shawn M Carey <smcarey@rodan.syr.edu>. - -Thu Mar 3 14:24:21 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * configure.in (noconfigdirs for alpha): Remove libg++ and libio. - -Wed Mar 2 13:28:48 1994 Jim Kingdon (kingdon@deneb.cygnus.com) - - * config.guess: Check for ptx. - -Mon Feb 28 16:46:50 1994 Kung Hsu (kung@mexican.cygnus.com) - - * config.sub: Add os9k checking. - -Thu Feb 24 07:09:04 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * config.guess: Handle OSF1 running on HPPA processors - -Fri Feb 18 14:14:00 1994 Ken Raeburn (raeburn@rtl.cygnus.com) - - * configure: If subdir configure fails, print out a message with - subdirectory name, in case subdir's configure code didn't identify - itself. - -Fri Feb 18 12:50:15 1994 Doug Evans (dje@cygnus.com) - - * configure.in: Remove embedded newlines from configdirs. - Avoid mismatches of substrings. Fix matching strings at end - of configdirs. - -Fri Feb 11 15:33:33 1994 Stu Grossman (grossman at cygnus.com) - - * config.guess: Add Lynx/rs6000 config support. - -Tue Feb 8 13:41:09 1994 Ken Raeburn (raeburn@rtl.cygnus.com) - - * configure.in (alpha-dec-osf1*, alpha*-*-*): Build gas. - -Mon Feb 7 15:42:36 1994 Jeffrey A. Law (law@cygnus.com) - - * configure.in (hppa*-*-osf*): Treat this just like most other - PA configurations (eg no binutils or ld). - (hppa*-*-*elf*): These configurations have binutils and ld. - -Sun Feb 6 16:35:07 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * config.sub (hiux): Fix typo. From m-kasahr@sramhc.sra.co.JP. - -Sat Feb 5 01:00:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure.in (rs6000-*-*): Build gas. - -Wed Feb 2 13:57:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * Makefile.in: Avoid bug in losing hpux sed. - -Wed Feb 2 14:53:05 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * Makefile.in, test-build.mk: Remove MUNCH_NM; it was only needed - for GDB and GDB has been fixed to not need it. - -Sun Jan 30 17:58:06 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * config.guess: Recognize vax hosts. - -Fri Jan 28 15:29:38 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * configure (while loop): Don't use "break 2" inside case - statement -- the case statement isn't an enclosing loop. - -Mon Jan 24 18:40:06 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * config.guess: Clean up NeXT support, to allow nextstep - on Intel machines. Make OS be nextstep. - -Sun Jan 23 18:47:22 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * config.guess: Add alternate forms for Convex. - -Thu Jan 20 16:13:41 1994 Stu Grossman (grossman at cygnus.com) - - * configure: Completely rewrite option processing. Take - advantage of pattern-matching to avoid invoking test frequently. - Also clean up host and target defaulting logic. - -Mon Jan 17 15:06:56 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * Makefile.in: Replace all occurrances of "rootme" with "r" and - "$${rootme}" with "$$r", to increase the likelihood that the do-* - commands (plus user environment) will fit SCO limits. - -Thu Jan 6 11:20:57 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure.in: Don't issue warnings about directories which are - not being configured if -norecursion is set. Correct test for - --with-gnu-as and --with-gnu-ld to not get confused by substring - matches. - - * configure.in: Don't build gas for alpha-dec-osf1*. - -Tue Jan 4 17:10:19 1994 Stu Grossman (grossman at cygnus.com) - - * configure: Back out Per's change of 12/19/1993. It changes the - behavior of configure in unexpected and confusing ways. - - Also, use different delim char when calculating - program_transform_name so that the name can contain slashes. - -Sat Jan 1 13:45:31 1994 Rob Savoye (rob@darkstar.cygnus.com) - - * configure.in, config.sub: Add support for VSTa micro-kernel. - -Sat Dec 25 20:00:47 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * configure.in: Nuke hacks which were used to get a special - version of GAS for HPPA configurations. - -Sun Dec 19 20:40:44 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * configure: If only ${target_alias} is given, use that - as the default for ${host_alias}. - * configure: Add missing back-slashes before nested quotes. - -Wed Dec 15 18:07:18 1993 david d `zoo' zuhn (zoo@andros.cygnus.com) - - * Makefile.in (BASE_FLAGS_TO_PASS): add YACC=$(BISON) - -Tue Dec 14 21:25:33 1993 Per Bothner (bothner@cygnus.com) - - * config.guess: Recognize some Tektronix configurations. - From Kaveh R. Ghazi <ghazi@noc.rutgers.edu>. - -Sat Dec 11 11:18:00 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * config.sub: Match any flavor of SH. - -Thu Dec 2 17:16:58 1993 Ken Raeburn (raeburn@cujo.cygnus.com) - - * configure.in: Don't try to configure newlib for Alpha. - -Thu Dec 2 14:35:54 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure.in: Don't build ld for Irix 5. Don't build gas, - libg++ or libio for any Alpha target. - - * configure.in (mips*-sgi-irix5*): New target; use mh-irix5. - -Wed Dec 1 17:00:33 1993 Jason Merrill (jason@deneb.cygnus.com) - - * Makefile.in (GZIPPROG): Renamed from GZIP, which gzip uses for - default arguments -- so it tried to compress itself. - -Tue Nov 30 13:45:15 1993 david d `zoo' zuhn (zoo@andros.cygnus.com) - - * configure.in (notsupp): ensure that a space is always at the end - of the configdirs list, since the grep checks for an explicit space - -Tue Nov 16 15:04:27 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * configure.in (target i386-sysv4.2): don't build ld, since static - versions of many libraries are not available. - -Tue Nov 16 14:28:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * config.guess: Recognize Apollos (using environment variables). - * configure.in: Don't configure ld, binutils, or gprof for Apollo. - -Thu Nov 11 12:03:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * config.guess: Recognize Sony news mips running newsos. - -Wed Nov 10 16:57:00 1993 Mark Eichin (eichin@cygnus.com) - - * Makefile.in (all-cygnus, build-cygnus): "fi else" needs to be - "fi ; else" for bash. - -Tue Nov 9 15:54:01 1993 Mark Eichin (eichin@cygnus.com) - - * Makefile.in (BASE_FLAGS_TO_PASS): pass SHELL. - -Fri Nov 5 08:07:27 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com) - - * config.sub: accept unixware as an alias for svr4.2. - Fix some inconsistancies with the gcc version. - -Fri Nov 5 15:14:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * Makefile.in (DISTDOCDIRS): Add gdb. - -Fri Nov 5 11:59:42 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * Makefile.in (DISTDOCDIRS): Add libg++ and libio. - -Fri Nov 5 10:35:05 1993 Ken Raeburn (raeburn@rover.cygnus.com) - - * Makefile.in (taz): Only build "info" in DISTDOCDIRS. - (DISTDOCDIRS): Don't assume libg++ and gdb folks necessarily want - this now. - -Thu Nov 4 18:58:23 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * config.sub: Accept hiux* as an OS name. - - * Makefile.in: Change RUNTEST_FLAGS back to RUNTESTFLAGS per - etc/make-stds.texi. The underscore came from gcc, and dje now - agrees that RUNTESTFLAGS is the correct name. - -Thu Nov 4 10:49:01 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * install.sh: Remove 'set -e'. It makes any conditionals - in the script useless. - - * config.guess: Automatically recognize arm-acorn-riscix - Patch from Richard Earnshaw (rwe11@cl.cam.ac.uk). - -Thu Nov 04 08:08:04 1993 Jeffrey Wheat (cassidy@cygnus.com) - - * Makefile.in: Change RUNTESTFLAGS to RUNTEST_FLAGS - -Wed Nov 3 22:09:46 1993 Ken Raeburn (raeburn@rtl.cygnus.com) - - * Makefile.in (DISTDOCDIRS): New variable. - (taz): Edit local Makefile.in sooner, instead of proto-toplev - Makefile.in later. Build "info" and "dvi" in DISTDOCDIRS. - -Wed Nov 3 21:31:52 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * configure.in (hppa target): check the source directory for the - pagas sub-directory - -Wed Nov 3 11:12:22 1993 Doug Evans (dje@canuck.cygnus.com) - - * config.sub: Allow -aout* and -elf*. - -Wed Nov 3 11:08:33 1993 Ken Raeburn (raeburn@rtl.cygnus.com) - - * configure.in: Don't build ld on i386-solaris2, same as for - sparc-solaris2. - -Tue Nov 2 14:21:25 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * Makefile.in (taz): Add texinfo/lgpl.texinfo (for libg++). - -Tue Nov 2 13:38:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * configure.in: Configure gdb for alpha. - -Mon Nov 1 10:42:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * Makefile.in (CXXFLAGS): Add -O. - -Wed Oct 27 10:45:06 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * config.guess: added support for DG Aviion - -Tue Oct 26 14:37:37 1993 Ken Raeburn (raeburn@rover.cygnus.com) - - * configure.in: Produce warning message for subdirectories not - configurable for this host/target combination. Don't try to - configure gdb for vms. - -Mon Oct 25 11:22:15 1993 Ken Raeburn (raeburn@rover.cygnus.com) - - * Makefile.in (taz): Replace "byacc" with "bison -y" in the - appropriate files before making "diststuff". - (DISTBISONFILES): New var: list of files to be edited. - (DISTSTUFFDIRS): Add binutils. - -Fri Oct 22 20:32:15 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * config.sub: also handle mipsel and mips64el (for little endian mips) - -Fri Oct 22 07:59:20 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * configure.in: Add * to end of all OS names. - -Thu Oct 21 11:38:28 1993 Stan Shebs (shebs@rtl.cygnus.com) - - * configure.in: Build newlib for LynxOS native. - -Wed Oct 20 09:56:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * config.guess: Add support for delta 88k running SVR3. - - * configure.in: Add comment about HP compiler vs. emacs. - -Tue Oct 19 16:02:22 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * configure.in: don't build ld on solaris2 (not a viable option - due to bugs in getpwnam & getpwuid) - -Tue Oct 19 15:13:56 1993 Ken Raeburn (raeburn@rtl.cygnus.com) - - * configure.in: Accept alpha-dec-osf1*, not just -osf1, since - config.guess will produce a full version number. - -Tue Oct 19 15:58:01 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure.in: Build linker and binutils for alpha-dec-osf1. - -Tue Oct 19 11:41:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * Makefile.in: Remove -O from CXXFLAGS for consistency with CFLAGS, - and gdb/testsuite/Makefile.in. - -Sat Oct 9 18:39:07 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * configure.in: recognize mips*- instead of mips- - -Fri Oct 8 14:15:39 1993 Ken Raeburn (raeburn@cygnus.com) - - * config.sub: Accept linux*coff and linux*elf as operating - systems. - -Thu Oct 7 12:57:19 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * config.sub: Recognize mips64, and mips3 as an alias for it. - -Wed Oct 6 13:54:21 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * configure.in: Remove alpha-dec-osf*, no longer necessary now that - gdb knows how to handle OSF/1 shared libraries. - -Tue Oct 5 11:55:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * configure.in: Recognize hppa*-*-hiux* (currently synonym for hpux). - * config.guess: Recognize Hitachi's HIUX. - * config.sub: Recognize h3050r* and hppahitachi. - Remove redundant cases for hp9k[23]*. - -Mon Oct 4 16:15:09 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * configure.in: default to '--with-gnu-as' and '--with-gnu-ld' - if gas and ld are in the source tree and are in ${configdirs}. - If ${use_gnu_as} or ${use_gnu_ld} are 'no', then don't set the - --with options (but still pass them down on the command line, - if they were explicitly specified). - -Fri Sep 24 19:11:13 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * configure: substitute SHELL value in Makefile.in with - ${CONFIG_SHELL} - -Thu Sep 23 18:05:13 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure.in: Build gas, ld, and binutils for *-*-sysv4* and - *-*-solaris2* targets. - -Sun Sep 19 17:01:41 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * Makefile.in: define M4, and pass it down to sub-makes; - all-autoconf now depends on all-m4 - -Sat Sep 18 00:38:23 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * Makefile.in ({AR,RANLIB}_FOR_TARGET): make contingent on - presence of {ar,ranlib} instead of a configured directory - -Wed Sep 15 08:41:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com) - - * config.guess: Accept 34?? as well as 33?? for NCR. - -Mon Sep 13 12:28:43 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * configure.in: grab mt-hppa for HPPA targets; use 'gas ' instead - of 'gas' in sed commands, since 'gash' is now in the tree as well. - -Fri Sep 10 11:23:52 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * configure: grab values for $(CC) and $(CXX) from the - environment, so that someone can do "CC=gcc configure; make" and - have it work right (matching the way that autoconf works now) - - * configure.in, Makefile.in: add support for gash, the tcl - interface to Galaxy - - * config.guess: add NetBSD variants (hp300, x86) - -Thu Sep 9 16:48:52 1993 Jason Merrill (jason@deneb.cygnus.com) - - * install.sh: Support -d option (in the manner of SunOS 4 install, - as it is more deterministic than that of GNU install) - (chmodcmd): Set file to mode 755 by default (should also do default - chgrp and chown, but I don't feel like dealing with that now) - -Tue Sep 7 11:59:39 1993 Doug Evans (dje@canuck.cygnus.com) - - * config.sub: Remove h8300hhms alias. - -Tue Aug 31 11:00:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * configure.in: Match *-*-solaris2* not *-sun-solaris2*. - -Mon Aug 30 18:29:10 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * Makefile.in (gcc-no-fixedincludes): touch stmp-fixproto as well - as stmp-fixinc - -Wed Aug 25 16:35:59 1993 K. Richard Pixley (rich@sendai.cygnus.com) - - * config.sub: recognize m88110-bug-coff. - -Tue Aug 24 10:23:24 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * Makefile.in (all-libio): all dependencies on the toolchain used - to build this (gcc, gas, ld, etc) - -Fri Aug 20 17:24:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * config.guess: Deal with OSF/1 1.3 on alpha. - -Thu Aug 19 11:43:04 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * install.sh: add some 'else true' clauses for portability - - * configure.in: don't build libio for h8[35]00-*-* targets - -Tue Aug 17 19:02:31 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * Makefile.in: Add support for new libio. - -Sun Aug 15 20:48:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * install.sh: If one command fails, don't try the rest. Don't try - to remove $dsttmp (via trap) unless we have already created it. - If $src doesn't exist, detect it and exit with an error. - - * config.guess: Recognize BSD on hp300. - -Wed Aug 11 18:35:13 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * config.guess: Map (9000/[34]??:HP-UX:*:*) to m68k-hp-hpux. - Bug report from "Hamish (H.I.) Macdonald" <hamish@bnr.ca>. - -Wed Aug 11 15:37:51 1993 Jason Merrill (jason@deneb.cygnus.com) - - * Makefile.in (all-send-pr): depends on all-prms - -Wed Aug 11 16:56:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * config.guess: Fix typo (9000/8??:4.3bsd -> 9000/7??:4.3bsd). - -Fri Aug 6 14:45:02 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * config.guess: From michael@mercury.cs.mun.ca (Michael Rendell): - Added test for mips-mips-riscos5. - -Thu Aug 5 15:45:08 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * configure.in: use mh-hp300 for 68k HP hosts - -Mon Aug 2 11:56:53 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * configure: add support for CONFIG_SHELL, so that you can use - some alternate shell for evaluating configure scripts - -Sun Aug 1 11:36:27 1993 Fred Fish (fnf@deneb.cygnus.com) - - * Makefile.in (make-gdb.tar.gz): Sed bug reporting address - in configure script to bug-gdb@prep.ai.mit.edu when building - distribution archive. - * Makefile.in (COMPRESS): Remove def. - * Makefile.in (gdb.tar.gz, make-gdb.tar.gz): Renamed from - gdb.tar.Z and make-gdb.tar.Z respectively. - * Makefile.in (make-gdb.tar.gz): Now only build gzip'd archive. - * Makefile.in (make-gdb.tar.gz): Minor changes to move closer - to convergence with 'taz' target in Makefile.in. - -Fri Jul 30 12:34:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * install.sh (dsttmp): use trap to ensure that tmp files go - away on error conditions - -Wed Jul 28 11:57:36 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * Makefile.in (BASE_FLAGS_TO_PASS): remove LOADLIBES - -Tue Jul 27 12:43:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * Makefile.in (install-dirs): Deal with a prefix like /gnu; - its parent is '/' not ''. - - * Makefile.in (DEVO_SUPPORT): Add comments about ChangeLog. - -Fri Jul 23 09:53:37 1993 Jason Merrill (jason@wahini.cygnus.com) - - * configure: if ${newsrcdir}/configure doesn't exist, don't assume - that ${newsrcdir}/configure.in does. - -Tue Jul 20 11:28:50 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * test-build.mk: support for CONFIG_SHELL - -Mon Jul 19 21:54:46 1993 Fred Fish (fnf@deneb.cygnus.com) - - * config.sub (netware): Add as a basic system type. - -Wed Jul 14 12:03:11 1993 K. Richard Pixley (rich@sendai.cygnus.com) - - * Makefile.in (Makefile): depend on configure.in. Also drop the - $(srcdir)/ from the dependency on Makefile.in. - -Tue Jul 13 20:10:58 1993 Doug Evans (dje@canuck.cygnus.com) - - * config.sub: Recognize h8300hhms as h8300h-hitachi-hms. - (h8300hhms is temporary until multi-libraries are implemented). - * configure.in: Handle h8300h too. - -Sun Jul 11 17:35:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * config.guess: Recognize dpx/2 as m68k-bull-sysv3. - -Thu Jul 8 18:26:12 1993 John Gilmore (gnu@cygnus.com) - - * configure: Remove extraneous output when guessing host type. - * config.guess: Remove extraneous output when guessing using C - compiler rather than uname, or when guessing fails. - -Wed Jul 7 17:58:14 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com) - - * Makefile.in: remove all.cross and install.cross targets - - * configure: remove CROSS=-DCROSS_COMPILE and ALL=all.cross - definitions - -Tue Jul 6 10:39:44 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) - - * configure.in (target sh): Build gprof. - -Thu Jul 1 16:52:56 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * config.sub: change -solaris to -solaris2 - -Thu Jul 1 15:46:16 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * configure.in: Use config/mh-riscos for mips-*-sysv*. - -Wed Jun 30 09:31:58 1993 Ian Lance Taylor (ian@cygnus.com) - - * configure: Correct error message for missing Makefile.in to - print correct directory. - -Tue Jun 29 13:52:16 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * install.sh: kludge around 386BSD shell bug - -Tue Jun 29 13:06:49 1993 Per Bothner (bothner@rtl.cygnus.com) - - * config.guess: Recognize NeXT. - * config.guess: Recognize i486-ncr-sysv4. - * Makefile.in (taz): rm $(TOOL)-$$VER before linking. - -Tue Jun 29 12:50:57 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (MAKEINFOFLAGS): New variable. - (FLAGS_TO_PASS): Pass MAKEINFO as MAKEINFO MAKEINFOFLAGS. - * build-all.mk, test-build.mk: Pass down --no-split as - MAKEINFOFLAGS when hosted on DOS. Compile DOS hosted without -g. - -Thu Jun 24 13:39:11 1993 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in (DEVO_SUPPORT): Add COPYING COPYING.LIB install.sh. - -Wed Jun 23 12:59:21 1993 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in (libg++.tar.z): New rule. - * Makefile.in (taz): Replace 'configure -rm' by 'make distclean'. - * Makefile.in (taz): Only do a single chmod. - -Fri Jun 18 12:03:10 1993 david d `zoo' zuhn (zoo at majipoor.cygnus.com) - - * install.sh: don't use dirname anymore (replaced with sed usage) - -Thu Jun 17 18:43:42 1993 Fred Fish (fnf@cygnus.com) - - * Makefile.in: Change extension for gzip'd files from '.z' to - '.gz' per new FSF standard usage. - -Thu Jun 17 16:58:50 1993 david d `zoo' zuhn (zoo at majipoor.cygnus.com) - - * configure: put quotes around the final value of program_transform_name - -Tue Jun 15 16:48:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: new install.sh support; update install-info rules - -Wed Jun 9 12:31:34 1993 Ian Lance Taylor (ian@cygnus.com) - - * configure.in: Build diff for crosses, but not for go32 host. - - * configure.in: Build gprof only for native, and don't build it - for mips-*-*, rs6000-*-*, or i[34]86-*-sco*. - -Mon Jun 7 13:12:11 1993 david d `zoo' zuhn (zoo at deneb.cygnus.com) - - * configure.in: don't build gas,ld,binutils on for *-*-sysv4 - -Mon Jun 7 11:40:11 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * configure.in (host_tools): Add prms. - -Fri Jun 4 13:30:42 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: install gcc, do installation of $(INSTALL_MODULES) - with $(FLAGS_TO_PASS) on the command line - - * config.sub: Recognize lynx and lynxos - -Fri Jun 4 10:59:56 1993 Ian Lance Taylor (ian@cygnus.com) - - * config.sub: Accept -ecoff*, not just -ecoff. - -Thu Jun 3 17:38:54 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * Makefile.in (taz): Use .gz suffix instead of .z. - (binutils.tar.gz, gas+binutils.tar.gz, gas.tar.gz): Fixed target - names. - -Thu Jun 3 00:27:06 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in (vault-install): add an 'else true' (for Ultrix) - -Wed Jun 2 18:19:16 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in (install-no-fixedincludes): install gcc last, so - that rebuilds that might happen during 'make install' don't get - bogus gcc include files - -Wed Jun 2 16:14:10 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - Change from Utah for HPPA support: - * config.guess: Recognize hppa1.x-hp-bsd. - -Wed Jun 2 11:53:33 1993 Per Bothner (bothner@rtl.cygnus.com) - - * config.guess: Add support for Motorola Delta 68k, up to r3v7. - Patch from pot@fly.cnuce.cnr.it (Francesco Potorti`). - -Tue Jun 1 17:48:42 1993 Rob Savoye (rob at darkstar.cygnus.com) - - * config.sub: Add support for rom68k and bug boot monitors. - -Mon May 31 09:36:37 1993 Jim Kingdon (kingdon@cygnus.com) - - * Makefile.in: Make all-opcodes depend on all-bfd. - -Thu May 27 08:05:31 1993 Ian Lance Taylor (ian@cygnus.com) - - * config.guess: Added special check for i[34]86-univel-sysv4*. - -Wed May 26 16:33:40 1993 Ian Lance Taylor (ian@cygnus.com) - - * config.guess: For i[34]86-unknown-sysv4 use UNAME_MACHINE for - the processor rather than assuming i486. - -Wed May 26 09:40:18 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * config.guess: Recognize SunOS6 as Solaris3. - -Tue May 25 23:03:11 1993 Per Bothner (bothner@cygnus.com) - - * config.guess: Fix typo. Avoid #elif (not in K&R 1). - Recognize SunOS 5.* only (and not [6-9].*) as being Solaris2. - -Tue May 25 12:44:18 1993 Ian Lance Taylor (ian@cygnus.com) - - * build-all.mk (all-cross): New target for Canadian Cross. - Added Q2 go32 targets. - * test-build.mk: Configure go32 cross sparclite-aout and - mips-idt-ecoff -with-gnu-ld. Moved build binary directory from - PARTIAL_HOLE_DIRS to BUILD_HOLES_DIRS. - -Mon May 24 15:30:06 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: fix Alpha GDB typo; also, don't build DejaGnu for - GO32 hosted toolchains - -Mon May 24 14:18:41 1993 Rob Savoye (rob at darkstar.cygnus.com) - - * configure: change so "-exec-prefix" gets passed down rather - than "-exec_prefix" so autoconf generated Makefiles get the - exec_prefix set right. - -Fri May 21 10:42:25 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * config.guess: get the Solaris2 minor version number - - * Makefile.in: add standards.texi and make-stds.texi to ETC_SUPPORT - -Fri May 21 06:20:52 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * config.guess: Recognize some Sequent platforms. - -Thu May 20 14:33:48 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: added the vault-install target - - * configure.in: actually use the Sun3 makefile fragment that's in - config, also added the release dir to configdirs - -Thu May 20 14:19:18 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * Makefile.in (taz): Fix modes on stuff in $(TOOL) dir also. - -Tue May 18 20:26:41 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: remove some program from Alpha targetted toolchains - -Tue May 18 15:23:19 1993 Ken Raeburn (raeburn@cygnus.com) - - * Makefile.in (DISTSTUFFDIRS): Renamed from PROTODIRS. Add ld and - gprof. - (taz): Run "make diststuff" in those directories instead of "make - proto-dir". Look for "VERSION=" only at start of line in subdir - Makefile. Use "gzip -9" for compression. - (TEXINFO_SUPPORT, DIST_SUPPORT, BINUTILS_SUPPORT_DIRS): New vars. - (binutils.tar.z): New target. - -Mon May 17 17:01:15 1993 Ken Raeburn (raeburn@deneb.cygnus.com) - - * Makefile.in (taz): Include gpl.texinfo. - -Fri May 14 06:48:38 1993 Ken Raeburn (raeburn@deneb.cygnus.com) - - * Makefile.in (setup-dirs): Merged into "taz" target. - (taz): Only do `proto-dir' stuff if a directory is actually needed - for this target. - -Wed May 12 13:09:44 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (MUNCH_NM): New variable, defined to be $(NM). - (FLAGS_TO_PASS): Pass down MUNCH_NM. - (HOST_CC, HOST_PREFIX, HOST_PREFIX_1): New variables. - (EXTRA_GCC_FLAGS): Pass down HOST_* variables. - (gcc-no-fixedincludes): Correct for current gcc Makefile. - -Tue May 11 10:14:25 1993 Fred Fish (fnf@cygnus.com) - - * Makefile.in (make-gdb.tar.Z): Add configure, config.guess, - config.sub, and move-if-change to gdb testsuite distribution - archive, so the testsuite can be extracted, configured, and - run separately from the gdb distribution. Blow away the Chill - tests that require a Chill compiled executable, since GNU Chill - is not yet publically available. - -Mon May 10 17:22:26 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * test-build.mk: set environment variables in a single command, - instead of a list of assignments and exports - - * config.guess: recognize Alpha/OSF1 systems - -Mon May 10 14:55:51 1993 K. Richard Pixley (rich@rtl.cygnus.com) - - * configure: Change help message to prefer --options rather than - -options. - -Mon May 10 05:58:35 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com) - - * config.sub: Convergent Tech. "miniframe" uses m68010, sez - zippy@ecst.csuchico.edu. - * config.guess: Recognize miniframe. - -Sun May 9 17:47:57 1993 Rob Savoye (rob at darkstar.cygnus.com) - - * Makefile.in: Use srcroot to find runtest rather than rootme. - Pass RUNTESTFLAGS and EXPECT down in BASE_FLAGS_TO_PASS. - -Fri May 7 14:55:59 1993 Ian Lance Taylor (ian@cygnus.com) - - * test-build.mk: Extensive additions to support building on a - machine other than the host. - -Wed May 5 08:35:04 1993 Ken Raeburn (raeburn@deneb.cygnus.com) - - * configure (tooldir): Fix for i386-aix again. - -Mon May 3 19:00:27 1993 Per Bothner (bothner@cygnus.com) - - * configure, Makefile.in: Change definition of $(tooldir) - to match the FSF. - -Fri Apr 30 15:55:21 1993 Fred Fish (fnf@cygnus.com) - - * config.guess: Recognize i[34]86/SVR4. - -Fri Apr 30 15:52:46 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * Makefile.in (all-gdb): gdb depends on sim. - -Thu Apr 29 23:30:48 1993 Fred Fish (fnf@cygnus.com) - - * Makefile.in (gdb.tar.Z): Make prototype gdb testsuite directory - at the same time we make the prototype gdb directory. - * Makefile.in (make-gdb.tar.Z): Make the testsuite distribution - files at the same time as the gdb base release distribution. - -Thu Apr 29 12:50:37 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (check): Use individual check targets rather than - DO_X rule. - (check-gcc): Added. - -Thu Apr 29 09:50:07 1993 Jim Kingdon (kingdon@cygnus.com) - - * config.sub: Use sysv3.2 not sysv32 for canonical OS - for System V release 3.2. - -Thu Apr 29 10:33:22 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * config.sub: Recognize hppaosf. - * configure.in: Do configure ld/binutils/gas for it. - -Tue Apr 27 06:25:34 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com) - - * configure (tooldir): Alter syntax used to set this, for systems - where "\$" isn't handled right, like i386-aix. - -Thu Apr 22 08:17:35 1993 Ian Lance Taylor (ian@cygnus.com) - - * configure: Pass program-transform-name, not - program_transform_name, to recursive configures. - -Thu Apr 22 02:58:21 1993 Ken Raeburn (raeburn@cygnus.com) - - * Makefile.in (gas+binutils.tar.z): New rule for building snapshots - of gas+ld+binutils. - -Mon Apr 19 17:41:30 1993 Per Bothner (bothner@cygnus.com) - - * config.guess: Recognize AIX3.2 as distinct from 3.1. - -Sat Apr 17 17:19:50 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: rename m88k-motorola-m88kbcs to m88k-motorola-sysv - -Tue Apr 13 16:52:16 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * Makefile.in (PRMS): Set back to all-prms. - -Sat Apr 10 12:04:07 1993 Ian Lance Taylor (ian@cygnus.com) - - * test-build.mk: Pass -with-gnu-as for known MIPS native and MIPS - targets, rather than for MIPS hosts. - -Fri Apr 9 13:51:06 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: add comment for --with-x default values - - * config.guess: handle Motorola Delta88 box for SVR3 and SVR4. - - * Makefile.in: add check-* targets for each of the directories in - the tree. Add a definition of RUNTEST that will use the one we - just built, if it exists. Pass this down via FLAGS_TO_PASS. - -Thu Apr 8 09:21:30 1993 Ian Lance Taylor (ian@cygnus.com) - - * configure.in: Removed obsolete references to bfd_target and - target_makefile_frag. - - * build-all.mk: Set assorted targets for Q2. - * config.sub: Recognize z8k-sim and h8300-hms. - * test-build.mk: Really don't pass host to configure. - (HOLES): Added uname. - -Wed Apr 7 15:48:19 1993 Ian Lance Taylor (ian@cygnus.com) - - * configure: Handle an empty program-prefix, program-suffix or - program-transform-name correctly. - -Tue Apr 6 13:48:41 1993 Ian Lance Taylor (ian@cygnus.com) - - * build-all.mk: -G 8 no longer required for MIPS targets. - * test-build.mk: Don't pass host argument to configure; make it - guess. - -Tue Apr 6 10:36:53 1993 Fred Fish (fnf@cygnus.com) - - * Makefile.in (gdb.tar.Z): Fix for building gzip'd distribution. - * Makefile.in (COMPRESS): New macro, like GZIP. - -Fri Apr 2 09:02:31 1993 Ian Lance Taylor (ian@cygnus.com) - - * test-build.mk: Use -with-gnu-as for mips-sgi-irix4 as well. - - * build-all.mk: Set GCC to gcc -O -G 8 for MIPS targets, since gcc - with gas currently defaults to -G 0. - -Thu Apr 1 08:25:42 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (all-flex): flex depends on byacc. - - * build-all.mk: If host not specified, use config.guess. Pass TAG - to test-build.mk as RELEASE_TAG. - * test-build.mk (configargs): New variable containing arguments to - pass to configure. Set to -with-gnu-as on mips-dec-ultrix. - (FLAGS_TO_PASS): Pass down RELEASE_TAG. - - * config.guess: Use /bin/uname when checking -X argument on SCO, - to avoid invoking GNU uname which doesn't understand -X. - - * test-build.mk: Don't use /usr/unsupported/bin/as on AIX. - - * configure.in: Build gas for mips-*-*. - -Wed Mar 31 21:20:58 1993 K. Richard Pixley (rich@rtl.cygnus.com) - - * Makefile.in (all.normal): insert missing backslash. - -Wed Mar 31 12:31:56 1993 Ian Lance Taylor (ian@cygnus.com) - - * build-all.mk: Bump -XNh value to 1500 to match gcc requirements. - - * Makefile.in: Complete overhaul to merge many almost identical - targets. - -Tue Mar 30 20:17:01 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * Makefile.in (setup-dirs-gdb): Renamed from setup-dirs. - (gdb.tar.Z): Adjusted. - - * Makefile.in (setup-dirs, taz): New targets; should be general - enough to adapt for gdb sometime. Build only .z file. - (gas.tar.z): New target. - -Tue Mar 30 10:03:09 1993 Ian Lance Taylor (ian@cygnus.com) - - * build-all.mk: Use CC=cc -Xs on Solaris. - -Thu Mar 25 15:14:30 1993 Fred Fish (fnf@cygnus.com) - - * Makefile.in: Incorporate changes suggested by wilson@cygnus.com - for handling BISON for FSF releases. - -Thu Mar 25 06:19:48 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com) - - * configure: Actually implement the change zoo just documented. - -Wed Mar 24 13:02:44 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com) - - * configure: when using config.guess, only set target_alias when - it's not already been set (ie, on the command line) - -Mon Mar 22 23:07:39 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: add installcheck target, set PRMS to install-prms - -Sun Mar 21 16:46:12 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure: add support for package_makefile_fragment, handle the - case where a directory has a configure.in file but no Makefile.in - more gracefully (with an actual understandable error message, even); - add support for --without (and add this to the usage message); also - explicitly add a --host=${host_alias} to the command line when - config.guess is used - -Sun Mar 21 12:11:58 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * configure: Must use both --host and --target in recursive calls. - -Thu Mar 18 12:31:35 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in: Change deja-gnu to dejagnu. - -Mon Mar 15 15:44:35 1993 Ian Lance Taylor (ian@cygnus.com) - - * configure.in (h8300-*-*, h8500-*-*): Don't build libg++. - -Fri Mar 12 18:30:14 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: canonicalize all instances to *-*-solaris2*, - also strip out a number of tools to not build for go32 host - -Wed Mar 10 12:08:27 1993 K. Richard Pixley (rich@rtl.cygnus.com) - - * config.guess: add GPL. - - * Makefile.in, config.guess, config.sub, configure: bump - copyrights to 93. - -Wed Mar 10 07:12:48 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (do-info): Removed obsolete check for existence of - localenv file. - - * Makefile.in (MAKEOVERRIDES): Define to be empty. - -Wed Mar 10 03:11:56 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: a couple of 'else true' for decstation, - support for TclX - - * configure.in: configure tclX too; don't remove Tk on RS/6000 anymore - -Tue Mar 9 16:06:12 1993 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in (setup-dirs): change invocation of make to $(MAKE). - -Mon Mar 8 14:52:11 1993 Ken Raeburn (raeburn@cambridge) - - * config.guess: Recognize i386-ibm-aix (PS/2). - * configure.in: Use config/mh-aix386 file for it. - -Mon Mar 8 11:12:43 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (GCC_FOR_TARGET): Eliminated definition; use - CC_FOR_TARGET instead. - (BASE_FLAGS_TO_PASS): Pass GCC_FOR_TARGET=$(CC_FOR_TARGET). - -Wed Mar 3 16:00:28 1993 Steve Chamberlain (sac@ok.cygnus.com) - - * Makefile.in: Add sim to list of directories sent with gdb - -Wed Mar 3 11:42:39 1993 Ken Raeburn (raeburn@cygnus.com) - - * configure.in: Put back mips-dec-bsd* case. - -Tue Mar 2 21:15:58 1993 Fred Fish (fnf@cygnus.com) - - (Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>) - * configure.in (vax-*-ultrix2*): Add Ultrix 2.2 triplet. - * config.guess: Change 'VAX*:ULTRIX:*:*' to 'VAX*:ULTRIX*:*:*'. - -Tue Mar 2 18:11:03 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: remove no-op mips-dec-bsd* in "case $target" - - * Makefile.in (dir.info): only run gen-info-dir if it exists, - (install-info): install dir.info only if it exists, - (all-expect, install-expect): pass along X11_FLAGS_TO_PASS - -Tue Mar 2 09:01:30 1993 Ken Raeburn (raeburn@cygnus.com) - - * configure.in: For vms target, skip bfd, ld, binutils. Do build - gas for mips-dec-bsd. - -Tue Mar 2 08:35:24 1993 Ian Lance Taylor (ian@cygnus.com) - - * configure (makesrcdir): If ${srcdir} is relative and not ".", - and ${subdir} is not ".", set makesrcdir based on ${invsubdir}. - -Tue Feb 23 14:18:28 1993 Mike Werner (mtw@poseidon.cygnus.com) - - * configure.in: Added "dejagnu" to hosttools list. - -Mon Feb 22 23:28:38 1993 Per Bothner (bothner@rtl.cygnus.com) - - * config.sub, configure.in, config.guess: Add support - for Bosx, an AIX variant from Bull. - Patches from F.Pierresteguy@frcl.bull.fr. - -Sun Feb 21 11:15:22 1993 Mike Werner (mtw@poseidon.cygnus.com) - - * devo/dejagnu: Initial creation of devo/dejagnu. - Migrated dejagnu testcases and support files for testing software - tools to reside as subdirectories, currently called "testsuite", - within the directory of the software tool. Migrated all programs, - support libraries, etc. beloging to dejagnu proper from - devo/deja-gnu to devo/dejagnu. These files were moved "as is" - with no modifications. The changes to these files which will - allow them to configure, build, and execute properly will be made - in a future update. - -Fri Feb 19 20:19:39 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * Makefile.in: Change send_pr to send-pr. - * configure.in: Likewise. - * send_pr: Renamed directory to send-pr. - -Fri Feb 19 19:00:13 1993 Per Bothner (bothner@cygnus.com) - - * Makefile.in: Add some extra semi-colons (needed if SHELL=bash). - -Fri Feb 19 00:59:33 1993 John Gilmore (gnu@cygnus.com) - - * README: Update for gdb-4.8 release. - * Makefile.in (gdb.tar.Z): Add texinfo/tex3patch. Build - gdb-xxx.tar.z (gzip'd) file also. - -Thu Feb 18 09:16:17 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: make all-diff depend on all-libiberty - -Tue Feb 16 16:06:31 1993 K. Richard Pixley (rich@cygnus.com) - - * config.guess: add vax-ultrix in the spirit of mips-ultrix. - -Tue Feb 16 05:57:15 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in, Makefile.in: add hello, tar, gzip, recode, indent - -Tue Feb 16 00:58:20 1993 John Gilmore (gnu@cygnus.com) - - * Makefile.in (DEVO_SUPPORT): Remove etc directory - (ETC_SUPPORT): Only add the files GDB wants from etc/. - (gdb.tar.Z): Use ETC_SUPPORT. Use byacc when building the file. - -Thu Feb 11 20:14:28 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: makeinfo binary is in a new location - -Tue Feb 9 12:42:27 1993 Ian Lance Taylor (ian@cygnus.com) - - * config.sub: Accept -ecoff as an OS. - - * Makefile.in: Various changes to eliminate a level of make - recursion and reduce the required command line length. - (BASE_FLAGS_TO_PASS): New variable holding flags passed to all - sub-makes. - (EXTRA_HOST_FLAGS, EXTRA_TARGET_FLAGS, EXTRA_GCC_FLAGS): New - variables holding settings for specific sub-makes. - (FLAGS_TO_PASS, TARGET_FLAGS_TO_PASS, GCC_FLAGS_TO_PASS): Rewrote - in terms of BASE_FLAGS_TO_PASS. - (TARGET_LIBS): New variable listing directories which use - TARGET_FLAGS_TO_PASS. - (subdir_do): Eliminated. - (do-*): New set of targets to replace subdir_do. - (various): All targets which used subdir_do now depend on do-*. - (local-clean): Renamed from do_clean. - (local-distclean): New target, dependency of distclean and - realclean. - (install-info): Don't create directories. Depend on dir.info - rather than calling make recursively. - (install-dir.info): Eliminated. - (install-info-dirs): Create all info directories here. - (dir.info): Depend upon do-install-info. - - * test-build.mk (HOLES): Added false. - -Sat Feb 6 14:05:09 1993 Per Bothner (bothner@rtl.cygnus.com) - - * config.guess: Recognize BSDI and BSDJ (Jolitz 386bsd). - -Thu Feb 4 20:49:18 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in (info): remove dependency on all-texinfo. The - problem was really in texinfo/C, not at this level. - -Thu Feb 4 13:38:41 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (info): Added dependency on all-texinfo (PR 2112). - -Thu Feb 4 01:50:53 1993 John Gilmore (gnu@cygnus.com) - - * Makefile.in (make-gdb.tar.Z): Change BISON to 'bison -y' for - GDB releases. - -Wed Feb 3 17:22:16 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * configure: Include srcdir in message about target of link not - being found. Don't convert `-' to `_' in `with' options being - passed to subdirs. - -Tue Feb 2 18:57:59 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: add uudecode to host_tools - - * Makefile.in: added {all,install}-uudecode targets, added them to - the appropriate lists - -Tue Feb 2 11:45:53 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (all-gcc): Added dependency on all-gas. - - * configure.in (mips-*-*): Build ld and binutils. - -Mon Feb 1 12:35:41 1993 K. Richard Pixley (rich@rtl.cygnus.com) - - * configure: check return code from mkdir, print error message and - exit on failure. - -Sat Jan 30 16:40:28 1993 John Gilmore (gnu@cygnus.com) - - * Makefile.in (make-gdb.tar.Z): New location for texinfo.tex. - -Thu Jan 28 15:09:59 1993 Ian Lance Taylor (ian@cygnus.com) - - * test-build.mk (HOLES): Added tar, cpio and uudecode. - -Wed Jan 27 16:50:32 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * config.sub (h8500): Recognize this as a cpu type. - -Sat Jan 23 20:32:01 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure: source directory missing is no longer a warning - - * configure.in: recognize irix[34]* instead of irix[34] - - * Makefile.in: define and pass down X11_LIB - -Sat Jan 23 13:49:40 1993 Per Bothner (bothner@cygnus.com) - - * guess-systype: Renamed to ... - * config.guess: ... by popular request. - * configure.in, Makefile.in: Update accordingly. - -Thu Jan 21 12:20:55 1993 Per Bothner (bothner@cygnus.com) - - * guess-systype: Patches from John Eaton <jwe@che.utexas.edu>: - + Add Convex, Cray/Unicos, and Encore/Multimax support. - + Execute ./dummy instead of assuming . is in PATH. - -Tue Jan 19 17:18:06 1993 Per Bothner (bothner@cygnus.com) - - * guess-systype: New shell script. Attempts to guess the - canonical host name of the executing host. - Only a few hosts are supported so far. - * configure: Call guess-systype if no host is specified. - -Tue Jan 19 08:26:07 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (gcc-no-fixedincludes): Made to work with current - gcc Makefile. - - -Fri Jan 15 10:27:02 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (GCC_FLAGS_TO_PASS): New variable. - (all-gcc, install-gcc, subdir_do): Use it. - -Wed Jan 13 17:06:45 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * Makefile.in: Rename uninstalled gcc driver from gcc to xgcc. - -Wed Jan 6 20:29:16 1993 Mike Werner (mtw@rtl.cygnus.com) - - * Makefile.in: Removed explicit setting of SUBDIRS. SUBDIRS is now - set exclusively by configure, using configure.in . - -Wed Jan 6 13:44:11 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * test-build.mk: set $PATH for all builds - - * Makefile.in: pass TARGET_FLAGS_TO_PASS for xiberty and libm - -Wed Jan 6 11:02:10 1993 Fred Fish (fnf@cygnus.com) - - * Makefile.in (GCC_FOR_TARGET): Supply a default that matches - the one used in gcc/Makefile.in, so that a null expansion doesn't - override the one needed to build gcc with a native cc. - - -Tue Jan 5 07:55:12 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * configure: Accept -with arguments. - -Sun Jan 3 15:15:09 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * Makefile.in: added h8300sim - -Tue Dec 29 15:06:00 1992 Ian Lance Taylor (ian@cygnus.com) - - * build-all.mk: If canonhost is i386-unknown-sco3.2v4, change it - to i386-sco3.2v4. Set TARGETS and CFLAGS for i386-sco3.2v4. - (all-cygnus, native, build-cygnus): Make - $(canonhost)-stamp-3stage-done, not $(host).... - * test-build.mk (stamp-3stage-compared): Use tail +10c for - i386-sco3.2v4. Added else true to if command. - -Mon Dec 28 12:08:56 1992 Ken Raeburn (raeburn@cygnus.com) - - * config.sub: (from FSF) Sequent uses a BSD-like OS. - -Mon Dec 28 08:32:06 1992 Minh Tran-Le (mtranle@paris.intellicorp.com) - - * configure.in (i[34]86-*-isc*): added; uses mh-sysv. - -Thu Dec 24 17:26:24 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: don't remove binutils from Solaris builds - -Thu Dec 24 14:08:38 1992 david d`zoo' zuhn (zoo@cygnus.com) - - * Makefile.in: get rid of earlier definitions for *clean, - also handle the recursive info rule better - -Thu Dec 24 12:40:21 1992 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in (mostlyclean, distclean, realclean): Fix to - do more-or-less the right thing. - -Wed Dec 16 10:25:31 1992 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in: Add lines defining CC and CXX, and use CXX rather - than gcc in definitions of CXX_FOR_BUILD and CXX_FOR_TARGET. - -Tue Dec 15 00:34:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: change all $(host_cpu)-$(host_vendor)-$(host_os) to - $(host_canonical). - - * configure.in: split the configdirs list into 4 categories (native - v. cross, library v. tool) and handle the cross-only and native- - only in more reasonable (and correct!) way. - -Mon Dec 14 17:04:22 1992 Stu Grossman (grossman at cygnus.com) - - * configure.in (hppa*-*-*): Don't remove bfd and gdb from - configdirs anymore. - -Sun Dec 13 00:37:26 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: extensive cleanup:: removed all of the explicit - clean-* targets, collapsed many wrappers around subdir_do into - one, added additional targets to satisfy standards.texi, deleted - some old targets, some changes for consistency - -Fri Dec 11 20:18:02 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: handle some programs as cross-only, and others as - native only - - * test-build.mk: handle partial holes in a more generic manner - - * Makefile.in: m4 depends on libiberty - -Thu Dec 3 21:52:11 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: add m4, textutils, fileutils, sed, shellutils, - time, wdiff, and find to configdirs - - * Makefile.in: all, clean, and install rules for the new programs - added to configure.in - -Mon Nov 30 14:54:34 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: use mh-sun for all *-sun-* hosts - -Fri Nov 27 18:35:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: define flags for X11 include files and library file - locations, pass them down to the programs that need this info - - * build-all.mk: added a 'native' target, to 3stage the native toolchain - -Sun Nov 22 18:59:13 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: start building libg++ for HP-UX targets - -Wed Nov 18 19:33:11 1992 John Gilmore (gnu@cygnus.com) - - * README: Update references to files moved into etc/. - -Sun Nov 15 09:36:08 1992 Fred Fish (fnf@cygnus.com) - - * config.sub (i386sol2, i486sol2): i[34]86-unknown-solaris2. - * configure.in (i[34]86-*-solaris2*): Use config/mh-sysv4. - -Thu Nov 12 08:50:42 1992 Ian Lance Taylor (ian@cygnus.com) - - * configure: accept dash as well as underscore in long option - names for FSF compatibility. - -Wed Nov 11 08:04:37 1992 Ian Lance Taylor (ian@cygnus.com) - - * config.sub: added -sco3.2v4 support from FSF. - -Sun Nov 8 21:14:30 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: expand the section that adds or removes - directories from the list of programs to build, to handle native - vs. cross in addition to host v. native - -Sat Nov 7 18:52:27 1992 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in: Replace C++ in macro names with CXX. - This is less likely to break ... - -Sat Nov 7 15:16:58 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * test-build.mk: add -w to GNU_MAKE - -Fri Nov 6 23:10:37 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * config.sub: remove 'sparc'-->'sparc-sun' default transformation, - add 'sparc' to list of recognized cpus. This needed to make - 'sparc-aout' expand to 'sparc-unknown-aout' instead of 'sparc-sun-aout'. - Delete some redundant ose68 variants. Recognize -wrs as an os, - then changes that into $CPU-wrs-vxworks. - - * configure.in: remove most references to gdbtest, regularize - target based program removal - - * test-build.mk: import from p3 tree (many fixes and changes) - -Fri Nov 6 20:59:00 1992 david d `zoo' zuhn (zoo@cygnus.com) - - * Makefile.in: added rules to handle tcl, tk, and expect - - * configure.in: handle those directories if they exist - -Thu Nov 5 14:35:41 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * config.sub: removed bogus hppabsd and hppahpux names, since - "hppa" is not a valid cpu (hppa1.1 or hppa1.0 are, though) - -Thu Oct 29 00:12:41 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: all-gcc now depends on all-binutils. all-libg++ - depends upon all-xiberty - - * Makefile.in: changes from p3, including: - - Thu Oct 8 15:00:17 1992 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (XTRAFLAGS): include newlib directories if - newlib/Makefile exists, rather than if host != target. - - Fri Sep 25 13:41:52 1992 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in: added -nostdinc to XTRAFLAGS if we are using gcc - from the same source tree and not building a cross-compiler. This - matters for the libg++ configuration if reconfiguring a tree that - has already been installed. - - Thu Sep 10 10:35:51 1992 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in: added -I for newlib/targ-include to XTRAFLAGS, to - pick up the machine and system specific header files. - - * Makefile.in: added AS_FOR_TARGET, passed down in - TARGET_FLAGS_TO_PASS. Added CC_FOR_BUILD, which is intended to be - the C compiler to use to create programs which are run in the - build environment, set it to default to $(CC), and passed it down - in FLAGS_TO_PASS and TARGET_FLAGS_TO_PASS. - - Mon Sep 7 22:34:42 1992 Ian Lance Taylor (ian@cirdan.cygnus.com) - - * Makefile.in: add $(host) = $(target) tests back to *_FOR_TARGET. - We need them for unusual native builds, like systems without - ranlib. - - * configure: also define $(host_canonical) and - $(target_canonical), which are the full, canonical names for the - given host and target - -Sun Nov 1 16:38:17 1992 Per Bothner (bothner@cygnus.com) - - * Makefile.in: Added separate definitions for C++. - -Fri Oct 30 11:37:52 1992 Fred Fish (fnf@cygnus.com) - - * configure.in (configdirs): Add deja-gnu. - -Fri Oct 23 00:39:18 1992 John Gilmore (gnu@cygnus.com) - - * README: Update for configure.texi and gdb-4.7 release. - -Wed Oct 21 21:54:27 1992 John Gilmore (gnu@cygnus.com) - - * Makefile.in: Move "all" target to top of file. - Previously, first target was ".PHONY" which caused BSD4.4 make - to build .PHONY when make was run without arguments. - -Mon Oct 19 01:17:54 1992 John Gilmore (gnu@cygnus.com) - - * Makefile.in: Add COPYING.LIB to GDB releases, now that there's - Library-copylefted code in libiberty. - -Tue Oct 13 01:22:32 1992 John Gilmore (gnu@cygnus.com) - - * config.sub: Replace m68kmote with plain old m68k. - -Fri Oct 9 03:14:24 1992 John Gilmore (gnu@cygnus.com) - - * Makefile.in: Remove space from blank line, avoid Make complaints. - -Thu Oct 8 18:41:45 1992 Ken Raeburn (raeburn@cygnus.com) - - * config.sub: Complain if no argument is given. Added support for - 386bsd as OS and target alias. - -Thu Oct 8 15:07:22 1992 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (XTRAFLAGS): include newlib directories if - newlib/Makefile exists, rather than if host != target. - -Mon Oct 5 03:00:09 1992 Mark Eichin (eichin at tweedledumber.cygnus.com) - - * config.sub: recognize sparclite-wrs-vxworks. - - * Makefile.in (install-xiberty): added *-xiberty make rules (from - p3.) Added clean-xiberty to clean. - -Thu Oct 1 17:59:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: use *-*-* instead of nested cases for host and target - -Tue Sep 29 14:11:18 1992 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in: added -nostdinc to XTRAFLAGS if we are using gcc - from the same source tree and not building a cross-compiler. This - matters for the libg++ configuration if reconfiguring a tree that - has already been installed. - -Sep 20 08:53:10 1992 Fred Fish (fnf@cygnus.com) - - * config.sub (i486v/i486v4): Merge in from FSF version. - -Fri Sep 18 00:32:00 1992 Mark Eichin (eichin@cygnus.com) - - * configure: only set PWD if it is already set. - -Thu Sep 17 23:05:53 1992 Mark Eichin (eichin@cygnus.com) - - * configure: just set PWD=`pwd` at the top, since Ultrix sh - doesn't have unset and all success paths (and most error paths) - out set it anyway. (Note: should change all uses of ${PWD=`pwd`} - to just ${PWD} to avoid confusion.) - -Tue Sep 15 16:00:54 1992 Ian Lance Taylor (ian@cygnus.com) - - * configure: always set $(tooldir) to $(libdir)/$(target_alias), - even for a native compilation. - -Tue Sep 15 02:22:56 1992 John Gilmore (gnu@cygnus.com) - - Changes to make the gdb.tar.Z rule work better. - - * Makefile.in (GDB_SUPPORT_DIRS): Add opcodes. - (DEVO_SUPPORT): Add configure.texi. - (bfd-ilrt.tar.Z): Remove ancient rule. - -Thu Sep 10 10:43:19 1992 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in: added -I for newlib/targ-include to XTRAFLAGS, to - pick up the machine and system specific header files. - - * configure.in, config.sub: added new target m68010-adobe-scout, - with alias of adobe68k. Changed configure.in to check for - -scout before -sco* to avoid a false match. - - * Makefile.in: added AS_FOR_TARGET, passed down in - TARGET_FLAGS_TO_PASS. Added CC_FOR_BUILD, which is intended to be - the C compiler to use to create programs which are run in the - build environment, set it to default to $(CC), and passed it down - in FLAGS_TO_PASS and TARGET_FLAGS_TO_PASS. - -Wed Sep 9 12:21:42 1992 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in: added TARGET_FLAGS_TO_PASS, CC_FOR_TARGET, - AR_FOR_TARGET, RANLIB_FOR_TARGET, NM_FOR_TARGET. Pass - TARGET_FLAGS_TO_PASS, which defines CC, AR, RANLIB and NM as the - FOR_TARGET variants, to newlib and libg++. - -Tue Sep 8 17:28:30 1992 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * Makefile.in (all-gas, all-gdb): Require all-opcodes to be built - first. - -Wed Sep 2 02:50:05 1992 John Gilmore (gnu@cygnus.com) - - * config.sub: Accept `elf' as an environment. - -Tue Sep 1 15:48:30 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * Makefile.in (all-opcodes): cd into the right directory - -Sun Aug 30 21:12:11 1992 Ian Lance Taylor (ian@cygnus.com) - - * configure: added -program_transform_name option, used as - argument to sed when installing programs. - configure.texi: added documentation for -program_prefix, - -program_suffix and -program_transform_name. - -Thu Aug 27 21:59:44 1992 John Gilmore (gnu@cygnus.com) - - * config.sub: Accept i486 where i386 ok. - -Thu Aug 27 13:04:42 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - - * config.sub: accept we32k - -Mon Aug 24 14:05:14 1992 Ian Lance Taylor (ian@cygnus.com) - - * config.sub, configure.in: accept OSE68000 and OSE68k. - - * Makefile.in: don't create all directories for ``make install''; - let the subdirectories create the ones they need. - -Tue Aug 11 23:13:17 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * COPYING: new file, GPL v2 - -Tue Aug 4 01:12:43 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: use the new gen-info-dir, which needs a template - argument (which also lives in texinfo) - - * configure.texi, standards.texi: fix INFO-DIR-ENTRY - -Mon Aug 3 00:34:17 1992 Fred Fish (fnf@cygnus.com) - - * config.sub (ncr3000): Change i386 to i486. - -Thu Jul 23 00:12:17 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: add install-rcs, install-grep to - install-no-fixedincludes, removed install-bison and install-libgcc - -Tue Jul 21 01:01:50 1992 david d `zoo' zuhn (zoo@cygnus.com) - - * configure.in: grab the HPUX makefile fragment if on HPUX - -Mon Jul 20 11:02:09 1992 D. V. Henkel-Wallace (gumby@cygnus.com) - - * Makefile.in: eradicate bison spoor (ditto libgcc). - configure.in: recognise m68{k,000}-ericsson-OSE. - es1800 is alias for m68k-ericsson-OSE - -Sun Jul 19 17:49:02 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: rearrange the parts that remove programs from - configdirs, based now on HOST==TARGET or by canonical triple. - -Fri Jul 17 22:52:49 1992 K. Richard Pixley (rich@rtl.cygnus.com) - - * test-build.mk: recurse explicitly with -f test-build.mk when - appropriate. predicate stage3 and comparison on the existence - of gcc. That is, if gcc isn't around, we aren't three-staging. - On very clean, also remove ...stamp-co. Build in-place before - doing other builds. - -Thu Jul 16 18:33:09 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * Makefile.in, configure.in: add tgas - -Thu Jul 16 16:05:28 1992 K. Richard Pixley (rich@rtl.cygnus.com) - - * Makefile.in: a number of changes merged in from progressive. - - * configure.in: add libm. - - * .cvsignore: ignore some stuff that comes from test-build.mk. - -Tue Jul 7 00:24:52 1992 Fred Fish (fnf@cygnus.com) - - * config.sub: Add es1800 (m68k-ericsson-es1800). - -Tue Jun 30 20:24:41 1992 D. V. Henkel-Wallace (gumby@cygnus.com) - - * configure: Add program_suffix (parallel to program_prefix) - * Makefile.in: adjust directory-creating script for losing decstation - -Mon Jun 22 23:43:48 1992 Per Bothner (bothner@cygnus.com) - - * configure: Minor $subdir-related fixes. - -Mon Jun 22 18:30:26 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * configure: fix various problems with propogating - makefile_target_frag in subdirs. - * configure.in: config libgcc if its there - -Fri Jun 19 15:19:40 1992 Stu Grossman (grossman at cygnus.com) - - * config.sub: HPPA merge. - -Sun Jun 14 10:29:19 1992 John Gilmore (gnu at cygnus.com) - - * Makefile.in: Replace all-bison with all-byacc in all - dependency lines for other tools (which now use byacc). - -Fri Jun 12 22:21:57 1992 John Gilmore (gnu at cygnus.com) - - * config.sub: Add sun4sol2 => sparc-sun-solaris2. - -Thu Jun 4 12:07:32 1992 Mark Eichin (eichin@cygnus.com) - - * Makefile.in: make gprof rules similar to byacc rules (instead of - vestigal $(unsubdir) that didn't work...) - -Thu Jun 4 00:37:05 1992 Per Bothner (bothner@rtl.cygnus.com) - - * config.sub: Add support for Linux. - * Makefile.in: Use $(FLAGS_TO_PASS) more consistently - (at least for libg++). - -Tue Jun 02 20:03:00 1992 david d `zoo' zuhn (zoo@cygnus.com) - - * configure.texi: fix doc for the -nfp option to configure - -Tue Jun 2 17:20:52 1992 Michael Tiemann (tiemann@cygnus.com) - - * Makefile.in (all-binutils): ar needs flex, so depend on all-flex. - -Sun May 31 15:04:08 1992 Mark Eichin (eichin at cygnus.com) - - * config.sub: changed [^-]+ to [^-][^-]* so that it works under - Sun sed. (BSD 4.3 sed doesn't handle [^-]+ either.) - * configure.in: added solaris* host_makefile_frag hook. - -Sun May 31 01:10:34 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * config.sub: changed recognition of m68000 so that various - m68k types can be specified via m680[01234]0 - -Sat May 30 21:01:06 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * config.sub (basic_machine): fix sed so that '-foo' isn't - completely substituted out while .+'-foo' loses the '-foo' - -Wed May 27 23:18:52 1992 Michael Tiemann (tiemann@rtl.cygnus.com) - - * config.sub ($os): Add -aout. - -Fri May 22 14:00:02 1992 Per Bothner (bothner@cygnus.com) - - * configure: If host_makefile_frag is absolute, don't - prefix ${invsubdir} (relevant to libg++ auto-configure). - -Thu May 21 18:00:09 1992 Michael Tiemann (tiemann@rtl.cygnus.com) - - * Makefile.in (tooldir): Define it. - (all-ld): Depend on all-flex. - -Sun May 10 21:45:59 1992 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in (check): Fix libg++ special case. - -Fri May 8 08:31:41 1992 K. Richard Pixley (rich@cygnus.com) - - * configure: do not bury `pwd` into config.status, thus do fewer - pwd's. - - * configure: print the "Building in" message only when building in - other than "." AND verbose. - - * configure: remove -s, rework -v to better accomodate guested - configures. - - * standards.texi: updated to 3 may, fixed librid <-> libdir typo. - -Fri May 1 18:00:50 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in: macroize flags passed on recursion. remove - fileutils. - -Thu Apr 30 08:56:20 1992 K. Richard Pixley (rich@cygnus.com) - - * configure: get makesrcdir right for subdirs deeper than 1. - - * Makefile.in: pass INSTALL, INSTALL_DATA, INSTALL_PROGRAM on - install. - -Fri Apr 24 15:51:51 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in: don't print subdir_do or recursion lines. - -Fri Apr 24 15:22:04 1992 K. Richard Pixley (rich@cygnus.com) - - * standards.texi: added menu item. - - * Makefile.in: build and install standards.info. - - * standards.texi: new file. - -Wed Apr 22 18:06:55 1992 K. Richard Pixley (rich@rtl.cygnus.com) - - * configure: test for and move config.status pieces from - ${subdir}/. - -Wed Apr 22 14:38:34 1992 Fred Fish (fnf@cygnus.com) - - * configure: Test for existance of files before trying to mv - them, to avoid numerous non-existance messages. - -Tue Apr 21 12:31:33 1992 K. Richard Pixley (rich@cygnus.com) - - * configure: correct final line of config.status. - - * configure: patch from eggert. Avoids a protection problem if - the original Makefile.in is read only. - - * configure: use move-if-change from gcc to create config.status. - Some makefiles depend on config.status to tell if a directory - has been reconfigured for a different host. This change - prevents those directories from remaking everything in the case - where the reconfig was only intended to rebuild a Makefile. - - * configure: test for config.sub with "config.sub sun4" rather - than "config.sub ${host_alias}". Otherwise we can't tell a bad - host alias from a missing config.sub. - -Mon Apr 20 18:16:36 1992 K. Richard Pixley (rich@rtl.cygnus.com) - - * Makefile.in: explicitly pass CFLAGS on recursion. no longer pass - MINUS_G (this can be done with CFLAGS). Default CFLAGS to -g. - -Fri Apr 17 18:27:51 1992 Per Bothner (bothner@cygnus.com) - - * configure: mkdir ${subdir} as needed. - -Wed Apr 15 17:37:22 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in,configure.in: added autoconf. - -Wed Apr 15 17:27:34 1992 K. Richard Pixley (rich@rtl.cygnus.com) - - * Makefile.in: no longer pass against on recursion. - - * Makefile.in: added .NOEXPORT: so that stray makefile_frag - definitions are not inherited. - - * configure: correct makesrcdir when subdir is . - -Tue Apr 14 11:56:09 1992 Per Bothner (bothner@cygnus.com) - - * configure: Add support for 'subdirs' variable, which is - like 'configdirs', except that configure doesn't re-invoke - itself for subdirs, it just creates a Makefile for each subdir. - * configure.texi: Document subdirs. - -Mon Apr 13 18:50:16 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: added flex to configdirs - -Mon Apr 13 18:43:55 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in: remove clean-stamps from clean. - -Sat Apr 11 03:52:03 1992 John Gilmore (gnu at cygnus.com) - - * configure.in: Add gdbtest to configdirs. - -Fri Apr 10 23:11:49 1992 Fred Fish (fnf@cygnus.com) - - * Makefile.in (MINUS_G): Add macro, default to -g, pass on - to recursive makes. - * configure.in: Recognize new ncr3000 config. - -Wed Apr 8 23:08:12 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in, configure.in: removed references to gdbm. - -Tue Apr 7 16:48:20 1992 Per Bothner (bothner@cygnus.com) - - * config.sub: Don't canonicalize os value - newsos* to bsd (readline needs to check for newsos). - (This fix was earlier made Jan 31, but got re-broken.) - -Mon Apr 6 14:34:08 1992 Stu Grossman (grossman at cygnus.com) - - * configure.in: sco is an os, not a vendor! - - * configure: Quote $( better. Keep various shells happy. - -Tue Mar 31 16:32:57 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in: eliminate stamp-files. - -Mon Mar 30 22:20:23 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in: add send_pr. remove "force" from .stmp-gprof rule. - Supress echoing of all the "if [ -d ... $(MAKE)" lines. - -Wed Mar 25 15:20:04 1992 Stu Grossman (grossman@cygnus.com) - - * config.sub: fix iris/iris3. - -Wed Mar 25 10:34:19 1992 K. Richard Pixley (rich@cygnus.com) - - * configure: re-add -rm. - -Tue Mar 24 23:50:16 1992 K. Richard Pixley (rich@cygnus.com) - - * Maskefile.in: add .stmp-rcs to all. - - * configure.in: remove gas from rs6000 build, use aix host fragment. - -Mon Mar 23 19:43:35 1992 K. Richard Pixley (rich@cygnus.com) - - * configure: pass down site_option during recursion. - -Thu Mar 19 16:49:36 1992 Stu Grossman (grossman at cygnus.com) - - * Makefile.in (all.cross): Add .stmp-bfd .stmp-readline. - -Wed Mar 18 15:29:33 1992 Mike Stump (mrs@cygnus.com) - - * configure: Change exec_prefix so that it really defaults to prefix. - -Sat Mar 14 17:20:38 1992 Fred Fish (fnf@cygnus.com) - - * Makefile.in, configure.in: Add support for mmalloc library. - -Fri Mar 13 18:44:18 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in: add stmp dependencies for a few more things. - -Thu Mar 12 04:56:24 1992 K. Richard Pixley (rich@cygnus.com) - - * configure: adjusted error message on objdir/srcdir configure - collision, per john's suggestion. - - * Makefile.in: add libiberty stmp to all and all.cross. - -Wed Mar 11 02:07:52 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in: remove force dependencies, add grep to all. - -Tue Mar 10 21:49:18 1992 K. Richard Pixley (rich@mars.cygnus.com) - - * Makefile.in: drop flex. make stamp files work. - - * configure: added test for conflicting configuration in srcdir, - remove trailing slashes from srcdir. Otherwise emacs gdb mode - gets cranky. use relative paths for configure and srcdir - whenever possible. Send some error messages to stderr that were - going to stdout. - -Tue Mar 10 18:01:55 1992 Per Bothner (bothner@cygnus.com) - - * Makefile.in: Fix libg++ rule to check for gcc directory - before using gcc/gcc. Also pass XTRAFLAGS. - -Thu Mar 5 21:45:07 1992 K. Richard Pixley (rich@sendai) - - * Makefile.in: added stmp-files so that directories aren't polled - when they are already built. - - * configure.texi: fixed a node pointer problem. - -Thu Mar 5 12:05:58 1992 Stu Grossman (grossman at cygnus.com) - - * config.sub configure.in gdb/configure.in - gdb/mips-tdep.c gdb/mipsread.c gdb/procfs.c gdb/signame.h - gdb/tm-irix3.h gdb/tm-mips.h gdb/xm-irix4.h gdb/config/mt-irix3 - gdb/config/mh-irix4 texinfo/configure.in: Port to SGI Irix-4.x. - -Wed Mar 4 02:57:46 1992 K. Richard Pixley (rich@rtl.cygnus.com) - - * configure: -recurring becomes -silent. corrected help message - for -site= option. - - * Makefile.in: mkdir $(exec_prefix) and $(tooldir). - -Tue Mar 3 14:51:21 1992 K. Richard Pixley (rich@rtl.cygnus.com) - - * configure: when building Makefile for crosses, replace - tooldir and program_prefix. default srcdir from location of - config.sub. remove "for host in hosts" and "for target in - targets" loops. - -Wed Feb 26 19:48:25 1992 K. Richard Pixley (rich@rtl.cygnus.com) - - * Makefile.in: Do not pass bindir or mandir to cvs. - -Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in, configure.in: removed traces of namesubdir, - -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced - copyrights to '92, changed some from Cygnus to FSF. - - * configure.texi: remove most references to multiple hosts, - multiple targets, subdirs, etc. - - * configure.man: removed rcsid. reference config.sub not - config.subr. - - * Makefile.in: mkdir $(infodir) on install-info. - -Wed Feb 19 15:41:13 1992 John Gilmore (gnu at cygnus.com) - - * configure.texi: Explain better about .gdbinit and about - the environment that configure.in sections run in. - -Fri Feb 7 07:55:00 1992 John Gilmore (gnu at cygnus.com) - - * configure.in: Ultrix is only a decstation if it's a MIPS. - -Fri Jan 31 21:54:51 1992 John Gilmore (gnu at cygnus.com) - - * README: DOC.configure => cfg-paper.texi. - -Fri Jan 31 21:48:18 1992 Stu Grossman (grossman at cygnus.com) - - * config.sub (near case $os): Don't convert newsos* to bsd! - -Fri Jan 31 02:27:32 1992 John Gilmore (gnu at cygnus.com) - - * Makefile.in: Reinstall change from gdb-4.3 that reduces - the number of copies of COPYING that go into the GDB tar file. - -Thu Jan 30 16:17:30 1992 Stu Grossman (grossman at cygnus.com) - - * bfd/configure.in, gdb/config/mh-i386sco, - gdb/config/mt-i386v32, gdb/configure.in, readline/configure.in: - Fix SCO configuration stuff. - -Tue Jan 28 23:51:07 1992 Per Bothner (bothner at cygnus.com) - - * Makefile.in: For libg++, make sure the -I pointing - to the gcc directory goes *after* all the libg++-local -I flags. - Also, move just-gcc dependency from just-libg++ to all-libg++. - -Tue Jan 28 12:56:24 1992 Stu Grossman (grossman at cygnus.com) - - * configure: Change -x to -f to keep Ultrix /bin/test happy. - -Sat Jan 18 17:45:11 1992 Stu Grossman (grossman at cygnus.com) - - * Makefile.in (make-gdb.tar.Z): Remove texinfo targets. - -Sat Jan 18 17:03:21 1992 Fred Fish (fnf at cygnus.com) - - * config.sub: Add stratus configuration frags. Also - submitted to FSF. - -Sat Jan 18 15:35:29 1992 Stu Grossman (grossman at cygnus.com) - - * Makefile.in (DEV_SUPPORT): add configure.man. - - * config.sub(Decode manufacturer-specific): add -none*. - -Fri Jan 17 17:58:05 1992 Stu Grossman (grossman at cygnus.com) - - * Makefile.in: remove form feeds to make Sun's make happy. - (DEVO_SUPPORT): DOC.configure => cfg-paper.texi. - -Sat Jan 4 16:11:44 1992 John Gilmore (gnu at cygnus.com) - - * Makefile.in (AR_FLAGS): Make quieter. - -Thu Jan 2 22:57:12 1992 John Gilmore (gnu at cygnus.com) - - * configure.in: Add libg++. - * configure: When verbose, don't output the command line at each - level; it will be unremarkably the same as the previous version, - which will be the same as what the user typed. - -Fri Dec 27 16:26:47 1991 K. Richard Pixley (rich at cygnus.com) - - * configure.in, Makefile.in: fix clean-info, add flex. add - fileutils. - - * configure: be less sensitive to spaces in Makefile.in. Do not - look for sources in "..". Doing so breaks subdirectories that - might have their own configure. If a subdir has it's own - configure script, use it. - -Thu Dec 26 16:30:26 1991 K. Richard Pixley (rich at cygnus.com) - - * cfg-paper.texi: some changes suggested by rms. - -Thu Dec 26 10:13:36 1991 Fred Fish (fnf at cygnus.com) - - * config.sub: Merge in some small additions from the FSF version, - taken from the gcc distribution, to bring the Cygnus and FSF - versions into closer sync. - -Fri Dec 20 11:34:18 1991 Fred Fish (fnf at cygnus.com) - - * configure.in: Changed svr4 references to sysv4. - -Thu Dec 19 15:54:29 1991 K. Richard Pixley (rich at cygnus.com) - - * configure: added -V for version number option. - -Wed Dec 18 15:39:34 1991 K. Richard Pixley (rich at cygnus.com) - - * DOC.configure, cfg-paper.texi: revised, updated, and texinfo'd. - renamed from DOC.configure to cfg-paper.texi. - -Mon Dec 16 23:05:19 1991 K. Richard Pixley (rich at rtl.cygnus.com) - - * configure, config.subr, config.sub: config.subr is now - config.sub again. - -Fri Dec 13 01:17:06 1991 K. Richard Pixley (rich at cygnus.com) - - * configure.texi: new file, in progress. - - * Makefile.in: build info file and install the man page for - configure. - - * configure.man: new file, first cut. - - * configure: find config.subr again now that configuration "none" - has gone. removed all traces of the -ansi option. removed all - traces of the -languages option. - - * config.subr: resync from rms. - -1991-12-11 K. Richard Pixley (rich at rtl.cygnus.com) - - * configure, config.sub, config.subr: merge config.sub into - config.subr, call the result config.subr, remove config.sub, use - config.subr. - - * Makefile.in: revised install for dir.info. - -1991-12-10 K. Richard Pixley (rich at rtl.cygnus.com) - - * configure.in: add decstation host makefile frag. - - * Makefile.in: BISON now bison -y again. also install-gcc on - install. clean-gdbm on clean. infodir belongs in datadir. - Make directories for info install. Build dir.info here then - install it. - -1991-12-09 K. Richard Pixley (rich at rtl.cygnus.com) - - * Makefile.in: fix for bad directory tests. - -1991-12-07 K. Richard Pixley (rich at rtl.cygnus.com) - - * configure: \{1,2\} appears to be a sysv'ism. Use a different - regexp. -srcdir relative was being handled incorrectly. - - * Makefile.in: unwrapped some for loops so that parallel makes - work again and so one can focus one's attention on a particular - package. - -1991-12-06 K. Richard Pixley (rich at rtl.cygnus.com) - - * configure: added PWD as a stand in for `pwd` (for speed). use - elif wherever possible. make -srcdir work without -objdir. - -objdir= commented out. - -1991-12-05 K. Richard Pixley (rich at rtl.cygnus.com) - - * configure: +options become --options. -subdirs commented out. - added -host, -datadir. Renamed -destdir to -prefix. Comment in - Makefile now at top of generated Makefile. Removed cvs log - entries. added -srcdir. create .gdbinit only if there is one - in ${srcdir}. - - * Makefile.in: idestdir and ddestdir go away. Added copyrights - and shift gpl to v2. Added ChangeLog if it didn't exist. docdir - and mandir now keyed off datadir by default. - -1991-11-22 K. Richard Pixley (rich at rtl.cygnus.com) - - * Freshly created ChangeLog. - - -Local Variables: -mode: change-log -left-margin: 8 -fill-column: 76 -version-control: never -End:
diff --git a/clang-tests-external/gdb/7.5/MAINTAINERS b/clang-tests-external/gdb/7.5/MAINTAINERS deleted file mode 100644 index dd8601b..0000000 --- a/clang-tests-external/gdb/7.5/MAINTAINERS +++ /dev/null
@@ -1,115 +0,0 @@ -Please feel free to add, edit, delete this file. -Please do not make ChangeLog entries. - -COPYING, COPYING.LIB, README - http://gnu.org. - -Makefile.*; configure; configure.ac; src-release - Any global maintainer can approve changes to these - files, but they should be aware that they need to - be kept in sync with their counterparts in the GCC - repository. Also please notify the following of - any committed patches: - binutils@sourceware.org - gdb-patches@sourceware.org - -bfd/; binutils/; elfcpp/; gas/; gold/; gprof/; ld/; opcodes/; cpu/; -BFD's part of include/ - - binutils: http://sourceware.org/binutils/ - Patches to binutils@sourceware.org. - Please notify the following of any interface changes: - gdb-patches@sourceware.org - -cgen/; cgen parts of opcodes/, sim/ & include/ - cgen: http://sourceware.org/cgen/ - Patches to cgen@sourceware.org - May need separate opcodes/ or sim/ approval for - commits of regenerated files there. - -config.guess; config.sub; readline/support/config.{sub,guess} - config: http://savannah.gnu.org/projects/config - Patches to config-patches@gnu.org. - Changes need to be done in tandem with the official CONFIG - sources or submitted to the master file maintainer and brought - in via a merge. When updating any of these files, please be - sure to update all of them. - Please notify the following of any committed patches: - binutils@sourceware.org - gdb-patches@sourceware.org - -depcomp; mkinstalldirs - Send bug reports and patches to bug-automake@gnu.org. - -gdb/; readline/; sim/; GDB's part of include/ - GDB: http://www.gnu.org/software/gdb/ - Patches to gdb-patches@sourceware.org. - See also gdb/MAINTAINERS and sim/MAINTAINERS. - -include/ - See binutils/, gdb/, sid/, gcc/, libiberty/ etc. - -intl/; config.rhost; libiberty/; libiberty's part of include/; -compile; depcomp; install-sh; missing; ylwrap; config/ - gcc: http://gcc.gnu.org - Changes need to be done in tandem with the official GCC - sources or submitted to the master file maintainer and brought - in via a merge. Note: approved patches in gcc's libiberty or - intl are automatically approved in this libiberty and intl also; - feel free to merge them yourself if needed sooner than the next - merge. Otherwise, changes are automatically merged, usually - within a day. - -libdecnumber/ - See libiberty. The master copy of this directory is in the GCC - repository. - -ltconfig; ltmain.sh; ltcf-*.sh - libtool: http://www.gnu.org/software/libtool/ - Changes need to be done in tandem with the official LIBTOOL - sources or submitted to the master file maintainer and brought - in via a merge. - -move-if-change - Send bug reports and patches to bug-gnulib@gnu.org. - -symlink-tree - gcc: http://gcc.gnu.org - See libiberty. - -newlib/; libgloss/ - http://sourceware.org/newlib/ - Patches to newlib@sourceware.org. - -sid/; SID's part of cgen/ - sid: http://sourceware.org/sid/ - Patches to sid@sourceware.org - -texinfo/texinfo.tex - texinfo: http://ftp.gnu.org. - Latest version can be found on ftp://ftp.gnu.org and can be - imported at any (reasonable) time. - Please not use GCC's texinfo. Please do not import texinfo. - -tcl/; tix/; itcl/; tk/; libgui/ - insight: http://sourceware.org/insight/ - Contact insight@sourceware.org. - -winsup/ - cygwin: http://sourceware.org/cygwin - Patches to cygwin-patches@cygwin.com. - General discussion cygwin@cygwin.com. - -config-ml.in; makefile.vms; mkdep; setup.com; -etc/; utils/; - Any global maintainer can approve changes to these - files and directories. - -modules file - If you understand the file format (or can cut-and-paste existing - entries), modify it. If it scares you, get someone who does - understand it to help you. Be prepared to fix it if you do break it. - -/* Local variables: */ -/* change-log-default-name: "/dev/null" */ -/* End: */
diff --git a/clang-tests-external/gdb/7.5/Makefile.def b/clang-tests-external/gdb/7.5/Makefile.def deleted file mode 100644 index 9e41ff5..0000000 --- a/clang-tests-external/gdb/7.5/Makefile.def +++ /dev/null
@@ -1,549 +0,0 @@ -#! /usr/bin/autogen -AutoGen definitions Makefile.tpl; - -// Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'. -// This file was originally written by Nathanael Nerode. -// -// Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 -// Free Software Foundation -// -// This file 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 3 of the License, or -// (at your option) any later version. -// -// 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; see the file COPYING3. If not see -// <http://www.gnu.org/licenses/>. - - -// "missing" indicates that that module doesn't supply -// that recursive target in its Makefile. - -build_modules= { module= libiberty; }; -build_modules= { module= bison; }; -build_modules= { module= flex; }; -build_modules= { module= m4; }; -build_modules= { module= texinfo; }; -build_modules= { module= fixincludes; }; - -host_modules= { module= bfd; lib_path=.libs; bootstrap=true; }; -host_modules= { module= opcodes; lib_path=.libs; bootstrap=true; }; -host_modules= { module= binutils; bootstrap=true; }; -host_modules= { module= bison; no_check_cross= true; }; -host_modules= { module= cgen; }; -host_modules= { module= dejagnu; }; -host_modules= { module= etc; }; -host_modules= { module= fastjar; no_check_cross= true; }; -host_modules= { module= fixincludes; - missing= TAGS; }; -host_modules= { module= flex; no_check_cross= true; }; -host_modules= { module= gas; bootstrap=true; }; -host_modules= { module= gcc; bootstrap=true; - extra_make_flags="$(EXTRA_GCC_FLAGS)"; }; -host_modules= { module= gmp; lib_path=.libs; bootstrap=true; - extra_configure_flags='--disable-shared'; - no_install= true; - // none-*-* disables asm optimizations, bootstrap-testing - // the compiler more thoroughly. - host="none-${host_vendor}-${host_os}"; - // gmp's configure will complain if given anything - // different from host for target. - target="none-${host_vendor}-${host_os}"; }; -host_modules= { module= mpfr; lib_path=.libs; bootstrap=true; - extra_configure_flags='--disable-shared @extra_mpfr_configure_flags@'; - no_install= true; }; -host_modules= { module= mpc; lib_path=.libs; bootstrap=true; - extra_configure_flags='--disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@'; - no_install= true; }; -host_modules= { module= ppl; lib_path=src/.libs; bootstrap=true; - extra_configure_flags='--disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/'; - no_install= true; }; -host_modules= { module= cloog; lib_path=.libs; bootstrap=true; - extra_configure_flags='--disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl'; - extra_exports='CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; '; - extra_make_flags='CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"'; - no_install= true; }; -host_modules= { module= libelf; lib_path=.libs; bootstrap=true; - extra_configure_flags='--disable-shared'; - no_install= true; }; -host_modules= { module= gold; bootstrap=true; }; -host_modules= { module= gprof; }; -host_modules= { module= intl; bootstrap=true; }; -host_modules= { module= tcl; - missing=mostlyclean; }; -host_modules= { module= itcl; }; -host_modules= { module= ld; bootstrap=true; }; -host_modules= { module= libcpp; bootstrap=true; }; -host_modules= { module= libdecnumber; bootstrap=true; }; -host_modules= { module= libgui; }; -host_modules= { module= libiberty; bootstrap=true; - extra_configure_flags='@extra_host_libiberty_configure_flags@';}; -// We abuse missing to avoid installing anything for libiconv. -host_modules= { module= libiconv; - extra_configure_flags='--disable-shared'; - no_install= true; - missing= install-info; - missing= install-pdf; - missing= install-html; - missing= install-info; }; -host_modules= { module= m4; }; -host_modules= { module= readline; }; -host_modules= { module= sid; }; -host_modules= { module= sim; }; -host_modules= { module= texinfo; no_install= true; }; -host_modules= { module= zlib; no_install=true; no_check=true; bootstrap=true; }; -host_modules= { module= gdb; }; -host_modules= { module= expect; }; -host_modules= { module= guile; }; -host_modules= { module= tk; }; -host_modules= { module= libtermcap; no_check=true; - missing=mostlyclean; - missing=clean; - missing=distclean; - missing=maintainer-clean; }; -host_modules= { module= utils; no_check=true; }; -host_modules= { module= gnattools; }; -host_modules= { module= lto-plugin; bootstrap=true; - extra_configure_flags=--enable-shared; }; - -target_modules = { module= libstdc++-v3; - bootstrap=true; - lib_path=src/.libs; - raw_cxx=true; }; -target_modules = { module= libmudflap; lib_path=.libs; }; -target_modules = { module= libssp; lib_path=.libs; }; -target_modules = { module= newlib; }; -target_modules = { module= libgcc; bootstrap=true; no_check=true; }; -target_modules = { module= libquadmath; }; -target_modules = { module= libgfortran; }; -target_modules = { module= libobjc; }; -target_modules = { module= libgo; }; -target_modules = { module= libtermcap; no_check=true; - missing=mostlyclean; - missing=clean; - missing=distclean; - missing=maintainer-clean; }; -target_modules = { module= winsup; }; -target_modules = { module= libgloss; no_check=true; }; -target_modules = { module= libffi; }; -target_modules = { module= libjava; raw_cxx=true; - extra_configure_flags="$(EXTRA_CONFIGARGS_LIBJAVA)"; }; -target_modules = { module= zlib; }; -target_modules = { module= boehm-gc; }; -target_modules = { module= rda; }; -target_modules = { module= libada; }; -target_modules = { module= libgomp; bootstrap= true; lib_path=.libs; }; - -// These are (some of) the make targets to be done in each subdirectory. -// Not all; these are the ones which don't have special options. -// "depend" indicates that a target depends on another target uniformly -// for each subdirectory. There can be several such lines per target. -recursive_targets = { make_target= info; - depend=configure; }; -recursive_targets = { make_target= dvi; - depend=configure; }; -recursive_targets = { make_target= pdf; - depend=configure; }; -recursive_targets = { make_target= html; - depend=configure; }; -recursive_targets = { make_target= TAGS; - depend=configure; }; -recursive_targets = { make_target= install-info; - depend=configure; - depend=info; }; -recursive_targets = { make_target= install-pdf; - depend=configure; - depend=pdf; }; -recursive_targets = { make_target= install-html; - depend=configure; - depend=html; }; -recursive_targets = { make_target= installcheck; - depend=configure; }; -recursive_targets = { make_target= mostlyclean; }; -recursive_targets = { make_target= clean; }; -recursive_targets = { make_target= distclean; }; -recursive_targets = { make_target= maintainer-clean; }; - -// Flags which need to be passed down. - -// Directories etc. -flags_to_pass = { flag= DESTDIR ; }; -flags_to_pass = { flag= RPATH_ENVVAR ; }; -flags_to_pass = { flag= TARGET_SUBDIR ; }; -flags_to_pass = { flag= bindir ; }; -flags_to_pass = { flag= datadir ; }; -flags_to_pass = { flag= exec_prefix ; }; -flags_to_pass = { flag= includedir ; }; -flags_to_pass = { flag= datarootdir ; }; -flags_to_pass = { flag= docdir ; }; -flags_to_pass = { flag= infodir ; }; -flags_to_pass = { flag= pdfdir ; }; -flags_to_pass = { flag= htmldir ; }; -flags_to_pass = { flag= libdir ; }; -flags_to_pass = { flag= libexecdir ; }; -flags_to_pass = { flag= lispdir ; }; -flags_to_pass = { flag= localstatedir ; }; -flags_to_pass = { flag= mandir ; }; -flags_to_pass = { flag= oldincludedir ; }; -flags_to_pass = { flag= prefix ; }; -flags_to_pass = { flag= sbindir ; }; -flags_to_pass = { flag= sharedstatedir ; }; -flags_to_pass = { flag= sysconfdir ; }; -flags_to_pass = { flag= tooldir ; }; -flags_to_pass = { flag= build_tooldir ; }; -flags_to_pass = { flag= target_alias ; }; - -// Build tools -flags_to_pass = { flag= AWK ; }; -flags_to_pass = { flag= BISON ; }; -flags_to_pass = { flag= CC_FOR_BUILD ; }; -flags_to_pass = { flag= CFLAGS_FOR_BUILD ; }; -flags_to_pass = { flag= CXX_FOR_BUILD ; }; -flags_to_pass = { flag= EXPECT ; }; -flags_to_pass = { flag= FLEX ; }; -flags_to_pass = { flag= INSTALL ; }; -flags_to_pass = { flag= INSTALL_DATA ; }; -flags_to_pass = { flag= INSTALL_PROGRAM ; }; -flags_to_pass = { flag= INSTALL_SCRIPT ; }; -flags_to_pass = { flag= LDFLAGS_FOR_BUILD ; }; -flags_to_pass = { flag= LEX ; }; -flags_to_pass = { flag= M4 ; }; -flags_to_pass = { flag= MAKE ; }; -flags_to_pass = { flag= RUNTEST ; }; -flags_to_pass = { flag= RUNTESTFLAGS ; }; -flags_to_pass = { flag= SED ; }; -flags_to_pass = { flag= SHELL ; }; -flags_to_pass = { flag= YACC ; }; - -// Host tools -flags_to_pass = { flag= ADAFLAGS ; optional=true ; }; -flags_to_pass = { flag= ADA_CFLAGS ; }; -flags_to_pass = { flag= AR_FLAGS ; }; -flags_to_pass = { flag= BOOT_ADAFLAGS ; optional=true ; }; -flags_to_pass = { flag= BOOT_CFLAGS ; }; -flags_to_pass = { flag= BOOT_LDFLAGS ; }; -flags_to_pass = { flag= CFLAGS ; }; -flags_to_pass = { flag= CXXFLAGS ; }; -flags_to_pass = { flag= LDFLAGS ; }; -flags_to_pass = { flag= LIBCFLAGS ; }; -flags_to_pass = { flag= LIBCXXFLAGS ; }; -flags_to_pass = { flag= STAGE1_CHECKING ; }; -flags_to_pass = { flag= STAGE1_LANGUAGES ; }; -flags_to_pass = { flag= GNATBIND ; }; -flags_to_pass = { flag= GNATMAKE ; }; - -// Target tools -flags_to_pass = { flag= AR_FOR_TARGET ; }; -flags_to_pass = { flag= AS_FOR_TARGET ; }; -flags_to_pass = { flag= CC_FOR_TARGET ; }; -flags_to_pass = { flag= CFLAGS_FOR_TARGET ; }; -flags_to_pass = { flag= CPPFLAGS_FOR_TARGET ; }; -flags_to_pass = { flag= CXXFLAGS_FOR_TARGET ; }; -flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; }; -flags_to_pass = { flag= FLAGS_FOR_TARGET ; }; -flags_to_pass = { flag= GCJ_FOR_TARGET ; }; -flags_to_pass = { flag= GFORTRAN_FOR_TARGET ; }; -flags_to_pass = { flag= GOC_FOR_TARGET ; }; -flags_to_pass = { flag= GOCFLAGS_FOR_TARGET ; }; -flags_to_pass = { flag= LD_FOR_TARGET ; }; -flags_to_pass = { flag= LIPO_FOR_TARGET ; }; -flags_to_pass = { flag= LDFLAGS_FOR_TARGET ; }; -flags_to_pass = { flag= LIBCFLAGS_FOR_TARGET ; }; -flags_to_pass = { flag= LIBCXXFLAGS_FOR_TARGET ; }; -flags_to_pass = { flag= NM_FOR_TARGET ; }; -flags_to_pass = { flag= OBJDUMP_FOR_TARGET ; }; -flags_to_pass = { flag= RANLIB_FOR_TARGET ; }; -flags_to_pass = { flag= READELF_FOR_TARGET ; }; -flags_to_pass = { flag= STRIP_FOR_TARGET ; }; -flags_to_pass = { flag= WINDRES_FOR_TARGET ; }; -flags_to_pass = { flag= WINDMC_FOR_TARGET ; }; - -// Miscellaneous -flags_to_pass = { flag= BUILD_CONFIG ; }; -flags_to_pass = { flag= LANGUAGES ; optional=true ; }; -flags_to_pass = { flag= LEAN ; }; - -// Inter-module dependencies - -// Build modules -dependencies = { module=all-build-bison; on=all-build-texinfo; }; -dependencies = { module=all-build-flex; on=all-build-texinfo; }; -dependencies = { module=all-build-flex; on=all-build-bison; }; -dependencies = { module=all-build-flex; on=all-build-m4; }; -dependencies = { module=all-build-libiberty; on=all-build-texinfo; }; -dependencies = { module=all-build-m4; on=all-build-texinfo; }; -dependencies = { module=all-build-fixincludes; on=all-build-libiberty; }; - -// Host modules specific to gcc. -dependencies = { module=configure-gcc; on=configure-intl; }; -dependencies = { module=configure-gcc; on=all-lto-plugin; }; -dependencies = { module=configure-gcc; on=all-binutils; }; -dependencies = { module=configure-gcc; on=all-gas; }; -dependencies = { module=configure-gcc; on=all-ld; }; -dependencies = { module=configure-gcc; on=all-gold; }; -dependencies = { module=configure-gcc; on=all-libelf; }; -dependencies = { module=all-gcc; on=all-libiberty; hard=true; }; -dependencies = { module=all-gcc; on=all-gmp; }; -dependencies = { module=all-gcc; on=all-intl; }; -dependencies = { module=all-gcc; on=all-mpfr; }; -dependencies = { module=all-gcc; on=all-mpc; }; -dependencies = { module=all-gcc; on=all-ppl; }; -dependencies = { module=all-gcc; on=all-cloog; }; -dependencies = { module=all-gcc; on=all-build-texinfo; }; -dependencies = { module=all-gcc; on=all-build-bison; }; -dependencies = { module=all-gcc; on=all-build-flex; }; -dependencies = { module=all-gcc; on=all-build-libiberty; }; -dependencies = { module=all-gcc; on=all-build-fixincludes; }; -dependencies = { module=all-gcc; on=all-zlib; }; -dependencies = { module=all-gcc; on=all-libcpp; hard=true; }; -dependencies = { module=all-gcc; on=all-libdecnumber; hard=true; }; -dependencies = { module=all-gcc; on=all-libiberty; }; -dependencies = { module=all-gcc; on=all-fixincludes; }; -dependencies = { module=all-gcc; on=all-lto-plugin; }; -dependencies = { module=info-gcc; on=all-build-libiberty; }; -dependencies = { module=dvi-gcc; on=all-build-libiberty; }; -dependencies = { module=pdf-gcc; on=all-build-libiberty; }; -dependencies = { module=html-gcc; on=all-build-libiberty; }; -dependencies = { module=install-gcc ; on=install-fixincludes; }; -dependencies = { module=install-gcc ; on=install-lto-plugin; }; -dependencies = { module=install-strip-gcc ; on=install-strip-fixincludes; }; - -dependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; }; -dependencies = { module=configure-libcpp; on=configure-intl; }; -dependencies = { module=all-libcpp; on=all-libiberty; hard=true; }; -dependencies = { module=all-libcpp; on=all-intl; }; - -dependencies = { module=all-fixincludes; on=all-libiberty; }; - -dependencies = { module=all-gnattools; on=all-target-libada; }; - -dependencies = { module=all-lto-plugin; on=all-libiberty; }; - -dependencies = { module=all-utils; on=all-libiberty; }; - -dependencies = { module=configure-mpfr; on=all-gmp; }; -dependencies = { module=configure-mpc; on=all-mpfr; }; -dependencies = { module=configure-ppl; on=all-gmp; }; -dependencies = { module=configure-ppl; on=all-mpfr; }; -dependencies = { module=configure-cloog; on=all-ppl; }; - -// Host modules specific to gdb. -dependencies = { module=configure-gdb; on=all-intl; }; -dependencies = { module=configure-gdb; on=configure-sim; }; -dependencies = { module=configure-gdb; on=all-bfd; }; -// Depend on all-libiconv so that configure checks for iconv -// functions will work. -dependencies = { module=configure-gdb; on=all-libiconv; }; -dependencies = { module=all-gdb; on=all-libiberty; }; -dependencies = { module=all-gdb; on=all-libiconv; }; -dependencies = { module=all-gdb; on=all-opcodes; }; -dependencies = { module=all-gdb; on=all-readline; }; -dependencies = { module=all-gdb; on=all-build-bison; }; -dependencies = { module=all-gdb; on=all-sim; }; -dependencies = { module=all-gdb; on=all-libdecnumber; }; -dependencies = { module=all-gdb; on=all-libtermcap; }; - -dependencies = { module=configure-libgui; on=configure-tcl; }; -dependencies = { module=configure-libgui; on=configure-tk; }; -dependencies = { module=all-libgui; on=all-tcl; }; -dependencies = { module=all-libgui; on=all-tk; }; -dependencies = { module=all-libgui; on=all-itcl; }; - -// Host modules specific to binutils. -dependencies = { module=configure-bfd; on=configure-libiberty; hard=true; }; -dependencies = { module=configure-bfd; on=configure-intl; }; -dependencies = { module=all-bfd; on=all-libiberty; }; -dependencies = { module=all-bfd; on=all-intl; }; -dependencies = { module=configure-opcodes; on=configure-libiberty; hard=true; }; -dependencies = { module=all-opcodes; on=all-libiberty; }; - -dependencies = { module=configure-binutils; on=configure-intl; }; -dependencies = { module=all-binutils; on=all-libiberty; }; -dependencies = { module=all-binutils; on=all-opcodes; }; -dependencies = { module=all-binutils; on=all-bfd; }; -dependencies = { module=all-binutils; on=all-build-flex; }; -dependencies = { module=all-binutils; on=all-build-bison; }; -dependencies = { module=all-binutils; on=all-intl; }; - -// We put install-opcodes before install-binutils because the installed -// binutils might be on PATH, and they might need the shared opcodes -// library. -dependencies = { module=install-binutils; on=install-opcodes; }; -dependencies = { module=install-strip-binutils; on=install-strip-opcodes; }; - -// libopcodes depends on libbfd -dependencies = { module=install-opcodes; on=install-bfd; }; -dependencies = { module=install-strip-opcodes; on=install-strip-bfd; }; - -dependencies = { module=configure-gas; on=configure-intl; }; -dependencies = { module=all-gas; on=all-libiberty; }; -dependencies = { module=all-gas; on=all-opcodes; }; -dependencies = { module=all-gas; on=all-bfd; }; -dependencies = { module=all-gas; on=all-intl; }; -dependencies = { module=configure-gprof; on=configure-intl; }; -dependencies = { module=all-gprof; on=all-libiberty; }; -dependencies = { module=all-gprof; on=all-bfd; }; -dependencies = { module=all-gprof; on=all-opcodes; }; -dependencies = { module=all-gprof; on=all-intl; }; -dependencies = { module=configure-ld; on=configure-intl; }; -dependencies = { module=all-ld; on=all-libiberty; }; -dependencies = { module=all-ld; on=all-bfd; }; -dependencies = { module=all-ld; on=all-opcodes; }; -dependencies = { module=all-ld; on=all-build-bison; }; -dependencies = { module=all-ld; on=all-build-flex; }; -dependencies = { module=all-ld; on=all-intl; }; -dependencies = { module=install-ld; on=install-gold; }; -dependencies = { module=install-strip-ld; on=install-strip-gold; }; -dependencies = { module=configure-gold; on=configure-intl; }; -dependencies = { module=all-gold; on=all-libiberty; }; -dependencies = { module=all-gold; on=all-intl; }; -dependencies = { module=all-gold; on=all-bfd; }; -dependencies = { module=all-gold; on=all-build-bison; }; -dependencies = { module=check-gold; on=all-binutils; }; -dependencies = { module=check-gold; on=all-gas; }; - -dependencies = { module=configure-opcodes; on=configure-intl; }; -dependencies = { module=all-opcodes; on=all-bfd; }; -dependencies = { module=all-opcodes; on=all-libiberty; }; -dependencies = { module=all-opcodes; on=all-intl; }; - -// Other host modules in the 'src' repository. -dependencies = { module=all-dejagnu; on=all-tcl; }; -dependencies = { module=all-dejagnu; on=all-expect; }; -dependencies = { module=all-dejagnu; on=all-tk; }; -dependencies = { module=configure-expect; on=configure-tcl; }; -dependencies = { module=configure-expect; on=configure-tk; }; -dependencies = { module=all-expect; on=all-tcl; }; -dependencies = { module=all-expect; on=all-tk; }; - -// We put install-tcl before install-itcl because itcl wants to run a -// program on installation which uses the Tcl libraries. -dependencies = { module=configure-itcl; on=configure-tcl; }; -dependencies = { module=configure-itcl; on=configure-tk; }; -dependencies = { module=all-itcl; on=all-tcl; }; -dependencies = { module=all-itcl; on=all-tk; }; -dependencies = { module=install-itcl; on=install-tcl; }; -dependencies = { module=install-strip-itcl; on=install-strip-tcl; }; - -dependencies = { module=configure-tk; on=configure-tcl; }; -dependencies = { module=all-tk; on=all-tcl; }; - -dependencies = { module=all-sid; on=all-libiberty; }; -dependencies = { module=all-sid; on=all-bfd; }; -dependencies = { module=all-sid; on=all-opcodes; }; -dependencies = { module=all-sid; on=all-tcl; }; -dependencies = { module=all-sid; on=all-tk; }; -dependencies = { module=install-sid; on=install-tcl; }; -dependencies = { module=install-strip-sid; on=install-strip-tcl; }; -dependencies = { module=install-sid; on=install-tk; }; -dependencies = { module=install-strip-sid; on=install-strip-tk; }; - -dependencies = { module=configure-sim; on=configure-intl; }; -dependencies = { module=all-sim; on=all-intl; }; -dependencies = { module=all-sim; on=all-libiberty; }; -dependencies = { module=all-sim; on=all-bfd; }; -dependencies = { module=all-sim; on=all-opcodes; }; -dependencies = { module=all-sim; on=all-readline; }; -dependencies = { module=all-sim; on=configure-gdb; }; - -// Other host modules. -dependencies = { module=all-fastjar; on=all-zlib; }; -dependencies = { module=all-fastjar; on=all-build-texinfo; }; -dependencies = { module=all-fastjar; on=all-libiberty; }; - -// Warning, these are not well tested. -dependencies = { module=all-bison; on=all-intl; }; -dependencies = { module=all-bison; on=all-build-texinfo; }; -dependencies = { module=all-flex; on=all-build-bison; }; -dependencies = { module=all-flex; on=all-intl; }; -dependencies = { module=all-flex; on=all-m4; }; -dependencies = { module=all-flex; on=all-build-texinfo; }; -dependencies = { module=all-m4; on=all-intl; }; -dependencies = { module=all-m4; on=all-build-texinfo; }; - -// Target modules. These can also have dependencies on the language -// environment (e.g. on libstdc++). By default target modules depend -// on libgcc and newlib/libgloss. -lang_env_dependencies = { module=libjava; cxx=true; }; -lang_env_dependencies = { module=newlib; no_c=true; }; -lang_env_dependencies = { module=libgloss; no_c=true; }; -lang_env_dependencies = { module=libgcc; no_gcc=true; no_c=true; }; -// libiberty does not depend on newlib or libgloss because it must be -// built newlib on some targets (e.g. Cygwin). It still needs -// a dependency on libgcc for native targets to configure. -lang_env_dependencies = { module=libiberty; no_c=true; }; - -dependencies = { module=configure-target-boehm-gc; on=all-target-libstdc++-v3; }; -dependencies = { module=configure-target-fastjar; on=configure-target-zlib; }; -dependencies = { module=all-target-fastjar; on=all-target-zlib; }; -dependencies = { module=configure-target-libgo; on=configure-target-libffi; }; -dependencies = { module=configure-target-libgo; on=all-target-libstdc++-v3; }; -dependencies = { module=all-target-libgo; on=all-target-libffi; }; -dependencies = { module=configure-target-libjava; on=configure-target-zlib; }; -dependencies = { module=configure-target-libjava; on=configure-target-boehm-gc; }; -dependencies = { module=configure-target-libjava; on=configure-target-libffi; }; -dependencies = { module=all-target-libjava; on=all-fastjar; }; -dependencies = { module=all-target-libjava; on=all-target-zlib; }; -dependencies = { module=all-target-libjava; on=all-target-boehm-gc; }; -dependencies = { module=all-target-libjava; on=all-target-libffi; }; -dependencies = { module=configure-target-libobjc; on=configure-target-boehm-gc; }; -dependencies = { module=all-target-libobjc; on=all-target-boehm-gc; }; -dependencies = { module=configure-target-libstdc++-v3; on=configure-target-libgomp; }; -// parallel_list.o and parallel_settings.o depend on omp.h, which is -// generated by the libgomp configure. Unfortunately, due to the use of -// recursive make, we can't be that specific. -dependencies = { module=all-target-libstdc++-v3; on=configure-target-libgomp; }; - -// Target modules in the 'src' repository. -lang_env_dependencies = { module=libtermcap; }; -lang_env_dependencies = { module=rda; }; -lang_env_dependencies = { module=winsup; }; - -dependencies = { module=all-target-libgloss; on=all-target-newlib; }; -dependencies = { module=all-target-winsup; on=all-target-libtermcap; }; -dependencies = { module=configure-target-newlib; on=all-binutils; }; -dependencies = { module=configure-target-newlib; on=all-ld; }; -dependencies = { module=configure-target-libgfortran; on=all-target-libquadmath; }; - -languages = { language=c; gcc-check-target=check-gcc; }; -languages = { language=c++; gcc-check-target="check-c++ check-c++0x"; - lib-check-target=check-target-libstdc++-v3; - lib-check-target=check-target-libmudflap-c++; }; -languages = { language=fortran; gcc-check-target=check-fortran; - lib-check-target=check-target-libquadmath; - lib-check-target=check-target-libgfortran; }; -languages = { language=java; gcc-check-target=check-java; - lib-check-target=check-target-libjava; }; -languages = { language=ada; gcc-check-target=check-ada; - lib-check-target=check-target-libada; }; -languages = { language=objc; gcc-check-target=check-objc; - lib-check-target=check-target-libobjc; }; -languages = { language=obj-c++; gcc-check-target=check-obj-c++; }; -languages = { language=go; gcc-check-target=check-go; - lib-check-target=check-target-libgo; }; - -// Toplevel bootstrap -bootstrap_stage = { id=1 ; }; -bootstrap_stage = { - id=2 ; prev=1 ; - bootstrap_target=bootstrap2 ; }; -bootstrap_stage = { - id=3 ; prev=2 ; lean=1 ; - compare_target=compare ; - bootstrap_target=bootstrap ; - cleanstrap_target=cleanstrap ; }; -bootstrap_stage = { - id=4 ; prev=3 ; lean=2 ; - compare_target=compare3 ; - bootstrap_target=bootstrap4 ; }; -bootstrap_stage = { - id=profile ; prev=1 ; }; -bootstrap_stage = { - id=feedback ; prev=profile ; - bootstrap_target=profiledbootstrap ; };
diff --git a/clang-tests-external/gdb/7.5/Makefile.in b/clang-tests-external/gdb/7.5/Makefile.in deleted file mode 100644 index 038f801..0000000 --- a/clang-tests-external/gdb/7.5/Makefile.in +++ /dev/null
@@ -1,43121 +0,0 @@ - -# Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'. -# -# Makefile for directory with subdirs to build. -# Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, -# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 -# Free Software Foundation -# -# This file 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 3 of the License, or -# (at your option) any later version. -# -# 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; see the file COPYING3. If not see -# <http://www.gnu.org/licenses/>. -# - -# First, test for a proper version of make, but only where one is required. - -@if gcc -ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty. -$(error GNU make version 3.80 or newer is required.) -endif -@endif gcc - -# ------------------------------- -# Standard Autoconf-set variables -# ------------------------------- -VPATH=@srcdir@ - -build_alias=@build_noncanonical@ -build_vendor=@build_vendor@ -build_os=@build_os@ -build=@build@ -host_alias=@host_noncanonical@ -host_vendor=@host_vendor@ -host_os=@host_os@ -host=@host@ -target_alias=@target_noncanonical@ -target_vendor=@target_vendor@ -target_os=@target_os@ -target=@target@ - -program_transform_name = @program_transform_name@ - -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -srcdir = @srcdir@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -includedir = @includedir@ -oldincludedir = @oldincludedir@ -infodir = @infodir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -pdfdir = @pdfdir@ -htmldir = @htmldir@ -mandir = @mandir@ -man1dir = $(mandir)/man1 -man2dir = $(mandir)/man2 -man3dir = $(mandir)/man3 -man4dir = $(mandir)/man4 -man5dir = $(mandir)/man5 -man6dir = $(mandir)/man6 -man7dir = $(mandir)/man7 -man8dir = $(mandir)/man8 -man9dir = $(mandir)/man9 - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_DATA = @INSTALL_DATA@ -LN = @LN@ -LN_S = @LN_S@ -MAINT = @MAINT@ -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ - -# ------------------------------------------------- -# Miscellaneous non-standard autoconf-set variables -# ------------------------------------------------- - -# The gcc driver likes to know the arguments it was configured with. -TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@ - -tooldir = @tooldir@ -build_tooldir = @build_tooldir@ - -# This is the name of the environment variable used for the path to -# the libraries. -RPATH_ENVVAR = @RPATH_ENVVAR@ - -# On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path -# is used instead of the directory itself to avoid including built -# executables in PATH. -GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@ - -# Build programs are put under this directory. -BUILD_SUBDIR = @build_subdir@ -# This is set by the configure script to the arguments to use when configuring -# directories built for the build system. -BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)" - -# Linker flags to use on the host, for stage1 or when not -# bootstrapping. -STAGE1_LDFLAGS = @stage1_ldflags@ - -# Libraries to use on the host, for stage1 or when not bootstrapping. -STAGE1_LIBS = @stage1_libs@ - -# Linker flags to use for stage2 and later. -POSTSTAGE1_LDFLAGS = @poststage1_ldflags@ - -# Libraries to use for stage2 and later. -POSTSTAGE1_LIBS = @poststage1_libs@ - -# This is the list of variables to export in the environment when -# configuring any subdirectory. It must also be exported whenever -# recursing into a build directory in case that directory's Makefile -# re-runs configure. -BASE_EXPORTS = \ - FLEX="$(FLEX)"; export FLEX; \ - LEX="$(LEX)"; export LEX; \ - BISON="$(BISON)"; export BISON; \ - YACC="$(YACC)"; export YACC; \ - M4="$(M4)"; export M4; \ - SED="$(SED)"; export SED; \ - AWK="$(AWK)"; export AWK; \ - MAKEINFO="$(MAKEINFO)"; export MAKEINFO; - -# This is the list of variables to export in the environment when -# configuring subdirectories for the build system. -BUILD_EXPORTS = \ - $(BASE_EXPORTS) \ - AR="$(AR_FOR_BUILD)"; export AR; \ - AS="$(AS_FOR_BUILD)"; export AS; \ - CC="$(CC_FOR_BUILD)"; export CC; \ - CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \ - CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \ - CXX="$(CXX_FOR_BUILD)"; export CXX; \ - CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \ - GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \ - GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \ - GOC="$(GOC_FOR_BUILD)"; export GOC; \ - GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \ - DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \ - LD="$(LD_FOR_BUILD)"; export LD; \ - LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \ - NM="$(NM_FOR_BUILD)"; export NM; \ - RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \ - WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \ - WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC; - -# These variables must be set on the make command line for directories -# built for the build system to override those in BASE_FLAGS_TO_PASSS. -EXTRA_BUILD_FLAGS = \ - CFLAGS="$(CFLAGS_FOR_BUILD)" \ - LDFLAGS="$(LDFLAGS_FOR_BUILD)" - -# This is the list of directories to built for the host system. -SUBDIRS = @configdirs@ -TARGET_CONFIGDIRS = @target_configdirs@ -# This is set by the configure script to the arguments to use when configuring -# directories built for the host system. -HOST_CONFIGARGS = @host_configargs@ -# Host programs are put under this directory, which is . except if building -# with srcdir=.. -HOST_SUBDIR = @host_subdir@ -# This is the list of variables to export in the environment when -# configuring subdirectories for the host system. We need to pass -# some to the GCC configure because of its hybrid host/target nature. -HOST_EXPORTS = \ - $(BASE_EXPORTS) \ - CC="$(CC)"; export CC; \ - ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \ - CFLAGS="$(CFLAGS)"; export CFLAGS; \ - CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \ - CXX="$(CXX)"; export CXX; \ - CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ - GCJ="$(GCJ)"; export GCJ; \ - GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \ - GOC="$(GOC)"; export GOC; \ - AR="$(AR)"; export AR; \ - AS="$(AS)"; export AS; \ - CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ - DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ - LD="$(LD)"; export LD; \ - LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \ - NM="$(NM)"; export NM; \ - RANLIB="$(RANLIB)"; export RANLIB; \ - WINDRES="$(WINDRES)"; export WINDRES; \ - WINDMC="$(WINDMC)"; export WINDMC; \ - OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ - OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ - READELF="$(READELF)"; export READELF; \ - AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \ - AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \ - GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \ - LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \ - NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \ - OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \ - RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \ - READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \ - TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \ - HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \ - GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \ - GMPINC="$(HOST_GMPINC)"; export GMPINC; \ - PPLLIBS="$(HOST_PPLLIBS)"; export PPLLIBS; \ - PPLINC="$(HOST_PPLINC)"; export PPLINC; \ - CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \ - CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \ - LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \ - LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \ -@if gcc-bootstrap - $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \ -@endif gcc-bootstrap - $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); - -POSTSTAGE1_CXX_EXPORT = \ - CXX='$(CXX)'; export CXX; \ - CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD; -@if target-libstdc++-v3-bootstrap -# Override the above if we're bootstrapping C++. -POSTSTAGE1_CXX_EXPORT = \ - CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \ - -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \ - -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \ - -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \ - -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \ - -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \ - -I$$s/libstdc++-v3/libsupc++ \ - -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \ - -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \ - export CXX; \ - CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD; -@endif target-libstdc++-v3-bootstrap - -# Similar, for later GCC stages. -POSTSTAGE1_HOST_EXPORTS = \ - $(HOST_EXPORTS) \ - CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \ - -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \ - $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \ - CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \ - $(POSTSTAGE1_CXX_EXPORT) \ - GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \ - LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \ - HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS; - -# Target libraries are put under this directory: -TARGET_SUBDIR = @target_subdir@ -# This is set by the configure script to the arguments to use when configuring -# directories built for the target. -TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)" -# This is the list of variables to export in the environment when -# configuring subdirectories for the target system. -BASE_TARGET_EXPORTS = \ - $(BASE_EXPORTS) \ - AR="$(AR_FOR_TARGET)"; export AR; \ - AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \ - CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \ - CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \ - GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \ - GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \ - DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ - LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \ - LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ - LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \ - NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \ - OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \ - RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ - READELF="$(READELF_FOR_TARGET)"; export READELF; \ - STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \ - WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ - WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \ -@if gcc-bootstrap - $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \ -@endif gcc-bootstrap - $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \ - TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS; - -RAW_CXX_TARGET_EXPORTS = \ - $(BASE_TARGET_EXPORTS) \ - CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \ - CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX; - -NORMAL_TARGET_EXPORTS = \ - $(BASE_TARGET_EXPORTS) \ - CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX; - -# Where to find GMP -HOST_GMPLIBS = @gmplibs@ -HOST_GMPINC = @gmpinc@ - -# Where to find PPL -HOST_PPLLIBS = @ppllibs@ -HOST_PPLINC = @pplinc@ - -# Where to find CLOOG -HOST_CLOOGLIBS = @clooglibs@ -HOST_CLOOGINC = @clooginc@ - -# Where to find libelf -HOST_LIBELFLIBS = @libelflibs@ -HOST_LIBELFINC = @libelfinc@ - -EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@ - -# ---------------------------------------------- -# Programs producing files for the BUILD machine -# ---------------------------------------------- - -SHELL = @SHELL@ - -# pwd command to use. Allow user to override default by setting PWDCMD in -# the environment to account for automounters. The make variable must not -# be called PWDCMD, otherwise the value set here is passed to make -# subprocesses and overrides the setting from the user's environment. -# Don't use PWD since it is a common shell environment variable and we -# don't want to corrupt it. -PWD_COMMAND = $${PWDCMD-pwd} - -# compilers to use to create programs which must be run in the build -# environment. -AR_FOR_BUILD = @AR_FOR_BUILD@ -AS_FOR_BUILD = @AS_FOR_BUILD@ -CC_FOR_BUILD = @CC_FOR_BUILD@ -CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ -CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@ -CXX_FOR_BUILD = @CXX_FOR_BUILD@ -DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@ -GCJ_FOR_BUILD = @GCJ_FOR_BUILD@ -GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@ -GOC_FOR_BUILD = @GOC_FOR_BUILD@ -LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ -LD_FOR_BUILD = @LD_FOR_BUILD@ -NM_FOR_BUILD = @NM_FOR_BUILD@ -RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@ -WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@ -WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@ - -# Special variables passed down in EXTRA_GCC_FLAGS. They are defined -# here so that they can be overridden by Makefile fragments. -BUILD_PREFIX = @BUILD_PREFIX@ -BUILD_PREFIX_1 = @BUILD_PREFIX_1@ - -# Flags to pass to stage2 and later makes. They are defined -# here so that they can be overridden by Makefile fragments. -BOOT_CFLAGS= -g -O2 -BOOT_LDFLAGS= -BOOT_ADAFLAGS=-gnatpg -gnata - -AWK = @AWK@ -SED = @SED@ -BISON = @BISON@ -YACC = @YACC@ -FLEX = @FLEX@ -LEX = @LEX@ -M4 = @M4@ -MAKEINFO = @MAKEINFO@ -EXPECT = @EXPECT@ -RUNTEST = @RUNTEST@ - -# This just becomes part of the MAKEINFO definition passed down to -# sub-makes. It lets flags be given on the command line while still -# using the makeinfo from the object tree. -# (Default to avoid splitting info files by setting the threshold high.) -MAKEINFOFLAGS = --split-size=5000000 - -# --------------------------------------------- -# Programs producing files for the HOST machine -# --------------------------------------------- - -AS = @AS@ -AR = @AR@ -AR_FLAGS = rc -CC = @CC@ -CXX = @CXX@ -DLLTOOL = @DLLTOOL@ -LD = @LD@ -LIPO = @LIPO@ -NM = @NM@ -OBJDUMP = @OBJDUMP@ -RANLIB = @RANLIB@ -READELF = @READELF@ -STRIP = @STRIP@ -WINDRES = @WINDRES@ -WINDMC = @WINDMC@ - -GNATBIND = @GNATBIND@ -GNATMAKE = @GNATMAKE@ - -CFLAGS = @CFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBCFLAGS = $(CFLAGS) -CXXFLAGS = @CXXFLAGS@ -LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates -GOCFLAGS = $(CFLAGS) - -TFLAGS = - -# Defaults for all stages; some are overridden below. - -STAGE_CFLAGS = $(BOOT_CFLAGS) -STAGE_TFLAGS = $(TFLAGS) -STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@ -POSTSTAGE1_CONFIGURE_FLAGS = @POSTSTAGE1_CONFIGURE_FLAGS@ - - -# Defaults for stage 1; some are overridden below. -STAGE1_CFLAGS = $(STAGE_CFLAGS) -STAGE1_CXXFLAGS = $(CXXFLAGS) -@if target-libstdc++-v3-bootstrap -# Override the above if we're bootstrapping C++. -STAGE1_CXXFLAGS = $(STAGE1_CFLAGS) -@endif target-libstdc++-v3-bootstrap -STAGE1_TFLAGS = $(STAGE_TFLAGS) -# STAGE1_CONFIGURE_FLAGS overridden below, so we can use -# POSTSTAGE1_CONFIGURE_FLAGS here. -STAGE1_CONFIGURE_FLAGS = \ - $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS) - -# Defaults for stage 2; some are overridden below. -STAGE2_CFLAGS = $(STAGE_CFLAGS) -STAGE2_CXXFLAGS = $(CXXFLAGS) -@if target-libstdc++-v3-bootstrap -# Override the above if we're bootstrapping C++. -STAGE2_CXXFLAGS = $(STAGE2_CFLAGS) -@endif target-libstdc++-v3-bootstrap -STAGE2_TFLAGS = $(STAGE_TFLAGS) -# STAGE1_CONFIGURE_FLAGS overridden below, so we can use -# POSTSTAGE1_CONFIGURE_FLAGS here. -STAGE2_CONFIGURE_FLAGS = \ - $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS) - -# Defaults for stage 3; some are overridden below. -STAGE3_CFLAGS = $(STAGE_CFLAGS) -STAGE3_CXXFLAGS = $(CXXFLAGS) -@if target-libstdc++-v3-bootstrap -# Override the above if we're bootstrapping C++. -STAGE3_CXXFLAGS = $(STAGE3_CFLAGS) -@endif target-libstdc++-v3-bootstrap -STAGE3_TFLAGS = $(STAGE_TFLAGS) -# STAGE1_CONFIGURE_FLAGS overridden below, so we can use -# POSTSTAGE1_CONFIGURE_FLAGS here. -STAGE3_CONFIGURE_FLAGS = \ - $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS) - -# Defaults for stage 4; some are overridden below. -STAGE4_CFLAGS = $(STAGE_CFLAGS) -STAGE4_CXXFLAGS = $(CXXFLAGS) -@if target-libstdc++-v3-bootstrap -# Override the above if we're bootstrapping C++. -STAGE4_CXXFLAGS = $(STAGE4_CFLAGS) -@endif target-libstdc++-v3-bootstrap -STAGE4_TFLAGS = $(STAGE_TFLAGS) -# STAGE1_CONFIGURE_FLAGS overridden below, so we can use -# POSTSTAGE1_CONFIGURE_FLAGS here. -STAGE4_CONFIGURE_FLAGS = \ - $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS) - -# Defaults for stage profile; some are overridden below. -STAGEprofile_CFLAGS = $(STAGE_CFLAGS) -STAGEprofile_CXXFLAGS = $(CXXFLAGS) -@if target-libstdc++-v3-bootstrap -# Override the above if we're bootstrapping C++. -STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS) -@endif target-libstdc++-v3-bootstrap -STAGEprofile_TFLAGS = $(STAGE_TFLAGS) -# STAGE1_CONFIGURE_FLAGS overridden below, so we can use -# POSTSTAGE1_CONFIGURE_FLAGS here. -STAGEprofile_CONFIGURE_FLAGS = \ - $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS) - -# Defaults for stage feedback; some are overridden below. -STAGEfeedback_CFLAGS = $(STAGE_CFLAGS) -STAGEfeedback_CXXFLAGS = $(CXXFLAGS) -@if target-libstdc++-v3-bootstrap -# Override the above if we're bootstrapping C++. -STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS) -@endif target-libstdc++-v3-bootstrap -STAGEfeedback_TFLAGS = $(STAGE_TFLAGS) -# STAGE1_CONFIGURE_FLAGS overridden below, so we can use -# POSTSTAGE1_CONFIGURE_FLAGS here. -STAGEfeedback_CONFIGURE_FLAGS = \ - $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS) - - -# Only build the C compiler for stage1, because that is the only one that -# we can guarantee will build with the native compiler, and also it is the -# only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS), -# MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them -# overrideable (for a bootstrap build stage1 also builds gcc.info). - -STAGE1_CFLAGS = @stage1_cflags@ -STAGE1_CHECKING = @stage1_checking@ -STAGE1_LANGUAGES = @stage1_languages@ -# * We force-disable intermodule optimizations, even if -# --enable-intermodule was passed, since the installed compiler -# probably can't handle them. Luckily, autoconf always respects -# the last argument when conflicting --enable arguments are passed. -# * Likewise, we force-disable coverage flags, since the installed -# compiler probably has never heard of them. -# * Don't remove this, because above we added -# POSTSTAGE1_CONFIGURE_FLAGS to STAGE_CONFIGURE_FLAGS, which -# we don't want for STAGE1_CONFIGURE_FLAGS. -STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \ - --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" - -STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate -STAGEprofile_TFLAGS = $(STAGE2_TFLAGS) - -STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use -STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS) - -do-compare = @do_compare@ -do-compare3 = $(do-compare) - -# ----------------------------------------------- -# Programs producing files for the TARGET machine -# ----------------------------------------------- - -AR_FOR_TARGET=@AR_FOR_TARGET@ -AS_FOR_TARGET=@AS_FOR_TARGET@ -CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ - -# If GCC_FOR_TARGET is not overriden on the command line, then this -# variable is passed down to the gcc Makefile, where it is used to -# build libgcc2.a. We define it here so that it can itself be -# overridden on the command line. -GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ -CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ -RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ -GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ -GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ -GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@ -DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@ -LD_FOR_TARGET=@LD_FOR_TARGET@ - -LIPO_FOR_TARGET=@LIPO_FOR_TARGET@ -NM_FOR_TARGET=@NM_FOR_TARGET@ -OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@ -RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@ -READELF_FOR_TARGET=@READELF_FOR_TARGET@ -STRIP_FOR_TARGET=@STRIP_FOR_TARGET@ -WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@ -WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@ - -COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@ -COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@ -COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@ - -CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@ -CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@ - -LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET) -LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates -LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@ -GOCFLAGS_FOR_TARGET = -O2 -g - -FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@ -SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@ -DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@ - -XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET) - -# ------------------------------------ -# Miscellaneous targets and flag lists -# ------------------------------------ - -# The first rule in the file had better be this one. Don't put any above it. -# This lives here to allow makefile fragments to contain dependencies. -all: - -#### host and target specific makefile fragments come in here. -@target_makefile_frag@ -@alphaieee_frag@ -@ospace_frag@ -@host_makefile_frag@ -### - -# This is the list of directories that may be needed in RPATH_ENVVAR -# so that programs built for the target machine work. -TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc) - -@if target-libstdc++-v3 -TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs: -@endif target-libstdc++-v3 - -@if target-libmudflap -TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs: -@endif target-libmudflap - -@if target-libssp -TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs: -@endif target-libssp - -@if target-libgomp -TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs: -@endif target-libgomp - - - -# This is the list of directories that may be needed in RPATH_ENVVAR -# so that programs built for the host machine work. -HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)$(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_ppl)$(HOST_LIB_PATH_cloog)$(HOST_LIB_PATH_libelf) - -# Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch -@if gcc -HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR): -@endif gcc - - -@if bfd -HOST_LIB_PATH_bfd = \ - $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs: -@endif bfd - -@if opcodes -HOST_LIB_PATH_opcodes = \ - $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs: -@endif opcodes - -@if gmp -HOST_LIB_PATH_gmp = \ - $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs: -@endif gmp - -@if mpfr -HOST_LIB_PATH_mpfr = \ - $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs: -@endif mpfr - -@if mpc -HOST_LIB_PATH_mpc = \ - $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs: -@endif mpc - -@if ppl -HOST_LIB_PATH_ppl = \ - $$r/$(HOST_SUBDIR)/ppl/src/.libs:$$r/$(HOST_SUBDIR)/prev-ppl/src/.libs: -@endif ppl - -@if cloog -HOST_LIB_PATH_cloog = \ - $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs: -@endif cloog - -@if libelf -HOST_LIB_PATH_libelf = \ - $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs: -@endif libelf - - -CXX_FOR_TARGET_FLAG_TO_PASS = \ - "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" -@if target-libstdc++-v3 -# CXX_FOR_TARGET is tricky to get right for target libs that require a -# functional C++ compiler. When we recurse, if we expand -# CXX_FOR_TARGET before configuring libstdc++-v3, we won't get -# libstdc++ include flags from the script. Instead, we get an -# -funconfigured-* word, so that we'll get errors if this invalid C++ -# command line is used for anything, but also so that we can use the -# word to decide whether or not to pass on this CXX_FOR_TARGET. If we -# don't pass it on, sub-make will use the default definition, that -# re-expands it at the time of use, so we'll get it right when we need -# it. One potential exception is the expansion of CXX_FOR_TARGET -# passed down as part of CXX within TARGET_FLAGS, but this wouldn't -# really work, for C++ host programs can't depend on the current-stage -# C++ target library. -CXX_FOR_TARGET_FLAG_TO_PASS = \ - $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi) -@endif target-libstdc++-v3 - -# Flags to pass down to all sub-makes. -BASE_FLAGS_TO_PASS = \ - "DESTDIR=$(DESTDIR)" \ - "RPATH_ENVVAR=$(RPATH_ENVVAR)" \ - "TARGET_SUBDIR=$(TARGET_SUBDIR)" \ - "bindir=$(bindir)" \ - "datadir=$(datadir)" \ - "exec_prefix=$(exec_prefix)" \ - "includedir=$(includedir)" \ - "datarootdir=$(datarootdir)" \ - "docdir=$(docdir)" \ - "infodir=$(infodir)" \ - "pdfdir=$(pdfdir)" \ - "htmldir=$(htmldir)" \ - "libdir=$(libdir)" \ - "libexecdir=$(libexecdir)" \ - "lispdir=$(lispdir)" \ - "localstatedir=$(localstatedir)" \ - "mandir=$(mandir)" \ - "oldincludedir=$(oldincludedir)" \ - "prefix=$(prefix)" \ - "sbindir=$(sbindir)" \ - "sharedstatedir=$(sharedstatedir)" \ - "sysconfdir=$(sysconfdir)" \ - "tooldir=$(tooldir)" \ - "build_tooldir=$(build_tooldir)" \ - "target_alias=$(target_alias)" \ - "AWK=$(AWK)" \ - "BISON=$(BISON)" \ - "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ - "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ - "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \ - "EXPECT=$(EXPECT)" \ - "FLEX=$(FLEX)" \ - "INSTALL=$(INSTALL)" \ - "INSTALL_DATA=$(INSTALL_DATA)" \ - "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ - "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \ - "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \ - "LEX=$(LEX)" \ - "M4=$(M4)" \ - "MAKE=$(MAKE)" \ - "RUNTEST=$(RUNTEST)" \ - "RUNTESTFLAGS=$(RUNTESTFLAGS)" \ - "SED=$(SED)" \ - "SHELL=$(SHELL)" \ - "YACC=$(YACC)" \ - "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ - "ADA_CFLAGS=$(ADA_CFLAGS)" \ - "AR_FLAGS=$(AR_FLAGS)" \ - "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ - "BOOT_CFLAGS=$(BOOT_CFLAGS)" \ - "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \ - "CFLAGS=$(CFLAGS)" \ - "CXXFLAGS=$(CXXFLAGS)" \ - "LDFLAGS=$(LDFLAGS)" \ - "LIBCFLAGS=$(LIBCFLAGS)" \ - "LIBCXXFLAGS=$(LIBCXXFLAGS)" \ - "STAGE1_CHECKING=$(STAGE1_CHECKING)" \ - "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \ - "GNATBIND=$(GNATBIND)" \ - "GNATMAKE=$(GNATMAKE)" \ - "AR_FOR_TARGET=$(AR_FOR_TARGET)" \ - "AS_FOR_TARGET=$(AS_FOR_TARGET)" \ - "CC_FOR_TARGET=$(CC_FOR_TARGET)" \ - "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \ - "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \ - "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \ - "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \ - "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \ - "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \ - "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \ - "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \ - "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \ - "LD_FOR_TARGET=$(LD_FOR_TARGET)" \ - "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \ - "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \ - "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \ - "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \ - "NM_FOR_TARGET=$(NM_FOR_TARGET)" \ - "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \ - "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \ - "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \ - "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \ - "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \ - "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \ - "BUILD_CONFIG=$(BUILD_CONFIG)" \ - "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ - "LEAN=$(LEAN)" \ - "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \ - "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \ - "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \ - "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \ - "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \ - "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \ - "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \ - "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \ - "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \ - "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \ - "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \ - "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \ - "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \ - "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \ - "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \ - "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \ - "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \ - "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \ - $(CXX_FOR_TARGET_FLAG_TO_PASS) \ - "TFLAGS=$(TFLAGS)" \ - "CONFIG_SHELL=$(SHELL)" \ - "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" - -# We leave this in just in case, but it is not needed anymore. -RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) - -# Flags to pass down to most sub-makes, in which we're building with -# the host environment. -EXTRA_HOST_FLAGS = \ - 'AR=$(AR)' \ - 'AS=$(AS)' \ - 'CC=$(CC)' \ - 'CXX=$(CXX)' \ - 'DLLTOOL=$(DLLTOOL)' \ - 'GCJ=$(GCJ)' \ - 'GFORTRAN=$(GFORTRAN)' \ - 'GOC=$(GOC)' \ - 'LD=$(LD)' \ - 'LIPO=$(LIPO)' \ - 'NM=$(NM)' \ - 'OBJDUMP=$(OBJDUMP)' \ - 'RANLIB=$(RANLIB)' \ - 'READELF=$(READELF)' \ - 'STRIP=$(STRIP)' \ - 'WINDRES=$(WINDRES)' \ - 'WINDMC=$(WINDMC)' - -FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) - -# Flags to pass to stage2 and later makes. - -POSTSTAGE1_FLAGS_TO_PASS = \ - CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \ - CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \ - GNATBIND="$${GNATBIND}" \ - LDFLAGS="$${LDFLAGS}" \ - HOST_LIBS="$${HOST_LIBS}" \ - "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" - -# Flags to pass down to makes which are built with the target environment. -# The double $ decreases the length of the command line; those variables -# are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The -# *_CFLAGS_FOR_TARGET variables are not passed down and most often empty, -# so we expand them here. -EXTRA_TARGET_FLAGS = \ - 'AR=$$(AR_FOR_TARGET)' \ - 'AS=$(COMPILER_AS_FOR_TARGET)' \ - 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ - 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \ - 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ - 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \ - 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \ - 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ - 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ - 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ - 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \ - 'LD=$(COMPILER_LD_FOR_TARGET)' \ - 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \ - 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \ - 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \ - 'NM=$(COMPILER_NM_FOR_TARGET)' \ - 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \ - 'RANLIB=$$(RANLIB_FOR_TARGET)' \ - 'READELF=$$(READELF_FOR_TARGET)' \ - 'WINDRES=$$(WINDRES_FOR_TARGET)' \ - 'WINDMC=$$(WINDMC_FOR_TARGET)' \ - 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \ - "TFLAGS=$$TFLAGS" - -TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) - -# Flags to pass down to gcc. gcc builds a library, libgcc.a, so it -# unfortunately needs the native compiler and the target ar and -# ranlib. -# If any variables are added here, they must be added to do-*, below. -# The BUILD_* variables are a special case, which are used for the gcc -# cross-building scheme. -EXTRA_GCC_FLAGS = \ - "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \ - "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ - "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" - -GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) - -@if gcc -BUILD_CONFIG = @BUILD_CONFIG@ -ifneq ($(BUILD_CONFIG),) -include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk) -endif -@endif gcc - -.PHONY: configure-host -configure-host: \ - maybe-configure-bfd \ - maybe-configure-opcodes \ - maybe-configure-binutils \ - maybe-configure-bison \ - maybe-configure-cgen \ - maybe-configure-dejagnu \ - maybe-configure-etc \ - maybe-configure-fastjar \ - maybe-configure-fixincludes \ - maybe-configure-flex \ - maybe-configure-gas \ - maybe-configure-gcc \ - maybe-configure-gmp \ - maybe-configure-mpfr \ - maybe-configure-mpc \ - maybe-configure-ppl \ - maybe-configure-cloog \ - maybe-configure-libelf \ - maybe-configure-gold \ - maybe-configure-gprof \ - maybe-configure-intl \ - maybe-configure-tcl \ - maybe-configure-itcl \ - maybe-configure-ld \ - maybe-configure-libcpp \ - maybe-configure-libdecnumber \ - maybe-configure-libgui \ - maybe-configure-libiberty \ - maybe-configure-libiconv \ - maybe-configure-m4 \ - maybe-configure-readline \ - maybe-configure-sid \ - maybe-configure-sim \ - maybe-configure-texinfo \ - maybe-configure-zlib \ - maybe-configure-gdb \ - maybe-configure-expect \ - maybe-configure-guile \ - maybe-configure-tk \ - maybe-configure-libtermcap \ - maybe-configure-utils \ - maybe-configure-gnattools \ - maybe-configure-lto-plugin -.PHONY: configure-target -configure-target: \ - maybe-configure-target-libstdc++-v3 \ - maybe-configure-target-libmudflap \ - maybe-configure-target-libssp \ - maybe-configure-target-newlib \ - maybe-configure-target-libgcc \ - maybe-configure-target-libquadmath \ - maybe-configure-target-libgfortran \ - maybe-configure-target-libobjc \ - maybe-configure-target-libgo \ - maybe-configure-target-libtermcap \ - maybe-configure-target-winsup \ - maybe-configure-target-libgloss \ - maybe-configure-target-libffi \ - maybe-configure-target-libjava \ - maybe-configure-target-zlib \ - maybe-configure-target-boehm-gc \ - maybe-configure-target-rda \ - maybe-configure-target-libada \ - maybe-configure-target-libgomp - -# The target built for a native non-bootstrap build. -.PHONY: all -all: -@if gcc-bootstrap - [ -f stage_final ] || echo stage3 > stage_final - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble -@endif gcc-bootstrap - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ -@if gcc-bootstrap - if [ -f stage_last ]; then \ - TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \ - else \ -@endif gcc-bootstrap - $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \ -@if gcc-bootstrap - ; \ - fi \ -@endif gcc-bootstrap - && : - -.PHONY: all-build - -all-build: maybe-all-build-libiberty -all-build: maybe-all-build-bison -all-build: maybe-all-build-flex -all-build: maybe-all-build-m4 -all-build: maybe-all-build-texinfo -all-build: maybe-all-build-fixincludes - -.PHONY: all-host - -@if bfd-no-bootstrap -all-host: maybe-all-bfd -@endif bfd-no-bootstrap -@if opcodes-no-bootstrap -all-host: maybe-all-opcodes -@endif opcodes-no-bootstrap -@if binutils-no-bootstrap -all-host: maybe-all-binutils -@endif binutils-no-bootstrap -all-host: maybe-all-bison -all-host: maybe-all-cgen -all-host: maybe-all-dejagnu -all-host: maybe-all-etc -all-host: maybe-all-fastjar -all-host: maybe-all-fixincludes -all-host: maybe-all-flex -@if gas-no-bootstrap -all-host: maybe-all-gas -@endif gas-no-bootstrap -@if gcc-no-bootstrap -all-host: maybe-all-gcc -@endif gcc-no-bootstrap -@if gmp-no-bootstrap -all-host: maybe-all-gmp -@endif gmp-no-bootstrap -@if mpfr-no-bootstrap -all-host: maybe-all-mpfr -@endif mpfr-no-bootstrap -@if mpc-no-bootstrap -all-host: maybe-all-mpc -@endif mpc-no-bootstrap -@if ppl-no-bootstrap -all-host: maybe-all-ppl -@endif ppl-no-bootstrap -@if cloog-no-bootstrap -all-host: maybe-all-cloog -@endif cloog-no-bootstrap -@if libelf-no-bootstrap -all-host: maybe-all-libelf -@endif libelf-no-bootstrap -@if gold-no-bootstrap -all-host: maybe-all-gold -@endif gold-no-bootstrap -all-host: maybe-all-gprof -@if intl-no-bootstrap -all-host: maybe-all-intl -@endif intl-no-bootstrap -all-host: maybe-all-tcl -all-host: maybe-all-itcl -@if ld-no-bootstrap -all-host: maybe-all-ld -@endif ld-no-bootstrap -@if libcpp-no-bootstrap -all-host: maybe-all-libcpp -@endif libcpp-no-bootstrap -@if libdecnumber-no-bootstrap -all-host: maybe-all-libdecnumber -@endif libdecnumber-no-bootstrap -all-host: maybe-all-libgui -@if libiberty-no-bootstrap -all-host: maybe-all-libiberty -@endif libiberty-no-bootstrap -all-host: maybe-all-libiconv -all-host: maybe-all-m4 -all-host: maybe-all-readline -all-host: maybe-all-sid -all-host: maybe-all-sim -all-host: maybe-all-texinfo -@if zlib-no-bootstrap -all-host: maybe-all-zlib -@endif zlib-no-bootstrap -all-host: maybe-all-gdb -all-host: maybe-all-expect -all-host: maybe-all-guile -all-host: maybe-all-tk -all-host: maybe-all-libtermcap -all-host: maybe-all-utils -all-host: maybe-all-gnattools -@if lto-plugin-no-bootstrap -all-host: maybe-all-lto-plugin -@endif lto-plugin-no-bootstrap - -.PHONY: all-target - -@if target-libstdc++-v3-no-bootstrap -all-target: maybe-all-target-libstdc++-v3 -@endif target-libstdc++-v3-no-bootstrap -all-target: maybe-all-target-libmudflap -all-target: maybe-all-target-libssp -all-target: maybe-all-target-newlib -@if target-libgcc-no-bootstrap -all-target: maybe-all-target-libgcc -@endif target-libgcc-no-bootstrap -all-target: maybe-all-target-libquadmath -all-target: maybe-all-target-libgfortran -all-target: maybe-all-target-libobjc -all-target: maybe-all-target-libgo -all-target: maybe-all-target-libtermcap -all-target: maybe-all-target-winsup -all-target: maybe-all-target-libgloss -all-target: maybe-all-target-libffi -all-target: maybe-all-target-libjava -all-target: maybe-all-target-zlib -all-target: maybe-all-target-boehm-gc -all-target: maybe-all-target-rda -all-target: maybe-all-target-libada -@if target-libgomp-no-bootstrap -all-target: maybe-all-target-libgomp -@endif target-libgomp-no-bootstrap - -# Do a target for all the subdirectories. A ``make do-X'' will do a -# ``make X'' in all subdirectories (because, in general, there is a -# dependency (below) of X upon do-X, a ``make X'' will also do this, -# but it may do additional work as well). - -.PHONY: do-info -do-info: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \ - info-target - - -.PHONY: info-host - -info-host: maybe-info-bfd -info-host: maybe-info-opcodes -info-host: maybe-info-binutils -info-host: maybe-info-bison -info-host: maybe-info-cgen -info-host: maybe-info-dejagnu -info-host: maybe-info-etc -info-host: maybe-info-fastjar -info-host: maybe-info-fixincludes -info-host: maybe-info-flex -info-host: maybe-info-gas -info-host: maybe-info-gcc -info-host: maybe-info-gmp -info-host: maybe-info-mpfr -info-host: maybe-info-mpc -info-host: maybe-info-ppl -info-host: maybe-info-cloog -info-host: maybe-info-libelf -info-host: maybe-info-gold -info-host: maybe-info-gprof -info-host: maybe-info-intl -info-host: maybe-info-tcl -info-host: maybe-info-itcl -info-host: maybe-info-ld -info-host: maybe-info-libcpp -info-host: maybe-info-libdecnumber -info-host: maybe-info-libgui -info-host: maybe-info-libiberty -info-host: maybe-info-libiconv -info-host: maybe-info-m4 -info-host: maybe-info-readline -info-host: maybe-info-sid -info-host: maybe-info-sim -info-host: maybe-info-texinfo -info-host: maybe-info-zlib -info-host: maybe-info-gdb -info-host: maybe-info-expect -info-host: maybe-info-guile -info-host: maybe-info-tk -info-host: maybe-info-libtermcap -info-host: maybe-info-utils -info-host: maybe-info-gnattools -info-host: maybe-info-lto-plugin - -.PHONY: info-target - -info-target: maybe-info-target-libstdc++-v3 -info-target: maybe-info-target-libmudflap -info-target: maybe-info-target-libssp -info-target: maybe-info-target-newlib -info-target: maybe-info-target-libgcc -info-target: maybe-info-target-libquadmath -info-target: maybe-info-target-libgfortran -info-target: maybe-info-target-libobjc -info-target: maybe-info-target-libgo -info-target: maybe-info-target-libtermcap -info-target: maybe-info-target-winsup -info-target: maybe-info-target-libgloss -info-target: maybe-info-target-libffi -info-target: maybe-info-target-libjava -info-target: maybe-info-target-zlib -info-target: maybe-info-target-boehm-gc -info-target: maybe-info-target-rda -info-target: maybe-info-target-libada -info-target: maybe-info-target-libgomp - -.PHONY: do-dvi -do-dvi: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \ - dvi-target - - -.PHONY: dvi-host - -dvi-host: maybe-dvi-bfd -dvi-host: maybe-dvi-opcodes -dvi-host: maybe-dvi-binutils -dvi-host: maybe-dvi-bison -dvi-host: maybe-dvi-cgen -dvi-host: maybe-dvi-dejagnu -dvi-host: maybe-dvi-etc -dvi-host: maybe-dvi-fastjar -dvi-host: maybe-dvi-fixincludes -dvi-host: maybe-dvi-flex -dvi-host: maybe-dvi-gas -dvi-host: maybe-dvi-gcc -dvi-host: maybe-dvi-gmp -dvi-host: maybe-dvi-mpfr -dvi-host: maybe-dvi-mpc -dvi-host: maybe-dvi-ppl -dvi-host: maybe-dvi-cloog -dvi-host: maybe-dvi-libelf -dvi-host: maybe-dvi-gold -dvi-host: maybe-dvi-gprof -dvi-host: maybe-dvi-intl -dvi-host: maybe-dvi-tcl -dvi-host: maybe-dvi-itcl -dvi-host: maybe-dvi-ld -dvi-host: maybe-dvi-libcpp -dvi-host: maybe-dvi-libdecnumber -dvi-host: maybe-dvi-libgui -dvi-host: maybe-dvi-libiberty -dvi-host: maybe-dvi-libiconv -dvi-host: maybe-dvi-m4 -dvi-host: maybe-dvi-readline -dvi-host: maybe-dvi-sid -dvi-host: maybe-dvi-sim -dvi-host: maybe-dvi-texinfo -dvi-host: maybe-dvi-zlib -dvi-host: maybe-dvi-gdb -dvi-host: maybe-dvi-expect -dvi-host: maybe-dvi-guile -dvi-host: maybe-dvi-tk -dvi-host: maybe-dvi-libtermcap -dvi-host: maybe-dvi-utils -dvi-host: maybe-dvi-gnattools -dvi-host: maybe-dvi-lto-plugin - -.PHONY: dvi-target - -dvi-target: maybe-dvi-target-libstdc++-v3 -dvi-target: maybe-dvi-target-libmudflap -dvi-target: maybe-dvi-target-libssp -dvi-target: maybe-dvi-target-newlib -dvi-target: maybe-dvi-target-libgcc -dvi-target: maybe-dvi-target-libquadmath -dvi-target: maybe-dvi-target-libgfortran -dvi-target: maybe-dvi-target-libobjc -dvi-target: maybe-dvi-target-libgo -dvi-target: maybe-dvi-target-libtermcap -dvi-target: maybe-dvi-target-winsup -dvi-target: maybe-dvi-target-libgloss -dvi-target: maybe-dvi-target-libffi -dvi-target: maybe-dvi-target-libjava -dvi-target: maybe-dvi-target-zlib -dvi-target: maybe-dvi-target-boehm-gc -dvi-target: maybe-dvi-target-rda -dvi-target: maybe-dvi-target-libada -dvi-target: maybe-dvi-target-libgomp - -.PHONY: do-pdf -do-pdf: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \ - pdf-target - - -.PHONY: pdf-host - -pdf-host: maybe-pdf-bfd -pdf-host: maybe-pdf-opcodes -pdf-host: maybe-pdf-binutils -pdf-host: maybe-pdf-bison -pdf-host: maybe-pdf-cgen -pdf-host: maybe-pdf-dejagnu -pdf-host: maybe-pdf-etc -pdf-host: maybe-pdf-fastjar -pdf-host: maybe-pdf-fixincludes -pdf-host: maybe-pdf-flex -pdf-host: maybe-pdf-gas -pdf-host: maybe-pdf-gcc -pdf-host: maybe-pdf-gmp -pdf-host: maybe-pdf-mpfr -pdf-host: maybe-pdf-mpc -pdf-host: maybe-pdf-ppl -pdf-host: maybe-pdf-cloog -pdf-host: maybe-pdf-libelf -pdf-host: maybe-pdf-gold -pdf-host: maybe-pdf-gprof -pdf-host: maybe-pdf-intl -pdf-host: maybe-pdf-tcl -pdf-host: maybe-pdf-itcl -pdf-host: maybe-pdf-ld -pdf-host: maybe-pdf-libcpp -pdf-host: maybe-pdf-libdecnumber -pdf-host: maybe-pdf-libgui -pdf-host: maybe-pdf-libiberty -pdf-host: maybe-pdf-libiconv -pdf-host: maybe-pdf-m4 -pdf-host: maybe-pdf-readline -pdf-host: maybe-pdf-sid -pdf-host: maybe-pdf-sim -pdf-host: maybe-pdf-texinfo -pdf-host: maybe-pdf-zlib -pdf-host: maybe-pdf-gdb -pdf-host: maybe-pdf-expect -pdf-host: maybe-pdf-guile -pdf-host: maybe-pdf-tk -pdf-host: maybe-pdf-libtermcap -pdf-host: maybe-pdf-utils -pdf-host: maybe-pdf-gnattools -pdf-host: maybe-pdf-lto-plugin - -.PHONY: pdf-target - -pdf-target: maybe-pdf-target-libstdc++-v3 -pdf-target: maybe-pdf-target-libmudflap -pdf-target: maybe-pdf-target-libssp -pdf-target: maybe-pdf-target-newlib -pdf-target: maybe-pdf-target-libgcc -pdf-target: maybe-pdf-target-libquadmath -pdf-target: maybe-pdf-target-libgfortran -pdf-target: maybe-pdf-target-libobjc -pdf-target: maybe-pdf-target-libgo -pdf-target: maybe-pdf-target-libtermcap -pdf-target: maybe-pdf-target-winsup -pdf-target: maybe-pdf-target-libgloss -pdf-target: maybe-pdf-target-libffi -pdf-target: maybe-pdf-target-libjava -pdf-target: maybe-pdf-target-zlib -pdf-target: maybe-pdf-target-boehm-gc -pdf-target: maybe-pdf-target-rda -pdf-target: maybe-pdf-target-libada -pdf-target: maybe-pdf-target-libgomp - -.PHONY: do-html -do-html: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \ - html-target - - -.PHONY: html-host - -html-host: maybe-html-bfd -html-host: maybe-html-opcodes -html-host: maybe-html-binutils -html-host: maybe-html-bison -html-host: maybe-html-cgen -html-host: maybe-html-dejagnu -html-host: maybe-html-etc -html-host: maybe-html-fastjar -html-host: maybe-html-fixincludes -html-host: maybe-html-flex -html-host: maybe-html-gas -html-host: maybe-html-gcc -html-host: maybe-html-gmp -html-host: maybe-html-mpfr -html-host: maybe-html-mpc -html-host: maybe-html-ppl -html-host: maybe-html-cloog -html-host: maybe-html-libelf -html-host: maybe-html-gold -html-host: maybe-html-gprof -html-host: maybe-html-intl -html-host: maybe-html-tcl -html-host: maybe-html-itcl -html-host: maybe-html-ld -html-host: maybe-html-libcpp -html-host: maybe-html-libdecnumber -html-host: maybe-html-libgui -html-host: maybe-html-libiberty -html-host: maybe-html-libiconv -html-host: maybe-html-m4 -html-host: maybe-html-readline -html-host: maybe-html-sid -html-host: maybe-html-sim -html-host: maybe-html-texinfo -html-host: maybe-html-zlib -html-host: maybe-html-gdb -html-host: maybe-html-expect -html-host: maybe-html-guile -html-host: maybe-html-tk -html-host: maybe-html-libtermcap -html-host: maybe-html-utils -html-host: maybe-html-gnattools -html-host: maybe-html-lto-plugin - -.PHONY: html-target - -html-target: maybe-html-target-libstdc++-v3 -html-target: maybe-html-target-libmudflap -html-target: maybe-html-target-libssp -html-target: maybe-html-target-newlib -html-target: maybe-html-target-libgcc -html-target: maybe-html-target-libquadmath -html-target: maybe-html-target-libgfortran -html-target: maybe-html-target-libobjc -html-target: maybe-html-target-libgo -html-target: maybe-html-target-libtermcap -html-target: maybe-html-target-winsup -html-target: maybe-html-target-libgloss -html-target: maybe-html-target-libffi -html-target: maybe-html-target-libjava -html-target: maybe-html-target-zlib -html-target: maybe-html-target-boehm-gc -html-target: maybe-html-target-rda -html-target: maybe-html-target-libada -html-target: maybe-html-target-libgomp - -.PHONY: do-TAGS -do-TAGS: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \ - TAGS-target - - -.PHONY: TAGS-host - -TAGS-host: maybe-TAGS-bfd -TAGS-host: maybe-TAGS-opcodes -TAGS-host: maybe-TAGS-binutils -TAGS-host: maybe-TAGS-bison -TAGS-host: maybe-TAGS-cgen -TAGS-host: maybe-TAGS-dejagnu -TAGS-host: maybe-TAGS-etc -TAGS-host: maybe-TAGS-fastjar -TAGS-host: maybe-TAGS-fixincludes -TAGS-host: maybe-TAGS-flex -TAGS-host: maybe-TAGS-gas -TAGS-host: maybe-TAGS-gcc -TAGS-host: maybe-TAGS-gmp -TAGS-host: maybe-TAGS-mpfr -TAGS-host: maybe-TAGS-mpc -TAGS-host: maybe-TAGS-ppl -TAGS-host: maybe-TAGS-cloog -TAGS-host: maybe-TAGS-libelf -TAGS-host: maybe-TAGS-gold -TAGS-host: maybe-TAGS-gprof -TAGS-host: maybe-TAGS-intl -TAGS-host: maybe-TAGS-tcl -TAGS-host: maybe-TAGS-itcl -TAGS-host: maybe-TAGS-ld -TAGS-host: maybe-TAGS-libcpp -TAGS-host: maybe-TAGS-libdecnumber -TAGS-host: maybe-TAGS-libgui -TAGS-host: maybe-TAGS-libiberty -TAGS-host: maybe-TAGS-libiconv -TAGS-host: maybe-TAGS-m4 -TAGS-host: maybe-TAGS-readline -TAGS-host: maybe-TAGS-sid -TAGS-host: maybe-TAGS-sim -TAGS-host: maybe-TAGS-texinfo -TAGS-host: maybe-TAGS-zlib -TAGS-host: maybe-TAGS-gdb -TAGS-host: maybe-TAGS-expect -TAGS-host: maybe-TAGS-guile -TAGS-host: maybe-TAGS-tk -TAGS-host: maybe-TAGS-libtermcap -TAGS-host: maybe-TAGS-utils -TAGS-host: maybe-TAGS-gnattools -TAGS-host: maybe-TAGS-lto-plugin - -.PHONY: TAGS-target - -TAGS-target: maybe-TAGS-target-libstdc++-v3 -TAGS-target: maybe-TAGS-target-libmudflap -TAGS-target: maybe-TAGS-target-libssp -TAGS-target: maybe-TAGS-target-newlib -TAGS-target: maybe-TAGS-target-libgcc -TAGS-target: maybe-TAGS-target-libquadmath -TAGS-target: maybe-TAGS-target-libgfortran -TAGS-target: maybe-TAGS-target-libobjc -TAGS-target: maybe-TAGS-target-libgo -TAGS-target: maybe-TAGS-target-libtermcap -TAGS-target: maybe-TAGS-target-winsup -TAGS-target: maybe-TAGS-target-libgloss -TAGS-target: maybe-TAGS-target-libffi -TAGS-target: maybe-TAGS-target-libjava -TAGS-target: maybe-TAGS-target-zlib -TAGS-target: maybe-TAGS-target-boehm-gc -TAGS-target: maybe-TAGS-target-rda -TAGS-target: maybe-TAGS-target-libada -TAGS-target: maybe-TAGS-target-libgomp - -.PHONY: do-install-info -do-install-info: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \ - install-info-target - - -.PHONY: install-info-host - -install-info-host: maybe-install-info-bfd -install-info-host: maybe-install-info-opcodes -install-info-host: maybe-install-info-binutils -install-info-host: maybe-install-info-bison -install-info-host: maybe-install-info-cgen -install-info-host: maybe-install-info-dejagnu -install-info-host: maybe-install-info-etc -install-info-host: maybe-install-info-fastjar -install-info-host: maybe-install-info-fixincludes -install-info-host: maybe-install-info-flex -install-info-host: maybe-install-info-gas -install-info-host: maybe-install-info-gcc -install-info-host: maybe-install-info-gmp -install-info-host: maybe-install-info-mpfr -install-info-host: maybe-install-info-mpc -install-info-host: maybe-install-info-ppl -install-info-host: maybe-install-info-cloog -install-info-host: maybe-install-info-libelf -install-info-host: maybe-install-info-gold -install-info-host: maybe-install-info-gprof -install-info-host: maybe-install-info-intl -install-info-host: maybe-install-info-tcl -install-info-host: maybe-install-info-itcl -install-info-host: maybe-install-info-ld -install-info-host: maybe-install-info-libcpp -install-info-host: maybe-install-info-libdecnumber -install-info-host: maybe-install-info-libgui -install-info-host: maybe-install-info-libiberty -install-info-host: maybe-install-info-libiconv -install-info-host: maybe-install-info-m4 -install-info-host: maybe-install-info-readline -install-info-host: maybe-install-info-sid -install-info-host: maybe-install-info-sim -install-info-host: maybe-install-info-texinfo -install-info-host: maybe-install-info-zlib -install-info-host: maybe-install-info-gdb -install-info-host: maybe-install-info-expect -install-info-host: maybe-install-info-guile -install-info-host: maybe-install-info-tk -install-info-host: maybe-install-info-libtermcap -install-info-host: maybe-install-info-utils -install-info-host: maybe-install-info-gnattools -install-info-host: maybe-install-info-lto-plugin - -.PHONY: install-info-target - -install-info-target: maybe-install-info-target-libstdc++-v3 -install-info-target: maybe-install-info-target-libmudflap -install-info-target: maybe-install-info-target-libssp -install-info-target: maybe-install-info-target-newlib -install-info-target: maybe-install-info-target-libgcc -install-info-target: maybe-install-info-target-libquadmath -install-info-target: maybe-install-info-target-libgfortran -install-info-target: maybe-install-info-target-libobjc -install-info-target: maybe-install-info-target-libgo -install-info-target: maybe-install-info-target-libtermcap -install-info-target: maybe-install-info-target-winsup -install-info-target: maybe-install-info-target-libgloss -install-info-target: maybe-install-info-target-libffi -install-info-target: maybe-install-info-target-libjava -install-info-target: maybe-install-info-target-zlib -install-info-target: maybe-install-info-target-boehm-gc -install-info-target: maybe-install-info-target-rda -install-info-target: maybe-install-info-target-libada -install-info-target: maybe-install-info-target-libgomp - -.PHONY: do-install-pdf -do-install-pdf: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \ - install-pdf-target - - -.PHONY: install-pdf-host - -install-pdf-host: maybe-install-pdf-bfd -install-pdf-host: maybe-install-pdf-opcodes -install-pdf-host: maybe-install-pdf-binutils -install-pdf-host: maybe-install-pdf-bison -install-pdf-host: maybe-install-pdf-cgen -install-pdf-host: maybe-install-pdf-dejagnu -install-pdf-host: maybe-install-pdf-etc -install-pdf-host: maybe-install-pdf-fastjar -install-pdf-host: maybe-install-pdf-fixincludes -install-pdf-host: maybe-install-pdf-flex -install-pdf-host: maybe-install-pdf-gas -install-pdf-host: maybe-install-pdf-gcc -install-pdf-host: maybe-install-pdf-gmp -install-pdf-host: maybe-install-pdf-mpfr -install-pdf-host: maybe-install-pdf-mpc -install-pdf-host: maybe-install-pdf-ppl -install-pdf-host: maybe-install-pdf-cloog -install-pdf-host: maybe-install-pdf-libelf -install-pdf-host: maybe-install-pdf-gold -install-pdf-host: maybe-install-pdf-gprof -install-pdf-host: maybe-install-pdf-intl -install-pdf-host: maybe-install-pdf-tcl -install-pdf-host: maybe-install-pdf-itcl -install-pdf-host: maybe-install-pdf-ld -install-pdf-host: maybe-install-pdf-libcpp -install-pdf-host: maybe-install-pdf-libdecnumber -install-pdf-host: maybe-install-pdf-libgui -install-pdf-host: maybe-install-pdf-libiberty -install-pdf-host: maybe-install-pdf-libiconv -install-pdf-host: maybe-install-pdf-m4 -install-pdf-host: maybe-install-pdf-readline -install-pdf-host: maybe-install-pdf-sid -install-pdf-host: maybe-install-pdf-sim -install-pdf-host: maybe-install-pdf-texinfo -install-pdf-host: maybe-install-pdf-zlib -install-pdf-host: maybe-install-pdf-gdb -install-pdf-host: maybe-install-pdf-expect -install-pdf-host: maybe-install-pdf-guile -install-pdf-host: maybe-install-pdf-tk -install-pdf-host: maybe-install-pdf-libtermcap -install-pdf-host: maybe-install-pdf-utils -install-pdf-host: maybe-install-pdf-gnattools -install-pdf-host: maybe-install-pdf-lto-plugin - -.PHONY: install-pdf-target - -install-pdf-target: maybe-install-pdf-target-libstdc++-v3 -install-pdf-target: maybe-install-pdf-target-libmudflap -install-pdf-target: maybe-install-pdf-target-libssp -install-pdf-target: maybe-install-pdf-target-newlib -install-pdf-target: maybe-install-pdf-target-libgcc -install-pdf-target: maybe-install-pdf-target-libquadmath -install-pdf-target: maybe-install-pdf-target-libgfortran -install-pdf-target: maybe-install-pdf-target-libobjc -install-pdf-target: maybe-install-pdf-target-libgo -install-pdf-target: maybe-install-pdf-target-libtermcap -install-pdf-target: maybe-install-pdf-target-winsup -install-pdf-target: maybe-install-pdf-target-libgloss -install-pdf-target: maybe-install-pdf-target-libffi -install-pdf-target: maybe-install-pdf-target-libjava -install-pdf-target: maybe-install-pdf-target-zlib -install-pdf-target: maybe-install-pdf-target-boehm-gc -install-pdf-target: maybe-install-pdf-target-rda -install-pdf-target: maybe-install-pdf-target-libada -install-pdf-target: maybe-install-pdf-target-libgomp - -.PHONY: do-install-html -do-install-html: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \ - install-html-target - - -.PHONY: install-html-host - -install-html-host: maybe-install-html-bfd -install-html-host: maybe-install-html-opcodes -install-html-host: maybe-install-html-binutils -install-html-host: maybe-install-html-bison -install-html-host: maybe-install-html-cgen -install-html-host: maybe-install-html-dejagnu -install-html-host: maybe-install-html-etc -install-html-host: maybe-install-html-fastjar -install-html-host: maybe-install-html-fixincludes -install-html-host: maybe-install-html-flex -install-html-host: maybe-install-html-gas -install-html-host: maybe-install-html-gcc -install-html-host: maybe-install-html-gmp -install-html-host: maybe-install-html-mpfr -install-html-host: maybe-install-html-mpc -install-html-host: maybe-install-html-ppl -install-html-host: maybe-install-html-cloog -install-html-host: maybe-install-html-libelf -install-html-host: maybe-install-html-gold -install-html-host: maybe-install-html-gprof -install-html-host: maybe-install-html-intl -install-html-host: maybe-install-html-tcl -install-html-host: maybe-install-html-itcl -install-html-host: maybe-install-html-ld -install-html-host: maybe-install-html-libcpp -install-html-host: maybe-install-html-libdecnumber -install-html-host: maybe-install-html-libgui -install-html-host: maybe-install-html-libiberty -install-html-host: maybe-install-html-libiconv -install-html-host: maybe-install-html-m4 -install-html-host: maybe-install-html-readline -install-html-host: maybe-install-html-sid -install-html-host: maybe-install-html-sim -install-html-host: maybe-install-html-texinfo -install-html-host: maybe-install-html-zlib -install-html-host: maybe-install-html-gdb -install-html-host: maybe-install-html-expect -install-html-host: maybe-install-html-guile -install-html-host: maybe-install-html-tk -install-html-host: maybe-install-html-libtermcap -install-html-host: maybe-install-html-utils -install-html-host: maybe-install-html-gnattools -install-html-host: maybe-install-html-lto-plugin - -.PHONY: install-html-target - -install-html-target: maybe-install-html-target-libstdc++-v3 -install-html-target: maybe-install-html-target-libmudflap -install-html-target: maybe-install-html-target-libssp -install-html-target: maybe-install-html-target-newlib -install-html-target: maybe-install-html-target-libgcc -install-html-target: maybe-install-html-target-libquadmath -install-html-target: maybe-install-html-target-libgfortran -install-html-target: maybe-install-html-target-libobjc -install-html-target: maybe-install-html-target-libgo -install-html-target: maybe-install-html-target-libtermcap -install-html-target: maybe-install-html-target-winsup -install-html-target: maybe-install-html-target-libgloss -install-html-target: maybe-install-html-target-libffi -install-html-target: maybe-install-html-target-libjava -install-html-target: maybe-install-html-target-zlib -install-html-target: maybe-install-html-target-boehm-gc -install-html-target: maybe-install-html-target-rda -install-html-target: maybe-install-html-target-libada -install-html-target: maybe-install-html-target-libgomp - -.PHONY: do-installcheck -do-installcheck: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \ - installcheck-target - - -.PHONY: installcheck-host - -installcheck-host: maybe-installcheck-bfd -installcheck-host: maybe-installcheck-opcodes -installcheck-host: maybe-installcheck-binutils -installcheck-host: maybe-installcheck-bison -installcheck-host: maybe-installcheck-cgen -installcheck-host: maybe-installcheck-dejagnu -installcheck-host: maybe-installcheck-etc -installcheck-host: maybe-installcheck-fastjar -installcheck-host: maybe-installcheck-fixincludes -installcheck-host: maybe-installcheck-flex -installcheck-host: maybe-installcheck-gas -installcheck-host: maybe-installcheck-gcc -installcheck-host: maybe-installcheck-gmp -installcheck-host: maybe-installcheck-mpfr -installcheck-host: maybe-installcheck-mpc -installcheck-host: maybe-installcheck-ppl -installcheck-host: maybe-installcheck-cloog -installcheck-host: maybe-installcheck-libelf -installcheck-host: maybe-installcheck-gold -installcheck-host: maybe-installcheck-gprof -installcheck-host: maybe-installcheck-intl -installcheck-host: maybe-installcheck-tcl -installcheck-host: maybe-installcheck-itcl -installcheck-host: maybe-installcheck-ld -installcheck-host: maybe-installcheck-libcpp -installcheck-host: maybe-installcheck-libdecnumber -installcheck-host: maybe-installcheck-libgui -installcheck-host: maybe-installcheck-libiberty -installcheck-host: maybe-installcheck-libiconv -installcheck-host: maybe-installcheck-m4 -installcheck-host: maybe-installcheck-readline -installcheck-host: maybe-installcheck-sid -installcheck-host: maybe-installcheck-sim -installcheck-host: maybe-installcheck-texinfo -installcheck-host: maybe-installcheck-zlib -installcheck-host: maybe-installcheck-gdb -installcheck-host: maybe-installcheck-expect -installcheck-host: maybe-installcheck-guile -installcheck-host: maybe-installcheck-tk -installcheck-host: maybe-installcheck-libtermcap -installcheck-host: maybe-installcheck-utils -installcheck-host: maybe-installcheck-gnattools -installcheck-host: maybe-installcheck-lto-plugin - -.PHONY: installcheck-target - -installcheck-target: maybe-installcheck-target-libstdc++-v3 -installcheck-target: maybe-installcheck-target-libmudflap -installcheck-target: maybe-installcheck-target-libssp -installcheck-target: maybe-installcheck-target-newlib -installcheck-target: maybe-installcheck-target-libgcc -installcheck-target: maybe-installcheck-target-libquadmath -installcheck-target: maybe-installcheck-target-libgfortran -installcheck-target: maybe-installcheck-target-libobjc -installcheck-target: maybe-installcheck-target-libgo -installcheck-target: maybe-installcheck-target-libtermcap -installcheck-target: maybe-installcheck-target-winsup -installcheck-target: maybe-installcheck-target-libgloss -installcheck-target: maybe-installcheck-target-libffi -installcheck-target: maybe-installcheck-target-libjava -installcheck-target: maybe-installcheck-target-zlib -installcheck-target: maybe-installcheck-target-boehm-gc -installcheck-target: maybe-installcheck-target-rda -installcheck-target: maybe-installcheck-target-libada -installcheck-target: maybe-installcheck-target-libgomp - -.PHONY: do-mostlyclean -do-mostlyclean: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \ - mostlyclean-target - - -.PHONY: mostlyclean-host - -mostlyclean-host: maybe-mostlyclean-bfd -mostlyclean-host: maybe-mostlyclean-opcodes -mostlyclean-host: maybe-mostlyclean-binutils -mostlyclean-host: maybe-mostlyclean-bison -mostlyclean-host: maybe-mostlyclean-cgen -mostlyclean-host: maybe-mostlyclean-dejagnu -mostlyclean-host: maybe-mostlyclean-etc -mostlyclean-host: maybe-mostlyclean-fastjar -mostlyclean-host: maybe-mostlyclean-fixincludes -mostlyclean-host: maybe-mostlyclean-flex -mostlyclean-host: maybe-mostlyclean-gas -mostlyclean-host: maybe-mostlyclean-gcc -mostlyclean-host: maybe-mostlyclean-gmp -mostlyclean-host: maybe-mostlyclean-mpfr -mostlyclean-host: maybe-mostlyclean-mpc -mostlyclean-host: maybe-mostlyclean-ppl -mostlyclean-host: maybe-mostlyclean-cloog -mostlyclean-host: maybe-mostlyclean-libelf -mostlyclean-host: maybe-mostlyclean-gold -mostlyclean-host: maybe-mostlyclean-gprof -mostlyclean-host: maybe-mostlyclean-intl -mostlyclean-host: maybe-mostlyclean-tcl -mostlyclean-host: maybe-mostlyclean-itcl -mostlyclean-host: maybe-mostlyclean-ld -mostlyclean-host: maybe-mostlyclean-libcpp -mostlyclean-host: maybe-mostlyclean-libdecnumber -mostlyclean-host: maybe-mostlyclean-libgui -mostlyclean-host: maybe-mostlyclean-libiberty -mostlyclean-host: maybe-mostlyclean-libiconv -mostlyclean-host: maybe-mostlyclean-m4 -mostlyclean-host: maybe-mostlyclean-readline -mostlyclean-host: maybe-mostlyclean-sid -mostlyclean-host: maybe-mostlyclean-sim -mostlyclean-host: maybe-mostlyclean-texinfo -mostlyclean-host: maybe-mostlyclean-zlib -mostlyclean-host: maybe-mostlyclean-gdb -mostlyclean-host: maybe-mostlyclean-expect -mostlyclean-host: maybe-mostlyclean-guile -mostlyclean-host: maybe-mostlyclean-tk -mostlyclean-host: maybe-mostlyclean-libtermcap -mostlyclean-host: maybe-mostlyclean-utils -mostlyclean-host: maybe-mostlyclean-gnattools -mostlyclean-host: maybe-mostlyclean-lto-plugin - -.PHONY: mostlyclean-target - -mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3 -mostlyclean-target: maybe-mostlyclean-target-libmudflap -mostlyclean-target: maybe-mostlyclean-target-libssp -mostlyclean-target: maybe-mostlyclean-target-newlib -mostlyclean-target: maybe-mostlyclean-target-libgcc -mostlyclean-target: maybe-mostlyclean-target-libquadmath -mostlyclean-target: maybe-mostlyclean-target-libgfortran -mostlyclean-target: maybe-mostlyclean-target-libobjc -mostlyclean-target: maybe-mostlyclean-target-libgo -mostlyclean-target: maybe-mostlyclean-target-libtermcap -mostlyclean-target: maybe-mostlyclean-target-winsup -mostlyclean-target: maybe-mostlyclean-target-libgloss -mostlyclean-target: maybe-mostlyclean-target-libffi -mostlyclean-target: maybe-mostlyclean-target-libjava -mostlyclean-target: maybe-mostlyclean-target-zlib -mostlyclean-target: maybe-mostlyclean-target-boehm-gc -mostlyclean-target: maybe-mostlyclean-target-rda -mostlyclean-target: maybe-mostlyclean-target-libada -mostlyclean-target: maybe-mostlyclean-target-libgomp - -.PHONY: do-clean -do-clean: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \ - clean-target - - -.PHONY: clean-host - -clean-host: maybe-clean-bfd -clean-host: maybe-clean-opcodes -clean-host: maybe-clean-binutils -clean-host: maybe-clean-bison -clean-host: maybe-clean-cgen -clean-host: maybe-clean-dejagnu -clean-host: maybe-clean-etc -clean-host: maybe-clean-fastjar -clean-host: maybe-clean-fixincludes -clean-host: maybe-clean-flex -clean-host: maybe-clean-gas -clean-host: maybe-clean-gcc -clean-host: maybe-clean-gmp -clean-host: maybe-clean-mpfr -clean-host: maybe-clean-mpc -clean-host: maybe-clean-ppl -clean-host: maybe-clean-cloog -clean-host: maybe-clean-libelf -clean-host: maybe-clean-gold -clean-host: maybe-clean-gprof -clean-host: maybe-clean-intl -clean-host: maybe-clean-tcl -clean-host: maybe-clean-itcl -clean-host: maybe-clean-ld -clean-host: maybe-clean-libcpp -clean-host: maybe-clean-libdecnumber -clean-host: maybe-clean-libgui -clean-host: maybe-clean-libiberty -clean-host: maybe-clean-libiconv -clean-host: maybe-clean-m4 -clean-host: maybe-clean-readline -clean-host: maybe-clean-sid -clean-host: maybe-clean-sim -clean-host: maybe-clean-texinfo -clean-host: maybe-clean-zlib -clean-host: maybe-clean-gdb -clean-host: maybe-clean-expect -clean-host: maybe-clean-guile -clean-host: maybe-clean-tk -clean-host: maybe-clean-libtermcap -clean-host: maybe-clean-utils -clean-host: maybe-clean-gnattools -clean-host: maybe-clean-lto-plugin - -.PHONY: clean-target - -clean-target: maybe-clean-target-libstdc++-v3 -clean-target: maybe-clean-target-libmudflap -clean-target: maybe-clean-target-libssp -clean-target: maybe-clean-target-newlib -clean-target: maybe-clean-target-libgcc -clean-target: maybe-clean-target-libquadmath -clean-target: maybe-clean-target-libgfortran -clean-target: maybe-clean-target-libobjc -clean-target: maybe-clean-target-libgo -clean-target: maybe-clean-target-libtermcap -clean-target: maybe-clean-target-winsup -clean-target: maybe-clean-target-libgloss -clean-target: maybe-clean-target-libffi -clean-target: maybe-clean-target-libjava -clean-target: maybe-clean-target-zlib -clean-target: maybe-clean-target-boehm-gc -clean-target: maybe-clean-target-rda -clean-target: maybe-clean-target-libada -clean-target: maybe-clean-target-libgomp - -.PHONY: do-distclean -do-distclean: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \ - distclean-target - - -.PHONY: distclean-host - -distclean-host: maybe-distclean-bfd -distclean-host: maybe-distclean-opcodes -distclean-host: maybe-distclean-binutils -distclean-host: maybe-distclean-bison -distclean-host: maybe-distclean-cgen -distclean-host: maybe-distclean-dejagnu -distclean-host: maybe-distclean-etc -distclean-host: maybe-distclean-fastjar -distclean-host: maybe-distclean-fixincludes -distclean-host: maybe-distclean-flex -distclean-host: maybe-distclean-gas -distclean-host: maybe-distclean-gcc -distclean-host: maybe-distclean-gmp -distclean-host: maybe-distclean-mpfr -distclean-host: maybe-distclean-mpc -distclean-host: maybe-distclean-ppl -distclean-host: maybe-distclean-cloog -distclean-host: maybe-distclean-libelf -distclean-host: maybe-distclean-gold -distclean-host: maybe-distclean-gprof -distclean-host: maybe-distclean-intl -distclean-host: maybe-distclean-tcl -distclean-host: maybe-distclean-itcl -distclean-host: maybe-distclean-ld -distclean-host: maybe-distclean-libcpp -distclean-host: maybe-distclean-libdecnumber -distclean-host: maybe-distclean-libgui -distclean-host: maybe-distclean-libiberty -distclean-host: maybe-distclean-libiconv -distclean-host: maybe-distclean-m4 -distclean-host: maybe-distclean-readline -distclean-host: maybe-distclean-sid -distclean-host: maybe-distclean-sim -distclean-host: maybe-distclean-texinfo -distclean-host: maybe-distclean-zlib -distclean-host: maybe-distclean-gdb -distclean-host: maybe-distclean-expect -distclean-host: maybe-distclean-guile -distclean-host: maybe-distclean-tk -distclean-host: maybe-distclean-libtermcap -distclean-host: maybe-distclean-utils -distclean-host: maybe-distclean-gnattools -distclean-host: maybe-distclean-lto-plugin - -.PHONY: distclean-target - -distclean-target: maybe-distclean-target-libstdc++-v3 -distclean-target: maybe-distclean-target-libmudflap -distclean-target: maybe-distclean-target-libssp -distclean-target: maybe-distclean-target-newlib -distclean-target: maybe-distclean-target-libgcc -distclean-target: maybe-distclean-target-libquadmath -distclean-target: maybe-distclean-target-libgfortran -distclean-target: maybe-distclean-target-libobjc -distclean-target: maybe-distclean-target-libgo -distclean-target: maybe-distclean-target-libtermcap -distclean-target: maybe-distclean-target-winsup -distclean-target: maybe-distclean-target-libgloss -distclean-target: maybe-distclean-target-libffi -distclean-target: maybe-distclean-target-libjava -distclean-target: maybe-distclean-target-zlib -distclean-target: maybe-distclean-target-boehm-gc -distclean-target: maybe-distclean-target-rda -distclean-target: maybe-distclean-target-libada -distclean-target: maybe-distclean-target-libgomp - -.PHONY: do-maintainer-clean -do-maintainer-clean: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \ - maintainer-clean-target - - -.PHONY: maintainer-clean-host - -maintainer-clean-host: maybe-maintainer-clean-bfd -maintainer-clean-host: maybe-maintainer-clean-opcodes -maintainer-clean-host: maybe-maintainer-clean-binutils -maintainer-clean-host: maybe-maintainer-clean-bison -maintainer-clean-host: maybe-maintainer-clean-cgen -maintainer-clean-host: maybe-maintainer-clean-dejagnu -maintainer-clean-host: maybe-maintainer-clean-etc -maintainer-clean-host: maybe-maintainer-clean-fastjar -maintainer-clean-host: maybe-maintainer-clean-fixincludes -maintainer-clean-host: maybe-maintainer-clean-flex -maintainer-clean-host: maybe-maintainer-clean-gas -maintainer-clean-host: maybe-maintainer-clean-gcc -maintainer-clean-host: maybe-maintainer-clean-gmp -maintainer-clean-host: maybe-maintainer-clean-mpfr -maintainer-clean-host: maybe-maintainer-clean-mpc -maintainer-clean-host: maybe-maintainer-clean-ppl -maintainer-clean-host: maybe-maintainer-clean-cloog -maintainer-clean-host: maybe-maintainer-clean-libelf -maintainer-clean-host: maybe-maintainer-clean-gold -maintainer-clean-host: maybe-maintainer-clean-gprof -maintainer-clean-host: maybe-maintainer-clean-intl -maintainer-clean-host: maybe-maintainer-clean-tcl -maintainer-clean-host: maybe-maintainer-clean-itcl -maintainer-clean-host: maybe-maintainer-clean-ld -maintainer-clean-host: maybe-maintainer-clean-libcpp -maintainer-clean-host: maybe-maintainer-clean-libdecnumber -maintainer-clean-host: maybe-maintainer-clean-libgui -maintainer-clean-host: maybe-maintainer-clean-libiberty -maintainer-clean-host: maybe-maintainer-clean-libiconv -maintainer-clean-host: maybe-maintainer-clean-m4 -maintainer-clean-host: maybe-maintainer-clean-readline -maintainer-clean-host: maybe-maintainer-clean-sid -maintainer-clean-host: maybe-maintainer-clean-sim -maintainer-clean-host: maybe-maintainer-clean-texinfo -maintainer-clean-host: maybe-maintainer-clean-zlib -maintainer-clean-host: maybe-maintainer-clean-gdb -maintainer-clean-host: maybe-maintainer-clean-expect -maintainer-clean-host: maybe-maintainer-clean-guile -maintainer-clean-host: maybe-maintainer-clean-tk -maintainer-clean-host: maybe-maintainer-clean-libtermcap -maintainer-clean-host: maybe-maintainer-clean-utils -maintainer-clean-host: maybe-maintainer-clean-gnattools -maintainer-clean-host: maybe-maintainer-clean-lto-plugin - -.PHONY: maintainer-clean-target - -maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3 -maintainer-clean-target: maybe-maintainer-clean-target-libmudflap -maintainer-clean-target: maybe-maintainer-clean-target-libssp -maintainer-clean-target: maybe-maintainer-clean-target-newlib -maintainer-clean-target: maybe-maintainer-clean-target-libgcc -maintainer-clean-target: maybe-maintainer-clean-target-libquadmath -maintainer-clean-target: maybe-maintainer-clean-target-libgfortran -maintainer-clean-target: maybe-maintainer-clean-target-libobjc -maintainer-clean-target: maybe-maintainer-clean-target-libgo -maintainer-clean-target: maybe-maintainer-clean-target-libtermcap -maintainer-clean-target: maybe-maintainer-clean-target-winsup -maintainer-clean-target: maybe-maintainer-clean-target-libgloss -maintainer-clean-target: maybe-maintainer-clean-target-libffi -maintainer-clean-target: maybe-maintainer-clean-target-libjava -maintainer-clean-target: maybe-maintainer-clean-target-zlib -maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc -maintainer-clean-target: maybe-maintainer-clean-target-rda -maintainer-clean-target: maybe-maintainer-clean-target-libada -maintainer-clean-target: maybe-maintainer-clean-target-libgomp - - -# Here are the targets which correspond to the do-X targets. - -.PHONY: info installcheck dvi pdf html -.PHONY: install-info install-pdf install-html -.PHONY: clean distclean mostlyclean maintainer-clean realclean -.PHONY: local-clean local-distclean local-maintainer-clean -info: do-info -installcheck: do-installcheck -dvi: do-dvi -pdf: do-pdf -html: do-html - -# Make sure makeinfo is built before we do a `make info', if we're -# in fact building texinfo. -do-info: maybe-all-texinfo - -install-info: do-install-info dir.info - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - if [ -f dir.info ] ; then \ - $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \ - else true ; fi - -install-pdf: do-install-pdf - -install-html: do-install-html - -local-clean: - -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log - -local-distclean: - -rm -f Makefile config.status config.cache mh-frag mt-frag - -rm -f maybedep.tmp serdep.tmp - -if [ "$(TARGET_SUBDIR)" != "." ]; then \ - rm -rf $(TARGET_SUBDIR); \ - else true; fi - -rm -rf $(BUILD_SUBDIR) - -if [ "$(HOST_SUBDIR)" != "." ]; then \ - rm -rf $(HOST_SUBDIR); \ - else true; fi - -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile - -rm -f texinfo/doc/Makefile texinfo/po/POTFILES - -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null - -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null - -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null - -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null - -local-maintainer-clean: - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -clean: do-clean local-clean -mostlyclean: do-mostlyclean local-clean -distclean: do-distclean local-clean local-distclean -maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean -maintainer-clean: local-distclean -realclean: maintainer-clean - -# Check target. - -.PHONY: check do-check -check: do-check - -# Only include modules actually being configured and built. -.PHONY: check-host -check-host: \ - maybe-check-bfd \ - maybe-check-opcodes \ - maybe-check-binutils \ - maybe-check-bison \ - maybe-check-cgen \ - maybe-check-dejagnu \ - maybe-check-etc \ - maybe-check-fastjar \ - maybe-check-fixincludes \ - maybe-check-flex \ - maybe-check-gas \ - maybe-check-gcc \ - maybe-check-gmp \ - maybe-check-mpfr \ - maybe-check-mpc \ - maybe-check-ppl \ - maybe-check-cloog \ - maybe-check-libelf \ - maybe-check-gold \ - maybe-check-gprof \ - maybe-check-intl \ - maybe-check-tcl \ - maybe-check-itcl \ - maybe-check-ld \ - maybe-check-libcpp \ - maybe-check-libdecnumber \ - maybe-check-libgui \ - maybe-check-libiberty \ - maybe-check-libiconv \ - maybe-check-m4 \ - maybe-check-readline \ - maybe-check-sid \ - maybe-check-sim \ - maybe-check-texinfo \ - maybe-check-zlib \ - maybe-check-gdb \ - maybe-check-expect \ - maybe-check-guile \ - maybe-check-tk \ - maybe-check-libtermcap \ - maybe-check-utils \ - maybe-check-gnattools \ - maybe-check-lto-plugin - -.PHONY: check-target -check-target: \ - maybe-check-target-libstdc++-v3 \ - maybe-check-target-libmudflap \ - maybe-check-target-libssp \ - maybe-check-target-newlib \ - maybe-check-target-libgcc \ - maybe-check-target-libquadmath \ - maybe-check-target-libgfortran \ - maybe-check-target-libobjc \ - maybe-check-target-libgo \ - maybe-check-target-libtermcap \ - maybe-check-target-winsup \ - maybe-check-target-libgloss \ - maybe-check-target-libffi \ - maybe-check-target-libjava \ - maybe-check-target-zlib \ - maybe-check-target-boehm-gc \ - maybe-check-target-rda \ - maybe-check-target-libada \ - maybe-check-target-libgomp - -do-check: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target - -# Automated reporting of test results. - -warning.log: build.log - $(srcdir)/contrib/warn_summary build.log > $@ - -mail-report.log: - if test x'$(BOOT_CFLAGS)' != x''; then \ - BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \ - fi; \ - $(srcdir)/contrib/test_summary -t >$@ - chmod +x $@ - echo If you really want to send e-mail, run ./$@ now - -mail-report-with-warnings.log: warning.log - if test x'$(BOOT_CFLAGS)' != x''; then \ - BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \ - fi; \ - $(srcdir)/contrib/test_summary -t -i warning.log >$@ - chmod +x $@ - echo If you really want to send e-mail, run ./$@ now - -# Installation targets. - -.PHONY: install uninstall -install: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target - -.PHONY: install-host-nogcc -install-host-nogcc: \ - maybe-install-bfd \ - maybe-install-opcodes \ - maybe-install-binutils \ - maybe-install-bison \ - maybe-install-cgen \ - maybe-install-dejagnu \ - maybe-install-etc \ - maybe-install-fastjar \ - maybe-install-fixincludes \ - maybe-install-flex \ - maybe-install-gas \ - maybe-install-gmp \ - maybe-install-mpfr \ - maybe-install-mpc \ - maybe-install-ppl \ - maybe-install-cloog \ - maybe-install-libelf \ - maybe-install-gold \ - maybe-install-gprof \ - maybe-install-intl \ - maybe-install-tcl \ - maybe-install-itcl \ - maybe-install-ld \ - maybe-install-libcpp \ - maybe-install-libdecnumber \ - maybe-install-libgui \ - maybe-install-libiberty \ - maybe-install-libiconv \ - maybe-install-m4 \ - maybe-install-readline \ - maybe-install-sid \ - maybe-install-sim \ - maybe-install-texinfo \ - maybe-install-zlib \ - maybe-install-gdb \ - maybe-install-expect \ - maybe-install-guile \ - maybe-install-tk \ - maybe-install-libtermcap \ - maybe-install-utils \ - maybe-install-gnattools \ - maybe-install-lto-plugin - -.PHONY: install-host -install-host: \ - maybe-install-bfd \ - maybe-install-opcodes \ - maybe-install-binutils \ - maybe-install-bison \ - maybe-install-cgen \ - maybe-install-dejagnu \ - maybe-install-etc \ - maybe-install-fastjar \ - maybe-install-fixincludes \ - maybe-install-flex \ - maybe-install-gas \ - maybe-install-gcc \ - maybe-install-gmp \ - maybe-install-mpfr \ - maybe-install-mpc \ - maybe-install-ppl \ - maybe-install-cloog \ - maybe-install-libelf \ - maybe-install-gold \ - maybe-install-gprof \ - maybe-install-intl \ - maybe-install-tcl \ - maybe-install-itcl \ - maybe-install-ld \ - maybe-install-libcpp \ - maybe-install-libdecnumber \ - maybe-install-libgui \ - maybe-install-libiberty \ - maybe-install-libiconv \ - maybe-install-m4 \ - maybe-install-readline \ - maybe-install-sid \ - maybe-install-sim \ - maybe-install-texinfo \ - maybe-install-zlib \ - maybe-install-gdb \ - maybe-install-expect \ - maybe-install-guile \ - maybe-install-tk \ - maybe-install-libtermcap \ - maybe-install-utils \ - maybe-install-gnattools \ - maybe-install-lto-plugin - -.PHONY: install-target -install-target: \ - maybe-install-target-libstdc++-v3 \ - maybe-install-target-libmudflap \ - maybe-install-target-libssp \ - maybe-install-target-newlib \ - maybe-install-target-libgcc \ - maybe-install-target-libquadmath \ - maybe-install-target-libgfortran \ - maybe-install-target-libobjc \ - maybe-install-target-libgo \ - maybe-install-target-libtermcap \ - maybe-install-target-winsup \ - maybe-install-target-libgloss \ - maybe-install-target-libffi \ - maybe-install-target-libjava \ - maybe-install-target-zlib \ - maybe-install-target-boehm-gc \ - maybe-install-target-rda \ - maybe-install-target-libada \ - maybe-install-target-libgomp - -uninstall: - @echo "the uninstall target is not supported in this tree" - -.PHONY: install.all -install.all: install-no-fixedincludes - @if [ -f ./gcc/Makefile ] ; then \ - r=`${PWD_COMMAND}` ; export r ; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd ./gcc && \ - $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \ - else \ - true ; \ - fi - -# install-no-fixedincludes is used because Cygnus can not distribute -# the fixed header files. -.PHONY: install-no-fixedincludes -install-no-fixedincludes: installdirs install-host-nogcc \ - install-target gcc-no-fixedincludes - -.PHONY: install-strip -install-strip: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target - -.PHONY: install-strip-host -install-strip-host: \ - maybe-install-strip-bfd \ - maybe-install-strip-opcodes \ - maybe-install-strip-binutils \ - maybe-install-strip-bison \ - maybe-install-strip-cgen \ - maybe-install-strip-dejagnu \ - maybe-install-strip-etc \ - maybe-install-strip-fastjar \ - maybe-install-strip-fixincludes \ - maybe-install-strip-flex \ - maybe-install-strip-gas \ - maybe-install-strip-gcc \ - maybe-install-strip-gmp \ - maybe-install-strip-mpfr \ - maybe-install-strip-mpc \ - maybe-install-strip-ppl \ - maybe-install-strip-cloog \ - maybe-install-strip-libelf \ - maybe-install-strip-gold \ - maybe-install-strip-gprof \ - maybe-install-strip-intl \ - maybe-install-strip-tcl \ - maybe-install-strip-itcl \ - maybe-install-strip-ld \ - maybe-install-strip-libcpp \ - maybe-install-strip-libdecnumber \ - maybe-install-strip-libgui \ - maybe-install-strip-libiberty \ - maybe-install-strip-libiconv \ - maybe-install-strip-m4 \ - maybe-install-strip-readline \ - maybe-install-strip-sid \ - maybe-install-strip-sim \ - maybe-install-strip-texinfo \ - maybe-install-strip-zlib \ - maybe-install-strip-gdb \ - maybe-install-strip-expect \ - maybe-install-strip-guile \ - maybe-install-strip-tk \ - maybe-install-strip-libtermcap \ - maybe-install-strip-utils \ - maybe-install-strip-gnattools \ - maybe-install-strip-lto-plugin - -.PHONY: install-strip-target -install-strip-target: \ - maybe-install-strip-target-libstdc++-v3 \ - maybe-install-strip-target-libmudflap \ - maybe-install-strip-target-libssp \ - maybe-install-strip-target-newlib \ - maybe-install-strip-target-libgcc \ - maybe-install-strip-target-libquadmath \ - maybe-install-strip-target-libgfortran \ - maybe-install-strip-target-libobjc \ - maybe-install-strip-target-libgo \ - maybe-install-strip-target-libtermcap \ - maybe-install-strip-target-winsup \ - maybe-install-strip-target-libgloss \ - maybe-install-strip-target-libffi \ - maybe-install-strip-target-libjava \ - maybe-install-strip-target-zlib \ - maybe-install-strip-target-boehm-gc \ - maybe-install-strip-target-rda \ - maybe-install-strip-target-libada \ - maybe-install-strip-target-libgomp - - -### other supporting targets - -MAKEDIRS= \ - $(DESTDIR)$(prefix) \ - $(DESTDIR)$(exec_prefix) -.PHONY: installdirs -installdirs: mkinstalldirs - $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS) - -dir.info: do-install-info - if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \ - $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \ - mv -f dir.info.new dir.info ; \ - else true ; \ - fi - -dist: - @echo "Building a full distribution of this tree isn't done" - @echo "via 'make dist'. Check out the etc/ subdirectory" - -etags tags: TAGS - -# Right now this just builds TAGS in each subdirectory. emacs19 has the -# ability to use several tags files at once, so there is probably no need -# to combine them into one big TAGS file (like CVS 1.3 does). We could -# (if we felt like it) have this Makefile write a piece of elisp which -# the user could load to tell emacs19 where all the TAGS files we just -# built are. -TAGS: do-TAGS - -# ------------------------------------ -# Macros for configure and all targets -# ------------------------------------ - - - - - -# -------------------------------------- -# Modules which run on the build machine -# -------------------------------------- - - -.PHONY: configure-build-libiberty maybe-configure-build-libiberty -maybe-configure-build-libiberty: -@if gcc-bootstrap -configure-build-libiberty: stage_current -@endif gcc-bootstrap -@if build-libiberty -maybe-configure-build-libiberty: configure-build-libiberty -configure-build-libiberty: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \ - $(BUILD_EXPORTS) \ - echo Configuring in $(BUILD_SUBDIR)/libiberty; \ - cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libiberty"; \ - libsrcdir="$$s/libiberty"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif build-libiberty - - - - - -.PHONY: all-build-libiberty maybe-all-build-libiberty -maybe-all-build-libiberty: -@if gcc-bootstrap -all-build-libiberty: stage_current -@endif gcc-bootstrap -@if build-libiberty -TARGET-build-libiberty=all -maybe-all-build-libiberty: all-build-libiberty -all-build-libiberty: configure-build-libiberty - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(BUILD_EXPORTS) \ - (cd $(BUILD_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ - $(TARGET-build-libiberty)) -@endif build-libiberty - - - - - -.PHONY: configure-build-bison maybe-configure-build-bison -maybe-configure-build-bison: -@if gcc-bootstrap -configure-build-bison: stage_current -@endif gcc-bootstrap -@if build-bison -maybe-configure-build-bison: configure-build-bison -configure-build-bison: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \ - $(BUILD_EXPORTS) \ - echo Configuring in $(BUILD_SUBDIR)/bison; \ - cd "$(BUILD_SUBDIR)/bison" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/bison"; \ - libsrcdir="$$s/bison"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif build-bison - - - - - -.PHONY: all-build-bison maybe-all-build-bison -maybe-all-build-bison: -@if gcc-bootstrap -all-build-bison: stage_current -@endif gcc-bootstrap -@if build-bison -TARGET-build-bison=all -maybe-all-build-bison: all-build-bison -all-build-bison: configure-build-bison - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(BUILD_EXPORTS) \ - (cd $(BUILD_SUBDIR)/bison && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ - $(TARGET-build-bison)) -@endif build-bison - - - - - -.PHONY: configure-build-flex maybe-configure-build-flex -maybe-configure-build-flex: -@if gcc-bootstrap -configure-build-flex: stage_current -@endif gcc-bootstrap -@if build-flex -maybe-configure-build-flex: configure-build-flex -configure-build-flex: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \ - $(BUILD_EXPORTS) \ - echo Configuring in $(BUILD_SUBDIR)/flex; \ - cd "$(BUILD_SUBDIR)/flex" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/flex"; \ - libsrcdir="$$s/flex"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif build-flex - - - - - -.PHONY: all-build-flex maybe-all-build-flex -maybe-all-build-flex: -@if gcc-bootstrap -all-build-flex: stage_current -@endif gcc-bootstrap -@if build-flex -TARGET-build-flex=all -maybe-all-build-flex: all-build-flex -all-build-flex: configure-build-flex - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(BUILD_EXPORTS) \ - (cd $(BUILD_SUBDIR)/flex && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ - $(TARGET-build-flex)) -@endif build-flex - - - - - -.PHONY: configure-build-m4 maybe-configure-build-m4 -maybe-configure-build-m4: -@if gcc-bootstrap -configure-build-m4: stage_current -@endif gcc-bootstrap -@if build-m4 -maybe-configure-build-m4: configure-build-m4 -configure-build-m4: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \ - $(BUILD_EXPORTS) \ - echo Configuring in $(BUILD_SUBDIR)/m4; \ - cd "$(BUILD_SUBDIR)/m4" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/m4"; \ - libsrcdir="$$s/m4"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif build-m4 - - - - - -.PHONY: all-build-m4 maybe-all-build-m4 -maybe-all-build-m4: -@if gcc-bootstrap -all-build-m4: stage_current -@endif gcc-bootstrap -@if build-m4 -TARGET-build-m4=all -maybe-all-build-m4: all-build-m4 -all-build-m4: configure-build-m4 - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(BUILD_EXPORTS) \ - (cd $(BUILD_SUBDIR)/m4 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ - $(TARGET-build-m4)) -@endif build-m4 - - - - - -.PHONY: configure-build-texinfo maybe-configure-build-texinfo -maybe-configure-build-texinfo: -@if gcc-bootstrap -configure-build-texinfo: stage_current -@endif gcc-bootstrap -@if build-texinfo -maybe-configure-build-texinfo: configure-build-texinfo -configure-build-texinfo: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \ - $(BUILD_EXPORTS) \ - echo Configuring in $(BUILD_SUBDIR)/texinfo; \ - cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/texinfo"; \ - libsrcdir="$$s/texinfo"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif build-texinfo - - - - - -.PHONY: all-build-texinfo maybe-all-build-texinfo -maybe-all-build-texinfo: -@if gcc-bootstrap -all-build-texinfo: stage_current -@endif gcc-bootstrap -@if build-texinfo -TARGET-build-texinfo=all -maybe-all-build-texinfo: all-build-texinfo -all-build-texinfo: configure-build-texinfo - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(BUILD_EXPORTS) \ - (cd $(BUILD_SUBDIR)/texinfo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ - $(TARGET-build-texinfo)) -@endif build-texinfo - - - - - -.PHONY: configure-build-fixincludes maybe-configure-build-fixincludes -maybe-configure-build-fixincludes: -@if gcc-bootstrap -configure-build-fixincludes: stage_current -@endif gcc-bootstrap -@if build-fixincludes -maybe-configure-build-fixincludes: configure-build-fixincludes -configure-build-fixincludes: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \ - $(BUILD_EXPORTS) \ - echo Configuring in $(BUILD_SUBDIR)/fixincludes; \ - cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/fixincludes"; \ - libsrcdir="$$s/fixincludes"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif build-fixincludes - - - - - -.PHONY: all-build-fixincludes maybe-all-build-fixincludes -maybe-all-build-fixincludes: -@if gcc-bootstrap -all-build-fixincludes: stage_current -@endif gcc-bootstrap -@if build-fixincludes -TARGET-build-fixincludes=all -maybe-all-build-fixincludes: all-build-fixincludes -all-build-fixincludes: configure-build-fixincludes - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(BUILD_EXPORTS) \ - (cd $(BUILD_SUBDIR)/fixincludes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ - $(TARGET-build-fixincludes)) -@endif build-fixincludes - - - - - -# -------------------------------------- -# Modules which run on the host machine -# -------------------------------------- - - -.PHONY: configure-bfd maybe-configure-bfd -maybe-configure-bfd: -@if gcc-bootstrap -configure-bfd: stage_current -@endif gcc-bootstrap -@if bfd -maybe-configure-bfd: configure-bfd -configure-bfd: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/bfd; \ - cd "$(HOST_SUBDIR)/bfd" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/bfd"; \ - libsrcdir="$$s/bfd"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif bfd - - - -.PHONY: configure-stage1-bfd maybe-configure-stage1-bfd -maybe-configure-stage1-bfd: -@if bfd-bootstrap -maybe-configure-stage1-bfd: configure-stage1-bfd -configure-stage1-bfd: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ - cd $(HOST_SUBDIR)/bfd || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/bfd"; \ - libsrcdir="$$s/bfd"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) -@endif bfd-bootstrap - -.PHONY: configure-stage2-bfd maybe-configure-stage2-bfd -maybe-configure-stage2-bfd: -@if bfd-bootstrap -maybe-configure-stage2-bfd: configure-stage2-bfd -configure-stage2-bfd: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ - cd $(HOST_SUBDIR)/bfd || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/bfd"; \ - libsrcdir="$$s/bfd"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) -@endif bfd-bootstrap - -.PHONY: configure-stage3-bfd maybe-configure-stage3-bfd -maybe-configure-stage3-bfd: -@if bfd-bootstrap -maybe-configure-stage3-bfd: configure-stage3-bfd -configure-stage3-bfd: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ - cd $(HOST_SUBDIR)/bfd || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/bfd"; \ - libsrcdir="$$s/bfd"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) -@endif bfd-bootstrap - -.PHONY: configure-stage4-bfd maybe-configure-stage4-bfd -maybe-configure-stage4-bfd: -@if bfd-bootstrap -maybe-configure-stage4-bfd: configure-stage4-bfd -configure-stage4-bfd: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ - cd $(HOST_SUBDIR)/bfd || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/bfd"; \ - libsrcdir="$$s/bfd"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) -@endif bfd-bootstrap - -.PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd -maybe-configure-stageprofile-bfd: -@if bfd-bootstrap -maybe-configure-stageprofile-bfd: configure-stageprofile-bfd -configure-stageprofile-bfd: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ - cd $(HOST_SUBDIR)/bfd || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/bfd"; \ - libsrcdir="$$s/bfd"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) -@endif bfd-bootstrap - -.PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd -maybe-configure-stagefeedback-bfd: -@if bfd-bootstrap -maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd -configure-stagefeedback-bfd: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ - cd $(HOST_SUBDIR)/bfd || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/bfd"; \ - libsrcdir="$$s/bfd"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) -@endif bfd-bootstrap - - - - - -.PHONY: all-bfd maybe-all-bfd -maybe-all-bfd: -@if gcc-bootstrap -all-bfd: stage_current -@endif gcc-bootstrap -@if bfd -TARGET-bfd=all -maybe-all-bfd: all-bfd -all-bfd: configure-bfd - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-bfd)) -@endif bfd - - - -.PHONY: all-stage1-bfd maybe-all-stage1-bfd -.PHONY: clean-stage1-bfd maybe-clean-stage1-bfd -maybe-all-stage1-bfd: -maybe-clean-stage1-bfd: -@if bfd-bootstrap -maybe-all-stage1-bfd: all-stage1-bfd -all-stage1: all-stage1-bfd -TARGET-stage1-bfd = $(TARGET-bfd) -all-stage1-bfd: configure-stage1-bfd - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" \ - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ - LIBCFLAGS="$(LIBCFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-bfd) - -maybe-clean-stage1-bfd: clean-stage1-bfd -clean-stage1: clean-stage1-bfd -clean-stage1-bfd: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - clean -@endif bfd-bootstrap - - -.PHONY: all-stage2-bfd maybe-all-stage2-bfd -.PHONY: clean-stage2-bfd maybe-clean-stage2-bfd -maybe-all-stage2-bfd: -maybe-clean-stage2-bfd: -@if bfd-bootstrap -maybe-all-stage2-bfd: all-stage2-bfd -all-stage2: all-stage2-bfd -TARGET-stage2-bfd = $(TARGET-bfd) -all-stage2-bfd: configure-stage2-bfd - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE2_CFLAGS)" \ - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE2_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-bfd) - -maybe-clean-stage2-bfd: clean-stage2-bfd -clean-stage2: clean-stage2-bfd -clean-stage2-bfd: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif bfd-bootstrap - - -.PHONY: all-stage3-bfd maybe-all-stage3-bfd -.PHONY: clean-stage3-bfd maybe-clean-stage3-bfd -maybe-all-stage3-bfd: -maybe-clean-stage3-bfd: -@if bfd-bootstrap -maybe-all-stage3-bfd: all-stage3-bfd -all-stage3: all-stage3-bfd -TARGET-stage3-bfd = $(TARGET-bfd) -all-stage3-bfd: configure-stage3-bfd - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE3_CFLAGS)" \ - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE3_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-bfd) - -maybe-clean-stage3-bfd: clean-stage3-bfd -clean-stage3: clean-stage3-bfd -clean-stage3-bfd: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif bfd-bootstrap - - -.PHONY: all-stage4-bfd maybe-all-stage4-bfd -.PHONY: clean-stage4-bfd maybe-clean-stage4-bfd -maybe-all-stage4-bfd: -maybe-clean-stage4-bfd: -@if bfd-bootstrap -maybe-all-stage4-bfd: all-stage4-bfd -all-stage4: all-stage4-bfd -TARGET-stage4-bfd = $(TARGET-bfd) -all-stage4-bfd: configure-stage4-bfd - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE4_CFLAGS)" \ - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE4_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-bfd) - -maybe-clean-stage4-bfd: clean-stage4-bfd -clean-stage4: clean-stage4-bfd -clean-stage4-bfd: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif bfd-bootstrap - - -.PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd -.PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd -maybe-all-stageprofile-bfd: -maybe-clean-stageprofile-bfd: -@if bfd-bootstrap -maybe-all-stageprofile-bfd: all-stageprofile-bfd -all-stageprofile: all-stageprofile-bfd -TARGET-stageprofile-bfd = $(TARGET-bfd) -all-stageprofile-bfd: configure-stageprofile-bfd - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEprofile_CFLAGS)" \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-bfd) - -maybe-clean-stageprofile-bfd: clean-stageprofile-bfd -clean-stageprofile: clean-stageprofile-bfd -clean-stageprofile-bfd: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif bfd-bootstrap - - -.PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd -.PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd -maybe-all-stagefeedback-bfd: -maybe-clean-stagefeedback-bfd: -@if bfd-bootstrap -maybe-all-stagefeedback-bfd: all-stagefeedback-bfd -all-stagefeedback: all-stagefeedback-bfd -TARGET-stagefeedback-bfd = $(TARGET-bfd) -all-stagefeedback-bfd: configure-stagefeedback-bfd - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)" \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-bfd) - -maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd -clean-stagefeedback: clean-stagefeedback-bfd -clean-stagefeedback-bfd: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif bfd-bootstrap - - - - - -.PHONY: check-bfd maybe-check-bfd -maybe-check-bfd: -@if bfd -maybe-check-bfd: check-bfd - -check-bfd: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif bfd - -.PHONY: install-bfd maybe-install-bfd -maybe-install-bfd: -@if bfd -maybe-install-bfd: install-bfd - -install-bfd: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif bfd - -.PHONY: install-strip-bfd maybe-install-strip-bfd -maybe-install-strip-bfd: -@if bfd -maybe-install-strip-bfd: install-strip-bfd - -install-strip-bfd: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif bfd - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-bfd info-bfd -maybe-info-bfd: -@if bfd -maybe-info-bfd: info-bfd - -info-bfd: \ - configure-bfd - @[ -f ./bfd/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in bfd" ; \ - (cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif bfd - -.PHONY: maybe-dvi-bfd dvi-bfd -maybe-dvi-bfd: -@if bfd -maybe-dvi-bfd: dvi-bfd - -dvi-bfd: \ - configure-bfd - @[ -f ./bfd/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in bfd" ; \ - (cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif bfd - -.PHONY: maybe-pdf-bfd pdf-bfd -maybe-pdf-bfd: -@if bfd -maybe-pdf-bfd: pdf-bfd - -pdf-bfd: \ - configure-bfd - @[ -f ./bfd/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in bfd" ; \ - (cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif bfd - -.PHONY: maybe-html-bfd html-bfd -maybe-html-bfd: -@if bfd -maybe-html-bfd: html-bfd - -html-bfd: \ - configure-bfd - @[ -f ./bfd/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in bfd" ; \ - (cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif bfd - -.PHONY: maybe-TAGS-bfd TAGS-bfd -maybe-TAGS-bfd: -@if bfd -maybe-TAGS-bfd: TAGS-bfd - -TAGS-bfd: \ - configure-bfd - @[ -f ./bfd/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in bfd" ; \ - (cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif bfd - -.PHONY: maybe-install-info-bfd install-info-bfd -maybe-install-info-bfd: -@if bfd -maybe-install-info-bfd: install-info-bfd - -install-info-bfd: \ - configure-bfd \ - info-bfd - @[ -f ./bfd/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in bfd" ; \ - (cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif bfd - -.PHONY: maybe-install-pdf-bfd install-pdf-bfd -maybe-install-pdf-bfd: -@if bfd -maybe-install-pdf-bfd: install-pdf-bfd - -install-pdf-bfd: \ - configure-bfd \ - pdf-bfd - @[ -f ./bfd/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in bfd" ; \ - (cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif bfd - -.PHONY: maybe-install-html-bfd install-html-bfd -maybe-install-html-bfd: -@if bfd -maybe-install-html-bfd: install-html-bfd - -install-html-bfd: \ - configure-bfd \ - html-bfd - @[ -f ./bfd/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in bfd" ; \ - (cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif bfd - -.PHONY: maybe-installcheck-bfd installcheck-bfd -maybe-installcheck-bfd: -@if bfd -maybe-installcheck-bfd: installcheck-bfd - -installcheck-bfd: \ - configure-bfd - @[ -f ./bfd/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in bfd" ; \ - (cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif bfd - -.PHONY: maybe-mostlyclean-bfd mostlyclean-bfd -maybe-mostlyclean-bfd: -@if bfd -maybe-mostlyclean-bfd: mostlyclean-bfd - -mostlyclean-bfd: - @[ -f ./bfd/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in bfd" ; \ - (cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif bfd - -.PHONY: maybe-clean-bfd clean-bfd -maybe-clean-bfd: -@if bfd -maybe-clean-bfd: clean-bfd - -clean-bfd: - @[ -f ./bfd/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in bfd" ; \ - (cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif bfd - -.PHONY: maybe-distclean-bfd distclean-bfd -maybe-distclean-bfd: -@if bfd -maybe-distclean-bfd: distclean-bfd - -distclean-bfd: - @[ -f ./bfd/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in bfd" ; \ - (cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif bfd - -.PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd -maybe-maintainer-clean-bfd: -@if bfd -maybe-maintainer-clean-bfd: maintainer-clean-bfd - -maintainer-clean-bfd: - @[ -f ./bfd/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in bfd" ; \ - (cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif bfd - - - -.PHONY: configure-opcodes maybe-configure-opcodes -maybe-configure-opcodes: -@if gcc-bootstrap -configure-opcodes: stage_current -@endif gcc-bootstrap -@if opcodes -maybe-configure-opcodes: configure-opcodes -configure-opcodes: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/opcodes; \ - cd "$(HOST_SUBDIR)/opcodes" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/opcodes"; \ - libsrcdir="$$s/opcodes"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif opcodes - - - -.PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes -maybe-configure-stage1-opcodes: -@if opcodes-bootstrap -maybe-configure-stage1-opcodes: configure-stage1-opcodes -configure-stage1-opcodes: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ - cd $(HOST_SUBDIR)/opcodes || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/opcodes"; \ - libsrcdir="$$s/opcodes"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) -@endif opcodes-bootstrap - -.PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes -maybe-configure-stage2-opcodes: -@if opcodes-bootstrap -maybe-configure-stage2-opcodes: configure-stage2-opcodes -configure-stage2-opcodes: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ - cd $(HOST_SUBDIR)/opcodes || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/opcodes"; \ - libsrcdir="$$s/opcodes"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) -@endif opcodes-bootstrap - -.PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes -maybe-configure-stage3-opcodes: -@if opcodes-bootstrap -maybe-configure-stage3-opcodes: configure-stage3-opcodes -configure-stage3-opcodes: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ - cd $(HOST_SUBDIR)/opcodes || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/opcodes"; \ - libsrcdir="$$s/opcodes"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) -@endif opcodes-bootstrap - -.PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes -maybe-configure-stage4-opcodes: -@if opcodes-bootstrap -maybe-configure-stage4-opcodes: configure-stage4-opcodes -configure-stage4-opcodes: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ - cd $(HOST_SUBDIR)/opcodes || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/opcodes"; \ - libsrcdir="$$s/opcodes"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) -@endif opcodes-bootstrap - -.PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes -maybe-configure-stageprofile-opcodes: -@if opcodes-bootstrap -maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes -configure-stageprofile-opcodes: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ - cd $(HOST_SUBDIR)/opcodes || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/opcodes"; \ - libsrcdir="$$s/opcodes"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) -@endif opcodes-bootstrap - -.PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes -maybe-configure-stagefeedback-opcodes: -@if opcodes-bootstrap -maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes -configure-stagefeedback-opcodes: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ - cd $(HOST_SUBDIR)/opcodes || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/opcodes"; \ - libsrcdir="$$s/opcodes"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) -@endif opcodes-bootstrap - - - - - -.PHONY: all-opcodes maybe-all-opcodes -maybe-all-opcodes: -@if gcc-bootstrap -all-opcodes: stage_current -@endif gcc-bootstrap -@if opcodes -TARGET-opcodes=all -maybe-all-opcodes: all-opcodes -all-opcodes: configure-opcodes - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-opcodes)) -@endif opcodes - - - -.PHONY: all-stage1-opcodes maybe-all-stage1-opcodes -.PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes -maybe-all-stage1-opcodes: -maybe-clean-stage1-opcodes: -@if opcodes-bootstrap -maybe-all-stage1-opcodes: all-stage1-opcodes -all-stage1: all-stage1-opcodes -TARGET-stage1-opcodes = $(TARGET-opcodes) -all-stage1-opcodes: configure-stage1-opcodes - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" \ - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ - LIBCFLAGS="$(LIBCFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-opcodes) - -maybe-clean-stage1-opcodes: clean-stage1-opcodes -clean-stage1: clean-stage1-opcodes -clean-stage1-opcodes: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - clean -@endif opcodes-bootstrap - - -.PHONY: all-stage2-opcodes maybe-all-stage2-opcodes -.PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes -maybe-all-stage2-opcodes: -maybe-clean-stage2-opcodes: -@if opcodes-bootstrap -maybe-all-stage2-opcodes: all-stage2-opcodes -all-stage2: all-stage2-opcodes -TARGET-stage2-opcodes = $(TARGET-opcodes) -all-stage2-opcodes: configure-stage2-opcodes - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE2_CFLAGS)" \ - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE2_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-opcodes) - -maybe-clean-stage2-opcodes: clean-stage2-opcodes -clean-stage2: clean-stage2-opcodes -clean-stage2-opcodes: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif opcodes-bootstrap - - -.PHONY: all-stage3-opcodes maybe-all-stage3-opcodes -.PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes -maybe-all-stage3-opcodes: -maybe-clean-stage3-opcodes: -@if opcodes-bootstrap -maybe-all-stage3-opcodes: all-stage3-opcodes -all-stage3: all-stage3-opcodes -TARGET-stage3-opcodes = $(TARGET-opcodes) -all-stage3-opcodes: configure-stage3-opcodes - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE3_CFLAGS)" \ - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE3_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-opcodes) - -maybe-clean-stage3-opcodes: clean-stage3-opcodes -clean-stage3: clean-stage3-opcodes -clean-stage3-opcodes: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif opcodes-bootstrap - - -.PHONY: all-stage4-opcodes maybe-all-stage4-opcodes -.PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes -maybe-all-stage4-opcodes: -maybe-clean-stage4-opcodes: -@if opcodes-bootstrap -maybe-all-stage4-opcodes: all-stage4-opcodes -all-stage4: all-stage4-opcodes -TARGET-stage4-opcodes = $(TARGET-opcodes) -all-stage4-opcodes: configure-stage4-opcodes - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE4_CFLAGS)" \ - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE4_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-opcodes) - -maybe-clean-stage4-opcodes: clean-stage4-opcodes -clean-stage4: clean-stage4-opcodes -clean-stage4-opcodes: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif opcodes-bootstrap - - -.PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes -.PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes -maybe-all-stageprofile-opcodes: -maybe-clean-stageprofile-opcodes: -@if opcodes-bootstrap -maybe-all-stageprofile-opcodes: all-stageprofile-opcodes -all-stageprofile: all-stageprofile-opcodes -TARGET-stageprofile-opcodes = $(TARGET-opcodes) -all-stageprofile-opcodes: configure-stageprofile-opcodes - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEprofile_CFLAGS)" \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-opcodes) - -maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes -clean-stageprofile: clean-stageprofile-opcodes -clean-stageprofile-opcodes: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif opcodes-bootstrap - - -.PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes -.PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes -maybe-all-stagefeedback-opcodes: -maybe-clean-stagefeedback-opcodes: -@if opcodes-bootstrap -maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes -all-stagefeedback: all-stagefeedback-opcodes -TARGET-stagefeedback-opcodes = $(TARGET-opcodes) -all-stagefeedback-opcodes: configure-stagefeedback-opcodes - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)" \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-opcodes) - -maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes -clean-stagefeedback: clean-stagefeedback-opcodes -clean-stagefeedback-opcodes: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif opcodes-bootstrap - - - - - -.PHONY: check-opcodes maybe-check-opcodes -maybe-check-opcodes: -@if opcodes -maybe-check-opcodes: check-opcodes - -check-opcodes: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif opcodes - -.PHONY: install-opcodes maybe-install-opcodes -maybe-install-opcodes: -@if opcodes -maybe-install-opcodes: install-opcodes - -install-opcodes: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif opcodes - -.PHONY: install-strip-opcodes maybe-install-strip-opcodes -maybe-install-strip-opcodes: -@if opcodes -maybe-install-strip-opcodes: install-strip-opcodes - -install-strip-opcodes: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif opcodes - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-opcodes info-opcodes -maybe-info-opcodes: -@if opcodes -maybe-info-opcodes: info-opcodes - -info-opcodes: \ - configure-opcodes - @[ -f ./opcodes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in opcodes" ; \ - (cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif opcodes - -.PHONY: maybe-dvi-opcodes dvi-opcodes -maybe-dvi-opcodes: -@if opcodes -maybe-dvi-opcodes: dvi-opcodes - -dvi-opcodes: \ - configure-opcodes - @[ -f ./opcodes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in opcodes" ; \ - (cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif opcodes - -.PHONY: maybe-pdf-opcodes pdf-opcodes -maybe-pdf-opcodes: -@if opcodes -maybe-pdf-opcodes: pdf-opcodes - -pdf-opcodes: \ - configure-opcodes - @[ -f ./opcodes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in opcodes" ; \ - (cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif opcodes - -.PHONY: maybe-html-opcodes html-opcodes -maybe-html-opcodes: -@if opcodes -maybe-html-opcodes: html-opcodes - -html-opcodes: \ - configure-opcodes - @[ -f ./opcodes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in opcodes" ; \ - (cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif opcodes - -.PHONY: maybe-TAGS-opcodes TAGS-opcodes -maybe-TAGS-opcodes: -@if opcodes -maybe-TAGS-opcodes: TAGS-opcodes - -TAGS-opcodes: \ - configure-opcodes - @[ -f ./opcodes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in opcodes" ; \ - (cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif opcodes - -.PHONY: maybe-install-info-opcodes install-info-opcodes -maybe-install-info-opcodes: -@if opcodes -maybe-install-info-opcodes: install-info-opcodes - -install-info-opcodes: \ - configure-opcodes \ - info-opcodes - @[ -f ./opcodes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in opcodes" ; \ - (cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif opcodes - -.PHONY: maybe-install-pdf-opcodes install-pdf-opcodes -maybe-install-pdf-opcodes: -@if opcodes -maybe-install-pdf-opcodes: install-pdf-opcodes - -install-pdf-opcodes: \ - configure-opcodes \ - pdf-opcodes - @[ -f ./opcodes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in opcodes" ; \ - (cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif opcodes - -.PHONY: maybe-install-html-opcodes install-html-opcodes -maybe-install-html-opcodes: -@if opcodes -maybe-install-html-opcodes: install-html-opcodes - -install-html-opcodes: \ - configure-opcodes \ - html-opcodes - @[ -f ./opcodes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in opcodes" ; \ - (cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif opcodes - -.PHONY: maybe-installcheck-opcodes installcheck-opcodes -maybe-installcheck-opcodes: -@if opcodes -maybe-installcheck-opcodes: installcheck-opcodes - -installcheck-opcodes: \ - configure-opcodes - @[ -f ./opcodes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in opcodes" ; \ - (cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif opcodes - -.PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes -maybe-mostlyclean-opcodes: -@if opcodes -maybe-mostlyclean-opcodes: mostlyclean-opcodes - -mostlyclean-opcodes: - @[ -f ./opcodes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in opcodes" ; \ - (cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif opcodes - -.PHONY: maybe-clean-opcodes clean-opcodes -maybe-clean-opcodes: -@if opcodes -maybe-clean-opcodes: clean-opcodes - -clean-opcodes: - @[ -f ./opcodes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in opcodes" ; \ - (cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif opcodes - -.PHONY: maybe-distclean-opcodes distclean-opcodes -maybe-distclean-opcodes: -@if opcodes -maybe-distclean-opcodes: distclean-opcodes - -distclean-opcodes: - @[ -f ./opcodes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in opcodes" ; \ - (cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif opcodes - -.PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes -maybe-maintainer-clean-opcodes: -@if opcodes -maybe-maintainer-clean-opcodes: maintainer-clean-opcodes - -maintainer-clean-opcodes: - @[ -f ./opcodes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in opcodes" ; \ - (cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif opcodes - - - -.PHONY: configure-binutils maybe-configure-binutils -maybe-configure-binutils: -@if gcc-bootstrap -configure-binutils: stage_current -@endif gcc-bootstrap -@if binutils -maybe-configure-binutils: configure-binutils -configure-binutils: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/binutils; \ - cd "$(HOST_SUBDIR)/binutils" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/binutils"; \ - libsrcdir="$$s/binutils"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif binutils - - - -.PHONY: configure-stage1-binutils maybe-configure-stage1-binutils -maybe-configure-stage1-binutils: -@if binutils-bootstrap -maybe-configure-stage1-binutils: configure-stage1-binutils -configure-stage1-binutils: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ - cd $(HOST_SUBDIR)/binutils || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/binutils"; \ - libsrcdir="$$s/binutils"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) -@endif binutils-bootstrap - -.PHONY: configure-stage2-binutils maybe-configure-stage2-binutils -maybe-configure-stage2-binutils: -@if binutils-bootstrap -maybe-configure-stage2-binutils: configure-stage2-binutils -configure-stage2-binutils: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ - cd $(HOST_SUBDIR)/binutils || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/binutils"; \ - libsrcdir="$$s/binutils"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) -@endif binutils-bootstrap - -.PHONY: configure-stage3-binutils maybe-configure-stage3-binutils -maybe-configure-stage3-binutils: -@if binutils-bootstrap -maybe-configure-stage3-binutils: configure-stage3-binutils -configure-stage3-binutils: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ - cd $(HOST_SUBDIR)/binutils || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/binutils"; \ - libsrcdir="$$s/binutils"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) -@endif binutils-bootstrap - -.PHONY: configure-stage4-binutils maybe-configure-stage4-binutils -maybe-configure-stage4-binutils: -@if binutils-bootstrap -maybe-configure-stage4-binutils: configure-stage4-binutils -configure-stage4-binutils: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ - cd $(HOST_SUBDIR)/binutils || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/binutils"; \ - libsrcdir="$$s/binutils"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) -@endif binutils-bootstrap - -.PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils -maybe-configure-stageprofile-binutils: -@if binutils-bootstrap -maybe-configure-stageprofile-binutils: configure-stageprofile-binutils -configure-stageprofile-binutils: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ - cd $(HOST_SUBDIR)/binutils || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/binutils"; \ - libsrcdir="$$s/binutils"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) -@endif binutils-bootstrap - -.PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils -maybe-configure-stagefeedback-binutils: -@if binutils-bootstrap -maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils -configure-stagefeedback-binutils: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ - cd $(HOST_SUBDIR)/binutils || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/binutils"; \ - libsrcdir="$$s/binutils"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) -@endif binutils-bootstrap - - - - - -.PHONY: all-binutils maybe-all-binutils -maybe-all-binutils: -@if gcc-bootstrap -all-binutils: stage_current -@endif gcc-bootstrap -@if binutils -TARGET-binutils=all -maybe-all-binutils: all-binutils -all-binutils: configure-binutils - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-binutils)) -@endif binutils - - - -.PHONY: all-stage1-binutils maybe-all-stage1-binutils -.PHONY: clean-stage1-binutils maybe-clean-stage1-binutils -maybe-all-stage1-binutils: -maybe-clean-stage1-binutils: -@if binutils-bootstrap -maybe-all-stage1-binutils: all-stage1-binutils -all-stage1: all-stage1-binutils -TARGET-stage1-binutils = $(TARGET-binutils) -all-stage1-binutils: configure-stage1-binutils - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" \ - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ - LIBCFLAGS="$(LIBCFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-binutils) - -maybe-clean-stage1-binutils: clean-stage1-binutils -clean-stage1: clean-stage1-binutils -clean-stage1-binutils: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - clean -@endif binutils-bootstrap - - -.PHONY: all-stage2-binutils maybe-all-stage2-binutils -.PHONY: clean-stage2-binutils maybe-clean-stage2-binutils -maybe-all-stage2-binutils: -maybe-clean-stage2-binutils: -@if binutils-bootstrap -maybe-all-stage2-binutils: all-stage2-binutils -all-stage2: all-stage2-binutils -TARGET-stage2-binutils = $(TARGET-binutils) -all-stage2-binutils: configure-stage2-binutils - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE2_CFLAGS)" \ - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE2_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-binutils) - -maybe-clean-stage2-binutils: clean-stage2-binutils -clean-stage2: clean-stage2-binutils -clean-stage2-binutils: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif binutils-bootstrap - - -.PHONY: all-stage3-binutils maybe-all-stage3-binutils -.PHONY: clean-stage3-binutils maybe-clean-stage3-binutils -maybe-all-stage3-binutils: -maybe-clean-stage3-binutils: -@if binutils-bootstrap -maybe-all-stage3-binutils: all-stage3-binutils -all-stage3: all-stage3-binutils -TARGET-stage3-binutils = $(TARGET-binutils) -all-stage3-binutils: configure-stage3-binutils - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE3_CFLAGS)" \ - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE3_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-binutils) - -maybe-clean-stage3-binutils: clean-stage3-binutils -clean-stage3: clean-stage3-binutils -clean-stage3-binutils: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif binutils-bootstrap - - -.PHONY: all-stage4-binutils maybe-all-stage4-binutils -.PHONY: clean-stage4-binutils maybe-clean-stage4-binutils -maybe-all-stage4-binutils: -maybe-clean-stage4-binutils: -@if binutils-bootstrap -maybe-all-stage4-binutils: all-stage4-binutils -all-stage4: all-stage4-binutils -TARGET-stage4-binutils = $(TARGET-binutils) -all-stage4-binutils: configure-stage4-binutils - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE4_CFLAGS)" \ - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE4_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-binutils) - -maybe-clean-stage4-binutils: clean-stage4-binutils -clean-stage4: clean-stage4-binutils -clean-stage4-binutils: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif binutils-bootstrap - - -.PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils -.PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils -maybe-all-stageprofile-binutils: -maybe-clean-stageprofile-binutils: -@if binutils-bootstrap -maybe-all-stageprofile-binutils: all-stageprofile-binutils -all-stageprofile: all-stageprofile-binutils -TARGET-stageprofile-binutils = $(TARGET-binutils) -all-stageprofile-binutils: configure-stageprofile-binutils - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEprofile_CFLAGS)" \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-binutils) - -maybe-clean-stageprofile-binutils: clean-stageprofile-binutils -clean-stageprofile: clean-stageprofile-binutils -clean-stageprofile-binutils: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif binutils-bootstrap - - -.PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils -.PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils -maybe-all-stagefeedback-binutils: -maybe-clean-stagefeedback-binutils: -@if binutils-bootstrap -maybe-all-stagefeedback-binutils: all-stagefeedback-binutils -all-stagefeedback: all-stagefeedback-binutils -TARGET-stagefeedback-binutils = $(TARGET-binutils) -all-stagefeedback-binutils: configure-stagefeedback-binutils - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)" \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-binutils) - -maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils -clean-stagefeedback: clean-stagefeedback-binutils -clean-stagefeedback-binutils: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif binutils-bootstrap - - - - - -.PHONY: check-binutils maybe-check-binutils -maybe-check-binutils: -@if binutils -maybe-check-binutils: check-binutils - -check-binutils: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif binutils - -.PHONY: install-binutils maybe-install-binutils -maybe-install-binutils: -@if binutils -maybe-install-binutils: install-binutils - -install-binutils: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif binutils - -.PHONY: install-strip-binutils maybe-install-strip-binutils -maybe-install-strip-binutils: -@if binutils -maybe-install-strip-binutils: install-strip-binutils - -install-strip-binutils: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif binutils - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-binutils info-binutils -maybe-info-binutils: -@if binutils -maybe-info-binutils: info-binutils - -info-binutils: \ - configure-binutils - @[ -f ./binutils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in binutils" ; \ - (cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif binutils - -.PHONY: maybe-dvi-binutils dvi-binutils -maybe-dvi-binutils: -@if binutils -maybe-dvi-binutils: dvi-binutils - -dvi-binutils: \ - configure-binutils - @[ -f ./binutils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in binutils" ; \ - (cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif binutils - -.PHONY: maybe-pdf-binutils pdf-binutils -maybe-pdf-binutils: -@if binutils -maybe-pdf-binutils: pdf-binutils - -pdf-binutils: \ - configure-binutils - @[ -f ./binutils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in binutils" ; \ - (cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif binutils - -.PHONY: maybe-html-binutils html-binutils -maybe-html-binutils: -@if binutils -maybe-html-binutils: html-binutils - -html-binutils: \ - configure-binutils - @[ -f ./binutils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in binutils" ; \ - (cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif binutils - -.PHONY: maybe-TAGS-binutils TAGS-binutils -maybe-TAGS-binutils: -@if binutils -maybe-TAGS-binutils: TAGS-binutils - -TAGS-binutils: \ - configure-binutils - @[ -f ./binutils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in binutils" ; \ - (cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif binutils - -.PHONY: maybe-install-info-binutils install-info-binutils -maybe-install-info-binutils: -@if binutils -maybe-install-info-binutils: install-info-binutils - -install-info-binutils: \ - configure-binutils \ - info-binutils - @[ -f ./binutils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in binutils" ; \ - (cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif binutils - -.PHONY: maybe-install-pdf-binutils install-pdf-binutils -maybe-install-pdf-binutils: -@if binutils -maybe-install-pdf-binutils: install-pdf-binutils - -install-pdf-binutils: \ - configure-binutils \ - pdf-binutils - @[ -f ./binutils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in binutils" ; \ - (cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif binutils - -.PHONY: maybe-install-html-binutils install-html-binutils -maybe-install-html-binutils: -@if binutils -maybe-install-html-binutils: install-html-binutils - -install-html-binutils: \ - configure-binutils \ - html-binutils - @[ -f ./binutils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in binutils" ; \ - (cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif binutils - -.PHONY: maybe-installcheck-binutils installcheck-binutils -maybe-installcheck-binutils: -@if binutils -maybe-installcheck-binutils: installcheck-binutils - -installcheck-binutils: \ - configure-binutils - @[ -f ./binutils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in binutils" ; \ - (cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif binutils - -.PHONY: maybe-mostlyclean-binutils mostlyclean-binutils -maybe-mostlyclean-binutils: -@if binutils -maybe-mostlyclean-binutils: mostlyclean-binutils - -mostlyclean-binutils: - @[ -f ./binutils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in binutils" ; \ - (cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif binutils - -.PHONY: maybe-clean-binutils clean-binutils -maybe-clean-binutils: -@if binutils -maybe-clean-binutils: clean-binutils - -clean-binutils: - @[ -f ./binutils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in binutils" ; \ - (cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif binutils - -.PHONY: maybe-distclean-binutils distclean-binutils -maybe-distclean-binutils: -@if binutils -maybe-distclean-binutils: distclean-binutils - -distclean-binutils: - @[ -f ./binutils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in binutils" ; \ - (cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif binutils - -.PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils -maybe-maintainer-clean-binutils: -@if binutils -maybe-maintainer-clean-binutils: maintainer-clean-binutils - -maintainer-clean-binutils: - @[ -f ./binutils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in binutils" ; \ - (cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif binutils - - - -.PHONY: configure-bison maybe-configure-bison -maybe-configure-bison: -@if gcc-bootstrap -configure-bison: stage_current -@endif gcc-bootstrap -@if bison -maybe-configure-bison: configure-bison -configure-bison: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/bison; \ - cd "$(HOST_SUBDIR)/bison" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/bison/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/bison"; \ - libsrcdir="$$s/bison"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif bison - - - - - -.PHONY: all-bison maybe-all-bison -maybe-all-bison: -@if gcc-bootstrap -all-bison: stage_current -@endif gcc-bootstrap -@if bison -TARGET-bison=all -maybe-all-bison: all-bison -all-bison: configure-bison - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/bison && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-bison)) -@endif bison - - - - -.PHONY: check-bison maybe-check-bison -maybe-check-bison: -@if bison -maybe-check-bison: check-bison - -# This module is only tested in a native toolchain. -check-bison: - @: $(MAKE); $(unstage) - @if [ '$(host)' = '$(target)' ] ; then \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/bison && \ - $(MAKE) $(FLAGS_TO_PASS) check); \ - fi - -@endif bison - -.PHONY: install-bison maybe-install-bison -maybe-install-bison: -@if bison -maybe-install-bison: install-bison - -install-bison: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/bison && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif bison - -.PHONY: install-strip-bison maybe-install-strip-bison -maybe-install-strip-bison: -@if bison -maybe-install-strip-bison: install-strip-bison - -install-strip-bison: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/bison && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif bison - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-bison info-bison -maybe-info-bison: -@if bison -maybe-info-bison: info-bison - -info-bison: \ - configure-bison - @: $(MAKE); $(unstage) - @[ -f ./bison/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in bison" ; \ - (cd $(HOST_SUBDIR)/bison && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif bison - -.PHONY: maybe-dvi-bison dvi-bison -maybe-dvi-bison: -@if bison -maybe-dvi-bison: dvi-bison - -dvi-bison: \ - configure-bison - @: $(MAKE); $(unstage) - @[ -f ./bison/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in bison" ; \ - (cd $(HOST_SUBDIR)/bison && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif bison - -.PHONY: maybe-pdf-bison pdf-bison -maybe-pdf-bison: -@if bison -maybe-pdf-bison: pdf-bison - -pdf-bison: \ - configure-bison - @: $(MAKE); $(unstage) - @[ -f ./bison/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in bison" ; \ - (cd $(HOST_SUBDIR)/bison && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif bison - -.PHONY: maybe-html-bison html-bison -maybe-html-bison: -@if bison -maybe-html-bison: html-bison - -html-bison: \ - configure-bison - @: $(MAKE); $(unstage) - @[ -f ./bison/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in bison" ; \ - (cd $(HOST_SUBDIR)/bison && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif bison - -.PHONY: maybe-TAGS-bison TAGS-bison -maybe-TAGS-bison: -@if bison -maybe-TAGS-bison: TAGS-bison - -TAGS-bison: \ - configure-bison - @: $(MAKE); $(unstage) - @[ -f ./bison/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in bison" ; \ - (cd $(HOST_SUBDIR)/bison && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif bison - -.PHONY: maybe-install-info-bison install-info-bison -maybe-install-info-bison: -@if bison -maybe-install-info-bison: install-info-bison - -install-info-bison: \ - configure-bison \ - info-bison - @: $(MAKE); $(unstage) - @[ -f ./bison/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in bison" ; \ - (cd $(HOST_SUBDIR)/bison && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif bison - -.PHONY: maybe-install-pdf-bison install-pdf-bison -maybe-install-pdf-bison: -@if bison -maybe-install-pdf-bison: install-pdf-bison - -install-pdf-bison: \ - configure-bison \ - pdf-bison - @: $(MAKE); $(unstage) - @[ -f ./bison/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in bison" ; \ - (cd $(HOST_SUBDIR)/bison && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif bison - -.PHONY: maybe-install-html-bison install-html-bison -maybe-install-html-bison: -@if bison -maybe-install-html-bison: install-html-bison - -install-html-bison: \ - configure-bison \ - html-bison - @: $(MAKE); $(unstage) - @[ -f ./bison/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in bison" ; \ - (cd $(HOST_SUBDIR)/bison && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif bison - -.PHONY: maybe-installcheck-bison installcheck-bison -maybe-installcheck-bison: -@if bison -maybe-installcheck-bison: installcheck-bison - -installcheck-bison: \ - configure-bison - @: $(MAKE); $(unstage) - @[ -f ./bison/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in bison" ; \ - (cd $(HOST_SUBDIR)/bison && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif bison - -.PHONY: maybe-mostlyclean-bison mostlyclean-bison -maybe-mostlyclean-bison: -@if bison -maybe-mostlyclean-bison: mostlyclean-bison - -mostlyclean-bison: - @: $(MAKE); $(unstage) - @[ -f ./bison/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in bison" ; \ - (cd $(HOST_SUBDIR)/bison && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif bison - -.PHONY: maybe-clean-bison clean-bison -maybe-clean-bison: -@if bison -maybe-clean-bison: clean-bison - -clean-bison: - @: $(MAKE); $(unstage) - @[ -f ./bison/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in bison" ; \ - (cd $(HOST_SUBDIR)/bison && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif bison - -.PHONY: maybe-distclean-bison distclean-bison -maybe-distclean-bison: -@if bison -maybe-distclean-bison: distclean-bison - -distclean-bison: - @: $(MAKE); $(unstage) - @[ -f ./bison/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in bison" ; \ - (cd $(HOST_SUBDIR)/bison && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif bison - -.PHONY: maybe-maintainer-clean-bison maintainer-clean-bison -maybe-maintainer-clean-bison: -@if bison -maybe-maintainer-clean-bison: maintainer-clean-bison - -maintainer-clean-bison: - @: $(MAKE); $(unstage) - @[ -f ./bison/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in bison" ; \ - (cd $(HOST_SUBDIR)/bison && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif bison - - - -.PHONY: configure-cgen maybe-configure-cgen -maybe-configure-cgen: -@if gcc-bootstrap -configure-cgen: stage_current -@endif gcc-bootstrap -@if cgen -maybe-configure-cgen: configure-cgen -configure-cgen: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/cgen; \ - cd "$(HOST_SUBDIR)/cgen" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/cgen"; \ - libsrcdir="$$s/cgen"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif cgen - - - - - -.PHONY: all-cgen maybe-all-cgen -maybe-all-cgen: -@if gcc-bootstrap -all-cgen: stage_current -@endif gcc-bootstrap -@if cgen -TARGET-cgen=all -maybe-all-cgen: all-cgen -all-cgen: configure-cgen - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/cgen && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-cgen)) -@endif cgen - - - - -.PHONY: check-cgen maybe-check-cgen -maybe-check-cgen: -@if cgen -maybe-check-cgen: check-cgen - -check-cgen: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/cgen && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif cgen - -.PHONY: install-cgen maybe-install-cgen -maybe-install-cgen: -@if cgen -maybe-install-cgen: install-cgen - -install-cgen: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/cgen && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif cgen - -.PHONY: install-strip-cgen maybe-install-strip-cgen -maybe-install-strip-cgen: -@if cgen -maybe-install-strip-cgen: install-strip-cgen - -install-strip-cgen: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/cgen && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif cgen - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-cgen info-cgen -maybe-info-cgen: -@if cgen -maybe-info-cgen: info-cgen - -info-cgen: \ - configure-cgen - @: $(MAKE); $(unstage) - @[ -f ./cgen/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in cgen" ; \ - (cd $(HOST_SUBDIR)/cgen && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif cgen - -.PHONY: maybe-dvi-cgen dvi-cgen -maybe-dvi-cgen: -@if cgen -maybe-dvi-cgen: dvi-cgen - -dvi-cgen: \ - configure-cgen - @: $(MAKE); $(unstage) - @[ -f ./cgen/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in cgen" ; \ - (cd $(HOST_SUBDIR)/cgen && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif cgen - -.PHONY: maybe-pdf-cgen pdf-cgen -maybe-pdf-cgen: -@if cgen -maybe-pdf-cgen: pdf-cgen - -pdf-cgen: \ - configure-cgen - @: $(MAKE); $(unstage) - @[ -f ./cgen/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in cgen" ; \ - (cd $(HOST_SUBDIR)/cgen && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif cgen - -.PHONY: maybe-html-cgen html-cgen -maybe-html-cgen: -@if cgen -maybe-html-cgen: html-cgen - -html-cgen: \ - configure-cgen - @: $(MAKE); $(unstage) - @[ -f ./cgen/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in cgen" ; \ - (cd $(HOST_SUBDIR)/cgen && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif cgen - -.PHONY: maybe-TAGS-cgen TAGS-cgen -maybe-TAGS-cgen: -@if cgen -maybe-TAGS-cgen: TAGS-cgen - -TAGS-cgen: \ - configure-cgen - @: $(MAKE); $(unstage) - @[ -f ./cgen/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in cgen" ; \ - (cd $(HOST_SUBDIR)/cgen && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif cgen - -.PHONY: maybe-install-info-cgen install-info-cgen -maybe-install-info-cgen: -@if cgen -maybe-install-info-cgen: install-info-cgen - -install-info-cgen: \ - configure-cgen \ - info-cgen - @: $(MAKE); $(unstage) - @[ -f ./cgen/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in cgen" ; \ - (cd $(HOST_SUBDIR)/cgen && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif cgen - -.PHONY: maybe-install-pdf-cgen install-pdf-cgen -maybe-install-pdf-cgen: -@if cgen -maybe-install-pdf-cgen: install-pdf-cgen - -install-pdf-cgen: \ - configure-cgen \ - pdf-cgen - @: $(MAKE); $(unstage) - @[ -f ./cgen/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in cgen" ; \ - (cd $(HOST_SUBDIR)/cgen && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif cgen - -.PHONY: maybe-install-html-cgen install-html-cgen -maybe-install-html-cgen: -@if cgen -maybe-install-html-cgen: install-html-cgen - -install-html-cgen: \ - configure-cgen \ - html-cgen - @: $(MAKE); $(unstage) - @[ -f ./cgen/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in cgen" ; \ - (cd $(HOST_SUBDIR)/cgen && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif cgen - -.PHONY: maybe-installcheck-cgen installcheck-cgen -maybe-installcheck-cgen: -@if cgen -maybe-installcheck-cgen: installcheck-cgen - -installcheck-cgen: \ - configure-cgen - @: $(MAKE); $(unstage) - @[ -f ./cgen/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in cgen" ; \ - (cd $(HOST_SUBDIR)/cgen && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif cgen - -.PHONY: maybe-mostlyclean-cgen mostlyclean-cgen -maybe-mostlyclean-cgen: -@if cgen -maybe-mostlyclean-cgen: mostlyclean-cgen - -mostlyclean-cgen: - @: $(MAKE); $(unstage) - @[ -f ./cgen/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in cgen" ; \ - (cd $(HOST_SUBDIR)/cgen && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif cgen - -.PHONY: maybe-clean-cgen clean-cgen -maybe-clean-cgen: -@if cgen -maybe-clean-cgen: clean-cgen - -clean-cgen: - @: $(MAKE); $(unstage) - @[ -f ./cgen/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in cgen" ; \ - (cd $(HOST_SUBDIR)/cgen && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif cgen - -.PHONY: maybe-distclean-cgen distclean-cgen -maybe-distclean-cgen: -@if cgen -maybe-distclean-cgen: distclean-cgen - -distclean-cgen: - @: $(MAKE); $(unstage) - @[ -f ./cgen/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in cgen" ; \ - (cd $(HOST_SUBDIR)/cgen && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif cgen - -.PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen -maybe-maintainer-clean-cgen: -@if cgen -maybe-maintainer-clean-cgen: maintainer-clean-cgen - -maintainer-clean-cgen: - @: $(MAKE); $(unstage) - @[ -f ./cgen/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in cgen" ; \ - (cd $(HOST_SUBDIR)/cgen && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif cgen - - - -.PHONY: configure-dejagnu maybe-configure-dejagnu -maybe-configure-dejagnu: -@if gcc-bootstrap -configure-dejagnu: stage_current -@endif gcc-bootstrap -@if dejagnu -maybe-configure-dejagnu: configure-dejagnu -configure-dejagnu: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/dejagnu; \ - cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/dejagnu"; \ - libsrcdir="$$s/dejagnu"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif dejagnu - - - - - -.PHONY: all-dejagnu maybe-all-dejagnu -maybe-all-dejagnu: -@if gcc-bootstrap -all-dejagnu: stage_current -@endif gcc-bootstrap -@if dejagnu -TARGET-dejagnu=all -maybe-all-dejagnu: all-dejagnu -all-dejagnu: configure-dejagnu - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/dejagnu && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-dejagnu)) -@endif dejagnu - - - - -.PHONY: check-dejagnu maybe-check-dejagnu -maybe-check-dejagnu: -@if dejagnu -maybe-check-dejagnu: check-dejagnu - -check-dejagnu: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/dejagnu && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif dejagnu - -.PHONY: install-dejagnu maybe-install-dejagnu -maybe-install-dejagnu: -@if dejagnu -maybe-install-dejagnu: install-dejagnu - -install-dejagnu: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/dejagnu && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif dejagnu - -.PHONY: install-strip-dejagnu maybe-install-strip-dejagnu -maybe-install-strip-dejagnu: -@if dejagnu -maybe-install-strip-dejagnu: install-strip-dejagnu - -install-strip-dejagnu: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/dejagnu && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif dejagnu - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-dejagnu info-dejagnu -maybe-info-dejagnu: -@if dejagnu -maybe-info-dejagnu: info-dejagnu - -info-dejagnu: \ - configure-dejagnu - @: $(MAKE); $(unstage) - @[ -f ./dejagnu/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in dejagnu" ; \ - (cd $(HOST_SUBDIR)/dejagnu && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif dejagnu - -.PHONY: maybe-dvi-dejagnu dvi-dejagnu -maybe-dvi-dejagnu: -@if dejagnu -maybe-dvi-dejagnu: dvi-dejagnu - -dvi-dejagnu: \ - configure-dejagnu - @: $(MAKE); $(unstage) - @[ -f ./dejagnu/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in dejagnu" ; \ - (cd $(HOST_SUBDIR)/dejagnu && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif dejagnu - -.PHONY: maybe-pdf-dejagnu pdf-dejagnu -maybe-pdf-dejagnu: -@if dejagnu -maybe-pdf-dejagnu: pdf-dejagnu - -pdf-dejagnu: \ - configure-dejagnu - @: $(MAKE); $(unstage) - @[ -f ./dejagnu/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in dejagnu" ; \ - (cd $(HOST_SUBDIR)/dejagnu && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif dejagnu - -.PHONY: maybe-html-dejagnu html-dejagnu -maybe-html-dejagnu: -@if dejagnu -maybe-html-dejagnu: html-dejagnu - -html-dejagnu: \ - configure-dejagnu - @: $(MAKE); $(unstage) - @[ -f ./dejagnu/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in dejagnu" ; \ - (cd $(HOST_SUBDIR)/dejagnu && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif dejagnu - -.PHONY: maybe-TAGS-dejagnu TAGS-dejagnu -maybe-TAGS-dejagnu: -@if dejagnu -maybe-TAGS-dejagnu: TAGS-dejagnu - -TAGS-dejagnu: \ - configure-dejagnu - @: $(MAKE); $(unstage) - @[ -f ./dejagnu/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in dejagnu" ; \ - (cd $(HOST_SUBDIR)/dejagnu && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif dejagnu - -.PHONY: maybe-install-info-dejagnu install-info-dejagnu -maybe-install-info-dejagnu: -@if dejagnu -maybe-install-info-dejagnu: install-info-dejagnu - -install-info-dejagnu: \ - configure-dejagnu \ - info-dejagnu - @: $(MAKE); $(unstage) - @[ -f ./dejagnu/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in dejagnu" ; \ - (cd $(HOST_SUBDIR)/dejagnu && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif dejagnu - -.PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu -maybe-install-pdf-dejagnu: -@if dejagnu -maybe-install-pdf-dejagnu: install-pdf-dejagnu - -install-pdf-dejagnu: \ - configure-dejagnu \ - pdf-dejagnu - @: $(MAKE); $(unstage) - @[ -f ./dejagnu/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in dejagnu" ; \ - (cd $(HOST_SUBDIR)/dejagnu && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif dejagnu - -.PHONY: maybe-install-html-dejagnu install-html-dejagnu -maybe-install-html-dejagnu: -@if dejagnu -maybe-install-html-dejagnu: install-html-dejagnu - -install-html-dejagnu: \ - configure-dejagnu \ - html-dejagnu - @: $(MAKE); $(unstage) - @[ -f ./dejagnu/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in dejagnu" ; \ - (cd $(HOST_SUBDIR)/dejagnu && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif dejagnu - -.PHONY: maybe-installcheck-dejagnu installcheck-dejagnu -maybe-installcheck-dejagnu: -@if dejagnu -maybe-installcheck-dejagnu: installcheck-dejagnu - -installcheck-dejagnu: \ - configure-dejagnu - @: $(MAKE); $(unstage) - @[ -f ./dejagnu/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in dejagnu" ; \ - (cd $(HOST_SUBDIR)/dejagnu && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif dejagnu - -.PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu -maybe-mostlyclean-dejagnu: -@if dejagnu -maybe-mostlyclean-dejagnu: mostlyclean-dejagnu - -mostlyclean-dejagnu: - @: $(MAKE); $(unstage) - @[ -f ./dejagnu/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in dejagnu" ; \ - (cd $(HOST_SUBDIR)/dejagnu && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif dejagnu - -.PHONY: maybe-clean-dejagnu clean-dejagnu -maybe-clean-dejagnu: -@if dejagnu -maybe-clean-dejagnu: clean-dejagnu - -clean-dejagnu: - @: $(MAKE); $(unstage) - @[ -f ./dejagnu/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in dejagnu" ; \ - (cd $(HOST_SUBDIR)/dejagnu && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif dejagnu - -.PHONY: maybe-distclean-dejagnu distclean-dejagnu -maybe-distclean-dejagnu: -@if dejagnu -maybe-distclean-dejagnu: distclean-dejagnu - -distclean-dejagnu: - @: $(MAKE); $(unstage) - @[ -f ./dejagnu/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in dejagnu" ; \ - (cd $(HOST_SUBDIR)/dejagnu && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif dejagnu - -.PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu -maybe-maintainer-clean-dejagnu: -@if dejagnu -maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu - -maintainer-clean-dejagnu: - @: $(MAKE); $(unstage) - @[ -f ./dejagnu/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in dejagnu" ; \ - (cd $(HOST_SUBDIR)/dejagnu && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif dejagnu - - - -.PHONY: configure-etc maybe-configure-etc -maybe-configure-etc: -@if gcc-bootstrap -configure-etc: stage_current -@endif gcc-bootstrap -@if etc -maybe-configure-etc: configure-etc -configure-etc: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/etc; \ - cd "$(HOST_SUBDIR)/etc" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/etc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/etc"; \ - libsrcdir="$$s/etc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif etc - - - - - -.PHONY: all-etc maybe-all-etc -maybe-all-etc: -@if gcc-bootstrap -all-etc: stage_current -@endif gcc-bootstrap -@if etc -TARGET-etc=all -maybe-all-etc: all-etc -all-etc: configure-etc - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/etc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-etc)) -@endif etc - - - - -.PHONY: check-etc maybe-check-etc -maybe-check-etc: -@if etc -maybe-check-etc: check-etc - -check-etc: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/etc && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif etc - -.PHONY: install-etc maybe-install-etc -maybe-install-etc: -@if etc -maybe-install-etc: install-etc - -install-etc: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/etc && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif etc - -.PHONY: install-strip-etc maybe-install-strip-etc -maybe-install-strip-etc: -@if etc -maybe-install-strip-etc: install-strip-etc - -install-strip-etc: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/etc && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif etc - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-etc info-etc -maybe-info-etc: -@if etc -maybe-info-etc: info-etc - -info-etc: \ - configure-etc - @: $(MAKE); $(unstage) - @[ -f ./etc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in etc" ; \ - (cd $(HOST_SUBDIR)/etc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif etc - -.PHONY: maybe-dvi-etc dvi-etc -maybe-dvi-etc: -@if etc -maybe-dvi-etc: dvi-etc - -dvi-etc: \ - configure-etc - @: $(MAKE); $(unstage) - @[ -f ./etc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in etc" ; \ - (cd $(HOST_SUBDIR)/etc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif etc - -.PHONY: maybe-pdf-etc pdf-etc -maybe-pdf-etc: -@if etc -maybe-pdf-etc: pdf-etc - -pdf-etc: \ - configure-etc - @: $(MAKE); $(unstage) - @[ -f ./etc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in etc" ; \ - (cd $(HOST_SUBDIR)/etc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif etc - -.PHONY: maybe-html-etc html-etc -maybe-html-etc: -@if etc -maybe-html-etc: html-etc - -html-etc: \ - configure-etc - @: $(MAKE); $(unstage) - @[ -f ./etc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in etc" ; \ - (cd $(HOST_SUBDIR)/etc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif etc - -.PHONY: maybe-TAGS-etc TAGS-etc -maybe-TAGS-etc: -@if etc -maybe-TAGS-etc: TAGS-etc - -TAGS-etc: \ - configure-etc - @: $(MAKE); $(unstage) - @[ -f ./etc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in etc" ; \ - (cd $(HOST_SUBDIR)/etc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif etc - -.PHONY: maybe-install-info-etc install-info-etc -maybe-install-info-etc: -@if etc -maybe-install-info-etc: install-info-etc - -install-info-etc: \ - configure-etc \ - info-etc - @: $(MAKE); $(unstage) - @[ -f ./etc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in etc" ; \ - (cd $(HOST_SUBDIR)/etc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif etc - -.PHONY: maybe-install-pdf-etc install-pdf-etc -maybe-install-pdf-etc: -@if etc -maybe-install-pdf-etc: install-pdf-etc - -install-pdf-etc: \ - configure-etc \ - pdf-etc - @: $(MAKE); $(unstage) - @[ -f ./etc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in etc" ; \ - (cd $(HOST_SUBDIR)/etc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif etc - -.PHONY: maybe-install-html-etc install-html-etc -maybe-install-html-etc: -@if etc -maybe-install-html-etc: install-html-etc - -install-html-etc: \ - configure-etc \ - html-etc - @: $(MAKE); $(unstage) - @[ -f ./etc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in etc" ; \ - (cd $(HOST_SUBDIR)/etc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif etc - -.PHONY: maybe-installcheck-etc installcheck-etc -maybe-installcheck-etc: -@if etc -maybe-installcheck-etc: installcheck-etc - -installcheck-etc: \ - configure-etc - @: $(MAKE); $(unstage) - @[ -f ./etc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in etc" ; \ - (cd $(HOST_SUBDIR)/etc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif etc - -.PHONY: maybe-mostlyclean-etc mostlyclean-etc -maybe-mostlyclean-etc: -@if etc -maybe-mostlyclean-etc: mostlyclean-etc - -mostlyclean-etc: - @: $(MAKE); $(unstage) - @[ -f ./etc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in etc" ; \ - (cd $(HOST_SUBDIR)/etc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif etc - -.PHONY: maybe-clean-etc clean-etc -maybe-clean-etc: -@if etc -maybe-clean-etc: clean-etc - -clean-etc: - @: $(MAKE); $(unstage) - @[ -f ./etc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in etc" ; \ - (cd $(HOST_SUBDIR)/etc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif etc - -.PHONY: maybe-distclean-etc distclean-etc -maybe-distclean-etc: -@if etc -maybe-distclean-etc: distclean-etc - -distclean-etc: - @: $(MAKE); $(unstage) - @[ -f ./etc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in etc" ; \ - (cd $(HOST_SUBDIR)/etc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif etc - -.PHONY: maybe-maintainer-clean-etc maintainer-clean-etc -maybe-maintainer-clean-etc: -@if etc -maybe-maintainer-clean-etc: maintainer-clean-etc - -maintainer-clean-etc: - @: $(MAKE); $(unstage) - @[ -f ./etc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in etc" ; \ - (cd $(HOST_SUBDIR)/etc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif etc - - - -.PHONY: configure-fastjar maybe-configure-fastjar -maybe-configure-fastjar: -@if gcc-bootstrap -configure-fastjar: stage_current -@endif gcc-bootstrap -@if fastjar -maybe-configure-fastjar: configure-fastjar -configure-fastjar: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/fastjar; \ - cd "$(HOST_SUBDIR)/fastjar" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/fastjar"; \ - libsrcdir="$$s/fastjar"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif fastjar - - - - - -.PHONY: all-fastjar maybe-all-fastjar -maybe-all-fastjar: -@if gcc-bootstrap -all-fastjar: stage_current -@endif gcc-bootstrap -@if fastjar -TARGET-fastjar=all -maybe-all-fastjar: all-fastjar -all-fastjar: configure-fastjar - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/fastjar && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-fastjar)) -@endif fastjar - - - - -.PHONY: check-fastjar maybe-check-fastjar -maybe-check-fastjar: -@if fastjar -maybe-check-fastjar: check-fastjar - -# This module is only tested in a native toolchain. -check-fastjar: - @: $(MAKE); $(unstage) - @if [ '$(host)' = '$(target)' ] ; then \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/fastjar && \ - $(MAKE) $(FLAGS_TO_PASS) check); \ - fi - -@endif fastjar - -.PHONY: install-fastjar maybe-install-fastjar -maybe-install-fastjar: -@if fastjar -maybe-install-fastjar: install-fastjar - -install-fastjar: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/fastjar && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif fastjar - -.PHONY: install-strip-fastjar maybe-install-strip-fastjar -maybe-install-strip-fastjar: -@if fastjar -maybe-install-strip-fastjar: install-strip-fastjar - -install-strip-fastjar: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/fastjar && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif fastjar - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-fastjar info-fastjar -maybe-info-fastjar: -@if fastjar -maybe-info-fastjar: info-fastjar - -info-fastjar: \ - configure-fastjar - @: $(MAKE); $(unstage) - @[ -f ./fastjar/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in fastjar" ; \ - (cd $(HOST_SUBDIR)/fastjar && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif fastjar - -.PHONY: maybe-dvi-fastjar dvi-fastjar -maybe-dvi-fastjar: -@if fastjar -maybe-dvi-fastjar: dvi-fastjar - -dvi-fastjar: \ - configure-fastjar - @: $(MAKE); $(unstage) - @[ -f ./fastjar/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in fastjar" ; \ - (cd $(HOST_SUBDIR)/fastjar && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif fastjar - -.PHONY: maybe-pdf-fastjar pdf-fastjar -maybe-pdf-fastjar: -@if fastjar -maybe-pdf-fastjar: pdf-fastjar - -pdf-fastjar: \ - configure-fastjar - @: $(MAKE); $(unstage) - @[ -f ./fastjar/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in fastjar" ; \ - (cd $(HOST_SUBDIR)/fastjar && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif fastjar - -.PHONY: maybe-html-fastjar html-fastjar -maybe-html-fastjar: -@if fastjar -maybe-html-fastjar: html-fastjar - -html-fastjar: \ - configure-fastjar - @: $(MAKE); $(unstage) - @[ -f ./fastjar/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in fastjar" ; \ - (cd $(HOST_SUBDIR)/fastjar && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif fastjar - -.PHONY: maybe-TAGS-fastjar TAGS-fastjar -maybe-TAGS-fastjar: -@if fastjar -maybe-TAGS-fastjar: TAGS-fastjar - -TAGS-fastjar: \ - configure-fastjar - @: $(MAKE); $(unstage) - @[ -f ./fastjar/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in fastjar" ; \ - (cd $(HOST_SUBDIR)/fastjar && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif fastjar - -.PHONY: maybe-install-info-fastjar install-info-fastjar -maybe-install-info-fastjar: -@if fastjar -maybe-install-info-fastjar: install-info-fastjar - -install-info-fastjar: \ - configure-fastjar \ - info-fastjar - @: $(MAKE); $(unstage) - @[ -f ./fastjar/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in fastjar" ; \ - (cd $(HOST_SUBDIR)/fastjar && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif fastjar - -.PHONY: maybe-install-pdf-fastjar install-pdf-fastjar -maybe-install-pdf-fastjar: -@if fastjar -maybe-install-pdf-fastjar: install-pdf-fastjar - -install-pdf-fastjar: \ - configure-fastjar \ - pdf-fastjar - @: $(MAKE); $(unstage) - @[ -f ./fastjar/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in fastjar" ; \ - (cd $(HOST_SUBDIR)/fastjar && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif fastjar - -.PHONY: maybe-install-html-fastjar install-html-fastjar -maybe-install-html-fastjar: -@if fastjar -maybe-install-html-fastjar: install-html-fastjar - -install-html-fastjar: \ - configure-fastjar \ - html-fastjar - @: $(MAKE); $(unstage) - @[ -f ./fastjar/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in fastjar" ; \ - (cd $(HOST_SUBDIR)/fastjar && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif fastjar - -.PHONY: maybe-installcheck-fastjar installcheck-fastjar -maybe-installcheck-fastjar: -@if fastjar -maybe-installcheck-fastjar: installcheck-fastjar - -installcheck-fastjar: \ - configure-fastjar - @: $(MAKE); $(unstage) - @[ -f ./fastjar/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in fastjar" ; \ - (cd $(HOST_SUBDIR)/fastjar && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif fastjar - -.PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar -maybe-mostlyclean-fastjar: -@if fastjar -maybe-mostlyclean-fastjar: mostlyclean-fastjar - -mostlyclean-fastjar: - @: $(MAKE); $(unstage) - @[ -f ./fastjar/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in fastjar" ; \ - (cd $(HOST_SUBDIR)/fastjar && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif fastjar - -.PHONY: maybe-clean-fastjar clean-fastjar -maybe-clean-fastjar: -@if fastjar -maybe-clean-fastjar: clean-fastjar - -clean-fastjar: - @: $(MAKE); $(unstage) - @[ -f ./fastjar/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in fastjar" ; \ - (cd $(HOST_SUBDIR)/fastjar && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif fastjar - -.PHONY: maybe-distclean-fastjar distclean-fastjar -maybe-distclean-fastjar: -@if fastjar -maybe-distclean-fastjar: distclean-fastjar - -distclean-fastjar: - @: $(MAKE); $(unstage) - @[ -f ./fastjar/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in fastjar" ; \ - (cd $(HOST_SUBDIR)/fastjar && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif fastjar - -.PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar -maybe-maintainer-clean-fastjar: -@if fastjar -maybe-maintainer-clean-fastjar: maintainer-clean-fastjar - -maintainer-clean-fastjar: - @: $(MAKE); $(unstage) - @[ -f ./fastjar/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in fastjar" ; \ - (cd $(HOST_SUBDIR)/fastjar && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif fastjar - - - -.PHONY: configure-fixincludes maybe-configure-fixincludes -maybe-configure-fixincludes: -@if gcc-bootstrap -configure-fixincludes: stage_current -@endif gcc-bootstrap -@if fixincludes -maybe-configure-fixincludes: configure-fixincludes -configure-fixincludes: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/fixincludes; \ - cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/fixincludes"; \ - libsrcdir="$$s/fixincludes"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif fixincludes - - - - - -.PHONY: all-fixincludes maybe-all-fixincludes -maybe-all-fixincludes: -@if gcc-bootstrap -all-fixincludes: stage_current -@endif gcc-bootstrap -@if fixincludes -TARGET-fixincludes=all -maybe-all-fixincludes: all-fixincludes -all-fixincludes: configure-fixincludes - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/fixincludes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-fixincludes)) -@endif fixincludes - - - - -.PHONY: check-fixincludes maybe-check-fixincludes -maybe-check-fixincludes: -@if fixincludes -maybe-check-fixincludes: check-fixincludes - -check-fixincludes: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/fixincludes && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif fixincludes - -.PHONY: install-fixincludes maybe-install-fixincludes -maybe-install-fixincludes: -@if fixincludes -maybe-install-fixincludes: install-fixincludes - -install-fixincludes: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/fixincludes && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif fixincludes - -.PHONY: install-strip-fixincludes maybe-install-strip-fixincludes -maybe-install-strip-fixincludes: -@if fixincludes -maybe-install-strip-fixincludes: install-strip-fixincludes - -install-strip-fixincludes: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/fixincludes && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif fixincludes - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-fixincludes info-fixincludes -maybe-info-fixincludes: -@if fixincludes -maybe-info-fixincludes: info-fixincludes - -info-fixincludes: \ - configure-fixincludes - @: $(MAKE); $(unstage) - @[ -f ./fixincludes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in fixincludes" ; \ - (cd $(HOST_SUBDIR)/fixincludes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif fixincludes - -.PHONY: maybe-dvi-fixincludes dvi-fixincludes -maybe-dvi-fixincludes: -@if fixincludes -maybe-dvi-fixincludes: dvi-fixincludes - -dvi-fixincludes: \ - configure-fixincludes - @: $(MAKE); $(unstage) - @[ -f ./fixincludes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in fixincludes" ; \ - (cd $(HOST_SUBDIR)/fixincludes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif fixincludes - -.PHONY: maybe-pdf-fixincludes pdf-fixincludes -maybe-pdf-fixincludes: -@if fixincludes -maybe-pdf-fixincludes: pdf-fixincludes - -pdf-fixincludes: \ - configure-fixincludes - @: $(MAKE); $(unstage) - @[ -f ./fixincludes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in fixincludes" ; \ - (cd $(HOST_SUBDIR)/fixincludes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif fixincludes - -.PHONY: maybe-html-fixincludes html-fixincludes -maybe-html-fixincludes: -@if fixincludes -maybe-html-fixincludes: html-fixincludes - -html-fixincludes: \ - configure-fixincludes - @: $(MAKE); $(unstage) - @[ -f ./fixincludes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in fixincludes" ; \ - (cd $(HOST_SUBDIR)/fixincludes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif fixincludes - -.PHONY: maybe-TAGS-fixincludes TAGS-fixincludes -maybe-TAGS-fixincludes: -@if fixincludes -maybe-TAGS-fixincludes: TAGS-fixincludes - -# fixincludes doesn't support TAGS. -TAGS-fixincludes: - -@endif fixincludes - -.PHONY: maybe-install-info-fixincludes install-info-fixincludes -maybe-install-info-fixincludes: -@if fixincludes -maybe-install-info-fixincludes: install-info-fixincludes - -install-info-fixincludes: \ - configure-fixincludes \ - info-fixincludes - @: $(MAKE); $(unstage) - @[ -f ./fixincludes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in fixincludes" ; \ - (cd $(HOST_SUBDIR)/fixincludes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif fixincludes - -.PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes -maybe-install-pdf-fixincludes: -@if fixincludes -maybe-install-pdf-fixincludes: install-pdf-fixincludes - -install-pdf-fixincludes: \ - configure-fixincludes \ - pdf-fixincludes - @: $(MAKE); $(unstage) - @[ -f ./fixincludes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in fixincludes" ; \ - (cd $(HOST_SUBDIR)/fixincludes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif fixincludes - -.PHONY: maybe-install-html-fixincludes install-html-fixincludes -maybe-install-html-fixincludes: -@if fixincludes -maybe-install-html-fixincludes: install-html-fixincludes - -install-html-fixincludes: \ - configure-fixincludes \ - html-fixincludes - @: $(MAKE); $(unstage) - @[ -f ./fixincludes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in fixincludes" ; \ - (cd $(HOST_SUBDIR)/fixincludes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif fixincludes - -.PHONY: maybe-installcheck-fixincludes installcheck-fixincludes -maybe-installcheck-fixincludes: -@if fixincludes -maybe-installcheck-fixincludes: installcheck-fixincludes - -installcheck-fixincludes: \ - configure-fixincludes - @: $(MAKE); $(unstage) - @[ -f ./fixincludes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in fixincludes" ; \ - (cd $(HOST_SUBDIR)/fixincludes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif fixincludes - -.PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes -maybe-mostlyclean-fixincludes: -@if fixincludes -maybe-mostlyclean-fixincludes: mostlyclean-fixincludes - -mostlyclean-fixincludes: - @: $(MAKE); $(unstage) - @[ -f ./fixincludes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in fixincludes" ; \ - (cd $(HOST_SUBDIR)/fixincludes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif fixincludes - -.PHONY: maybe-clean-fixincludes clean-fixincludes -maybe-clean-fixincludes: -@if fixincludes -maybe-clean-fixincludes: clean-fixincludes - -clean-fixincludes: - @: $(MAKE); $(unstage) - @[ -f ./fixincludes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in fixincludes" ; \ - (cd $(HOST_SUBDIR)/fixincludes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif fixincludes - -.PHONY: maybe-distclean-fixincludes distclean-fixincludes -maybe-distclean-fixincludes: -@if fixincludes -maybe-distclean-fixincludes: distclean-fixincludes - -distclean-fixincludes: - @: $(MAKE); $(unstage) - @[ -f ./fixincludes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in fixincludes" ; \ - (cd $(HOST_SUBDIR)/fixincludes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif fixincludes - -.PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes -maybe-maintainer-clean-fixincludes: -@if fixincludes -maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes - -maintainer-clean-fixincludes: - @: $(MAKE); $(unstage) - @[ -f ./fixincludes/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in fixincludes" ; \ - (cd $(HOST_SUBDIR)/fixincludes && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif fixincludes - - - -.PHONY: configure-flex maybe-configure-flex -maybe-configure-flex: -@if gcc-bootstrap -configure-flex: stage_current -@endif gcc-bootstrap -@if flex -maybe-configure-flex: configure-flex -configure-flex: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/flex; \ - cd "$(HOST_SUBDIR)/flex" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/flex/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/flex"; \ - libsrcdir="$$s/flex"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif flex - - - - - -.PHONY: all-flex maybe-all-flex -maybe-all-flex: -@if gcc-bootstrap -all-flex: stage_current -@endif gcc-bootstrap -@if flex -TARGET-flex=all -maybe-all-flex: all-flex -all-flex: configure-flex - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/flex && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-flex)) -@endif flex - - - - -.PHONY: check-flex maybe-check-flex -maybe-check-flex: -@if flex -maybe-check-flex: check-flex - -# This module is only tested in a native toolchain. -check-flex: - @: $(MAKE); $(unstage) - @if [ '$(host)' = '$(target)' ] ; then \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/flex && \ - $(MAKE) $(FLAGS_TO_PASS) check); \ - fi - -@endif flex - -.PHONY: install-flex maybe-install-flex -maybe-install-flex: -@if flex -maybe-install-flex: install-flex - -install-flex: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/flex && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif flex - -.PHONY: install-strip-flex maybe-install-strip-flex -maybe-install-strip-flex: -@if flex -maybe-install-strip-flex: install-strip-flex - -install-strip-flex: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/flex && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif flex - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-flex info-flex -maybe-info-flex: -@if flex -maybe-info-flex: info-flex - -info-flex: \ - configure-flex - @: $(MAKE); $(unstage) - @[ -f ./flex/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in flex" ; \ - (cd $(HOST_SUBDIR)/flex && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif flex - -.PHONY: maybe-dvi-flex dvi-flex -maybe-dvi-flex: -@if flex -maybe-dvi-flex: dvi-flex - -dvi-flex: \ - configure-flex - @: $(MAKE); $(unstage) - @[ -f ./flex/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in flex" ; \ - (cd $(HOST_SUBDIR)/flex && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif flex - -.PHONY: maybe-pdf-flex pdf-flex -maybe-pdf-flex: -@if flex -maybe-pdf-flex: pdf-flex - -pdf-flex: \ - configure-flex - @: $(MAKE); $(unstage) - @[ -f ./flex/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in flex" ; \ - (cd $(HOST_SUBDIR)/flex && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif flex - -.PHONY: maybe-html-flex html-flex -maybe-html-flex: -@if flex -maybe-html-flex: html-flex - -html-flex: \ - configure-flex - @: $(MAKE); $(unstage) - @[ -f ./flex/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in flex" ; \ - (cd $(HOST_SUBDIR)/flex && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif flex - -.PHONY: maybe-TAGS-flex TAGS-flex -maybe-TAGS-flex: -@if flex -maybe-TAGS-flex: TAGS-flex - -TAGS-flex: \ - configure-flex - @: $(MAKE); $(unstage) - @[ -f ./flex/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in flex" ; \ - (cd $(HOST_SUBDIR)/flex && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif flex - -.PHONY: maybe-install-info-flex install-info-flex -maybe-install-info-flex: -@if flex -maybe-install-info-flex: install-info-flex - -install-info-flex: \ - configure-flex \ - info-flex - @: $(MAKE); $(unstage) - @[ -f ./flex/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in flex" ; \ - (cd $(HOST_SUBDIR)/flex && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif flex - -.PHONY: maybe-install-pdf-flex install-pdf-flex -maybe-install-pdf-flex: -@if flex -maybe-install-pdf-flex: install-pdf-flex - -install-pdf-flex: \ - configure-flex \ - pdf-flex - @: $(MAKE); $(unstage) - @[ -f ./flex/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in flex" ; \ - (cd $(HOST_SUBDIR)/flex && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif flex - -.PHONY: maybe-install-html-flex install-html-flex -maybe-install-html-flex: -@if flex -maybe-install-html-flex: install-html-flex - -install-html-flex: \ - configure-flex \ - html-flex - @: $(MAKE); $(unstage) - @[ -f ./flex/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in flex" ; \ - (cd $(HOST_SUBDIR)/flex && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif flex - -.PHONY: maybe-installcheck-flex installcheck-flex -maybe-installcheck-flex: -@if flex -maybe-installcheck-flex: installcheck-flex - -installcheck-flex: \ - configure-flex - @: $(MAKE); $(unstage) - @[ -f ./flex/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in flex" ; \ - (cd $(HOST_SUBDIR)/flex && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif flex - -.PHONY: maybe-mostlyclean-flex mostlyclean-flex -maybe-mostlyclean-flex: -@if flex -maybe-mostlyclean-flex: mostlyclean-flex - -mostlyclean-flex: - @: $(MAKE); $(unstage) - @[ -f ./flex/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in flex" ; \ - (cd $(HOST_SUBDIR)/flex && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif flex - -.PHONY: maybe-clean-flex clean-flex -maybe-clean-flex: -@if flex -maybe-clean-flex: clean-flex - -clean-flex: - @: $(MAKE); $(unstage) - @[ -f ./flex/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in flex" ; \ - (cd $(HOST_SUBDIR)/flex && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif flex - -.PHONY: maybe-distclean-flex distclean-flex -maybe-distclean-flex: -@if flex -maybe-distclean-flex: distclean-flex - -distclean-flex: - @: $(MAKE); $(unstage) - @[ -f ./flex/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in flex" ; \ - (cd $(HOST_SUBDIR)/flex && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif flex - -.PHONY: maybe-maintainer-clean-flex maintainer-clean-flex -maybe-maintainer-clean-flex: -@if flex -maybe-maintainer-clean-flex: maintainer-clean-flex - -maintainer-clean-flex: - @: $(MAKE); $(unstage) - @[ -f ./flex/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in flex" ; \ - (cd $(HOST_SUBDIR)/flex && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif flex - - - -.PHONY: configure-gas maybe-configure-gas -maybe-configure-gas: -@if gcc-bootstrap -configure-gas: stage_current -@endif gcc-bootstrap -@if gas -maybe-configure-gas: configure-gas -configure-gas: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/gas; \ - cd "$(HOST_SUBDIR)/gas" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gas"; \ - libsrcdir="$$s/gas"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif gas - - - -.PHONY: configure-stage1-gas maybe-configure-stage1-gas -maybe-configure-stage1-gas: -@if gas-bootstrap -maybe-configure-stage1-gas: configure-stage1-gas -configure-stage1-gas: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ - cd $(HOST_SUBDIR)/gas || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gas"; \ - libsrcdir="$$s/gas"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) -@endif gas-bootstrap - -.PHONY: configure-stage2-gas maybe-configure-stage2-gas -maybe-configure-stage2-gas: -@if gas-bootstrap -maybe-configure-stage2-gas: configure-stage2-gas -configure-stage2-gas: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ - cd $(HOST_SUBDIR)/gas || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gas"; \ - libsrcdir="$$s/gas"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) -@endif gas-bootstrap - -.PHONY: configure-stage3-gas maybe-configure-stage3-gas -maybe-configure-stage3-gas: -@if gas-bootstrap -maybe-configure-stage3-gas: configure-stage3-gas -configure-stage3-gas: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ - cd $(HOST_SUBDIR)/gas || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gas"; \ - libsrcdir="$$s/gas"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) -@endif gas-bootstrap - -.PHONY: configure-stage4-gas maybe-configure-stage4-gas -maybe-configure-stage4-gas: -@if gas-bootstrap -maybe-configure-stage4-gas: configure-stage4-gas -configure-stage4-gas: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ - cd $(HOST_SUBDIR)/gas || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gas"; \ - libsrcdir="$$s/gas"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) -@endif gas-bootstrap - -.PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas -maybe-configure-stageprofile-gas: -@if gas-bootstrap -maybe-configure-stageprofile-gas: configure-stageprofile-gas -configure-stageprofile-gas: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ - cd $(HOST_SUBDIR)/gas || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gas"; \ - libsrcdir="$$s/gas"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) -@endif gas-bootstrap - -.PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas -maybe-configure-stagefeedback-gas: -@if gas-bootstrap -maybe-configure-stagefeedback-gas: configure-stagefeedback-gas -configure-stagefeedback-gas: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ - cd $(HOST_SUBDIR)/gas || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gas"; \ - libsrcdir="$$s/gas"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) -@endif gas-bootstrap - - - - - -.PHONY: all-gas maybe-all-gas -maybe-all-gas: -@if gcc-bootstrap -all-gas: stage_current -@endif gcc-bootstrap -@if gas -TARGET-gas=all -maybe-all-gas: all-gas -all-gas: configure-gas - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-gas)) -@endif gas - - - -.PHONY: all-stage1-gas maybe-all-stage1-gas -.PHONY: clean-stage1-gas maybe-clean-stage1-gas -maybe-all-stage1-gas: -maybe-clean-stage1-gas: -@if gas-bootstrap -maybe-all-stage1-gas: all-stage1-gas -all-stage1: all-stage1-gas -TARGET-stage1-gas = $(TARGET-gas) -all-stage1-gas: configure-stage1-gas - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" \ - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ - LIBCFLAGS="$(LIBCFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-gas) - -maybe-clean-stage1-gas: clean-stage1-gas -clean-stage1: clean-stage1-gas -clean-stage1-gas: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - clean -@endif gas-bootstrap - - -.PHONY: all-stage2-gas maybe-all-stage2-gas -.PHONY: clean-stage2-gas maybe-clean-stage2-gas -maybe-all-stage2-gas: -maybe-clean-stage2-gas: -@if gas-bootstrap -maybe-all-stage2-gas: all-stage2-gas -all-stage2: all-stage2-gas -TARGET-stage2-gas = $(TARGET-gas) -all-stage2-gas: configure-stage2-gas - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE2_CFLAGS)" \ - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE2_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-gas) - -maybe-clean-stage2-gas: clean-stage2-gas -clean-stage2: clean-stage2-gas -clean-stage2-gas: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif gas-bootstrap - - -.PHONY: all-stage3-gas maybe-all-stage3-gas -.PHONY: clean-stage3-gas maybe-clean-stage3-gas -maybe-all-stage3-gas: -maybe-clean-stage3-gas: -@if gas-bootstrap -maybe-all-stage3-gas: all-stage3-gas -all-stage3: all-stage3-gas -TARGET-stage3-gas = $(TARGET-gas) -all-stage3-gas: configure-stage3-gas - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE3_CFLAGS)" \ - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE3_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-gas) - -maybe-clean-stage3-gas: clean-stage3-gas -clean-stage3: clean-stage3-gas -clean-stage3-gas: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif gas-bootstrap - - -.PHONY: all-stage4-gas maybe-all-stage4-gas -.PHONY: clean-stage4-gas maybe-clean-stage4-gas -maybe-all-stage4-gas: -maybe-clean-stage4-gas: -@if gas-bootstrap -maybe-all-stage4-gas: all-stage4-gas -all-stage4: all-stage4-gas -TARGET-stage4-gas = $(TARGET-gas) -all-stage4-gas: configure-stage4-gas - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE4_CFLAGS)" \ - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE4_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-gas) - -maybe-clean-stage4-gas: clean-stage4-gas -clean-stage4: clean-stage4-gas -clean-stage4-gas: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif gas-bootstrap - - -.PHONY: all-stageprofile-gas maybe-all-stageprofile-gas -.PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas -maybe-all-stageprofile-gas: -maybe-clean-stageprofile-gas: -@if gas-bootstrap -maybe-all-stageprofile-gas: all-stageprofile-gas -all-stageprofile: all-stageprofile-gas -TARGET-stageprofile-gas = $(TARGET-gas) -all-stageprofile-gas: configure-stageprofile-gas - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEprofile_CFLAGS)" \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-gas) - -maybe-clean-stageprofile-gas: clean-stageprofile-gas -clean-stageprofile: clean-stageprofile-gas -clean-stageprofile-gas: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif gas-bootstrap - - -.PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas -.PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas -maybe-all-stagefeedback-gas: -maybe-clean-stagefeedback-gas: -@if gas-bootstrap -maybe-all-stagefeedback-gas: all-stagefeedback-gas -all-stagefeedback: all-stagefeedback-gas -TARGET-stagefeedback-gas = $(TARGET-gas) -all-stagefeedback-gas: configure-stagefeedback-gas - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)" \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-gas) - -maybe-clean-stagefeedback-gas: clean-stagefeedback-gas -clean-stagefeedback: clean-stagefeedback-gas -clean-stagefeedback-gas: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif gas-bootstrap - - - - - -.PHONY: check-gas maybe-check-gas -maybe-check-gas: -@if gas -maybe-check-gas: check-gas - -check-gas: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif gas - -.PHONY: install-gas maybe-install-gas -maybe-install-gas: -@if gas -maybe-install-gas: install-gas - -install-gas: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif gas - -.PHONY: install-strip-gas maybe-install-strip-gas -maybe-install-strip-gas: -@if gas -maybe-install-strip-gas: install-strip-gas - -install-strip-gas: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif gas - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-gas info-gas -maybe-info-gas: -@if gas -maybe-info-gas: info-gas - -info-gas: \ - configure-gas - @[ -f ./gas/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in gas" ; \ - (cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif gas - -.PHONY: maybe-dvi-gas dvi-gas -maybe-dvi-gas: -@if gas -maybe-dvi-gas: dvi-gas - -dvi-gas: \ - configure-gas - @[ -f ./gas/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in gas" ; \ - (cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif gas - -.PHONY: maybe-pdf-gas pdf-gas -maybe-pdf-gas: -@if gas -maybe-pdf-gas: pdf-gas - -pdf-gas: \ - configure-gas - @[ -f ./gas/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in gas" ; \ - (cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif gas - -.PHONY: maybe-html-gas html-gas -maybe-html-gas: -@if gas -maybe-html-gas: html-gas - -html-gas: \ - configure-gas - @[ -f ./gas/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in gas" ; \ - (cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif gas - -.PHONY: maybe-TAGS-gas TAGS-gas -maybe-TAGS-gas: -@if gas -maybe-TAGS-gas: TAGS-gas - -TAGS-gas: \ - configure-gas - @[ -f ./gas/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in gas" ; \ - (cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif gas - -.PHONY: maybe-install-info-gas install-info-gas -maybe-install-info-gas: -@if gas -maybe-install-info-gas: install-info-gas - -install-info-gas: \ - configure-gas \ - info-gas - @[ -f ./gas/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in gas" ; \ - (cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif gas - -.PHONY: maybe-install-pdf-gas install-pdf-gas -maybe-install-pdf-gas: -@if gas -maybe-install-pdf-gas: install-pdf-gas - -install-pdf-gas: \ - configure-gas \ - pdf-gas - @[ -f ./gas/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in gas" ; \ - (cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif gas - -.PHONY: maybe-install-html-gas install-html-gas -maybe-install-html-gas: -@if gas -maybe-install-html-gas: install-html-gas - -install-html-gas: \ - configure-gas \ - html-gas - @[ -f ./gas/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in gas" ; \ - (cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif gas - -.PHONY: maybe-installcheck-gas installcheck-gas -maybe-installcheck-gas: -@if gas -maybe-installcheck-gas: installcheck-gas - -installcheck-gas: \ - configure-gas - @[ -f ./gas/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in gas" ; \ - (cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif gas - -.PHONY: maybe-mostlyclean-gas mostlyclean-gas -maybe-mostlyclean-gas: -@if gas -maybe-mostlyclean-gas: mostlyclean-gas - -mostlyclean-gas: - @[ -f ./gas/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in gas" ; \ - (cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif gas - -.PHONY: maybe-clean-gas clean-gas -maybe-clean-gas: -@if gas -maybe-clean-gas: clean-gas - -clean-gas: - @[ -f ./gas/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in gas" ; \ - (cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif gas - -.PHONY: maybe-distclean-gas distclean-gas -maybe-distclean-gas: -@if gas -maybe-distclean-gas: distclean-gas - -distclean-gas: - @[ -f ./gas/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in gas" ; \ - (cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif gas - -.PHONY: maybe-maintainer-clean-gas maintainer-clean-gas -maybe-maintainer-clean-gas: -@if gas -maybe-maintainer-clean-gas: maintainer-clean-gas - -maintainer-clean-gas: - @[ -f ./gas/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in gas" ; \ - (cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif gas - - - -.PHONY: configure-gcc maybe-configure-gcc -maybe-configure-gcc: -@if gcc-bootstrap -configure-gcc: stage_current -@endif gcc-bootstrap -@if gcc -maybe-configure-gcc: configure-gcc -configure-gcc: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/gcc; \ - cd "$(HOST_SUBDIR)/gcc" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gcc"; \ - libsrcdir="$$s/gcc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif gcc - - - -.PHONY: configure-stage1-gcc maybe-configure-stage1-gcc -maybe-configure-stage1-gcc: -@if gcc-bootstrap -maybe-configure-stage1-gcc: configure-stage1-gcc -configure-stage1-gcc: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ - cd $(HOST_SUBDIR)/gcc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gcc"; \ - libsrcdir="$$s/gcc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) -@endif gcc-bootstrap - -.PHONY: configure-stage2-gcc maybe-configure-stage2-gcc -maybe-configure-stage2-gcc: -@if gcc-bootstrap -maybe-configure-stage2-gcc: configure-stage2-gcc -configure-stage2-gcc: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ - cd $(HOST_SUBDIR)/gcc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gcc"; \ - libsrcdir="$$s/gcc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) -@endif gcc-bootstrap - -.PHONY: configure-stage3-gcc maybe-configure-stage3-gcc -maybe-configure-stage3-gcc: -@if gcc-bootstrap -maybe-configure-stage3-gcc: configure-stage3-gcc -configure-stage3-gcc: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ - cd $(HOST_SUBDIR)/gcc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gcc"; \ - libsrcdir="$$s/gcc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) -@endif gcc-bootstrap - -.PHONY: configure-stage4-gcc maybe-configure-stage4-gcc -maybe-configure-stage4-gcc: -@if gcc-bootstrap -maybe-configure-stage4-gcc: configure-stage4-gcc -configure-stage4-gcc: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ - cd $(HOST_SUBDIR)/gcc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gcc"; \ - libsrcdir="$$s/gcc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) -@endif gcc-bootstrap - -.PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc -maybe-configure-stageprofile-gcc: -@if gcc-bootstrap -maybe-configure-stageprofile-gcc: configure-stageprofile-gcc -configure-stageprofile-gcc: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ - cd $(HOST_SUBDIR)/gcc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gcc"; \ - libsrcdir="$$s/gcc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) -@endif gcc-bootstrap - -.PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc -maybe-configure-stagefeedback-gcc: -@if gcc-bootstrap -maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc -configure-stagefeedback-gcc: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ - cd $(HOST_SUBDIR)/gcc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gcc"; \ - libsrcdir="$$s/gcc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) -@endif gcc-bootstrap - - - - - -.PHONY: all-gcc maybe-all-gcc -maybe-all-gcc: -@if gcc-bootstrap -all-gcc: stage_current -@endif gcc-bootstrap -@if gcc -TARGET-gcc=all -maybe-all-gcc: all-gcc -all-gcc: configure-gcc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \ - $(TARGET-gcc)) -@endif gcc - - - -.PHONY: all-stage1-gcc maybe-all-stage1-gcc -.PHONY: clean-stage1-gcc maybe-clean-stage1-gcc -maybe-all-stage1-gcc: -maybe-clean-stage1-gcc: -@if gcc-bootstrap -maybe-all-stage1-gcc: all-stage1-gcc -all-stage1: all-stage1-gcc -TARGET-stage1-gcc = $(TARGET-gcc) -all-stage1-gcc: configure-stage1-gcc - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" \ - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ - LIBCFLAGS="$(LIBCFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-gcc) - -maybe-clean-stage1-gcc: clean-stage1-gcc -clean-stage1: clean-stage1-gcc -clean-stage1-gcc: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(EXTRA_GCC_FLAGS) clean -@endif gcc-bootstrap - - -.PHONY: all-stage2-gcc maybe-all-stage2-gcc -.PHONY: clean-stage2-gcc maybe-clean-stage2-gcc -maybe-all-stage2-gcc: -maybe-clean-stage2-gcc: -@if gcc-bootstrap -maybe-all-stage2-gcc: all-stage2-gcc -all-stage2: all-stage2-gcc -TARGET-stage2-gcc = $(TARGET-gcc) -all-stage2-gcc: configure-stage2-gcc - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE2_CFLAGS)" \ - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE2_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-gcc) - -maybe-clean-stage2-gcc: clean-stage2-gcc -clean-stage2: clean-stage2-gcc -clean-stage2-gcc: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - $(EXTRA_GCC_FLAGS) clean -@endif gcc-bootstrap - - -.PHONY: all-stage3-gcc maybe-all-stage3-gcc -.PHONY: clean-stage3-gcc maybe-clean-stage3-gcc -maybe-all-stage3-gcc: -maybe-clean-stage3-gcc: -@if gcc-bootstrap -maybe-all-stage3-gcc: all-stage3-gcc -all-stage3: all-stage3-gcc -TARGET-stage3-gcc = $(TARGET-gcc) -all-stage3-gcc: configure-stage3-gcc - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE3_CFLAGS)" \ - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE3_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-gcc) - -maybe-clean-stage3-gcc: clean-stage3-gcc -clean-stage3: clean-stage3-gcc -clean-stage3-gcc: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - $(EXTRA_GCC_FLAGS) clean -@endif gcc-bootstrap - - -.PHONY: all-stage4-gcc maybe-all-stage4-gcc -.PHONY: clean-stage4-gcc maybe-clean-stage4-gcc -maybe-all-stage4-gcc: -maybe-clean-stage4-gcc: -@if gcc-bootstrap -maybe-all-stage4-gcc: all-stage4-gcc -all-stage4: all-stage4-gcc -TARGET-stage4-gcc = $(TARGET-gcc) -all-stage4-gcc: configure-stage4-gcc - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE4_CFLAGS)" \ - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE4_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-gcc) - -maybe-clean-stage4-gcc: clean-stage4-gcc -clean-stage4: clean-stage4-gcc -clean-stage4-gcc: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - $(EXTRA_GCC_FLAGS) clean -@endif gcc-bootstrap - - -.PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc -.PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc -maybe-all-stageprofile-gcc: -maybe-clean-stageprofile-gcc: -@if gcc-bootstrap -maybe-all-stageprofile-gcc: all-stageprofile-gcc -all-stageprofile: all-stageprofile-gcc -TARGET-stageprofile-gcc = $(TARGET-gcc) -all-stageprofile-gcc: configure-stageprofile-gcc - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEprofile_CFLAGS)" \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-gcc) - -maybe-clean-stageprofile-gcc: clean-stageprofile-gcc -clean-stageprofile: clean-stageprofile-gcc -clean-stageprofile-gcc: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - $(EXTRA_GCC_FLAGS) clean -@endif gcc-bootstrap - - -.PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc -.PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc -maybe-all-stagefeedback-gcc: -maybe-clean-stagefeedback-gcc: -@if gcc-bootstrap -maybe-all-stagefeedback-gcc: all-stagefeedback-gcc -all-stagefeedback: all-stagefeedback-gcc -TARGET-stagefeedback-gcc = $(TARGET-gcc) -all-stagefeedback-gcc: configure-stagefeedback-gcc - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)" \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-gcc) - -maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc -clean-stagefeedback: clean-stagefeedback-gcc -clean-stagefeedback-gcc: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - $(EXTRA_GCC_FLAGS) clean -@endif gcc-bootstrap - - - - - -.PHONY: check-gcc maybe-check-gcc -maybe-check-gcc: -@if gcc -maybe-check-gcc: check-gcc - -check-gcc: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check) - -@endif gcc - -.PHONY: install-gcc maybe-install-gcc -maybe-install-gcc: -@if gcc -maybe-install-gcc: install-gcc - -install-gcc: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install) - -@endif gcc - -.PHONY: install-strip-gcc maybe-install-strip-gcc -maybe-install-strip-gcc: -@if gcc -maybe-install-strip-gcc: install-strip-gcc - -install-strip-gcc: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip) - -@endif gcc - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-gcc info-gcc -maybe-info-gcc: -@if gcc -maybe-info-gcc: info-gcc - -info-gcc: \ - configure-gcc - @[ -f ./gcc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in gcc" ; \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif gcc - -.PHONY: maybe-dvi-gcc dvi-gcc -maybe-dvi-gcc: -@if gcc -maybe-dvi-gcc: dvi-gcc - -dvi-gcc: \ - configure-gcc - @[ -f ./gcc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in gcc" ; \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif gcc - -.PHONY: maybe-pdf-gcc pdf-gcc -maybe-pdf-gcc: -@if gcc -maybe-pdf-gcc: pdf-gcc - -pdf-gcc: \ - configure-gcc - @[ -f ./gcc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in gcc" ; \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif gcc - -.PHONY: maybe-html-gcc html-gcc -maybe-html-gcc: -@if gcc -maybe-html-gcc: html-gcc - -html-gcc: \ - configure-gcc - @[ -f ./gcc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in gcc" ; \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif gcc - -.PHONY: maybe-TAGS-gcc TAGS-gcc -maybe-TAGS-gcc: -@if gcc -maybe-TAGS-gcc: TAGS-gcc - -TAGS-gcc: \ - configure-gcc - @[ -f ./gcc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in gcc" ; \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif gcc - -.PHONY: maybe-install-info-gcc install-info-gcc -maybe-install-info-gcc: -@if gcc -maybe-install-info-gcc: install-info-gcc - -install-info-gcc: \ - configure-gcc \ - info-gcc - @[ -f ./gcc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in gcc" ; \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif gcc - -.PHONY: maybe-install-pdf-gcc install-pdf-gcc -maybe-install-pdf-gcc: -@if gcc -maybe-install-pdf-gcc: install-pdf-gcc - -install-pdf-gcc: \ - configure-gcc \ - pdf-gcc - @[ -f ./gcc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in gcc" ; \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif gcc - -.PHONY: maybe-install-html-gcc install-html-gcc -maybe-install-html-gcc: -@if gcc -maybe-install-html-gcc: install-html-gcc - -install-html-gcc: \ - configure-gcc \ - html-gcc - @[ -f ./gcc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in gcc" ; \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif gcc - -.PHONY: maybe-installcheck-gcc installcheck-gcc -maybe-installcheck-gcc: -@if gcc -maybe-installcheck-gcc: installcheck-gcc - -installcheck-gcc: \ - configure-gcc - @[ -f ./gcc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in gcc" ; \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif gcc - -.PHONY: maybe-mostlyclean-gcc mostlyclean-gcc -maybe-mostlyclean-gcc: -@if gcc -maybe-mostlyclean-gcc: mostlyclean-gcc - -mostlyclean-gcc: - @[ -f ./gcc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in gcc" ; \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif gcc - -.PHONY: maybe-clean-gcc clean-gcc -maybe-clean-gcc: -@if gcc -maybe-clean-gcc: clean-gcc - -clean-gcc: - @[ -f ./gcc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in gcc" ; \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif gcc - -.PHONY: maybe-distclean-gcc distclean-gcc -maybe-distclean-gcc: -@if gcc -maybe-distclean-gcc: distclean-gcc - -distclean-gcc: - @[ -f ./gcc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in gcc" ; \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif gcc - -.PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc -maybe-maintainer-clean-gcc: -@if gcc -maybe-maintainer-clean-gcc: maintainer-clean-gcc - -maintainer-clean-gcc: - @[ -f ./gcc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in gcc" ; \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif gcc - - - -.PHONY: configure-gmp maybe-configure-gmp -maybe-configure-gmp: -@if gcc-bootstrap -configure-gmp: stage_current -@endif gcc-bootstrap -@if gmp -maybe-configure-gmp: configure-gmp -configure-gmp: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/gmp; \ - cd "$(HOST_SUBDIR)/gmp" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gmp"; \ - libsrcdir="$$s/gmp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ - --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \ - || exit 1 -@endif gmp - - - -.PHONY: configure-stage1-gmp maybe-configure-stage1-gmp -maybe-configure-stage1-gmp: -@if gmp-bootstrap -maybe-configure-stage1-gmp: configure-stage1-gmp -configure-stage1-gmp: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ - cd $(HOST_SUBDIR)/gmp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gmp"; \ - libsrcdir="$$s/gmp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ - --target=none-${host_vendor}-${host_os} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) \ - --disable-shared -@endif gmp-bootstrap - -.PHONY: configure-stage2-gmp maybe-configure-stage2-gmp -maybe-configure-stage2-gmp: -@if gmp-bootstrap -maybe-configure-stage2-gmp: configure-stage2-gmp -configure-stage2-gmp: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ - cd $(HOST_SUBDIR)/gmp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gmp"; \ - libsrcdir="$$s/gmp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ - --target=none-${host_vendor}-${host_os} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) \ - --disable-shared -@endif gmp-bootstrap - -.PHONY: configure-stage3-gmp maybe-configure-stage3-gmp -maybe-configure-stage3-gmp: -@if gmp-bootstrap -maybe-configure-stage3-gmp: configure-stage3-gmp -configure-stage3-gmp: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ - cd $(HOST_SUBDIR)/gmp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gmp"; \ - libsrcdir="$$s/gmp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ - --target=none-${host_vendor}-${host_os} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) \ - --disable-shared -@endif gmp-bootstrap - -.PHONY: configure-stage4-gmp maybe-configure-stage4-gmp -maybe-configure-stage4-gmp: -@if gmp-bootstrap -maybe-configure-stage4-gmp: configure-stage4-gmp -configure-stage4-gmp: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ - cd $(HOST_SUBDIR)/gmp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gmp"; \ - libsrcdir="$$s/gmp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ - --target=none-${host_vendor}-${host_os} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) \ - --disable-shared -@endif gmp-bootstrap - -.PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp -maybe-configure-stageprofile-gmp: -@if gmp-bootstrap -maybe-configure-stageprofile-gmp: configure-stageprofile-gmp -configure-stageprofile-gmp: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ - cd $(HOST_SUBDIR)/gmp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gmp"; \ - libsrcdir="$$s/gmp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ - --target=none-${host_vendor}-${host_os} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) \ - --disable-shared -@endif gmp-bootstrap - -.PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp -maybe-configure-stagefeedback-gmp: -@if gmp-bootstrap -maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp -configure-stagefeedback-gmp: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ - cd $(HOST_SUBDIR)/gmp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gmp"; \ - libsrcdir="$$s/gmp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ - --target=none-${host_vendor}-${host_os} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) \ - --disable-shared -@endif gmp-bootstrap - - - - - -.PHONY: all-gmp maybe-all-gmp -maybe-all-gmp: -@if gcc-bootstrap -all-gmp: stage_current -@endif gcc-bootstrap -@if gmp -TARGET-gmp=all -maybe-all-gmp: all-gmp -all-gmp: configure-gmp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-gmp)) -@endif gmp - - - -.PHONY: all-stage1-gmp maybe-all-stage1-gmp -.PHONY: clean-stage1-gmp maybe-clean-stage1-gmp -maybe-all-stage1-gmp: -maybe-clean-stage1-gmp: -@if gmp-bootstrap -maybe-all-stage1-gmp: all-stage1-gmp -all-stage1: all-stage1-gmp -TARGET-stage1-gmp = $(TARGET-gmp) -all-stage1-gmp: configure-stage1-gmp - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" \ - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ - LIBCFLAGS="$(LIBCFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-gmp) - -maybe-clean-stage1-gmp: clean-stage1-gmp -clean-stage1: clean-stage1-gmp -clean-stage1-gmp: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - clean -@endif gmp-bootstrap - - -.PHONY: all-stage2-gmp maybe-all-stage2-gmp -.PHONY: clean-stage2-gmp maybe-clean-stage2-gmp -maybe-all-stage2-gmp: -maybe-clean-stage2-gmp: -@if gmp-bootstrap -maybe-all-stage2-gmp: all-stage2-gmp -all-stage2: all-stage2-gmp -TARGET-stage2-gmp = $(TARGET-gmp) -all-stage2-gmp: configure-stage2-gmp - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE2_CFLAGS)" \ - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE2_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-gmp) - -maybe-clean-stage2-gmp: clean-stage2-gmp -clean-stage2: clean-stage2-gmp -clean-stage2-gmp: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif gmp-bootstrap - - -.PHONY: all-stage3-gmp maybe-all-stage3-gmp -.PHONY: clean-stage3-gmp maybe-clean-stage3-gmp -maybe-all-stage3-gmp: -maybe-clean-stage3-gmp: -@if gmp-bootstrap -maybe-all-stage3-gmp: all-stage3-gmp -all-stage3: all-stage3-gmp -TARGET-stage3-gmp = $(TARGET-gmp) -all-stage3-gmp: configure-stage3-gmp - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE3_CFLAGS)" \ - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE3_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-gmp) - -maybe-clean-stage3-gmp: clean-stage3-gmp -clean-stage3: clean-stage3-gmp -clean-stage3-gmp: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif gmp-bootstrap - - -.PHONY: all-stage4-gmp maybe-all-stage4-gmp -.PHONY: clean-stage4-gmp maybe-clean-stage4-gmp -maybe-all-stage4-gmp: -maybe-clean-stage4-gmp: -@if gmp-bootstrap -maybe-all-stage4-gmp: all-stage4-gmp -all-stage4: all-stage4-gmp -TARGET-stage4-gmp = $(TARGET-gmp) -all-stage4-gmp: configure-stage4-gmp - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE4_CFLAGS)" \ - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE4_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-gmp) - -maybe-clean-stage4-gmp: clean-stage4-gmp -clean-stage4: clean-stage4-gmp -clean-stage4-gmp: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif gmp-bootstrap - - -.PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp -.PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp -maybe-all-stageprofile-gmp: -maybe-clean-stageprofile-gmp: -@if gmp-bootstrap -maybe-all-stageprofile-gmp: all-stageprofile-gmp -all-stageprofile: all-stageprofile-gmp -TARGET-stageprofile-gmp = $(TARGET-gmp) -all-stageprofile-gmp: configure-stageprofile-gmp - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEprofile_CFLAGS)" \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-gmp) - -maybe-clean-stageprofile-gmp: clean-stageprofile-gmp -clean-stageprofile: clean-stageprofile-gmp -clean-stageprofile-gmp: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif gmp-bootstrap - - -.PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp -.PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp -maybe-all-stagefeedback-gmp: -maybe-clean-stagefeedback-gmp: -@if gmp-bootstrap -maybe-all-stagefeedback-gmp: all-stagefeedback-gmp -all-stagefeedback: all-stagefeedback-gmp -TARGET-stagefeedback-gmp = $(TARGET-gmp) -all-stagefeedback-gmp: configure-stagefeedback-gmp - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)" \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-gmp) - -maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp -clean-stagefeedback: clean-stagefeedback-gmp -clean-stagefeedback-gmp: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif gmp-bootstrap - - - - - -.PHONY: check-gmp maybe-check-gmp -maybe-check-gmp: -@if gmp -maybe-check-gmp: check-gmp - -check-gmp: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif gmp - -.PHONY: install-gmp maybe-install-gmp -maybe-install-gmp: -@if gmp -maybe-install-gmp: install-gmp - -install-gmp: - -@endif gmp - -.PHONY: install-strip-gmp maybe-install-strip-gmp -maybe-install-strip-gmp: -@if gmp -maybe-install-strip-gmp: install-strip-gmp - -install-strip-gmp: - -@endif gmp - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-gmp info-gmp -maybe-info-gmp: -@if gmp -maybe-info-gmp: info-gmp - -info-gmp: \ - configure-gmp - @[ -f ./gmp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in gmp" ; \ - (cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif gmp - -.PHONY: maybe-dvi-gmp dvi-gmp -maybe-dvi-gmp: -@if gmp -maybe-dvi-gmp: dvi-gmp - -dvi-gmp: \ - configure-gmp - @[ -f ./gmp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in gmp" ; \ - (cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif gmp - -.PHONY: maybe-pdf-gmp pdf-gmp -maybe-pdf-gmp: -@if gmp -maybe-pdf-gmp: pdf-gmp - -pdf-gmp: \ - configure-gmp - @[ -f ./gmp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in gmp" ; \ - (cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif gmp - -.PHONY: maybe-html-gmp html-gmp -maybe-html-gmp: -@if gmp -maybe-html-gmp: html-gmp - -html-gmp: \ - configure-gmp - @[ -f ./gmp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in gmp" ; \ - (cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif gmp - -.PHONY: maybe-TAGS-gmp TAGS-gmp -maybe-TAGS-gmp: -@if gmp -maybe-TAGS-gmp: TAGS-gmp - -TAGS-gmp: \ - configure-gmp - @[ -f ./gmp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in gmp" ; \ - (cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif gmp - -.PHONY: maybe-install-info-gmp install-info-gmp -maybe-install-info-gmp: -@if gmp -maybe-install-info-gmp: install-info-gmp - -install-info-gmp: \ - configure-gmp \ - info-gmp - @[ -f ./gmp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in gmp" ; \ - (cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif gmp - -.PHONY: maybe-install-pdf-gmp install-pdf-gmp -maybe-install-pdf-gmp: -@if gmp -maybe-install-pdf-gmp: install-pdf-gmp - -install-pdf-gmp: \ - configure-gmp \ - pdf-gmp - @[ -f ./gmp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in gmp" ; \ - (cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif gmp - -.PHONY: maybe-install-html-gmp install-html-gmp -maybe-install-html-gmp: -@if gmp -maybe-install-html-gmp: install-html-gmp - -install-html-gmp: \ - configure-gmp \ - html-gmp - @[ -f ./gmp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in gmp" ; \ - (cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif gmp - -.PHONY: maybe-installcheck-gmp installcheck-gmp -maybe-installcheck-gmp: -@if gmp -maybe-installcheck-gmp: installcheck-gmp - -installcheck-gmp: \ - configure-gmp - @[ -f ./gmp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in gmp" ; \ - (cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif gmp - -.PHONY: maybe-mostlyclean-gmp mostlyclean-gmp -maybe-mostlyclean-gmp: -@if gmp -maybe-mostlyclean-gmp: mostlyclean-gmp - -mostlyclean-gmp: - @[ -f ./gmp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in gmp" ; \ - (cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif gmp - -.PHONY: maybe-clean-gmp clean-gmp -maybe-clean-gmp: -@if gmp -maybe-clean-gmp: clean-gmp - -clean-gmp: - @[ -f ./gmp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in gmp" ; \ - (cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif gmp - -.PHONY: maybe-distclean-gmp distclean-gmp -maybe-distclean-gmp: -@if gmp -maybe-distclean-gmp: distclean-gmp - -distclean-gmp: - @[ -f ./gmp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in gmp" ; \ - (cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif gmp - -.PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp -maybe-maintainer-clean-gmp: -@if gmp -maybe-maintainer-clean-gmp: maintainer-clean-gmp - -maintainer-clean-gmp: - @[ -f ./gmp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in gmp" ; \ - (cd $(HOST_SUBDIR)/gmp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif gmp - - - -.PHONY: configure-mpfr maybe-configure-mpfr -maybe-configure-mpfr: -@if gcc-bootstrap -configure-mpfr: stage_current -@endif gcc-bootstrap -@if mpfr -maybe-configure-mpfr: configure-mpfr -configure-mpfr: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/mpfr; \ - cd "$(HOST_SUBDIR)/mpfr" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/mpfr"; \ - libsrcdir="$$s/mpfr"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \ - || exit 1 -@endif mpfr - - - -.PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr -maybe-configure-stage1-mpfr: -@if mpfr-bootstrap -maybe-configure-stage1-mpfr: configure-stage1-mpfr -configure-stage1-mpfr: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ - cd $(HOST_SUBDIR)/mpfr || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/mpfr"; \ - libsrcdir="$$s/mpfr"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) \ - --disable-shared @extra_mpfr_configure_flags@ -@endif mpfr-bootstrap - -.PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr -maybe-configure-stage2-mpfr: -@if mpfr-bootstrap -maybe-configure-stage2-mpfr: configure-stage2-mpfr -configure-stage2-mpfr: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ - cd $(HOST_SUBDIR)/mpfr || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/mpfr"; \ - libsrcdir="$$s/mpfr"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) \ - --disable-shared @extra_mpfr_configure_flags@ -@endif mpfr-bootstrap - -.PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr -maybe-configure-stage3-mpfr: -@if mpfr-bootstrap -maybe-configure-stage3-mpfr: configure-stage3-mpfr -configure-stage3-mpfr: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ - cd $(HOST_SUBDIR)/mpfr || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/mpfr"; \ - libsrcdir="$$s/mpfr"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) \ - --disable-shared @extra_mpfr_configure_flags@ -@endif mpfr-bootstrap - -.PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr -maybe-configure-stage4-mpfr: -@if mpfr-bootstrap -maybe-configure-stage4-mpfr: configure-stage4-mpfr -configure-stage4-mpfr: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ - cd $(HOST_SUBDIR)/mpfr || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/mpfr"; \ - libsrcdir="$$s/mpfr"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) \ - --disable-shared @extra_mpfr_configure_flags@ -@endif mpfr-bootstrap - -.PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr -maybe-configure-stageprofile-mpfr: -@if mpfr-bootstrap -maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr -configure-stageprofile-mpfr: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ - cd $(HOST_SUBDIR)/mpfr || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/mpfr"; \ - libsrcdir="$$s/mpfr"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) \ - --disable-shared @extra_mpfr_configure_flags@ -@endif mpfr-bootstrap - -.PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr -maybe-configure-stagefeedback-mpfr: -@if mpfr-bootstrap -maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr -configure-stagefeedback-mpfr: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ - cd $(HOST_SUBDIR)/mpfr || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/mpfr"; \ - libsrcdir="$$s/mpfr"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) \ - --disable-shared @extra_mpfr_configure_flags@ -@endif mpfr-bootstrap - - - - - -.PHONY: all-mpfr maybe-all-mpfr -maybe-all-mpfr: -@if gcc-bootstrap -all-mpfr: stage_current -@endif gcc-bootstrap -@if mpfr -TARGET-mpfr=all -maybe-all-mpfr: all-mpfr -all-mpfr: configure-mpfr - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-mpfr)) -@endif mpfr - - - -.PHONY: all-stage1-mpfr maybe-all-stage1-mpfr -.PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr -maybe-all-stage1-mpfr: -maybe-clean-stage1-mpfr: -@if mpfr-bootstrap -maybe-all-stage1-mpfr: all-stage1-mpfr -all-stage1: all-stage1-mpfr -TARGET-stage1-mpfr = $(TARGET-mpfr) -all-stage1-mpfr: configure-stage1-mpfr - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" \ - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ - LIBCFLAGS="$(LIBCFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-mpfr) - -maybe-clean-stage1-mpfr: clean-stage1-mpfr -clean-stage1: clean-stage1-mpfr -clean-stage1-mpfr: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - clean -@endif mpfr-bootstrap - - -.PHONY: all-stage2-mpfr maybe-all-stage2-mpfr -.PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr -maybe-all-stage2-mpfr: -maybe-clean-stage2-mpfr: -@if mpfr-bootstrap -maybe-all-stage2-mpfr: all-stage2-mpfr -all-stage2: all-stage2-mpfr -TARGET-stage2-mpfr = $(TARGET-mpfr) -all-stage2-mpfr: configure-stage2-mpfr - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE2_CFLAGS)" \ - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE2_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-mpfr) - -maybe-clean-stage2-mpfr: clean-stage2-mpfr -clean-stage2: clean-stage2-mpfr -clean-stage2-mpfr: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif mpfr-bootstrap - - -.PHONY: all-stage3-mpfr maybe-all-stage3-mpfr -.PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr -maybe-all-stage3-mpfr: -maybe-clean-stage3-mpfr: -@if mpfr-bootstrap -maybe-all-stage3-mpfr: all-stage3-mpfr -all-stage3: all-stage3-mpfr -TARGET-stage3-mpfr = $(TARGET-mpfr) -all-stage3-mpfr: configure-stage3-mpfr - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE3_CFLAGS)" \ - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE3_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-mpfr) - -maybe-clean-stage3-mpfr: clean-stage3-mpfr -clean-stage3: clean-stage3-mpfr -clean-stage3-mpfr: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif mpfr-bootstrap - - -.PHONY: all-stage4-mpfr maybe-all-stage4-mpfr -.PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr -maybe-all-stage4-mpfr: -maybe-clean-stage4-mpfr: -@if mpfr-bootstrap -maybe-all-stage4-mpfr: all-stage4-mpfr -all-stage4: all-stage4-mpfr -TARGET-stage4-mpfr = $(TARGET-mpfr) -all-stage4-mpfr: configure-stage4-mpfr - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE4_CFLAGS)" \ - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE4_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-mpfr) - -maybe-clean-stage4-mpfr: clean-stage4-mpfr -clean-stage4: clean-stage4-mpfr -clean-stage4-mpfr: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif mpfr-bootstrap - - -.PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr -.PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr -maybe-all-stageprofile-mpfr: -maybe-clean-stageprofile-mpfr: -@if mpfr-bootstrap -maybe-all-stageprofile-mpfr: all-stageprofile-mpfr -all-stageprofile: all-stageprofile-mpfr -TARGET-stageprofile-mpfr = $(TARGET-mpfr) -all-stageprofile-mpfr: configure-stageprofile-mpfr - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEprofile_CFLAGS)" \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-mpfr) - -maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr -clean-stageprofile: clean-stageprofile-mpfr -clean-stageprofile-mpfr: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif mpfr-bootstrap - - -.PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr -.PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr -maybe-all-stagefeedback-mpfr: -maybe-clean-stagefeedback-mpfr: -@if mpfr-bootstrap -maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr -all-stagefeedback: all-stagefeedback-mpfr -TARGET-stagefeedback-mpfr = $(TARGET-mpfr) -all-stagefeedback-mpfr: configure-stagefeedback-mpfr - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)" \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-mpfr) - -maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr -clean-stagefeedback: clean-stagefeedback-mpfr -clean-stagefeedback-mpfr: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif mpfr-bootstrap - - - - - -.PHONY: check-mpfr maybe-check-mpfr -maybe-check-mpfr: -@if mpfr -maybe-check-mpfr: check-mpfr - -check-mpfr: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif mpfr - -.PHONY: install-mpfr maybe-install-mpfr -maybe-install-mpfr: -@if mpfr -maybe-install-mpfr: install-mpfr - -install-mpfr: - -@endif mpfr - -.PHONY: install-strip-mpfr maybe-install-strip-mpfr -maybe-install-strip-mpfr: -@if mpfr -maybe-install-strip-mpfr: install-strip-mpfr - -install-strip-mpfr: - -@endif mpfr - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-mpfr info-mpfr -maybe-info-mpfr: -@if mpfr -maybe-info-mpfr: info-mpfr - -info-mpfr: \ - configure-mpfr - @[ -f ./mpfr/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in mpfr" ; \ - (cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif mpfr - -.PHONY: maybe-dvi-mpfr dvi-mpfr -maybe-dvi-mpfr: -@if mpfr -maybe-dvi-mpfr: dvi-mpfr - -dvi-mpfr: \ - configure-mpfr - @[ -f ./mpfr/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in mpfr" ; \ - (cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif mpfr - -.PHONY: maybe-pdf-mpfr pdf-mpfr -maybe-pdf-mpfr: -@if mpfr -maybe-pdf-mpfr: pdf-mpfr - -pdf-mpfr: \ - configure-mpfr - @[ -f ./mpfr/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in mpfr" ; \ - (cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif mpfr - -.PHONY: maybe-html-mpfr html-mpfr -maybe-html-mpfr: -@if mpfr -maybe-html-mpfr: html-mpfr - -html-mpfr: \ - configure-mpfr - @[ -f ./mpfr/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in mpfr" ; \ - (cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif mpfr - -.PHONY: maybe-TAGS-mpfr TAGS-mpfr -maybe-TAGS-mpfr: -@if mpfr -maybe-TAGS-mpfr: TAGS-mpfr - -TAGS-mpfr: \ - configure-mpfr - @[ -f ./mpfr/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in mpfr" ; \ - (cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif mpfr - -.PHONY: maybe-install-info-mpfr install-info-mpfr -maybe-install-info-mpfr: -@if mpfr -maybe-install-info-mpfr: install-info-mpfr - -install-info-mpfr: \ - configure-mpfr \ - info-mpfr - @[ -f ./mpfr/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in mpfr" ; \ - (cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif mpfr - -.PHONY: maybe-install-pdf-mpfr install-pdf-mpfr -maybe-install-pdf-mpfr: -@if mpfr -maybe-install-pdf-mpfr: install-pdf-mpfr - -install-pdf-mpfr: \ - configure-mpfr \ - pdf-mpfr - @[ -f ./mpfr/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in mpfr" ; \ - (cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif mpfr - -.PHONY: maybe-install-html-mpfr install-html-mpfr -maybe-install-html-mpfr: -@if mpfr -maybe-install-html-mpfr: install-html-mpfr - -install-html-mpfr: \ - configure-mpfr \ - html-mpfr - @[ -f ./mpfr/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in mpfr" ; \ - (cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif mpfr - -.PHONY: maybe-installcheck-mpfr installcheck-mpfr -maybe-installcheck-mpfr: -@if mpfr -maybe-installcheck-mpfr: installcheck-mpfr - -installcheck-mpfr: \ - configure-mpfr - @[ -f ./mpfr/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in mpfr" ; \ - (cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif mpfr - -.PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr -maybe-mostlyclean-mpfr: -@if mpfr -maybe-mostlyclean-mpfr: mostlyclean-mpfr - -mostlyclean-mpfr: - @[ -f ./mpfr/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in mpfr" ; \ - (cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif mpfr - -.PHONY: maybe-clean-mpfr clean-mpfr -maybe-clean-mpfr: -@if mpfr -maybe-clean-mpfr: clean-mpfr - -clean-mpfr: - @[ -f ./mpfr/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in mpfr" ; \ - (cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif mpfr - -.PHONY: maybe-distclean-mpfr distclean-mpfr -maybe-distclean-mpfr: -@if mpfr -maybe-distclean-mpfr: distclean-mpfr - -distclean-mpfr: - @[ -f ./mpfr/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in mpfr" ; \ - (cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif mpfr - -.PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr -maybe-maintainer-clean-mpfr: -@if mpfr -maybe-maintainer-clean-mpfr: maintainer-clean-mpfr - -maintainer-clean-mpfr: - @[ -f ./mpfr/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in mpfr" ; \ - (cd $(HOST_SUBDIR)/mpfr && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif mpfr - - - -.PHONY: configure-mpc maybe-configure-mpc -maybe-configure-mpc: -@if gcc-bootstrap -configure-mpc: stage_current -@endif gcc-bootstrap -@if mpc -maybe-configure-mpc: configure-mpc -configure-mpc: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/mpc; \ - cd "$(HOST_SUBDIR)/mpc" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/mpc"; \ - libsrcdir="$$s/mpc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \ - || exit 1 -@endif mpc - - - -.PHONY: configure-stage1-mpc maybe-configure-stage1-mpc -maybe-configure-stage1-mpc: -@if mpc-bootstrap -maybe-configure-stage1-mpc: configure-stage1-mpc -configure-stage1-mpc: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ - cd $(HOST_SUBDIR)/mpc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/mpc"; \ - libsrcdir="$$s/mpc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) \ - --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ -@endif mpc-bootstrap - -.PHONY: configure-stage2-mpc maybe-configure-stage2-mpc -maybe-configure-stage2-mpc: -@if mpc-bootstrap -maybe-configure-stage2-mpc: configure-stage2-mpc -configure-stage2-mpc: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ - cd $(HOST_SUBDIR)/mpc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/mpc"; \ - libsrcdir="$$s/mpc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) \ - --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ -@endif mpc-bootstrap - -.PHONY: configure-stage3-mpc maybe-configure-stage3-mpc -maybe-configure-stage3-mpc: -@if mpc-bootstrap -maybe-configure-stage3-mpc: configure-stage3-mpc -configure-stage3-mpc: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ - cd $(HOST_SUBDIR)/mpc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/mpc"; \ - libsrcdir="$$s/mpc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) \ - --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ -@endif mpc-bootstrap - -.PHONY: configure-stage4-mpc maybe-configure-stage4-mpc -maybe-configure-stage4-mpc: -@if mpc-bootstrap -maybe-configure-stage4-mpc: configure-stage4-mpc -configure-stage4-mpc: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ - cd $(HOST_SUBDIR)/mpc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/mpc"; \ - libsrcdir="$$s/mpc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) \ - --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ -@endif mpc-bootstrap - -.PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc -maybe-configure-stageprofile-mpc: -@if mpc-bootstrap -maybe-configure-stageprofile-mpc: configure-stageprofile-mpc -configure-stageprofile-mpc: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ - cd $(HOST_SUBDIR)/mpc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/mpc"; \ - libsrcdir="$$s/mpc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) \ - --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ -@endif mpc-bootstrap - -.PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc -maybe-configure-stagefeedback-mpc: -@if mpc-bootstrap -maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc -configure-stagefeedback-mpc: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ - cd $(HOST_SUBDIR)/mpc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/mpc"; \ - libsrcdir="$$s/mpc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) \ - --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ -@endif mpc-bootstrap - - - - - -.PHONY: all-mpc maybe-all-mpc -maybe-all-mpc: -@if gcc-bootstrap -all-mpc: stage_current -@endif gcc-bootstrap -@if mpc -TARGET-mpc=all -maybe-all-mpc: all-mpc -all-mpc: configure-mpc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-mpc)) -@endif mpc - - - -.PHONY: all-stage1-mpc maybe-all-stage1-mpc -.PHONY: clean-stage1-mpc maybe-clean-stage1-mpc -maybe-all-stage1-mpc: -maybe-clean-stage1-mpc: -@if mpc-bootstrap -maybe-all-stage1-mpc: all-stage1-mpc -all-stage1: all-stage1-mpc -TARGET-stage1-mpc = $(TARGET-mpc) -all-stage1-mpc: configure-stage1-mpc - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" \ - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ - LIBCFLAGS="$(LIBCFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-mpc) - -maybe-clean-stage1-mpc: clean-stage1-mpc -clean-stage1: clean-stage1-mpc -clean-stage1-mpc: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - clean -@endif mpc-bootstrap - - -.PHONY: all-stage2-mpc maybe-all-stage2-mpc -.PHONY: clean-stage2-mpc maybe-clean-stage2-mpc -maybe-all-stage2-mpc: -maybe-clean-stage2-mpc: -@if mpc-bootstrap -maybe-all-stage2-mpc: all-stage2-mpc -all-stage2: all-stage2-mpc -TARGET-stage2-mpc = $(TARGET-mpc) -all-stage2-mpc: configure-stage2-mpc - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE2_CFLAGS)" \ - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE2_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-mpc) - -maybe-clean-stage2-mpc: clean-stage2-mpc -clean-stage2: clean-stage2-mpc -clean-stage2-mpc: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif mpc-bootstrap - - -.PHONY: all-stage3-mpc maybe-all-stage3-mpc -.PHONY: clean-stage3-mpc maybe-clean-stage3-mpc -maybe-all-stage3-mpc: -maybe-clean-stage3-mpc: -@if mpc-bootstrap -maybe-all-stage3-mpc: all-stage3-mpc -all-stage3: all-stage3-mpc -TARGET-stage3-mpc = $(TARGET-mpc) -all-stage3-mpc: configure-stage3-mpc - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE3_CFLAGS)" \ - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE3_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-mpc) - -maybe-clean-stage3-mpc: clean-stage3-mpc -clean-stage3: clean-stage3-mpc -clean-stage3-mpc: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif mpc-bootstrap - - -.PHONY: all-stage4-mpc maybe-all-stage4-mpc -.PHONY: clean-stage4-mpc maybe-clean-stage4-mpc -maybe-all-stage4-mpc: -maybe-clean-stage4-mpc: -@if mpc-bootstrap -maybe-all-stage4-mpc: all-stage4-mpc -all-stage4: all-stage4-mpc -TARGET-stage4-mpc = $(TARGET-mpc) -all-stage4-mpc: configure-stage4-mpc - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE4_CFLAGS)" \ - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE4_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-mpc) - -maybe-clean-stage4-mpc: clean-stage4-mpc -clean-stage4: clean-stage4-mpc -clean-stage4-mpc: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif mpc-bootstrap - - -.PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc -.PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc -maybe-all-stageprofile-mpc: -maybe-clean-stageprofile-mpc: -@if mpc-bootstrap -maybe-all-stageprofile-mpc: all-stageprofile-mpc -all-stageprofile: all-stageprofile-mpc -TARGET-stageprofile-mpc = $(TARGET-mpc) -all-stageprofile-mpc: configure-stageprofile-mpc - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEprofile_CFLAGS)" \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-mpc) - -maybe-clean-stageprofile-mpc: clean-stageprofile-mpc -clean-stageprofile: clean-stageprofile-mpc -clean-stageprofile-mpc: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif mpc-bootstrap - - -.PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc -.PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc -maybe-all-stagefeedback-mpc: -maybe-clean-stagefeedback-mpc: -@if mpc-bootstrap -maybe-all-stagefeedback-mpc: all-stagefeedback-mpc -all-stagefeedback: all-stagefeedback-mpc -TARGET-stagefeedback-mpc = $(TARGET-mpc) -all-stagefeedback-mpc: configure-stagefeedback-mpc - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)" \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-mpc) - -maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc -clean-stagefeedback: clean-stagefeedback-mpc -clean-stagefeedback-mpc: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif mpc-bootstrap - - - - - -.PHONY: check-mpc maybe-check-mpc -maybe-check-mpc: -@if mpc -maybe-check-mpc: check-mpc - -check-mpc: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif mpc - -.PHONY: install-mpc maybe-install-mpc -maybe-install-mpc: -@if mpc -maybe-install-mpc: install-mpc - -install-mpc: - -@endif mpc - -.PHONY: install-strip-mpc maybe-install-strip-mpc -maybe-install-strip-mpc: -@if mpc -maybe-install-strip-mpc: install-strip-mpc - -install-strip-mpc: - -@endif mpc - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-mpc info-mpc -maybe-info-mpc: -@if mpc -maybe-info-mpc: info-mpc - -info-mpc: \ - configure-mpc - @[ -f ./mpc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in mpc" ; \ - (cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif mpc - -.PHONY: maybe-dvi-mpc dvi-mpc -maybe-dvi-mpc: -@if mpc -maybe-dvi-mpc: dvi-mpc - -dvi-mpc: \ - configure-mpc - @[ -f ./mpc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in mpc" ; \ - (cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif mpc - -.PHONY: maybe-pdf-mpc pdf-mpc -maybe-pdf-mpc: -@if mpc -maybe-pdf-mpc: pdf-mpc - -pdf-mpc: \ - configure-mpc - @[ -f ./mpc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in mpc" ; \ - (cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif mpc - -.PHONY: maybe-html-mpc html-mpc -maybe-html-mpc: -@if mpc -maybe-html-mpc: html-mpc - -html-mpc: \ - configure-mpc - @[ -f ./mpc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in mpc" ; \ - (cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif mpc - -.PHONY: maybe-TAGS-mpc TAGS-mpc -maybe-TAGS-mpc: -@if mpc -maybe-TAGS-mpc: TAGS-mpc - -TAGS-mpc: \ - configure-mpc - @[ -f ./mpc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in mpc" ; \ - (cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif mpc - -.PHONY: maybe-install-info-mpc install-info-mpc -maybe-install-info-mpc: -@if mpc -maybe-install-info-mpc: install-info-mpc - -install-info-mpc: \ - configure-mpc \ - info-mpc - @[ -f ./mpc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in mpc" ; \ - (cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif mpc - -.PHONY: maybe-install-pdf-mpc install-pdf-mpc -maybe-install-pdf-mpc: -@if mpc -maybe-install-pdf-mpc: install-pdf-mpc - -install-pdf-mpc: \ - configure-mpc \ - pdf-mpc - @[ -f ./mpc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in mpc" ; \ - (cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif mpc - -.PHONY: maybe-install-html-mpc install-html-mpc -maybe-install-html-mpc: -@if mpc -maybe-install-html-mpc: install-html-mpc - -install-html-mpc: \ - configure-mpc \ - html-mpc - @[ -f ./mpc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in mpc" ; \ - (cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif mpc - -.PHONY: maybe-installcheck-mpc installcheck-mpc -maybe-installcheck-mpc: -@if mpc -maybe-installcheck-mpc: installcheck-mpc - -installcheck-mpc: \ - configure-mpc - @[ -f ./mpc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in mpc" ; \ - (cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif mpc - -.PHONY: maybe-mostlyclean-mpc mostlyclean-mpc -maybe-mostlyclean-mpc: -@if mpc -maybe-mostlyclean-mpc: mostlyclean-mpc - -mostlyclean-mpc: - @[ -f ./mpc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in mpc" ; \ - (cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif mpc - -.PHONY: maybe-clean-mpc clean-mpc -maybe-clean-mpc: -@if mpc -maybe-clean-mpc: clean-mpc - -clean-mpc: - @[ -f ./mpc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in mpc" ; \ - (cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif mpc - -.PHONY: maybe-distclean-mpc distclean-mpc -maybe-distclean-mpc: -@if mpc -maybe-distclean-mpc: distclean-mpc - -distclean-mpc: - @[ -f ./mpc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in mpc" ; \ - (cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif mpc - -.PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc -maybe-maintainer-clean-mpc: -@if mpc -maybe-maintainer-clean-mpc: maintainer-clean-mpc - -maintainer-clean-mpc: - @[ -f ./mpc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in mpc" ; \ - (cd $(HOST_SUBDIR)/mpc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif mpc - - - -.PHONY: configure-ppl maybe-configure-ppl -maybe-configure-ppl: -@if gcc-bootstrap -configure-ppl: stage_current -@endif gcc-bootstrap -@if ppl -maybe-configure-ppl: configure-ppl -configure-ppl: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/ppl; \ - cd "$(HOST_SUBDIR)/ppl" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/ppl"; \ - libsrcdir="$$s/ppl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ \ - || exit 1 -@endif ppl - - - -.PHONY: configure-stage1-ppl maybe-configure-stage1-ppl -maybe-configure-stage1-ppl: -@if ppl-bootstrap -maybe-configure-stage1-ppl: configure-stage1-ppl -configure-stage1-ppl: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/ppl ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \ - cd $(HOST_SUBDIR)/ppl || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/ppl"; \ - libsrcdir="$$s/ppl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) \ - --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ -@endif ppl-bootstrap - -.PHONY: configure-stage2-ppl maybe-configure-stage2-ppl -maybe-configure-stage2-ppl: -@if ppl-bootstrap -maybe-configure-stage2-ppl: configure-stage2-ppl -configure-stage2-ppl: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/ppl ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \ - cd $(HOST_SUBDIR)/ppl || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/ppl"; \ - libsrcdir="$$s/ppl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) \ - --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ -@endif ppl-bootstrap - -.PHONY: configure-stage3-ppl maybe-configure-stage3-ppl -maybe-configure-stage3-ppl: -@if ppl-bootstrap -maybe-configure-stage3-ppl: configure-stage3-ppl -configure-stage3-ppl: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/ppl ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \ - cd $(HOST_SUBDIR)/ppl || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/ppl"; \ - libsrcdir="$$s/ppl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) \ - --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ -@endif ppl-bootstrap - -.PHONY: configure-stage4-ppl maybe-configure-stage4-ppl -maybe-configure-stage4-ppl: -@if ppl-bootstrap -maybe-configure-stage4-ppl: configure-stage4-ppl -configure-stage4-ppl: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/ppl ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \ - cd $(HOST_SUBDIR)/ppl || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/ppl"; \ - libsrcdir="$$s/ppl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) \ - --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ -@endif ppl-bootstrap - -.PHONY: configure-stageprofile-ppl maybe-configure-stageprofile-ppl -maybe-configure-stageprofile-ppl: -@if ppl-bootstrap -maybe-configure-stageprofile-ppl: configure-stageprofile-ppl -configure-stageprofile-ppl: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/ppl ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \ - cd $(HOST_SUBDIR)/ppl || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/ppl"; \ - libsrcdir="$$s/ppl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) \ - --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ -@endif ppl-bootstrap - -.PHONY: configure-stagefeedback-ppl maybe-configure-stagefeedback-ppl -maybe-configure-stagefeedback-ppl: -@if ppl-bootstrap -maybe-configure-stagefeedback-ppl: configure-stagefeedback-ppl -configure-stagefeedback-ppl: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/ppl ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \ - cd $(HOST_SUBDIR)/ppl || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/ppl"; \ - libsrcdir="$$s/ppl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) \ - --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ -@endif ppl-bootstrap - - - - - -.PHONY: all-ppl maybe-all-ppl -maybe-all-ppl: -@if gcc-bootstrap -all-ppl: stage_current -@endif gcc-bootstrap -@if ppl -TARGET-ppl=all -maybe-all-ppl: all-ppl -all-ppl: configure-ppl - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-ppl)) -@endif ppl - - - -.PHONY: all-stage1-ppl maybe-all-stage1-ppl -.PHONY: clean-stage1-ppl maybe-clean-stage1-ppl -maybe-all-stage1-ppl: -maybe-clean-stage1-ppl: -@if ppl-bootstrap -maybe-all-stage1-ppl: all-stage1-ppl -all-stage1: all-stage1-ppl -TARGET-stage1-ppl = $(TARGET-ppl) -all-stage1-ppl: configure-stage1-ppl - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" \ - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ - LIBCFLAGS="$(LIBCFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-ppl) - -maybe-clean-stage1-ppl: clean-stage1-ppl -clean-stage1: clean-stage1-ppl -clean-stage1-ppl: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage1-ppl/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - clean -@endif ppl-bootstrap - - -.PHONY: all-stage2-ppl maybe-all-stage2-ppl -.PHONY: clean-stage2-ppl maybe-clean-stage2-ppl -maybe-all-stage2-ppl: -maybe-clean-stage2-ppl: -@if ppl-bootstrap -maybe-all-stage2-ppl: all-stage2-ppl -all-stage2: all-stage2-ppl -TARGET-stage2-ppl = $(TARGET-ppl) -all-stage2-ppl: configure-stage2-ppl - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE2_CFLAGS)" \ - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE2_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-ppl) - -maybe-clean-stage2-ppl: clean-stage2-ppl -clean-stage2: clean-stage2-ppl -clean-stage2-ppl: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage2-ppl/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif ppl-bootstrap - - -.PHONY: all-stage3-ppl maybe-all-stage3-ppl -.PHONY: clean-stage3-ppl maybe-clean-stage3-ppl -maybe-all-stage3-ppl: -maybe-clean-stage3-ppl: -@if ppl-bootstrap -maybe-all-stage3-ppl: all-stage3-ppl -all-stage3: all-stage3-ppl -TARGET-stage3-ppl = $(TARGET-ppl) -all-stage3-ppl: configure-stage3-ppl - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE3_CFLAGS)" \ - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE3_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-ppl) - -maybe-clean-stage3-ppl: clean-stage3-ppl -clean-stage3: clean-stage3-ppl -clean-stage3-ppl: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage3-ppl/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif ppl-bootstrap - - -.PHONY: all-stage4-ppl maybe-all-stage4-ppl -.PHONY: clean-stage4-ppl maybe-clean-stage4-ppl -maybe-all-stage4-ppl: -maybe-clean-stage4-ppl: -@if ppl-bootstrap -maybe-all-stage4-ppl: all-stage4-ppl -all-stage4: all-stage4-ppl -TARGET-stage4-ppl = $(TARGET-ppl) -all-stage4-ppl: configure-stage4-ppl - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE4_CFLAGS)" \ - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE4_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-ppl) - -maybe-clean-stage4-ppl: clean-stage4-ppl -clean-stage4: clean-stage4-ppl -clean-stage4-ppl: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage4-ppl/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif ppl-bootstrap - - -.PHONY: all-stageprofile-ppl maybe-all-stageprofile-ppl -.PHONY: clean-stageprofile-ppl maybe-clean-stageprofile-ppl -maybe-all-stageprofile-ppl: -maybe-clean-stageprofile-ppl: -@if ppl-bootstrap -maybe-all-stageprofile-ppl: all-stageprofile-ppl -all-stageprofile: all-stageprofile-ppl -TARGET-stageprofile-ppl = $(TARGET-ppl) -all-stageprofile-ppl: configure-stageprofile-ppl - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEprofile_CFLAGS)" \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-ppl) - -maybe-clean-stageprofile-ppl: clean-stageprofile-ppl -clean-stageprofile: clean-stageprofile-ppl -clean-stageprofile-ppl: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stageprofile-ppl/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif ppl-bootstrap - - -.PHONY: all-stagefeedback-ppl maybe-all-stagefeedback-ppl -.PHONY: clean-stagefeedback-ppl maybe-clean-stagefeedback-ppl -maybe-all-stagefeedback-ppl: -maybe-clean-stagefeedback-ppl: -@if ppl-bootstrap -maybe-all-stagefeedback-ppl: all-stagefeedback-ppl -all-stagefeedback: all-stagefeedback-ppl -TARGET-stagefeedback-ppl = $(TARGET-ppl) -all-stagefeedback-ppl: configure-stagefeedback-ppl - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)" \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-ppl) - -maybe-clean-stagefeedback-ppl: clean-stagefeedback-ppl -clean-stagefeedback: clean-stagefeedback-ppl -clean-stagefeedback-ppl: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stagefeedback-ppl/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif ppl-bootstrap - - - - - -.PHONY: check-ppl maybe-check-ppl -maybe-check-ppl: -@if ppl -maybe-check-ppl: check-ppl - -check-ppl: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif ppl - -.PHONY: install-ppl maybe-install-ppl -maybe-install-ppl: -@if ppl -maybe-install-ppl: install-ppl - -install-ppl: - -@endif ppl - -.PHONY: install-strip-ppl maybe-install-strip-ppl -maybe-install-strip-ppl: -@if ppl -maybe-install-strip-ppl: install-strip-ppl - -install-strip-ppl: - -@endif ppl - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-ppl info-ppl -maybe-info-ppl: -@if ppl -maybe-info-ppl: info-ppl - -info-ppl: \ - configure-ppl - @[ -f ./ppl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in ppl" ; \ - (cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif ppl - -.PHONY: maybe-dvi-ppl dvi-ppl -maybe-dvi-ppl: -@if ppl -maybe-dvi-ppl: dvi-ppl - -dvi-ppl: \ - configure-ppl - @[ -f ./ppl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in ppl" ; \ - (cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif ppl - -.PHONY: maybe-pdf-ppl pdf-ppl -maybe-pdf-ppl: -@if ppl -maybe-pdf-ppl: pdf-ppl - -pdf-ppl: \ - configure-ppl - @[ -f ./ppl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in ppl" ; \ - (cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif ppl - -.PHONY: maybe-html-ppl html-ppl -maybe-html-ppl: -@if ppl -maybe-html-ppl: html-ppl - -html-ppl: \ - configure-ppl - @[ -f ./ppl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in ppl" ; \ - (cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif ppl - -.PHONY: maybe-TAGS-ppl TAGS-ppl -maybe-TAGS-ppl: -@if ppl -maybe-TAGS-ppl: TAGS-ppl - -TAGS-ppl: \ - configure-ppl - @[ -f ./ppl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in ppl" ; \ - (cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif ppl - -.PHONY: maybe-install-info-ppl install-info-ppl -maybe-install-info-ppl: -@if ppl -maybe-install-info-ppl: install-info-ppl - -install-info-ppl: \ - configure-ppl \ - info-ppl - @[ -f ./ppl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in ppl" ; \ - (cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif ppl - -.PHONY: maybe-install-pdf-ppl install-pdf-ppl -maybe-install-pdf-ppl: -@if ppl -maybe-install-pdf-ppl: install-pdf-ppl - -install-pdf-ppl: \ - configure-ppl \ - pdf-ppl - @[ -f ./ppl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in ppl" ; \ - (cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif ppl - -.PHONY: maybe-install-html-ppl install-html-ppl -maybe-install-html-ppl: -@if ppl -maybe-install-html-ppl: install-html-ppl - -install-html-ppl: \ - configure-ppl \ - html-ppl - @[ -f ./ppl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in ppl" ; \ - (cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif ppl - -.PHONY: maybe-installcheck-ppl installcheck-ppl -maybe-installcheck-ppl: -@if ppl -maybe-installcheck-ppl: installcheck-ppl - -installcheck-ppl: \ - configure-ppl - @[ -f ./ppl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in ppl" ; \ - (cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif ppl - -.PHONY: maybe-mostlyclean-ppl mostlyclean-ppl -maybe-mostlyclean-ppl: -@if ppl -maybe-mostlyclean-ppl: mostlyclean-ppl - -mostlyclean-ppl: - @[ -f ./ppl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in ppl" ; \ - (cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif ppl - -.PHONY: maybe-clean-ppl clean-ppl -maybe-clean-ppl: -@if ppl -maybe-clean-ppl: clean-ppl - -clean-ppl: - @[ -f ./ppl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in ppl" ; \ - (cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif ppl - -.PHONY: maybe-distclean-ppl distclean-ppl -maybe-distclean-ppl: -@if ppl -maybe-distclean-ppl: distclean-ppl - -distclean-ppl: - @[ -f ./ppl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in ppl" ; \ - (cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif ppl - -.PHONY: maybe-maintainer-clean-ppl maintainer-clean-ppl -maybe-maintainer-clean-ppl: -@if ppl -maybe-maintainer-clean-ppl: maintainer-clean-ppl - -maintainer-clean-ppl: - @[ -f ./ppl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in ppl" ; \ - (cd $(HOST_SUBDIR)/ppl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif ppl - - - -.PHONY: configure-cloog maybe-configure-cloog -maybe-configure-cloog: -@if gcc-bootstrap -configure-cloog: stage_current -@endif gcc-bootstrap -@if cloog -maybe-configure-cloog: configure-cloog -configure-cloog: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ - $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \ - echo Configuring in $(HOST_SUBDIR)/cloog; \ - cd "$(HOST_SUBDIR)/cloog" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/cloog"; \ - libsrcdir="$$s/cloog"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl \ - || exit 1 -@endif cloog - - - -.PHONY: configure-stage1-cloog maybe-configure-stage1-cloog -maybe-configure-stage1-cloog: -@if cloog-bootstrap -maybe-configure-stage1-cloog: configure-stage1-cloog -configure-stage1-cloog: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ - cd $(HOST_SUBDIR)/cloog || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/cloog"; \ - libsrcdir="$$s/cloog"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) \ - --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl -@endif cloog-bootstrap - -.PHONY: configure-stage2-cloog maybe-configure-stage2-cloog -maybe-configure-stage2-cloog: -@if cloog-bootstrap -maybe-configure-stage2-cloog: configure-stage2-cloog -configure-stage2-cloog: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ - cd $(HOST_SUBDIR)/cloog || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/cloog"; \ - libsrcdir="$$s/cloog"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) \ - --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl -@endif cloog-bootstrap - -.PHONY: configure-stage3-cloog maybe-configure-stage3-cloog -maybe-configure-stage3-cloog: -@if cloog-bootstrap -maybe-configure-stage3-cloog: configure-stage3-cloog -configure-stage3-cloog: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ - cd $(HOST_SUBDIR)/cloog || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/cloog"; \ - libsrcdir="$$s/cloog"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) \ - --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl -@endif cloog-bootstrap - -.PHONY: configure-stage4-cloog maybe-configure-stage4-cloog -maybe-configure-stage4-cloog: -@if cloog-bootstrap -maybe-configure-stage4-cloog: configure-stage4-cloog -configure-stage4-cloog: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ - cd $(HOST_SUBDIR)/cloog || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/cloog"; \ - libsrcdir="$$s/cloog"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) \ - --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl -@endif cloog-bootstrap - -.PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog -maybe-configure-stageprofile-cloog: -@if cloog-bootstrap -maybe-configure-stageprofile-cloog: configure-stageprofile-cloog -configure-stageprofile-cloog: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ - cd $(HOST_SUBDIR)/cloog || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/cloog"; \ - libsrcdir="$$s/cloog"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) \ - --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl -@endif cloog-bootstrap - -.PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog -maybe-configure-stagefeedback-cloog: -@if cloog-bootstrap -maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog -configure-stagefeedback-cloog: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ - cd $(HOST_SUBDIR)/cloog || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/cloog"; \ - libsrcdir="$$s/cloog"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) \ - --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl -@endif cloog-bootstrap - - - - - -.PHONY: all-cloog maybe-all-cloog -maybe-all-cloog: -@if gcc-bootstrap -all-cloog: stage_current -@endif gcc-bootstrap -@if cloog -TARGET-cloog=all -maybe-all-cloog: all-cloog -all-cloog: configure-cloog - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \ - (cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \ - $(TARGET-cloog)) -@endif cloog - - - -.PHONY: all-stage1-cloog maybe-all-stage1-cloog -.PHONY: clean-stage1-cloog maybe-clean-stage1-cloog -maybe-all-stage1-cloog: -maybe-clean-stage1-cloog: -@if cloog-bootstrap -maybe-all-stage1-cloog: all-stage1-cloog -all-stage1: all-stage1-cloog -TARGET-stage1-cloog = $(TARGET-cloog) -all-stage1-cloog: configure-stage1-cloog - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \ - cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" \ - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ - LIBCFLAGS="$(LIBCFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-cloog) - -maybe-clean-stage1-cloog: clean-stage1-cloog -clean-stage1: clean-stage1-cloog -clean-stage1-cloog: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean -@endif cloog-bootstrap - - -.PHONY: all-stage2-cloog maybe-all-stage2-cloog -.PHONY: clean-stage2-cloog maybe-clean-stage2-cloog -maybe-all-stage2-cloog: -maybe-clean-stage2-cloog: -@if cloog-bootstrap -maybe-all-stage2-cloog: all-stage2-cloog -all-stage2: all-stage2-cloog -TARGET-stage2-cloog = $(TARGET-cloog) -all-stage2-cloog: configure-stage2-cloog - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \ - cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE2_CFLAGS)" \ - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE2_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-cloog) - -maybe-clean-stage2-cloog: clean-stage2-cloog -clean-stage2: clean-stage2-cloog -clean-stage2-cloog: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean -@endif cloog-bootstrap - - -.PHONY: all-stage3-cloog maybe-all-stage3-cloog -.PHONY: clean-stage3-cloog maybe-clean-stage3-cloog -maybe-all-stage3-cloog: -maybe-clean-stage3-cloog: -@if cloog-bootstrap -maybe-all-stage3-cloog: all-stage3-cloog -all-stage3: all-stage3-cloog -TARGET-stage3-cloog = $(TARGET-cloog) -all-stage3-cloog: configure-stage3-cloog - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \ - cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE3_CFLAGS)" \ - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE3_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-cloog) - -maybe-clean-stage3-cloog: clean-stage3-cloog -clean-stage3: clean-stage3-cloog -clean-stage3-cloog: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean -@endif cloog-bootstrap - - -.PHONY: all-stage4-cloog maybe-all-stage4-cloog -.PHONY: clean-stage4-cloog maybe-clean-stage4-cloog -maybe-all-stage4-cloog: -maybe-clean-stage4-cloog: -@if cloog-bootstrap -maybe-all-stage4-cloog: all-stage4-cloog -all-stage4: all-stage4-cloog -TARGET-stage4-cloog = $(TARGET-cloog) -all-stage4-cloog: configure-stage4-cloog - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \ - cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE4_CFLAGS)" \ - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE4_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-cloog) - -maybe-clean-stage4-cloog: clean-stage4-cloog -clean-stage4: clean-stage4-cloog -clean-stage4-cloog: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean -@endif cloog-bootstrap - - -.PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog -.PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog -maybe-all-stageprofile-cloog: -maybe-clean-stageprofile-cloog: -@if cloog-bootstrap -maybe-all-stageprofile-cloog: all-stageprofile-cloog -all-stageprofile: all-stageprofile-cloog -TARGET-stageprofile-cloog = $(TARGET-cloog) -all-stageprofile-cloog: configure-stageprofile-cloog - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \ - cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEprofile_CFLAGS)" \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-cloog) - -maybe-clean-stageprofile-cloog: clean-stageprofile-cloog -clean-stageprofile: clean-stageprofile-cloog -clean-stageprofile-cloog: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean -@endif cloog-bootstrap - - -.PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog -.PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog -maybe-all-stagefeedback-cloog: -maybe-clean-stagefeedback-cloog: -@if cloog-bootstrap -maybe-all-stagefeedback-cloog: all-stagefeedback-cloog -all-stagefeedback: all-stagefeedback-cloog -TARGET-stagefeedback-cloog = $(TARGET-cloog) -all-stagefeedback-cloog: configure-stagefeedback-cloog - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \ - cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)" \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-cloog) - -maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog -clean-stagefeedback: clean-stagefeedback-cloog -clean-stagefeedback-cloog: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean -@endif cloog-bootstrap - - - - - -.PHONY: check-cloog maybe-check-cloog -maybe-check-cloog: -@if cloog -maybe-check-cloog: check-cloog - -check-cloog: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" check) - -@endif cloog - -.PHONY: install-cloog maybe-install-cloog -maybe-install-cloog: -@if cloog -maybe-install-cloog: install-cloog - -install-cloog: - -@endif cloog - -.PHONY: install-strip-cloog maybe-install-strip-cloog -maybe-install-strip-cloog: -@if cloog -maybe-install-strip-cloog: install-strip-cloog - -install-strip-cloog: - -@endif cloog - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-cloog info-cloog -maybe-info-cloog: -@if cloog -maybe-info-cloog: info-cloog - -info-cloog: \ - configure-cloog - @[ -f ./cloog/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in cloog" ; \ - (cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif cloog - -.PHONY: maybe-dvi-cloog dvi-cloog -maybe-dvi-cloog: -@if cloog -maybe-dvi-cloog: dvi-cloog - -dvi-cloog: \ - configure-cloog - @[ -f ./cloog/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in cloog" ; \ - (cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif cloog - -.PHONY: maybe-pdf-cloog pdf-cloog -maybe-pdf-cloog: -@if cloog -maybe-pdf-cloog: pdf-cloog - -pdf-cloog: \ - configure-cloog - @[ -f ./cloog/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in cloog" ; \ - (cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif cloog - -.PHONY: maybe-html-cloog html-cloog -maybe-html-cloog: -@if cloog -maybe-html-cloog: html-cloog - -html-cloog: \ - configure-cloog - @[ -f ./cloog/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in cloog" ; \ - (cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif cloog - -.PHONY: maybe-TAGS-cloog TAGS-cloog -maybe-TAGS-cloog: -@if cloog -maybe-TAGS-cloog: TAGS-cloog - -TAGS-cloog: \ - configure-cloog - @[ -f ./cloog/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in cloog" ; \ - (cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif cloog - -.PHONY: maybe-install-info-cloog install-info-cloog -maybe-install-info-cloog: -@if cloog -maybe-install-info-cloog: install-info-cloog - -install-info-cloog: \ - configure-cloog \ - info-cloog - @[ -f ./cloog/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in cloog" ; \ - (cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif cloog - -.PHONY: maybe-install-pdf-cloog install-pdf-cloog -maybe-install-pdf-cloog: -@if cloog -maybe-install-pdf-cloog: install-pdf-cloog - -install-pdf-cloog: \ - configure-cloog \ - pdf-cloog - @[ -f ./cloog/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in cloog" ; \ - (cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif cloog - -.PHONY: maybe-install-html-cloog install-html-cloog -maybe-install-html-cloog: -@if cloog -maybe-install-html-cloog: install-html-cloog - -install-html-cloog: \ - configure-cloog \ - html-cloog - @[ -f ./cloog/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in cloog" ; \ - (cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif cloog - -.PHONY: maybe-installcheck-cloog installcheck-cloog -maybe-installcheck-cloog: -@if cloog -maybe-installcheck-cloog: installcheck-cloog - -installcheck-cloog: \ - configure-cloog - @[ -f ./cloog/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in cloog" ; \ - (cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif cloog - -.PHONY: maybe-mostlyclean-cloog mostlyclean-cloog -maybe-mostlyclean-cloog: -@if cloog -maybe-mostlyclean-cloog: mostlyclean-cloog - -mostlyclean-cloog: - @[ -f ./cloog/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in cloog" ; \ - (cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif cloog - -.PHONY: maybe-clean-cloog clean-cloog -maybe-clean-cloog: -@if cloog -maybe-clean-cloog: clean-cloog - -clean-cloog: - @[ -f ./cloog/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in cloog" ; \ - (cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif cloog - -.PHONY: maybe-distclean-cloog distclean-cloog -maybe-distclean-cloog: -@if cloog -maybe-distclean-cloog: distclean-cloog - -distclean-cloog: - @[ -f ./cloog/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in cloog" ; \ - (cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif cloog - -.PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog -maybe-maintainer-clean-cloog: -@if cloog -maybe-maintainer-clean-cloog: maintainer-clean-cloog - -maintainer-clean-cloog: - @[ -f ./cloog/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in cloog" ; \ - (cd $(HOST_SUBDIR)/cloog && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif cloog - - - -.PHONY: configure-libelf maybe-configure-libelf -maybe-configure-libelf: -@if gcc-bootstrap -configure-libelf: stage_current -@endif gcc-bootstrap -@if libelf -maybe-configure-libelf: configure-libelf -configure-libelf: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/libelf; \ - cd "$(HOST_SUBDIR)/libelf" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libelf"; \ - libsrcdir="$$s/libelf"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} --disable-shared \ - || exit 1 -@endif libelf - - - -.PHONY: configure-stage1-libelf maybe-configure-stage1-libelf -maybe-configure-stage1-libelf: -@if libelf-bootstrap -maybe-configure-stage1-libelf: configure-stage1-libelf -configure-stage1-libelf: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ - cd $(HOST_SUBDIR)/libelf || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libelf"; \ - libsrcdir="$$s/libelf"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) \ - --disable-shared -@endif libelf-bootstrap - -.PHONY: configure-stage2-libelf maybe-configure-stage2-libelf -maybe-configure-stage2-libelf: -@if libelf-bootstrap -maybe-configure-stage2-libelf: configure-stage2-libelf -configure-stage2-libelf: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ - cd $(HOST_SUBDIR)/libelf || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libelf"; \ - libsrcdir="$$s/libelf"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) \ - --disable-shared -@endif libelf-bootstrap - -.PHONY: configure-stage3-libelf maybe-configure-stage3-libelf -maybe-configure-stage3-libelf: -@if libelf-bootstrap -maybe-configure-stage3-libelf: configure-stage3-libelf -configure-stage3-libelf: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ - cd $(HOST_SUBDIR)/libelf || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libelf"; \ - libsrcdir="$$s/libelf"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) \ - --disable-shared -@endif libelf-bootstrap - -.PHONY: configure-stage4-libelf maybe-configure-stage4-libelf -maybe-configure-stage4-libelf: -@if libelf-bootstrap -maybe-configure-stage4-libelf: configure-stage4-libelf -configure-stage4-libelf: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ - cd $(HOST_SUBDIR)/libelf || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libelf"; \ - libsrcdir="$$s/libelf"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) \ - --disable-shared -@endif libelf-bootstrap - -.PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf -maybe-configure-stageprofile-libelf: -@if libelf-bootstrap -maybe-configure-stageprofile-libelf: configure-stageprofile-libelf -configure-stageprofile-libelf: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ - cd $(HOST_SUBDIR)/libelf || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libelf"; \ - libsrcdir="$$s/libelf"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) \ - --disable-shared -@endif libelf-bootstrap - -.PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf -maybe-configure-stagefeedback-libelf: -@if libelf-bootstrap -maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf -configure-stagefeedback-libelf: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ - cd $(HOST_SUBDIR)/libelf || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libelf"; \ - libsrcdir="$$s/libelf"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) \ - --disable-shared -@endif libelf-bootstrap - - - - - -.PHONY: all-libelf maybe-all-libelf -maybe-all-libelf: -@if gcc-bootstrap -all-libelf: stage_current -@endif gcc-bootstrap -@if libelf -TARGET-libelf=all -maybe-all-libelf: all-libelf -all-libelf: configure-libelf - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-libelf)) -@endif libelf - - - -.PHONY: all-stage1-libelf maybe-all-stage1-libelf -.PHONY: clean-stage1-libelf maybe-clean-stage1-libelf -maybe-all-stage1-libelf: -maybe-clean-stage1-libelf: -@if libelf-bootstrap -maybe-all-stage1-libelf: all-stage1-libelf -all-stage1: all-stage1-libelf -TARGET-stage1-libelf = $(TARGET-libelf) -all-stage1-libelf: configure-stage1-libelf - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" \ - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ - LIBCFLAGS="$(LIBCFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-libelf) - -maybe-clean-stage1-libelf: clean-stage1-libelf -clean-stage1: clean-stage1-libelf -clean-stage1-libelf: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - clean -@endif libelf-bootstrap - - -.PHONY: all-stage2-libelf maybe-all-stage2-libelf -.PHONY: clean-stage2-libelf maybe-clean-stage2-libelf -maybe-all-stage2-libelf: -maybe-clean-stage2-libelf: -@if libelf-bootstrap -maybe-all-stage2-libelf: all-stage2-libelf -all-stage2: all-stage2-libelf -TARGET-stage2-libelf = $(TARGET-libelf) -all-stage2-libelf: configure-stage2-libelf - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE2_CFLAGS)" \ - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE2_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-libelf) - -maybe-clean-stage2-libelf: clean-stage2-libelf -clean-stage2: clean-stage2-libelf -clean-stage2-libelf: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libelf-bootstrap - - -.PHONY: all-stage3-libelf maybe-all-stage3-libelf -.PHONY: clean-stage3-libelf maybe-clean-stage3-libelf -maybe-all-stage3-libelf: -maybe-clean-stage3-libelf: -@if libelf-bootstrap -maybe-all-stage3-libelf: all-stage3-libelf -all-stage3: all-stage3-libelf -TARGET-stage3-libelf = $(TARGET-libelf) -all-stage3-libelf: configure-stage3-libelf - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE3_CFLAGS)" \ - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE3_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-libelf) - -maybe-clean-stage3-libelf: clean-stage3-libelf -clean-stage3: clean-stage3-libelf -clean-stage3-libelf: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libelf-bootstrap - - -.PHONY: all-stage4-libelf maybe-all-stage4-libelf -.PHONY: clean-stage4-libelf maybe-clean-stage4-libelf -maybe-all-stage4-libelf: -maybe-clean-stage4-libelf: -@if libelf-bootstrap -maybe-all-stage4-libelf: all-stage4-libelf -all-stage4: all-stage4-libelf -TARGET-stage4-libelf = $(TARGET-libelf) -all-stage4-libelf: configure-stage4-libelf - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE4_CFLAGS)" \ - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE4_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-libelf) - -maybe-clean-stage4-libelf: clean-stage4-libelf -clean-stage4: clean-stage4-libelf -clean-stage4-libelf: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libelf-bootstrap - - -.PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf -.PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf -maybe-all-stageprofile-libelf: -maybe-clean-stageprofile-libelf: -@if libelf-bootstrap -maybe-all-stageprofile-libelf: all-stageprofile-libelf -all-stageprofile: all-stageprofile-libelf -TARGET-stageprofile-libelf = $(TARGET-libelf) -all-stageprofile-libelf: configure-stageprofile-libelf - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEprofile_CFLAGS)" \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-libelf) - -maybe-clean-stageprofile-libelf: clean-stageprofile-libelf -clean-stageprofile: clean-stageprofile-libelf -clean-stageprofile-libelf: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libelf-bootstrap - - -.PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf -.PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf -maybe-all-stagefeedback-libelf: -maybe-clean-stagefeedback-libelf: -@if libelf-bootstrap -maybe-all-stagefeedback-libelf: all-stagefeedback-libelf -all-stagefeedback: all-stagefeedback-libelf -TARGET-stagefeedback-libelf = $(TARGET-libelf) -all-stagefeedback-libelf: configure-stagefeedback-libelf - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)" \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-libelf) - -maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf -clean-stagefeedback: clean-stagefeedback-libelf -clean-stagefeedback-libelf: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libelf-bootstrap - - - - - -.PHONY: check-libelf maybe-check-libelf -maybe-check-libelf: -@if libelf -maybe-check-libelf: check-libelf - -check-libelf: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif libelf - -.PHONY: install-libelf maybe-install-libelf -maybe-install-libelf: -@if libelf -maybe-install-libelf: install-libelf - -install-libelf: - -@endif libelf - -.PHONY: install-strip-libelf maybe-install-strip-libelf -maybe-install-strip-libelf: -@if libelf -maybe-install-strip-libelf: install-strip-libelf - -install-strip-libelf: - -@endif libelf - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-libelf info-libelf -maybe-info-libelf: -@if libelf -maybe-info-libelf: info-libelf - -info-libelf: \ - configure-libelf - @[ -f ./libelf/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in libelf" ; \ - (cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif libelf - -.PHONY: maybe-dvi-libelf dvi-libelf -maybe-dvi-libelf: -@if libelf -maybe-dvi-libelf: dvi-libelf - -dvi-libelf: \ - configure-libelf - @[ -f ./libelf/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in libelf" ; \ - (cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif libelf - -.PHONY: maybe-pdf-libelf pdf-libelf -maybe-pdf-libelf: -@if libelf -maybe-pdf-libelf: pdf-libelf - -pdf-libelf: \ - configure-libelf - @[ -f ./libelf/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in libelf" ; \ - (cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif libelf - -.PHONY: maybe-html-libelf html-libelf -maybe-html-libelf: -@if libelf -maybe-html-libelf: html-libelf - -html-libelf: \ - configure-libelf - @[ -f ./libelf/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in libelf" ; \ - (cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif libelf - -.PHONY: maybe-TAGS-libelf TAGS-libelf -maybe-TAGS-libelf: -@if libelf -maybe-TAGS-libelf: TAGS-libelf - -TAGS-libelf: \ - configure-libelf - @[ -f ./libelf/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in libelf" ; \ - (cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif libelf - -.PHONY: maybe-install-info-libelf install-info-libelf -maybe-install-info-libelf: -@if libelf -maybe-install-info-libelf: install-info-libelf - -install-info-libelf: \ - configure-libelf \ - info-libelf - @[ -f ./libelf/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in libelf" ; \ - (cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif libelf - -.PHONY: maybe-install-pdf-libelf install-pdf-libelf -maybe-install-pdf-libelf: -@if libelf -maybe-install-pdf-libelf: install-pdf-libelf - -install-pdf-libelf: \ - configure-libelf \ - pdf-libelf - @[ -f ./libelf/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in libelf" ; \ - (cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif libelf - -.PHONY: maybe-install-html-libelf install-html-libelf -maybe-install-html-libelf: -@if libelf -maybe-install-html-libelf: install-html-libelf - -install-html-libelf: \ - configure-libelf \ - html-libelf - @[ -f ./libelf/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in libelf" ; \ - (cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif libelf - -.PHONY: maybe-installcheck-libelf installcheck-libelf -maybe-installcheck-libelf: -@if libelf -maybe-installcheck-libelf: installcheck-libelf - -installcheck-libelf: \ - configure-libelf - @[ -f ./libelf/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in libelf" ; \ - (cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif libelf - -.PHONY: maybe-mostlyclean-libelf mostlyclean-libelf -maybe-mostlyclean-libelf: -@if libelf -maybe-mostlyclean-libelf: mostlyclean-libelf - -mostlyclean-libelf: - @[ -f ./libelf/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in libelf" ; \ - (cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif libelf - -.PHONY: maybe-clean-libelf clean-libelf -maybe-clean-libelf: -@if libelf -maybe-clean-libelf: clean-libelf - -clean-libelf: - @[ -f ./libelf/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in libelf" ; \ - (cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif libelf - -.PHONY: maybe-distclean-libelf distclean-libelf -maybe-distclean-libelf: -@if libelf -maybe-distclean-libelf: distclean-libelf - -distclean-libelf: - @[ -f ./libelf/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in libelf" ; \ - (cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif libelf - -.PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf -maybe-maintainer-clean-libelf: -@if libelf -maybe-maintainer-clean-libelf: maintainer-clean-libelf - -maintainer-clean-libelf: - @[ -f ./libelf/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in libelf" ; \ - (cd $(HOST_SUBDIR)/libelf && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif libelf - - - -.PHONY: configure-gold maybe-configure-gold -maybe-configure-gold: -@if gcc-bootstrap -configure-gold: stage_current -@endif gcc-bootstrap -@if gold -maybe-configure-gold: configure-gold -configure-gold: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/gold; \ - cd "$(HOST_SUBDIR)/gold" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gold"; \ - libsrcdir="$$s/gold"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif gold - - - -.PHONY: configure-stage1-gold maybe-configure-stage1-gold -maybe-configure-stage1-gold: -@if gold-bootstrap -maybe-configure-stage1-gold: configure-stage1-gold -configure-stage1-gold: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ - cd $(HOST_SUBDIR)/gold || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gold"; \ - libsrcdir="$$s/gold"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) -@endif gold-bootstrap - -.PHONY: configure-stage2-gold maybe-configure-stage2-gold -maybe-configure-stage2-gold: -@if gold-bootstrap -maybe-configure-stage2-gold: configure-stage2-gold -configure-stage2-gold: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ - cd $(HOST_SUBDIR)/gold || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gold"; \ - libsrcdir="$$s/gold"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) -@endif gold-bootstrap - -.PHONY: configure-stage3-gold maybe-configure-stage3-gold -maybe-configure-stage3-gold: -@if gold-bootstrap -maybe-configure-stage3-gold: configure-stage3-gold -configure-stage3-gold: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ - cd $(HOST_SUBDIR)/gold || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gold"; \ - libsrcdir="$$s/gold"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) -@endif gold-bootstrap - -.PHONY: configure-stage4-gold maybe-configure-stage4-gold -maybe-configure-stage4-gold: -@if gold-bootstrap -maybe-configure-stage4-gold: configure-stage4-gold -configure-stage4-gold: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ - cd $(HOST_SUBDIR)/gold || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gold"; \ - libsrcdir="$$s/gold"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) -@endif gold-bootstrap - -.PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold -maybe-configure-stageprofile-gold: -@if gold-bootstrap -maybe-configure-stageprofile-gold: configure-stageprofile-gold -configure-stageprofile-gold: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ - cd $(HOST_SUBDIR)/gold || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gold"; \ - libsrcdir="$$s/gold"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) -@endif gold-bootstrap - -.PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold -maybe-configure-stagefeedback-gold: -@if gold-bootstrap -maybe-configure-stagefeedback-gold: configure-stagefeedback-gold -configure-stagefeedback-gold: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ - cd $(HOST_SUBDIR)/gold || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gold"; \ - libsrcdir="$$s/gold"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) -@endif gold-bootstrap - - - - - -.PHONY: all-gold maybe-all-gold -maybe-all-gold: -@if gcc-bootstrap -all-gold: stage_current -@endif gcc-bootstrap -@if gold -TARGET-gold=all -maybe-all-gold: all-gold -all-gold: configure-gold - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-gold)) -@endif gold - - - -.PHONY: all-stage1-gold maybe-all-stage1-gold -.PHONY: clean-stage1-gold maybe-clean-stage1-gold -maybe-all-stage1-gold: -maybe-clean-stage1-gold: -@if gold-bootstrap -maybe-all-stage1-gold: all-stage1-gold -all-stage1: all-stage1-gold -TARGET-stage1-gold = $(TARGET-gold) -all-stage1-gold: configure-stage1-gold - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" \ - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ - LIBCFLAGS="$(LIBCFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-gold) - -maybe-clean-stage1-gold: clean-stage1-gold -clean-stage1: clean-stage1-gold -clean-stage1-gold: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - clean -@endif gold-bootstrap - - -.PHONY: all-stage2-gold maybe-all-stage2-gold -.PHONY: clean-stage2-gold maybe-clean-stage2-gold -maybe-all-stage2-gold: -maybe-clean-stage2-gold: -@if gold-bootstrap -maybe-all-stage2-gold: all-stage2-gold -all-stage2: all-stage2-gold -TARGET-stage2-gold = $(TARGET-gold) -all-stage2-gold: configure-stage2-gold - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE2_CFLAGS)" \ - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE2_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-gold) - -maybe-clean-stage2-gold: clean-stage2-gold -clean-stage2: clean-stage2-gold -clean-stage2-gold: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif gold-bootstrap - - -.PHONY: all-stage3-gold maybe-all-stage3-gold -.PHONY: clean-stage3-gold maybe-clean-stage3-gold -maybe-all-stage3-gold: -maybe-clean-stage3-gold: -@if gold-bootstrap -maybe-all-stage3-gold: all-stage3-gold -all-stage3: all-stage3-gold -TARGET-stage3-gold = $(TARGET-gold) -all-stage3-gold: configure-stage3-gold - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE3_CFLAGS)" \ - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE3_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-gold) - -maybe-clean-stage3-gold: clean-stage3-gold -clean-stage3: clean-stage3-gold -clean-stage3-gold: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif gold-bootstrap - - -.PHONY: all-stage4-gold maybe-all-stage4-gold -.PHONY: clean-stage4-gold maybe-clean-stage4-gold -maybe-all-stage4-gold: -maybe-clean-stage4-gold: -@if gold-bootstrap -maybe-all-stage4-gold: all-stage4-gold -all-stage4: all-stage4-gold -TARGET-stage4-gold = $(TARGET-gold) -all-stage4-gold: configure-stage4-gold - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE4_CFLAGS)" \ - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE4_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-gold) - -maybe-clean-stage4-gold: clean-stage4-gold -clean-stage4: clean-stage4-gold -clean-stage4-gold: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif gold-bootstrap - - -.PHONY: all-stageprofile-gold maybe-all-stageprofile-gold -.PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold -maybe-all-stageprofile-gold: -maybe-clean-stageprofile-gold: -@if gold-bootstrap -maybe-all-stageprofile-gold: all-stageprofile-gold -all-stageprofile: all-stageprofile-gold -TARGET-stageprofile-gold = $(TARGET-gold) -all-stageprofile-gold: configure-stageprofile-gold - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEprofile_CFLAGS)" \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-gold) - -maybe-clean-stageprofile-gold: clean-stageprofile-gold -clean-stageprofile: clean-stageprofile-gold -clean-stageprofile-gold: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif gold-bootstrap - - -.PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold -.PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold -maybe-all-stagefeedback-gold: -maybe-clean-stagefeedback-gold: -@if gold-bootstrap -maybe-all-stagefeedback-gold: all-stagefeedback-gold -all-stagefeedback: all-stagefeedback-gold -TARGET-stagefeedback-gold = $(TARGET-gold) -all-stagefeedback-gold: configure-stagefeedback-gold - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)" \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-gold) - -maybe-clean-stagefeedback-gold: clean-stagefeedback-gold -clean-stagefeedback: clean-stagefeedback-gold -clean-stagefeedback-gold: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif gold-bootstrap - - - - - -.PHONY: check-gold maybe-check-gold -maybe-check-gold: -@if gold -maybe-check-gold: check-gold - -check-gold: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif gold - -.PHONY: install-gold maybe-install-gold -maybe-install-gold: -@if gold -maybe-install-gold: install-gold - -install-gold: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif gold - -.PHONY: install-strip-gold maybe-install-strip-gold -maybe-install-strip-gold: -@if gold -maybe-install-strip-gold: install-strip-gold - -install-strip-gold: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif gold - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-gold info-gold -maybe-info-gold: -@if gold -maybe-info-gold: info-gold - -info-gold: \ - configure-gold - @[ -f ./gold/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in gold" ; \ - (cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif gold - -.PHONY: maybe-dvi-gold dvi-gold -maybe-dvi-gold: -@if gold -maybe-dvi-gold: dvi-gold - -dvi-gold: \ - configure-gold - @[ -f ./gold/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in gold" ; \ - (cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif gold - -.PHONY: maybe-pdf-gold pdf-gold -maybe-pdf-gold: -@if gold -maybe-pdf-gold: pdf-gold - -pdf-gold: \ - configure-gold - @[ -f ./gold/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in gold" ; \ - (cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif gold - -.PHONY: maybe-html-gold html-gold -maybe-html-gold: -@if gold -maybe-html-gold: html-gold - -html-gold: \ - configure-gold - @[ -f ./gold/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in gold" ; \ - (cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif gold - -.PHONY: maybe-TAGS-gold TAGS-gold -maybe-TAGS-gold: -@if gold -maybe-TAGS-gold: TAGS-gold - -TAGS-gold: \ - configure-gold - @[ -f ./gold/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in gold" ; \ - (cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif gold - -.PHONY: maybe-install-info-gold install-info-gold -maybe-install-info-gold: -@if gold -maybe-install-info-gold: install-info-gold - -install-info-gold: \ - configure-gold \ - info-gold - @[ -f ./gold/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in gold" ; \ - (cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif gold - -.PHONY: maybe-install-pdf-gold install-pdf-gold -maybe-install-pdf-gold: -@if gold -maybe-install-pdf-gold: install-pdf-gold - -install-pdf-gold: \ - configure-gold \ - pdf-gold - @[ -f ./gold/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in gold" ; \ - (cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif gold - -.PHONY: maybe-install-html-gold install-html-gold -maybe-install-html-gold: -@if gold -maybe-install-html-gold: install-html-gold - -install-html-gold: \ - configure-gold \ - html-gold - @[ -f ./gold/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in gold" ; \ - (cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif gold - -.PHONY: maybe-installcheck-gold installcheck-gold -maybe-installcheck-gold: -@if gold -maybe-installcheck-gold: installcheck-gold - -installcheck-gold: \ - configure-gold - @[ -f ./gold/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in gold" ; \ - (cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif gold - -.PHONY: maybe-mostlyclean-gold mostlyclean-gold -maybe-mostlyclean-gold: -@if gold -maybe-mostlyclean-gold: mostlyclean-gold - -mostlyclean-gold: - @[ -f ./gold/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in gold" ; \ - (cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif gold - -.PHONY: maybe-clean-gold clean-gold -maybe-clean-gold: -@if gold -maybe-clean-gold: clean-gold - -clean-gold: - @[ -f ./gold/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in gold" ; \ - (cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif gold - -.PHONY: maybe-distclean-gold distclean-gold -maybe-distclean-gold: -@if gold -maybe-distclean-gold: distclean-gold - -distclean-gold: - @[ -f ./gold/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in gold" ; \ - (cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif gold - -.PHONY: maybe-maintainer-clean-gold maintainer-clean-gold -maybe-maintainer-clean-gold: -@if gold -maybe-maintainer-clean-gold: maintainer-clean-gold - -maintainer-clean-gold: - @[ -f ./gold/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in gold" ; \ - (cd $(HOST_SUBDIR)/gold && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif gold - - - -.PHONY: configure-gprof maybe-configure-gprof -maybe-configure-gprof: -@if gcc-bootstrap -configure-gprof: stage_current -@endif gcc-bootstrap -@if gprof -maybe-configure-gprof: configure-gprof -configure-gprof: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/gprof; \ - cd "$(HOST_SUBDIR)/gprof" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gprof"; \ - libsrcdir="$$s/gprof"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif gprof - - - - - -.PHONY: all-gprof maybe-all-gprof -maybe-all-gprof: -@if gcc-bootstrap -all-gprof: stage_current -@endif gcc-bootstrap -@if gprof -TARGET-gprof=all -maybe-all-gprof: all-gprof -all-gprof: configure-gprof - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gprof && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-gprof)) -@endif gprof - - - - -.PHONY: check-gprof maybe-check-gprof -maybe-check-gprof: -@if gprof -maybe-check-gprof: check-gprof - -check-gprof: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gprof && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif gprof - -.PHONY: install-gprof maybe-install-gprof -maybe-install-gprof: -@if gprof -maybe-install-gprof: install-gprof - -install-gprof: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gprof && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif gprof - -.PHONY: install-strip-gprof maybe-install-strip-gprof -maybe-install-strip-gprof: -@if gprof -maybe-install-strip-gprof: install-strip-gprof - -install-strip-gprof: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gprof && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif gprof - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-gprof info-gprof -maybe-info-gprof: -@if gprof -maybe-info-gprof: info-gprof - -info-gprof: \ - configure-gprof - @: $(MAKE); $(unstage) - @[ -f ./gprof/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in gprof" ; \ - (cd $(HOST_SUBDIR)/gprof && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif gprof - -.PHONY: maybe-dvi-gprof dvi-gprof -maybe-dvi-gprof: -@if gprof -maybe-dvi-gprof: dvi-gprof - -dvi-gprof: \ - configure-gprof - @: $(MAKE); $(unstage) - @[ -f ./gprof/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in gprof" ; \ - (cd $(HOST_SUBDIR)/gprof && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif gprof - -.PHONY: maybe-pdf-gprof pdf-gprof -maybe-pdf-gprof: -@if gprof -maybe-pdf-gprof: pdf-gprof - -pdf-gprof: \ - configure-gprof - @: $(MAKE); $(unstage) - @[ -f ./gprof/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in gprof" ; \ - (cd $(HOST_SUBDIR)/gprof && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif gprof - -.PHONY: maybe-html-gprof html-gprof -maybe-html-gprof: -@if gprof -maybe-html-gprof: html-gprof - -html-gprof: \ - configure-gprof - @: $(MAKE); $(unstage) - @[ -f ./gprof/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in gprof" ; \ - (cd $(HOST_SUBDIR)/gprof && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif gprof - -.PHONY: maybe-TAGS-gprof TAGS-gprof -maybe-TAGS-gprof: -@if gprof -maybe-TAGS-gprof: TAGS-gprof - -TAGS-gprof: \ - configure-gprof - @: $(MAKE); $(unstage) - @[ -f ./gprof/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in gprof" ; \ - (cd $(HOST_SUBDIR)/gprof && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif gprof - -.PHONY: maybe-install-info-gprof install-info-gprof -maybe-install-info-gprof: -@if gprof -maybe-install-info-gprof: install-info-gprof - -install-info-gprof: \ - configure-gprof \ - info-gprof - @: $(MAKE); $(unstage) - @[ -f ./gprof/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in gprof" ; \ - (cd $(HOST_SUBDIR)/gprof && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif gprof - -.PHONY: maybe-install-pdf-gprof install-pdf-gprof -maybe-install-pdf-gprof: -@if gprof -maybe-install-pdf-gprof: install-pdf-gprof - -install-pdf-gprof: \ - configure-gprof \ - pdf-gprof - @: $(MAKE); $(unstage) - @[ -f ./gprof/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in gprof" ; \ - (cd $(HOST_SUBDIR)/gprof && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif gprof - -.PHONY: maybe-install-html-gprof install-html-gprof -maybe-install-html-gprof: -@if gprof -maybe-install-html-gprof: install-html-gprof - -install-html-gprof: \ - configure-gprof \ - html-gprof - @: $(MAKE); $(unstage) - @[ -f ./gprof/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in gprof" ; \ - (cd $(HOST_SUBDIR)/gprof && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif gprof - -.PHONY: maybe-installcheck-gprof installcheck-gprof -maybe-installcheck-gprof: -@if gprof -maybe-installcheck-gprof: installcheck-gprof - -installcheck-gprof: \ - configure-gprof - @: $(MAKE); $(unstage) - @[ -f ./gprof/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in gprof" ; \ - (cd $(HOST_SUBDIR)/gprof && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif gprof - -.PHONY: maybe-mostlyclean-gprof mostlyclean-gprof -maybe-mostlyclean-gprof: -@if gprof -maybe-mostlyclean-gprof: mostlyclean-gprof - -mostlyclean-gprof: - @: $(MAKE); $(unstage) - @[ -f ./gprof/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in gprof" ; \ - (cd $(HOST_SUBDIR)/gprof && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif gprof - -.PHONY: maybe-clean-gprof clean-gprof -maybe-clean-gprof: -@if gprof -maybe-clean-gprof: clean-gprof - -clean-gprof: - @: $(MAKE); $(unstage) - @[ -f ./gprof/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in gprof" ; \ - (cd $(HOST_SUBDIR)/gprof && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif gprof - -.PHONY: maybe-distclean-gprof distclean-gprof -maybe-distclean-gprof: -@if gprof -maybe-distclean-gprof: distclean-gprof - -distclean-gprof: - @: $(MAKE); $(unstage) - @[ -f ./gprof/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in gprof" ; \ - (cd $(HOST_SUBDIR)/gprof && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif gprof - -.PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof -maybe-maintainer-clean-gprof: -@if gprof -maybe-maintainer-clean-gprof: maintainer-clean-gprof - -maintainer-clean-gprof: - @: $(MAKE); $(unstage) - @[ -f ./gprof/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in gprof" ; \ - (cd $(HOST_SUBDIR)/gprof && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif gprof - - - -.PHONY: configure-intl maybe-configure-intl -maybe-configure-intl: -@if gcc-bootstrap -configure-intl: stage_current -@endif gcc-bootstrap -@if intl -maybe-configure-intl: configure-intl -configure-intl: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/intl; \ - cd "$(HOST_SUBDIR)/intl" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/intl"; \ - libsrcdir="$$s/intl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif intl - - - -.PHONY: configure-stage1-intl maybe-configure-stage1-intl -maybe-configure-stage1-intl: -@if intl-bootstrap -maybe-configure-stage1-intl: configure-stage1-intl -configure-stage1-intl: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/intl"; \ - libsrcdir="$$s/intl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) -@endif intl-bootstrap - -.PHONY: configure-stage2-intl maybe-configure-stage2-intl -maybe-configure-stage2-intl: -@if intl-bootstrap -maybe-configure-stage2-intl: configure-stage2-intl -configure-stage2-intl: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/intl"; \ - libsrcdir="$$s/intl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) -@endif intl-bootstrap - -.PHONY: configure-stage3-intl maybe-configure-stage3-intl -maybe-configure-stage3-intl: -@if intl-bootstrap -maybe-configure-stage3-intl: configure-stage3-intl -configure-stage3-intl: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/intl"; \ - libsrcdir="$$s/intl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) -@endif intl-bootstrap - -.PHONY: configure-stage4-intl maybe-configure-stage4-intl -maybe-configure-stage4-intl: -@if intl-bootstrap -maybe-configure-stage4-intl: configure-stage4-intl -configure-stage4-intl: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/intl"; \ - libsrcdir="$$s/intl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) -@endif intl-bootstrap - -.PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl -maybe-configure-stageprofile-intl: -@if intl-bootstrap -maybe-configure-stageprofile-intl: configure-stageprofile-intl -configure-stageprofile-intl: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/intl"; \ - libsrcdir="$$s/intl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) -@endif intl-bootstrap - -.PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl -maybe-configure-stagefeedback-intl: -@if intl-bootstrap -maybe-configure-stagefeedback-intl: configure-stagefeedback-intl -configure-stagefeedback-intl: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/intl"; \ - libsrcdir="$$s/intl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) -@endif intl-bootstrap - - - - - -.PHONY: all-intl maybe-all-intl -maybe-all-intl: -@if gcc-bootstrap -all-intl: stage_current -@endif gcc-bootstrap -@if intl -TARGET-intl=all -maybe-all-intl: all-intl -all-intl: configure-intl - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-intl)) -@endif intl - - - -.PHONY: all-stage1-intl maybe-all-stage1-intl -.PHONY: clean-stage1-intl maybe-clean-stage1-intl -maybe-all-stage1-intl: -maybe-clean-stage1-intl: -@if intl-bootstrap -maybe-all-stage1-intl: all-stage1-intl -all-stage1: all-stage1-intl -TARGET-stage1-intl = $(TARGET-intl) -all-stage1-intl: configure-stage1-intl - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" \ - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ - LIBCFLAGS="$(LIBCFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-intl) - -maybe-clean-stage1-intl: clean-stage1-intl -clean-stage1: clean-stage1-intl -clean-stage1-intl: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - clean -@endif intl-bootstrap - - -.PHONY: all-stage2-intl maybe-all-stage2-intl -.PHONY: clean-stage2-intl maybe-clean-stage2-intl -maybe-all-stage2-intl: -maybe-clean-stage2-intl: -@if intl-bootstrap -maybe-all-stage2-intl: all-stage2-intl -all-stage2: all-stage2-intl -TARGET-stage2-intl = $(TARGET-intl) -all-stage2-intl: configure-stage2-intl - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE2_CFLAGS)" \ - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE2_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-intl) - -maybe-clean-stage2-intl: clean-stage2-intl -clean-stage2: clean-stage2-intl -clean-stage2-intl: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif intl-bootstrap - - -.PHONY: all-stage3-intl maybe-all-stage3-intl -.PHONY: clean-stage3-intl maybe-clean-stage3-intl -maybe-all-stage3-intl: -maybe-clean-stage3-intl: -@if intl-bootstrap -maybe-all-stage3-intl: all-stage3-intl -all-stage3: all-stage3-intl -TARGET-stage3-intl = $(TARGET-intl) -all-stage3-intl: configure-stage3-intl - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE3_CFLAGS)" \ - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE3_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-intl) - -maybe-clean-stage3-intl: clean-stage3-intl -clean-stage3: clean-stage3-intl -clean-stage3-intl: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif intl-bootstrap - - -.PHONY: all-stage4-intl maybe-all-stage4-intl -.PHONY: clean-stage4-intl maybe-clean-stage4-intl -maybe-all-stage4-intl: -maybe-clean-stage4-intl: -@if intl-bootstrap -maybe-all-stage4-intl: all-stage4-intl -all-stage4: all-stage4-intl -TARGET-stage4-intl = $(TARGET-intl) -all-stage4-intl: configure-stage4-intl - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE4_CFLAGS)" \ - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE4_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-intl) - -maybe-clean-stage4-intl: clean-stage4-intl -clean-stage4: clean-stage4-intl -clean-stage4-intl: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif intl-bootstrap - - -.PHONY: all-stageprofile-intl maybe-all-stageprofile-intl -.PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl -maybe-all-stageprofile-intl: -maybe-clean-stageprofile-intl: -@if intl-bootstrap -maybe-all-stageprofile-intl: all-stageprofile-intl -all-stageprofile: all-stageprofile-intl -TARGET-stageprofile-intl = $(TARGET-intl) -all-stageprofile-intl: configure-stageprofile-intl - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEprofile_CFLAGS)" \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-intl) - -maybe-clean-stageprofile-intl: clean-stageprofile-intl -clean-stageprofile: clean-stageprofile-intl -clean-stageprofile-intl: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif intl-bootstrap - - -.PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl -.PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl -maybe-all-stagefeedback-intl: -maybe-clean-stagefeedback-intl: -@if intl-bootstrap -maybe-all-stagefeedback-intl: all-stagefeedback-intl -all-stagefeedback: all-stagefeedback-intl -TARGET-stagefeedback-intl = $(TARGET-intl) -all-stagefeedback-intl: configure-stagefeedback-intl - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)" \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-intl) - -maybe-clean-stagefeedback-intl: clean-stagefeedback-intl -clean-stagefeedback: clean-stagefeedback-intl -clean-stagefeedback-intl: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif intl-bootstrap - - - - - -.PHONY: check-intl maybe-check-intl -maybe-check-intl: -@if intl -maybe-check-intl: check-intl - -check-intl: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif intl - -.PHONY: install-intl maybe-install-intl -maybe-install-intl: -@if intl -maybe-install-intl: install-intl - -install-intl: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif intl - -.PHONY: install-strip-intl maybe-install-strip-intl -maybe-install-strip-intl: -@if intl -maybe-install-strip-intl: install-strip-intl - -install-strip-intl: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif intl - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-intl info-intl -maybe-info-intl: -@if intl -maybe-info-intl: info-intl - -info-intl: \ - configure-intl - @[ -f ./intl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in intl" ; \ - (cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif intl - -.PHONY: maybe-dvi-intl dvi-intl -maybe-dvi-intl: -@if intl -maybe-dvi-intl: dvi-intl - -dvi-intl: \ - configure-intl - @[ -f ./intl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in intl" ; \ - (cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif intl - -.PHONY: maybe-pdf-intl pdf-intl -maybe-pdf-intl: -@if intl -maybe-pdf-intl: pdf-intl - -pdf-intl: \ - configure-intl - @[ -f ./intl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in intl" ; \ - (cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif intl - -.PHONY: maybe-html-intl html-intl -maybe-html-intl: -@if intl -maybe-html-intl: html-intl - -html-intl: \ - configure-intl - @[ -f ./intl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in intl" ; \ - (cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif intl - -.PHONY: maybe-TAGS-intl TAGS-intl -maybe-TAGS-intl: -@if intl -maybe-TAGS-intl: TAGS-intl - -TAGS-intl: \ - configure-intl - @[ -f ./intl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in intl" ; \ - (cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif intl - -.PHONY: maybe-install-info-intl install-info-intl -maybe-install-info-intl: -@if intl -maybe-install-info-intl: install-info-intl - -install-info-intl: \ - configure-intl \ - info-intl - @[ -f ./intl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in intl" ; \ - (cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif intl - -.PHONY: maybe-install-pdf-intl install-pdf-intl -maybe-install-pdf-intl: -@if intl -maybe-install-pdf-intl: install-pdf-intl - -install-pdf-intl: \ - configure-intl \ - pdf-intl - @[ -f ./intl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in intl" ; \ - (cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif intl - -.PHONY: maybe-install-html-intl install-html-intl -maybe-install-html-intl: -@if intl -maybe-install-html-intl: install-html-intl - -install-html-intl: \ - configure-intl \ - html-intl - @[ -f ./intl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in intl" ; \ - (cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif intl - -.PHONY: maybe-installcheck-intl installcheck-intl -maybe-installcheck-intl: -@if intl -maybe-installcheck-intl: installcheck-intl - -installcheck-intl: \ - configure-intl - @[ -f ./intl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in intl" ; \ - (cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif intl - -.PHONY: maybe-mostlyclean-intl mostlyclean-intl -maybe-mostlyclean-intl: -@if intl -maybe-mostlyclean-intl: mostlyclean-intl - -mostlyclean-intl: - @[ -f ./intl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in intl" ; \ - (cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif intl - -.PHONY: maybe-clean-intl clean-intl -maybe-clean-intl: -@if intl -maybe-clean-intl: clean-intl - -clean-intl: - @[ -f ./intl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in intl" ; \ - (cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif intl - -.PHONY: maybe-distclean-intl distclean-intl -maybe-distclean-intl: -@if intl -maybe-distclean-intl: distclean-intl - -distclean-intl: - @[ -f ./intl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in intl" ; \ - (cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif intl - -.PHONY: maybe-maintainer-clean-intl maintainer-clean-intl -maybe-maintainer-clean-intl: -@if intl -maybe-maintainer-clean-intl: maintainer-clean-intl - -maintainer-clean-intl: - @[ -f ./intl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in intl" ; \ - (cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif intl - - - -.PHONY: configure-tcl maybe-configure-tcl -maybe-configure-tcl: -@if gcc-bootstrap -configure-tcl: stage_current -@endif gcc-bootstrap -@if tcl -maybe-configure-tcl: configure-tcl -configure-tcl: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/tcl; \ - cd "$(HOST_SUBDIR)/tcl" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/tcl"; \ - libsrcdir="$$s/tcl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif tcl - - - - - -.PHONY: all-tcl maybe-all-tcl -maybe-all-tcl: -@if gcc-bootstrap -all-tcl: stage_current -@endif gcc-bootstrap -@if tcl -TARGET-tcl=all -maybe-all-tcl: all-tcl -all-tcl: configure-tcl - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/tcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-tcl)) -@endif tcl - - - - -.PHONY: check-tcl maybe-check-tcl -maybe-check-tcl: -@if tcl -maybe-check-tcl: check-tcl - -check-tcl: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/tcl && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif tcl - -.PHONY: install-tcl maybe-install-tcl -maybe-install-tcl: -@if tcl -maybe-install-tcl: install-tcl - -install-tcl: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/tcl && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif tcl - -.PHONY: install-strip-tcl maybe-install-strip-tcl -maybe-install-strip-tcl: -@if tcl -maybe-install-strip-tcl: install-strip-tcl - -install-strip-tcl: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/tcl && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif tcl - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-tcl info-tcl -maybe-info-tcl: -@if tcl -maybe-info-tcl: info-tcl - -info-tcl: \ - configure-tcl - @: $(MAKE); $(unstage) - @[ -f ./tcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in tcl" ; \ - (cd $(HOST_SUBDIR)/tcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif tcl - -.PHONY: maybe-dvi-tcl dvi-tcl -maybe-dvi-tcl: -@if tcl -maybe-dvi-tcl: dvi-tcl - -dvi-tcl: \ - configure-tcl - @: $(MAKE); $(unstage) - @[ -f ./tcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in tcl" ; \ - (cd $(HOST_SUBDIR)/tcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif tcl - -.PHONY: maybe-pdf-tcl pdf-tcl -maybe-pdf-tcl: -@if tcl -maybe-pdf-tcl: pdf-tcl - -pdf-tcl: \ - configure-tcl - @: $(MAKE); $(unstage) - @[ -f ./tcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in tcl" ; \ - (cd $(HOST_SUBDIR)/tcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif tcl - -.PHONY: maybe-html-tcl html-tcl -maybe-html-tcl: -@if tcl -maybe-html-tcl: html-tcl - -html-tcl: \ - configure-tcl - @: $(MAKE); $(unstage) - @[ -f ./tcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in tcl" ; \ - (cd $(HOST_SUBDIR)/tcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif tcl - -.PHONY: maybe-TAGS-tcl TAGS-tcl -maybe-TAGS-tcl: -@if tcl -maybe-TAGS-tcl: TAGS-tcl - -TAGS-tcl: \ - configure-tcl - @: $(MAKE); $(unstage) - @[ -f ./tcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in tcl" ; \ - (cd $(HOST_SUBDIR)/tcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif tcl - -.PHONY: maybe-install-info-tcl install-info-tcl -maybe-install-info-tcl: -@if tcl -maybe-install-info-tcl: install-info-tcl - -install-info-tcl: \ - configure-tcl \ - info-tcl - @: $(MAKE); $(unstage) - @[ -f ./tcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in tcl" ; \ - (cd $(HOST_SUBDIR)/tcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif tcl - -.PHONY: maybe-install-pdf-tcl install-pdf-tcl -maybe-install-pdf-tcl: -@if tcl -maybe-install-pdf-tcl: install-pdf-tcl - -install-pdf-tcl: \ - configure-tcl \ - pdf-tcl - @: $(MAKE); $(unstage) - @[ -f ./tcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in tcl" ; \ - (cd $(HOST_SUBDIR)/tcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif tcl - -.PHONY: maybe-install-html-tcl install-html-tcl -maybe-install-html-tcl: -@if tcl -maybe-install-html-tcl: install-html-tcl - -install-html-tcl: \ - configure-tcl \ - html-tcl - @: $(MAKE); $(unstage) - @[ -f ./tcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in tcl" ; \ - (cd $(HOST_SUBDIR)/tcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif tcl - -.PHONY: maybe-installcheck-tcl installcheck-tcl -maybe-installcheck-tcl: -@if tcl -maybe-installcheck-tcl: installcheck-tcl - -installcheck-tcl: \ - configure-tcl - @: $(MAKE); $(unstage) - @[ -f ./tcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in tcl" ; \ - (cd $(HOST_SUBDIR)/tcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif tcl - -.PHONY: maybe-mostlyclean-tcl mostlyclean-tcl -maybe-mostlyclean-tcl: -@if tcl -maybe-mostlyclean-tcl: mostlyclean-tcl - -# tcl doesn't support mostlyclean. -mostlyclean-tcl: - -@endif tcl - -.PHONY: maybe-clean-tcl clean-tcl -maybe-clean-tcl: -@if tcl -maybe-clean-tcl: clean-tcl - -clean-tcl: - @: $(MAKE); $(unstage) - @[ -f ./tcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in tcl" ; \ - (cd $(HOST_SUBDIR)/tcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif tcl - -.PHONY: maybe-distclean-tcl distclean-tcl -maybe-distclean-tcl: -@if tcl -maybe-distclean-tcl: distclean-tcl - -distclean-tcl: - @: $(MAKE); $(unstage) - @[ -f ./tcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in tcl" ; \ - (cd $(HOST_SUBDIR)/tcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif tcl - -.PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl -maybe-maintainer-clean-tcl: -@if tcl -maybe-maintainer-clean-tcl: maintainer-clean-tcl - -maintainer-clean-tcl: - @: $(MAKE); $(unstage) - @[ -f ./tcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in tcl" ; \ - (cd $(HOST_SUBDIR)/tcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif tcl - - - -.PHONY: configure-itcl maybe-configure-itcl -maybe-configure-itcl: -@if gcc-bootstrap -configure-itcl: stage_current -@endif gcc-bootstrap -@if itcl -maybe-configure-itcl: configure-itcl -configure-itcl: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/itcl; \ - cd "$(HOST_SUBDIR)/itcl" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/itcl"; \ - libsrcdir="$$s/itcl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif itcl - - - - - -.PHONY: all-itcl maybe-all-itcl -maybe-all-itcl: -@if gcc-bootstrap -all-itcl: stage_current -@endif gcc-bootstrap -@if itcl -TARGET-itcl=all -maybe-all-itcl: all-itcl -all-itcl: configure-itcl - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/itcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-itcl)) -@endif itcl - - - - -.PHONY: check-itcl maybe-check-itcl -maybe-check-itcl: -@if itcl -maybe-check-itcl: check-itcl - -check-itcl: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/itcl && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif itcl - -.PHONY: install-itcl maybe-install-itcl -maybe-install-itcl: -@if itcl -maybe-install-itcl: install-itcl - -install-itcl: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/itcl && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif itcl - -.PHONY: install-strip-itcl maybe-install-strip-itcl -maybe-install-strip-itcl: -@if itcl -maybe-install-strip-itcl: install-strip-itcl - -install-strip-itcl: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/itcl && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif itcl - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-itcl info-itcl -maybe-info-itcl: -@if itcl -maybe-info-itcl: info-itcl - -info-itcl: \ - configure-itcl - @: $(MAKE); $(unstage) - @[ -f ./itcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in itcl" ; \ - (cd $(HOST_SUBDIR)/itcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif itcl - -.PHONY: maybe-dvi-itcl dvi-itcl -maybe-dvi-itcl: -@if itcl -maybe-dvi-itcl: dvi-itcl - -dvi-itcl: \ - configure-itcl - @: $(MAKE); $(unstage) - @[ -f ./itcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in itcl" ; \ - (cd $(HOST_SUBDIR)/itcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif itcl - -.PHONY: maybe-pdf-itcl pdf-itcl -maybe-pdf-itcl: -@if itcl -maybe-pdf-itcl: pdf-itcl - -pdf-itcl: \ - configure-itcl - @: $(MAKE); $(unstage) - @[ -f ./itcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in itcl" ; \ - (cd $(HOST_SUBDIR)/itcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif itcl - -.PHONY: maybe-html-itcl html-itcl -maybe-html-itcl: -@if itcl -maybe-html-itcl: html-itcl - -html-itcl: \ - configure-itcl - @: $(MAKE); $(unstage) - @[ -f ./itcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in itcl" ; \ - (cd $(HOST_SUBDIR)/itcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif itcl - -.PHONY: maybe-TAGS-itcl TAGS-itcl -maybe-TAGS-itcl: -@if itcl -maybe-TAGS-itcl: TAGS-itcl - -TAGS-itcl: \ - configure-itcl - @: $(MAKE); $(unstage) - @[ -f ./itcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in itcl" ; \ - (cd $(HOST_SUBDIR)/itcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif itcl - -.PHONY: maybe-install-info-itcl install-info-itcl -maybe-install-info-itcl: -@if itcl -maybe-install-info-itcl: install-info-itcl - -install-info-itcl: \ - configure-itcl \ - info-itcl - @: $(MAKE); $(unstage) - @[ -f ./itcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in itcl" ; \ - (cd $(HOST_SUBDIR)/itcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif itcl - -.PHONY: maybe-install-pdf-itcl install-pdf-itcl -maybe-install-pdf-itcl: -@if itcl -maybe-install-pdf-itcl: install-pdf-itcl - -install-pdf-itcl: \ - configure-itcl \ - pdf-itcl - @: $(MAKE); $(unstage) - @[ -f ./itcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in itcl" ; \ - (cd $(HOST_SUBDIR)/itcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif itcl - -.PHONY: maybe-install-html-itcl install-html-itcl -maybe-install-html-itcl: -@if itcl -maybe-install-html-itcl: install-html-itcl - -install-html-itcl: \ - configure-itcl \ - html-itcl - @: $(MAKE); $(unstage) - @[ -f ./itcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in itcl" ; \ - (cd $(HOST_SUBDIR)/itcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif itcl - -.PHONY: maybe-installcheck-itcl installcheck-itcl -maybe-installcheck-itcl: -@if itcl -maybe-installcheck-itcl: installcheck-itcl - -installcheck-itcl: \ - configure-itcl - @: $(MAKE); $(unstage) - @[ -f ./itcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in itcl" ; \ - (cd $(HOST_SUBDIR)/itcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif itcl - -.PHONY: maybe-mostlyclean-itcl mostlyclean-itcl -maybe-mostlyclean-itcl: -@if itcl -maybe-mostlyclean-itcl: mostlyclean-itcl - -mostlyclean-itcl: - @: $(MAKE); $(unstage) - @[ -f ./itcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in itcl" ; \ - (cd $(HOST_SUBDIR)/itcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif itcl - -.PHONY: maybe-clean-itcl clean-itcl -maybe-clean-itcl: -@if itcl -maybe-clean-itcl: clean-itcl - -clean-itcl: - @: $(MAKE); $(unstage) - @[ -f ./itcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in itcl" ; \ - (cd $(HOST_SUBDIR)/itcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif itcl - -.PHONY: maybe-distclean-itcl distclean-itcl -maybe-distclean-itcl: -@if itcl -maybe-distclean-itcl: distclean-itcl - -distclean-itcl: - @: $(MAKE); $(unstage) - @[ -f ./itcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in itcl" ; \ - (cd $(HOST_SUBDIR)/itcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif itcl - -.PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl -maybe-maintainer-clean-itcl: -@if itcl -maybe-maintainer-clean-itcl: maintainer-clean-itcl - -maintainer-clean-itcl: - @: $(MAKE); $(unstage) - @[ -f ./itcl/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in itcl" ; \ - (cd $(HOST_SUBDIR)/itcl && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif itcl - - - -.PHONY: configure-ld maybe-configure-ld -maybe-configure-ld: -@if gcc-bootstrap -configure-ld: stage_current -@endif gcc-bootstrap -@if ld -maybe-configure-ld: configure-ld -configure-ld: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/ld; \ - cd "$(HOST_SUBDIR)/ld" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/ld"; \ - libsrcdir="$$s/ld"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif ld - - - -.PHONY: configure-stage1-ld maybe-configure-stage1-ld -maybe-configure-stage1-ld: -@if ld-bootstrap -maybe-configure-stage1-ld: configure-stage1-ld -configure-stage1-ld: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ - cd $(HOST_SUBDIR)/ld || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/ld"; \ - libsrcdir="$$s/ld"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) -@endif ld-bootstrap - -.PHONY: configure-stage2-ld maybe-configure-stage2-ld -maybe-configure-stage2-ld: -@if ld-bootstrap -maybe-configure-stage2-ld: configure-stage2-ld -configure-stage2-ld: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ - cd $(HOST_SUBDIR)/ld || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/ld"; \ - libsrcdir="$$s/ld"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) -@endif ld-bootstrap - -.PHONY: configure-stage3-ld maybe-configure-stage3-ld -maybe-configure-stage3-ld: -@if ld-bootstrap -maybe-configure-stage3-ld: configure-stage3-ld -configure-stage3-ld: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ - cd $(HOST_SUBDIR)/ld || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/ld"; \ - libsrcdir="$$s/ld"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) -@endif ld-bootstrap - -.PHONY: configure-stage4-ld maybe-configure-stage4-ld -maybe-configure-stage4-ld: -@if ld-bootstrap -maybe-configure-stage4-ld: configure-stage4-ld -configure-stage4-ld: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ - cd $(HOST_SUBDIR)/ld || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/ld"; \ - libsrcdir="$$s/ld"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) -@endif ld-bootstrap - -.PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld -maybe-configure-stageprofile-ld: -@if ld-bootstrap -maybe-configure-stageprofile-ld: configure-stageprofile-ld -configure-stageprofile-ld: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ - cd $(HOST_SUBDIR)/ld || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/ld"; \ - libsrcdir="$$s/ld"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) -@endif ld-bootstrap - -.PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld -maybe-configure-stagefeedback-ld: -@if ld-bootstrap -maybe-configure-stagefeedback-ld: configure-stagefeedback-ld -configure-stagefeedback-ld: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ - cd $(HOST_SUBDIR)/ld || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/ld"; \ - libsrcdir="$$s/ld"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) -@endif ld-bootstrap - - - - - -.PHONY: all-ld maybe-all-ld -maybe-all-ld: -@if gcc-bootstrap -all-ld: stage_current -@endif gcc-bootstrap -@if ld -TARGET-ld=all -maybe-all-ld: all-ld -all-ld: configure-ld - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-ld)) -@endif ld - - - -.PHONY: all-stage1-ld maybe-all-stage1-ld -.PHONY: clean-stage1-ld maybe-clean-stage1-ld -maybe-all-stage1-ld: -maybe-clean-stage1-ld: -@if ld-bootstrap -maybe-all-stage1-ld: all-stage1-ld -all-stage1: all-stage1-ld -TARGET-stage1-ld = $(TARGET-ld) -all-stage1-ld: configure-stage1-ld - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" \ - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ - LIBCFLAGS="$(LIBCFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-ld) - -maybe-clean-stage1-ld: clean-stage1-ld -clean-stage1: clean-stage1-ld -clean-stage1-ld: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - clean -@endif ld-bootstrap - - -.PHONY: all-stage2-ld maybe-all-stage2-ld -.PHONY: clean-stage2-ld maybe-clean-stage2-ld -maybe-all-stage2-ld: -maybe-clean-stage2-ld: -@if ld-bootstrap -maybe-all-stage2-ld: all-stage2-ld -all-stage2: all-stage2-ld -TARGET-stage2-ld = $(TARGET-ld) -all-stage2-ld: configure-stage2-ld - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE2_CFLAGS)" \ - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE2_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-ld) - -maybe-clean-stage2-ld: clean-stage2-ld -clean-stage2: clean-stage2-ld -clean-stage2-ld: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif ld-bootstrap - - -.PHONY: all-stage3-ld maybe-all-stage3-ld -.PHONY: clean-stage3-ld maybe-clean-stage3-ld -maybe-all-stage3-ld: -maybe-clean-stage3-ld: -@if ld-bootstrap -maybe-all-stage3-ld: all-stage3-ld -all-stage3: all-stage3-ld -TARGET-stage3-ld = $(TARGET-ld) -all-stage3-ld: configure-stage3-ld - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE3_CFLAGS)" \ - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE3_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-ld) - -maybe-clean-stage3-ld: clean-stage3-ld -clean-stage3: clean-stage3-ld -clean-stage3-ld: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif ld-bootstrap - - -.PHONY: all-stage4-ld maybe-all-stage4-ld -.PHONY: clean-stage4-ld maybe-clean-stage4-ld -maybe-all-stage4-ld: -maybe-clean-stage4-ld: -@if ld-bootstrap -maybe-all-stage4-ld: all-stage4-ld -all-stage4: all-stage4-ld -TARGET-stage4-ld = $(TARGET-ld) -all-stage4-ld: configure-stage4-ld - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE4_CFLAGS)" \ - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE4_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-ld) - -maybe-clean-stage4-ld: clean-stage4-ld -clean-stage4: clean-stage4-ld -clean-stage4-ld: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif ld-bootstrap - - -.PHONY: all-stageprofile-ld maybe-all-stageprofile-ld -.PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld -maybe-all-stageprofile-ld: -maybe-clean-stageprofile-ld: -@if ld-bootstrap -maybe-all-stageprofile-ld: all-stageprofile-ld -all-stageprofile: all-stageprofile-ld -TARGET-stageprofile-ld = $(TARGET-ld) -all-stageprofile-ld: configure-stageprofile-ld - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEprofile_CFLAGS)" \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-ld) - -maybe-clean-stageprofile-ld: clean-stageprofile-ld -clean-stageprofile: clean-stageprofile-ld -clean-stageprofile-ld: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif ld-bootstrap - - -.PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld -.PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld -maybe-all-stagefeedback-ld: -maybe-clean-stagefeedback-ld: -@if ld-bootstrap -maybe-all-stagefeedback-ld: all-stagefeedback-ld -all-stagefeedback: all-stagefeedback-ld -TARGET-stagefeedback-ld = $(TARGET-ld) -all-stagefeedback-ld: configure-stagefeedback-ld - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)" \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-ld) - -maybe-clean-stagefeedback-ld: clean-stagefeedback-ld -clean-stagefeedback: clean-stagefeedback-ld -clean-stagefeedback-ld: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif ld-bootstrap - - - - - -.PHONY: check-ld maybe-check-ld -maybe-check-ld: -@if ld -maybe-check-ld: check-ld - -check-ld: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif ld - -.PHONY: install-ld maybe-install-ld -maybe-install-ld: -@if ld -maybe-install-ld: install-ld - -install-ld: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif ld - -.PHONY: install-strip-ld maybe-install-strip-ld -maybe-install-strip-ld: -@if ld -maybe-install-strip-ld: install-strip-ld - -install-strip-ld: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif ld - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-ld info-ld -maybe-info-ld: -@if ld -maybe-info-ld: info-ld - -info-ld: \ - configure-ld - @[ -f ./ld/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in ld" ; \ - (cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif ld - -.PHONY: maybe-dvi-ld dvi-ld -maybe-dvi-ld: -@if ld -maybe-dvi-ld: dvi-ld - -dvi-ld: \ - configure-ld - @[ -f ./ld/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in ld" ; \ - (cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif ld - -.PHONY: maybe-pdf-ld pdf-ld -maybe-pdf-ld: -@if ld -maybe-pdf-ld: pdf-ld - -pdf-ld: \ - configure-ld - @[ -f ./ld/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in ld" ; \ - (cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif ld - -.PHONY: maybe-html-ld html-ld -maybe-html-ld: -@if ld -maybe-html-ld: html-ld - -html-ld: \ - configure-ld - @[ -f ./ld/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in ld" ; \ - (cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif ld - -.PHONY: maybe-TAGS-ld TAGS-ld -maybe-TAGS-ld: -@if ld -maybe-TAGS-ld: TAGS-ld - -TAGS-ld: \ - configure-ld - @[ -f ./ld/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in ld" ; \ - (cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif ld - -.PHONY: maybe-install-info-ld install-info-ld -maybe-install-info-ld: -@if ld -maybe-install-info-ld: install-info-ld - -install-info-ld: \ - configure-ld \ - info-ld - @[ -f ./ld/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in ld" ; \ - (cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif ld - -.PHONY: maybe-install-pdf-ld install-pdf-ld -maybe-install-pdf-ld: -@if ld -maybe-install-pdf-ld: install-pdf-ld - -install-pdf-ld: \ - configure-ld \ - pdf-ld - @[ -f ./ld/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in ld" ; \ - (cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif ld - -.PHONY: maybe-install-html-ld install-html-ld -maybe-install-html-ld: -@if ld -maybe-install-html-ld: install-html-ld - -install-html-ld: \ - configure-ld \ - html-ld - @[ -f ./ld/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in ld" ; \ - (cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif ld - -.PHONY: maybe-installcheck-ld installcheck-ld -maybe-installcheck-ld: -@if ld -maybe-installcheck-ld: installcheck-ld - -installcheck-ld: \ - configure-ld - @[ -f ./ld/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in ld" ; \ - (cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif ld - -.PHONY: maybe-mostlyclean-ld mostlyclean-ld -maybe-mostlyclean-ld: -@if ld -maybe-mostlyclean-ld: mostlyclean-ld - -mostlyclean-ld: - @[ -f ./ld/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in ld" ; \ - (cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif ld - -.PHONY: maybe-clean-ld clean-ld -maybe-clean-ld: -@if ld -maybe-clean-ld: clean-ld - -clean-ld: - @[ -f ./ld/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in ld" ; \ - (cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif ld - -.PHONY: maybe-distclean-ld distclean-ld -maybe-distclean-ld: -@if ld -maybe-distclean-ld: distclean-ld - -distclean-ld: - @[ -f ./ld/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in ld" ; \ - (cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif ld - -.PHONY: maybe-maintainer-clean-ld maintainer-clean-ld -maybe-maintainer-clean-ld: -@if ld -maybe-maintainer-clean-ld: maintainer-clean-ld - -maintainer-clean-ld: - @[ -f ./ld/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in ld" ; \ - (cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif ld - - - -.PHONY: configure-libcpp maybe-configure-libcpp -maybe-configure-libcpp: -@if gcc-bootstrap -configure-libcpp: stage_current -@endif gcc-bootstrap -@if libcpp -maybe-configure-libcpp: configure-libcpp -configure-libcpp: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/libcpp; \ - cd "$(HOST_SUBDIR)/libcpp" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libcpp"; \ - libsrcdir="$$s/libcpp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif libcpp - - - -.PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp -maybe-configure-stage1-libcpp: -@if libcpp-bootstrap -maybe-configure-stage1-libcpp: configure-stage1-libcpp -configure-stage1-libcpp: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ - cd $(HOST_SUBDIR)/libcpp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libcpp"; \ - libsrcdir="$$s/libcpp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) -@endif libcpp-bootstrap - -.PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp -maybe-configure-stage2-libcpp: -@if libcpp-bootstrap -maybe-configure-stage2-libcpp: configure-stage2-libcpp -configure-stage2-libcpp: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ - cd $(HOST_SUBDIR)/libcpp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libcpp"; \ - libsrcdir="$$s/libcpp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) -@endif libcpp-bootstrap - -.PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp -maybe-configure-stage3-libcpp: -@if libcpp-bootstrap -maybe-configure-stage3-libcpp: configure-stage3-libcpp -configure-stage3-libcpp: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ - cd $(HOST_SUBDIR)/libcpp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libcpp"; \ - libsrcdir="$$s/libcpp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) -@endif libcpp-bootstrap - -.PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp -maybe-configure-stage4-libcpp: -@if libcpp-bootstrap -maybe-configure-stage4-libcpp: configure-stage4-libcpp -configure-stage4-libcpp: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ - cd $(HOST_SUBDIR)/libcpp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libcpp"; \ - libsrcdir="$$s/libcpp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) -@endif libcpp-bootstrap - -.PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp -maybe-configure-stageprofile-libcpp: -@if libcpp-bootstrap -maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp -configure-stageprofile-libcpp: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ - cd $(HOST_SUBDIR)/libcpp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libcpp"; \ - libsrcdir="$$s/libcpp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) -@endif libcpp-bootstrap - -.PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp -maybe-configure-stagefeedback-libcpp: -@if libcpp-bootstrap -maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp -configure-stagefeedback-libcpp: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ - cd $(HOST_SUBDIR)/libcpp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libcpp"; \ - libsrcdir="$$s/libcpp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) -@endif libcpp-bootstrap - - - - - -.PHONY: all-libcpp maybe-all-libcpp -maybe-all-libcpp: -@if gcc-bootstrap -all-libcpp: stage_current -@endif gcc-bootstrap -@if libcpp -TARGET-libcpp=all -maybe-all-libcpp: all-libcpp -all-libcpp: configure-libcpp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-libcpp)) -@endif libcpp - - - -.PHONY: all-stage1-libcpp maybe-all-stage1-libcpp -.PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp -maybe-all-stage1-libcpp: -maybe-clean-stage1-libcpp: -@if libcpp-bootstrap -maybe-all-stage1-libcpp: all-stage1-libcpp -all-stage1: all-stage1-libcpp -TARGET-stage1-libcpp = $(TARGET-libcpp) -all-stage1-libcpp: configure-stage1-libcpp - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" \ - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ - LIBCFLAGS="$(LIBCFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-libcpp) - -maybe-clean-stage1-libcpp: clean-stage1-libcpp -clean-stage1: clean-stage1-libcpp -clean-stage1-libcpp: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - clean -@endif libcpp-bootstrap - - -.PHONY: all-stage2-libcpp maybe-all-stage2-libcpp -.PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp -maybe-all-stage2-libcpp: -maybe-clean-stage2-libcpp: -@if libcpp-bootstrap -maybe-all-stage2-libcpp: all-stage2-libcpp -all-stage2: all-stage2-libcpp -TARGET-stage2-libcpp = $(TARGET-libcpp) -all-stage2-libcpp: configure-stage2-libcpp - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE2_CFLAGS)" \ - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE2_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-libcpp) - -maybe-clean-stage2-libcpp: clean-stage2-libcpp -clean-stage2: clean-stage2-libcpp -clean-stage2-libcpp: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libcpp-bootstrap - - -.PHONY: all-stage3-libcpp maybe-all-stage3-libcpp -.PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp -maybe-all-stage3-libcpp: -maybe-clean-stage3-libcpp: -@if libcpp-bootstrap -maybe-all-stage3-libcpp: all-stage3-libcpp -all-stage3: all-stage3-libcpp -TARGET-stage3-libcpp = $(TARGET-libcpp) -all-stage3-libcpp: configure-stage3-libcpp - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE3_CFLAGS)" \ - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE3_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-libcpp) - -maybe-clean-stage3-libcpp: clean-stage3-libcpp -clean-stage3: clean-stage3-libcpp -clean-stage3-libcpp: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libcpp-bootstrap - - -.PHONY: all-stage4-libcpp maybe-all-stage4-libcpp -.PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp -maybe-all-stage4-libcpp: -maybe-clean-stage4-libcpp: -@if libcpp-bootstrap -maybe-all-stage4-libcpp: all-stage4-libcpp -all-stage4: all-stage4-libcpp -TARGET-stage4-libcpp = $(TARGET-libcpp) -all-stage4-libcpp: configure-stage4-libcpp - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE4_CFLAGS)" \ - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE4_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-libcpp) - -maybe-clean-stage4-libcpp: clean-stage4-libcpp -clean-stage4: clean-stage4-libcpp -clean-stage4-libcpp: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libcpp-bootstrap - - -.PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp -.PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp -maybe-all-stageprofile-libcpp: -maybe-clean-stageprofile-libcpp: -@if libcpp-bootstrap -maybe-all-stageprofile-libcpp: all-stageprofile-libcpp -all-stageprofile: all-stageprofile-libcpp -TARGET-stageprofile-libcpp = $(TARGET-libcpp) -all-stageprofile-libcpp: configure-stageprofile-libcpp - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEprofile_CFLAGS)" \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-libcpp) - -maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp -clean-stageprofile: clean-stageprofile-libcpp -clean-stageprofile-libcpp: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libcpp-bootstrap - - -.PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp -.PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp -maybe-all-stagefeedback-libcpp: -maybe-clean-stagefeedback-libcpp: -@if libcpp-bootstrap -maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp -all-stagefeedback: all-stagefeedback-libcpp -TARGET-stagefeedback-libcpp = $(TARGET-libcpp) -all-stagefeedback-libcpp: configure-stagefeedback-libcpp - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)" \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-libcpp) - -maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp -clean-stagefeedback: clean-stagefeedback-libcpp -clean-stagefeedback-libcpp: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libcpp-bootstrap - - - - - -.PHONY: check-libcpp maybe-check-libcpp -maybe-check-libcpp: -@if libcpp -maybe-check-libcpp: check-libcpp - -check-libcpp: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif libcpp - -.PHONY: install-libcpp maybe-install-libcpp -maybe-install-libcpp: -@if libcpp -maybe-install-libcpp: install-libcpp - -install-libcpp: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif libcpp - -.PHONY: install-strip-libcpp maybe-install-strip-libcpp -maybe-install-strip-libcpp: -@if libcpp -maybe-install-strip-libcpp: install-strip-libcpp - -install-strip-libcpp: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif libcpp - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-libcpp info-libcpp -maybe-info-libcpp: -@if libcpp -maybe-info-libcpp: info-libcpp - -info-libcpp: \ - configure-libcpp - @[ -f ./libcpp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in libcpp" ; \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif libcpp - -.PHONY: maybe-dvi-libcpp dvi-libcpp -maybe-dvi-libcpp: -@if libcpp -maybe-dvi-libcpp: dvi-libcpp - -dvi-libcpp: \ - configure-libcpp - @[ -f ./libcpp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in libcpp" ; \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif libcpp - -.PHONY: maybe-pdf-libcpp pdf-libcpp -maybe-pdf-libcpp: -@if libcpp -maybe-pdf-libcpp: pdf-libcpp - -pdf-libcpp: \ - configure-libcpp - @[ -f ./libcpp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in libcpp" ; \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif libcpp - -.PHONY: maybe-html-libcpp html-libcpp -maybe-html-libcpp: -@if libcpp -maybe-html-libcpp: html-libcpp - -html-libcpp: \ - configure-libcpp - @[ -f ./libcpp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in libcpp" ; \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif libcpp - -.PHONY: maybe-TAGS-libcpp TAGS-libcpp -maybe-TAGS-libcpp: -@if libcpp -maybe-TAGS-libcpp: TAGS-libcpp - -TAGS-libcpp: \ - configure-libcpp - @[ -f ./libcpp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in libcpp" ; \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif libcpp - -.PHONY: maybe-install-info-libcpp install-info-libcpp -maybe-install-info-libcpp: -@if libcpp -maybe-install-info-libcpp: install-info-libcpp - -install-info-libcpp: \ - configure-libcpp \ - info-libcpp - @[ -f ./libcpp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in libcpp" ; \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif libcpp - -.PHONY: maybe-install-pdf-libcpp install-pdf-libcpp -maybe-install-pdf-libcpp: -@if libcpp -maybe-install-pdf-libcpp: install-pdf-libcpp - -install-pdf-libcpp: \ - configure-libcpp \ - pdf-libcpp - @[ -f ./libcpp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in libcpp" ; \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif libcpp - -.PHONY: maybe-install-html-libcpp install-html-libcpp -maybe-install-html-libcpp: -@if libcpp -maybe-install-html-libcpp: install-html-libcpp - -install-html-libcpp: \ - configure-libcpp \ - html-libcpp - @[ -f ./libcpp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in libcpp" ; \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif libcpp - -.PHONY: maybe-installcheck-libcpp installcheck-libcpp -maybe-installcheck-libcpp: -@if libcpp -maybe-installcheck-libcpp: installcheck-libcpp - -installcheck-libcpp: \ - configure-libcpp - @[ -f ./libcpp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in libcpp" ; \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif libcpp - -.PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp -maybe-mostlyclean-libcpp: -@if libcpp -maybe-mostlyclean-libcpp: mostlyclean-libcpp - -mostlyclean-libcpp: - @[ -f ./libcpp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in libcpp" ; \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif libcpp - -.PHONY: maybe-clean-libcpp clean-libcpp -maybe-clean-libcpp: -@if libcpp -maybe-clean-libcpp: clean-libcpp - -clean-libcpp: - @[ -f ./libcpp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in libcpp" ; \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif libcpp - -.PHONY: maybe-distclean-libcpp distclean-libcpp -maybe-distclean-libcpp: -@if libcpp -maybe-distclean-libcpp: distclean-libcpp - -distclean-libcpp: - @[ -f ./libcpp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in libcpp" ; \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif libcpp - -.PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp -maybe-maintainer-clean-libcpp: -@if libcpp -maybe-maintainer-clean-libcpp: maintainer-clean-libcpp - -maintainer-clean-libcpp: - @[ -f ./libcpp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in libcpp" ; \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif libcpp - - - -.PHONY: configure-libdecnumber maybe-configure-libdecnumber -maybe-configure-libdecnumber: -@if gcc-bootstrap -configure-libdecnumber: stage_current -@endif gcc-bootstrap -@if libdecnumber -maybe-configure-libdecnumber: configure-libdecnumber -configure-libdecnumber: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/libdecnumber; \ - cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ - libsrcdir="$$s/libdecnumber"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif libdecnumber - - - -.PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber -maybe-configure-stage1-libdecnumber: -@if libdecnumber-bootstrap -maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber -configure-stage1-libdecnumber: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ - cd $(HOST_SUBDIR)/libdecnumber || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ - libsrcdir="$$s/libdecnumber"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) -@endif libdecnumber-bootstrap - -.PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber -maybe-configure-stage2-libdecnumber: -@if libdecnumber-bootstrap -maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber -configure-stage2-libdecnumber: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ - cd $(HOST_SUBDIR)/libdecnumber || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ - libsrcdir="$$s/libdecnumber"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) -@endif libdecnumber-bootstrap - -.PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber -maybe-configure-stage3-libdecnumber: -@if libdecnumber-bootstrap -maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber -configure-stage3-libdecnumber: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ - cd $(HOST_SUBDIR)/libdecnumber || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ - libsrcdir="$$s/libdecnumber"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) -@endif libdecnumber-bootstrap - -.PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber -maybe-configure-stage4-libdecnumber: -@if libdecnumber-bootstrap -maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber -configure-stage4-libdecnumber: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ - cd $(HOST_SUBDIR)/libdecnumber || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ - libsrcdir="$$s/libdecnumber"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) -@endif libdecnumber-bootstrap - -.PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber -maybe-configure-stageprofile-libdecnumber: -@if libdecnumber-bootstrap -maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber -configure-stageprofile-libdecnumber: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ - cd $(HOST_SUBDIR)/libdecnumber || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ - libsrcdir="$$s/libdecnumber"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) -@endif libdecnumber-bootstrap - -.PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber -maybe-configure-stagefeedback-libdecnumber: -@if libdecnumber-bootstrap -maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber -configure-stagefeedback-libdecnumber: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ - cd $(HOST_SUBDIR)/libdecnumber || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ - libsrcdir="$$s/libdecnumber"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) -@endif libdecnumber-bootstrap - - - - - -.PHONY: all-libdecnumber maybe-all-libdecnumber -maybe-all-libdecnumber: -@if gcc-bootstrap -all-libdecnumber: stage_current -@endif gcc-bootstrap -@if libdecnumber -TARGET-libdecnumber=all -maybe-all-libdecnumber: all-libdecnumber -all-libdecnumber: configure-libdecnumber - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-libdecnumber)) -@endif libdecnumber - - - -.PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber -.PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber -maybe-all-stage1-libdecnumber: -maybe-clean-stage1-libdecnumber: -@if libdecnumber-bootstrap -maybe-all-stage1-libdecnumber: all-stage1-libdecnumber -all-stage1: all-stage1-libdecnumber -TARGET-stage1-libdecnumber = $(TARGET-libdecnumber) -all-stage1-libdecnumber: configure-stage1-libdecnumber - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" \ - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ - LIBCFLAGS="$(LIBCFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-libdecnumber) - -maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber -clean-stage1: clean-stage1-libdecnumber -clean-stage1-libdecnumber: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - clean -@endif libdecnumber-bootstrap - - -.PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber -.PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber -maybe-all-stage2-libdecnumber: -maybe-clean-stage2-libdecnumber: -@if libdecnumber-bootstrap -maybe-all-stage2-libdecnumber: all-stage2-libdecnumber -all-stage2: all-stage2-libdecnumber -TARGET-stage2-libdecnumber = $(TARGET-libdecnumber) -all-stage2-libdecnumber: configure-stage2-libdecnumber - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE2_CFLAGS)" \ - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE2_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-libdecnumber) - -maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber -clean-stage2: clean-stage2-libdecnumber -clean-stage2-libdecnumber: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libdecnumber-bootstrap - - -.PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber -.PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber -maybe-all-stage3-libdecnumber: -maybe-clean-stage3-libdecnumber: -@if libdecnumber-bootstrap -maybe-all-stage3-libdecnumber: all-stage3-libdecnumber -all-stage3: all-stage3-libdecnumber -TARGET-stage3-libdecnumber = $(TARGET-libdecnumber) -all-stage3-libdecnumber: configure-stage3-libdecnumber - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE3_CFLAGS)" \ - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE3_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-libdecnumber) - -maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber -clean-stage3: clean-stage3-libdecnumber -clean-stage3-libdecnumber: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libdecnumber-bootstrap - - -.PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber -.PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber -maybe-all-stage4-libdecnumber: -maybe-clean-stage4-libdecnumber: -@if libdecnumber-bootstrap -maybe-all-stage4-libdecnumber: all-stage4-libdecnumber -all-stage4: all-stage4-libdecnumber -TARGET-stage4-libdecnumber = $(TARGET-libdecnumber) -all-stage4-libdecnumber: configure-stage4-libdecnumber - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE4_CFLAGS)" \ - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE4_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-libdecnumber) - -maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber -clean-stage4: clean-stage4-libdecnumber -clean-stage4-libdecnumber: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libdecnumber-bootstrap - - -.PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber -.PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber -maybe-all-stageprofile-libdecnumber: -maybe-clean-stageprofile-libdecnumber: -@if libdecnumber-bootstrap -maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber -all-stageprofile: all-stageprofile-libdecnumber -TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber) -all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEprofile_CFLAGS)" \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-libdecnumber) - -maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber -clean-stageprofile: clean-stageprofile-libdecnumber -clean-stageprofile-libdecnumber: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libdecnumber-bootstrap - - -.PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber -.PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber -maybe-all-stagefeedback-libdecnumber: -maybe-clean-stagefeedback-libdecnumber: -@if libdecnumber-bootstrap -maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber -all-stagefeedback: all-stagefeedback-libdecnumber -TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber) -all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)" \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-libdecnumber) - -maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber -clean-stagefeedback: clean-stagefeedback-libdecnumber -clean-stagefeedback-libdecnumber: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libdecnumber-bootstrap - - - - - -.PHONY: check-libdecnumber maybe-check-libdecnumber -maybe-check-libdecnumber: -@if libdecnumber -maybe-check-libdecnumber: check-libdecnumber - -check-libdecnumber: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif libdecnumber - -.PHONY: install-libdecnumber maybe-install-libdecnumber -maybe-install-libdecnumber: -@if libdecnumber -maybe-install-libdecnumber: install-libdecnumber - -install-libdecnumber: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif libdecnumber - -.PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber -maybe-install-strip-libdecnumber: -@if libdecnumber -maybe-install-strip-libdecnumber: install-strip-libdecnumber - -install-strip-libdecnumber: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif libdecnumber - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-libdecnumber info-libdecnumber -maybe-info-libdecnumber: -@if libdecnumber -maybe-info-libdecnumber: info-libdecnumber - -info-libdecnumber: \ - configure-libdecnumber - @[ -f ./libdecnumber/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in libdecnumber" ; \ - (cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif libdecnumber - -.PHONY: maybe-dvi-libdecnumber dvi-libdecnumber -maybe-dvi-libdecnumber: -@if libdecnumber -maybe-dvi-libdecnumber: dvi-libdecnumber - -dvi-libdecnumber: \ - configure-libdecnumber - @[ -f ./libdecnumber/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in libdecnumber" ; \ - (cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif libdecnumber - -.PHONY: maybe-pdf-libdecnumber pdf-libdecnumber -maybe-pdf-libdecnumber: -@if libdecnumber -maybe-pdf-libdecnumber: pdf-libdecnumber - -pdf-libdecnumber: \ - configure-libdecnumber - @[ -f ./libdecnumber/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in libdecnumber" ; \ - (cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif libdecnumber - -.PHONY: maybe-html-libdecnumber html-libdecnumber -maybe-html-libdecnumber: -@if libdecnumber -maybe-html-libdecnumber: html-libdecnumber - -html-libdecnumber: \ - configure-libdecnumber - @[ -f ./libdecnumber/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in libdecnumber" ; \ - (cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif libdecnumber - -.PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber -maybe-TAGS-libdecnumber: -@if libdecnumber -maybe-TAGS-libdecnumber: TAGS-libdecnumber - -TAGS-libdecnumber: \ - configure-libdecnumber - @[ -f ./libdecnumber/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in libdecnumber" ; \ - (cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif libdecnumber - -.PHONY: maybe-install-info-libdecnumber install-info-libdecnumber -maybe-install-info-libdecnumber: -@if libdecnumber -maybe-install-info-libdecnumber: install-info-libdecnumber - -install-info-libdecnumber: \ - configure-libdecnumber \ - info-libdecnumber - @[ -f ./libdecnumber/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in libdecnumber" ; \ - (cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif libdecnumber - -.PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber -maybe-install-pdf-libdecnumber: -@if libdecnumber -maybe-install-pdf-libdecnumber: install-pdf-libdecnumber - -install-pdf-libdecnumber: \ - configure-libdecnumber \ - pdf-libdecnumber - @[ -f ./libdecnumber/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in libdecnumber" ; \ - (cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif libdecnumber - -.PHONY: maybe-install-html-libdecnumber install-html-libdecnumber -maybe-install-html-libdecnumber: -@if libdecnumber -maybe-install-html-libdecnumber: install-html-libdecnumber - -install-html-libdecnumber: \ - configure-libdecnumber \ - html-libdecnumber - @[ -f ./libdecnumber/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in libdecnumber" ; \ - (cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif libdecnumber - -.PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber -maybe-installcheck-libdecnumber: -@if libdecnumber -maybe-installcheck-libdecnumber: installcheck-libdecnumber - -installcheck-libdecnumber: \ - configure-libdecnumber - @[ -f ./libdecnumber/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in libdecnumber" ; \ - (cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif libdecnumber - -.PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber -maybe-mostlyclean-libdecnumber: -@if libdecnumber -maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber - -mostlyclean-libdecnumber: - @[ -f ./libdecnumber/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in libdecnumber" ; \ - (cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif libdecnumber - -.PHONY: maybe-clean-libdecnumber clean-libdecnumber -maybe-clean-libdecnumber: -@if libdecnumber -maybe-clean-libdecnumber: clean-libdecnumber - -clean-libdecnumber: - @[ -f ./libdecnumber/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in libdecnumber" ; \ - (cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif libdecnumber - -.PHONY: maybe-distclean-libdecnumber distclean-libdecnumber -maybe-distclean-libdecnumber: -@if libdecnumber -maybe-distclean-libdecnumber: distclean-libdecnumber - -distclean-libdecnumber: - @[ -f ./libdecnumber/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in libdecnumber" ; \ - (cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif libdecnumber - -.PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber -maybe-maintainer-clean-libdecnumber: -@if libdecnumber -maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber - -maintainer-clean-libdecnumber: - @[ -f ./libdecnumber/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in libdecnumber" ; \ - (cd $(HOST_SUBDIR)/libdecnumber && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif libdecnumber - - - -.PHONY: configure-libgui maybe-configure-libgui -maybe-configure-libgui: -@if gcc-bootstrap -configure-libgui: stage_current -@endif gcc-bootstrap -@if libgui -maybe-configure-libgui: configure-libgui -configure-libgui: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/libgui; \ - cd "$(HOST_SUBDIR)/libgui" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libgui"; \ - libsrcdir="$$s/libgui"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif libgui - - - - - -.PHONY: all-libgui maybe-all-libgui -maybe-all-libgui: -@if gcc-bootstrap -all-libgui: stage_current -@endif gcc-bootstrap -@if libgui -TARGET-libgui=all -maybe-all-libgui: all-libgui -all-libgui: configure-libgui - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libgui && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-libgui)) -@endif libgui - - - - -.PHONY: check-libgui maybe-check-libgui -maybe-check-libgui: -@if libgui -maybe-check-libgui: check-libgui - -check-libgui: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libgui && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif libgui - -.PHONY: install-libgui maybe-install-libgui -maybe-install-libgui: -@if libgui -maybe-install-libgui: install-libgui - -install-libgui: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libgui && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif libgui - -.PHONY: install-strip-libgui maybe-install-strip-libgui -maybe-install-strip-libgui: -@if libgui -maybe-install-strip-libgui: install-strip-libgui - -install-strip-libgui: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libgui && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif libgui - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-libgui info-libgui -maybe-info-libgui: -@if libgui -maybe-info-libgui: info-libgui - -info-libgui: \ - configure-libgui - @: $(MAKE); $(unstage) - @[ -f ./libgui/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in libgui" ; \ - (cd $(HOST_SUBDIR)/libgui && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif libgui - -.PHONY: maybe-dvi-libgui dvi-libgui -maybe-dvi-libgui: -@if libgui -maybe-dvi-libgui: dvi-libgui - -dvi-libgui: \ - configure-libgui - @: $(MAKE); $(unstage) - @[ -f ./libgui/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in libgui" ; \ - (cd $(HOST_SUBDIR)/libgui && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif libgui - -.PHONY: maybe-pdf-libgui pdf-libgui -maybe-pdf-libgui: -@if libgui -maybe-pdf-libgui: pdf-libgui - -pdf-libgui: \ - configure-libgui - @: $(MAKE); $(unstage) - @[ -f ./libgui/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in libgui" ; \ - (cd $(HOST_SUBDIR)/libgui && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif libgui - -.PHONY: maybe-html-libgui html-libgui -maybe-html-libgui: -@if libgui -maybe-html-libgui: html-libgui - -html-libgui: \ - configure-libgui - @: $(MAKE); $(unstage) - @[ -f ./libgui/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in libgui" ; \ - (cd $(HOST_SUBDIR)/libgui && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif libgui - -.PHONY: maybe-TAGS-libgui TAGS-libgui -maybe-TAGS-libgui: -@if libgui -maybe-TAGS-libgui: TAGS-libgui - -TAGS-libgui: \ - configure-libgui - @: $(MAKE); $(unstage) - @[ -f ./libgui/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in libgui" ; \ - (cd $(HOST_SUBDIR)/libgui && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif libgui - -.PHONY: maybe-install-info-libgui install-info-libgui -maybe-install-info-libgui: -@if libgui -maybe-install-info-libgui: install-info-libgui - -install-info-libgui: \ - configure-libgui \ - info-libgui - @: $(MAKE); $(unstage) - @[ -f ./libgui/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in libgui" ; \ - (cd $(HOST_SUBDIR)/libgui && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif libgui - -.PHONY: maybe-install-pdf-libgui install-pdf-libgui -maybe-install-pdf-libgui: -@if libgui -maybe-install-pdf-libgui: install-pdf-libgui - -install-pdf-libgui: \ - configure-libgui \ - pdf-libgui - @: $(MAKE); $(unstage) - @[ -f ./libgui/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in libgui" ; \ - (cd $(HOST_SUBDIR)/libgui && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif libgui - -.PHONY: maybe-install-html-libgui install-html-libgui -maybe-install-html-libgui: -@if libgui -maybe-install-html-libgui: install-html-libgui - -install-html-libgui: \ - configure-libgui \ - html-libgui - @: $(MAKE); $(unstage) - @[ -f ./libgui/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in libgui" ; \ - (cd $(HOST_SUBDIR)/libgui && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif libgui - -.PHONY: maybe-installcheck-libgui installcheck-libgui -maybe-installcheck-libgui: -@if libgui -maybe-installcheck-libgui: installcheck-libgui - -installcheck-libgui: \ - configure-libgui - @: $(MAKE); $(unstage) - @[ -f ./libgui/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in libgui" ; \ - (cd $(HOST_SUBDIR)/libgui && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif libgui - -.PHONY: maybe-mostlyclean-libgui mostlyclean-libgui -maybe-mostlyclean-libgui: -@if libgui -maybe-mostlyclean-libgui: mostlyclean-libgui - -mostlyclean-libgui: - @: $(MAKE); $(unstage) - @[ -f ./libgui/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in libgui" ; \ - (cd $(HOST_SUBDIR)/libgui && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif libgui - -.PHONY: maybe-clean-libgui clean-libgui -maybe-clean-libgui: -@if libgui -maybe-clean-libgui: clean-libgui - -clean-libgui: - @: $(MAKE); $(unstage) - @[ -f ./libgui/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in libgui" ; \ - (cd $(HOST_SUBDIR)/libgui && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif libgui - -.PHONY: maybe-distclean-libgui distclean-libgui -maybe-distclean-libgui: -@if libgui -maybe-distclean-libgui: distclean-libgui - -distclean-libgui: - @: $(MAKE); $(unstage) - @[ -f ./libgui/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in libgui" ; \ - (cd $(HOST_SUBDIR)/libgui && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif libgui - -.PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui -maybe-maintainer-clean-libgui: -@if libgui -maybe-maintainer-clean-libgui: maintainer-clean-libgui - -maintainer-clean-libgui: - @: $(MAKE); $(unstage) - @[ -f ./libgui/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in libgui" ; \ - (cd $(HOST_SUBDIR)/libgui && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif libgui - - - -.PHONY: configure-libiberty maybe-configure-libiberty -maybe-configure-libiberty: -@if gcc-bootstrap -configure-libiberty: stage_current -@endif gcc-bootstrap -@if libiberty -maybe-configure-libiberty: configure-libiberty -configure-libiberty: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/libiberty; \ - cd "$(HOST_SUBDIR)/libiberty" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libiberty"; \ - libsrcdir="$$s/libiberty"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \ - || exit 1 -@endif libiberty - - - -.PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty -maybe-configure-stage1-libiberty: -@if libiberty-bootstrap -maybe-configure-stage1-libiberty: configure-stage1-libiberty -configure-stage1-libiberty: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ - cd $(HOST_SUBDIR)/libiberty || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libiberty"; \ - libsrcdir="$$s/libiberty"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) \ - @extra_host_libiberty_configure_flags@ -@endif libiberty-bootstrap - -.PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty -maybe-configure-stage2-libiberty: -@if libiberty-bootstrap -maybe-configure-stage2-libiberty: configure-stage2-libiberty -configure-stage2-libiberty: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ - cd $(HOST_SUBDIR)/libiberty || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libiberty"; \ - libsrcdir="$$s/libiberty"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) \ - @extra_host_libiberty_configure_flags@ -@endif libiberty-bootstrap - -.PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty -maybe-configure-stage3-libiberty: -@if libiberty-bootstrap -maybe-configure-stage3-libiberty: configure-stage3-libiberty -configure-stage3-libiberty: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ - cd $(HOST_SUBDIR)/libiberty || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libiberty"; \ - libsrcdir="$$s/libiberty"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) \ - @extra_host_libiberty_configure_flags@ -@endif libiberty-bootstrap - -.PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty -maybe-configure-stage4-libiberty: -@if libiberty-bootstrap -maybe-configure-stage4-libiberty: configure-stage4-libiberty -configure-stage4-libiberty: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ - cd $(HOST_SUBDIR)/libiberty || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libiberty"; \ - libsrcdir="$$s/libiberty"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) \ - @extra_host_libiberty_configure_flags@ -@endif libiberty-bootstrap - -.PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty -maybe-configure-stageprofile-libiberty: -@if libiberty-bootstrap -maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty -configure-stageprofile-libiberty: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ - cd $(HOST_SUBDIR)/libiberty || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libiberty"; \ - libsrcdir="$$s/libiberty"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) \ - @extra_host_libiberty_configure_flags@ -@endif libiberty-bootstrap - -.PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty -maybe-configure-stagefeedback-libiberty: -@if libiberty-bootstrap -maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty -configure-stagefeedback-libiberty: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ - cd $(HOST_SUBDIR)/libiberty || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libiberty"; \ - libsrcdir="$$s/libiberty"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) \ - @extra_host_libiberty_configure_flags@ -@endif libiberty-bootstrap - - - - - -.PHONY: all-libiberty maybe-all-libiberty -maybe-all-libiberty: -@if gcc-bootstrap -all-libiberty: stage_current -@endif gcc-bootstrap -@if libiberty -TARGET-libiberty=all -maybe-all-libiberty: all-libiberty -all-libiberty: configure-libiberty - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-libiberty)) -@endif libiberty - - - -.PHONY: all-stage1-libiberty maybe-all-stage1-libiberty -.PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty -maybe-all-stage1-libiberty: -maybe-clean-stage1-libiberty: -@if libiberty-bootstrap -maybe-all-stage1-libiberty: all-stage1-libiberty -all-stage1: all-stage1-libiberty -TARGET-stage1-libiberty = $(TARGET-libiberty) -all-stage1-libiberty: configure-stage1-libiberty - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" \ - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ - LIBCFLAGS="$(LIBCFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-libiberty) - -maybe-clean-stage1-libiberty: clean-stage1-libiberty -clean-stage1: clean-stage1-libiberty -clean-stage1-libiberty: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - clean -@endif libiberty-bootstrap - - -.PHONY: all-stage2-libiberty maybe-all-stage2-libiberty -.PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty -maybe-all-stage2-libiberty: -maybe-clean-stage2-libiberty: -@if libiberty-bootstrap -maybe-all-stage2-libiberty: all-stage2-libiberty -all-stage2: all-stage2-libiberty -TARGET-stage2-libiberty = $(TARGET-libiberty) -all-stage2-libiberty: configure-stage2-libiberty - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE2_CFLAGS)" \ - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE2_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-libiberty) - -maybe-clean-stage2-libiberty: clean-stage2-libiberty -clean-stage2: clean-stage2-libiberty -clean-stage2-libiberty: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libiberty-bootstrap - - -.PHONY: all-stage3-libiberty maybe-all-stage3-libiberty -.PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty -maybe-all-stage3-libiberty: -maybe-clean-stage3-libiberty: -@if libiberty-bootstrap -maybe-all-stage3-libiberty: all-stage3-libiberty -all-stage3: all-stage3-libiberty -TARGET-stage3-libiberty = $(TARGET-libiberty) -all-stage3-libiberty: configure-stage3-libiberty - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE3_CFLAGS)" \ - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE3_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-libiberty) - -maybe-clean-stage3-libiberty: clean-stage3-libiberty -clean-stage3: clean-stage3-libiberty -clean-stage3-libiberty: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libiberty-bootstrap - - -.PHONY: all-stage4-libiberty maybe-all-stage4-libiberty -.PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty -maybe-all-stage4-libiberty: -maybe-clean-stage4-libiberty: -@if libiberty-bootstrap -maybe-all-stage4-libiberty: all-stage4-libiberty -all-stage4: all-stage4-libiberty -TARGET-stage4-libiberty = $(TARGET-libiberty) -all-stage4-libiberty: configure-stage4-libiberty - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE4_CFLAGS)" \ - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE4_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-libiberty) - -maybe-clean-stage4-libiberty: clean-stage4-libiberty -clean-stage4: clean-stage4-libiberty -clean-stage4-libiberty: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libiberty-bootstrap - - -.PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty -.PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty -maybe-all-stageprofile-libiberty: -maybe-clean-stageprofile-libiberty: -@if libiberty-bootstrap -maybe-all-stageprofile-libiberty: all-stageprofile-libiberty -all-stageprofile: all-stageprofile-libiberty -TARGET-stageprofile-libiberty = $(TARGET-libiberty) -all-stageprofile-libiberty: configure-stageprofile-libiberty - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEprofile_CFLAGS)" \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-libiberty) - -maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty -clean-stageprofile: clean-stageprofile-libiberty -clean-stageprofile-libiberty: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libiberty-bootstrap - - -.PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty -.PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty -maybe-all-stagefeedback-libiberty: -maybe-clean-stagefeedback-libiberty: -@if libiberty-bootstrap -maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty -all-stagefeedback: all-stagefeedback-libiberty -TARGET-stagefeedback-libiberty = $(TARGET-libiberty) -all-stagefeedback-libiberty: configure-stagefeedback-libiberty - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)" \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-libiberty) - -maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty -clean-stagefeedback: clean-stagefeedback-libiberty -clean-stagefeedback-libiberty: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libiberty-bootstrap - - - - - -.PHONY: check-libiberty maybe-check-libiberty -maybe-check-libiberty: -@if libiberty -maybe-check-libiberty: check-libiberty - -check-libiberty: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif libiberty - -.PHONY: install-libiberty maybe-install-libiberty -maybe-install-libiberty: -@if libiberty -maybe-install-libiberty: install-libiberty - -install-libiberty: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif libiberty - -.PHONY: install-strip-libiberty maybe-install-strip-libiberty -maybe-install-strip-libiberty: -@if libiberty -maybe-install-strip-libiberty: install-strip-libiberty - -install-strip-libiberty: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif libiberty - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-libiberty info-libiberty -maybe-info-libiberty: -@if libiberty -maybe-info-libiberty: info-libiberty - -info-libiberty: \ - configure-libiberty - @[ -f ./libiberty/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in libiberty" ; \ - (cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif libiberty - -.PHONY: maybe-dvi-libiberty dvi-libiberty -maybe-dvi-libiberty: -@if libiberty -maybe-dvi-libiberty: dvi-libiberty - -dvi-libiberty: \ - configure-libiberty - @[ -f ./libiberty/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in libiberty" ; \ - (cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif libiberty - -.PHONY: maybe-pdf-libiberty pdf-libiberty -maybe-pdf-libiberty: -@if libiberty -maybe-pdf-libiberty: pdf-libiberty - -pdf-libiberty: \ - configure-libiberty - @[ -f ./libiberty/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in libiberty" ; \ - (cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif libiberty - -.PHONY: maybe-html-libiberty html-libiberty -maybe-html-libiberty: -@if libiberty -maybe-html-libiberty: html-libiberty - -html-libiberty: \ - configure-libiberty - @[ -f ./libiberty/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in libiberty" ; \ - (cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif libiberty - -.PHONY: maybe-TAGS-libiberty TAGS-libiberty -maybe-TAGS-libiberty: -@if libiberty -maybe-TAGS-libiberty: TAGS-libiberty - -TAGS-libiberty: \ - configure-libiberty - @[ -f ./libiberty/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in libiberty" ; \ - (cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif libiberty - -.PHONY: maybe-install-info-libiberty install-info-libiberty -maybe-install-info-libiberty: -@if libiberty -maybe-install-info-libiberty: install-info-libiberty - -install-info-libiberty: \ - configure-libiberty \ - info-libiberty - @[ -f ./libiberty/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in libiberty" ; \ - (cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif libiberty - -.PHONY: maybe-install-pdf-libiberty install-pdf-libiberty -maybe-install-pdf-libiberty: -@if libiberty -maybe-install-pdf-libiberty: install-pdf-libiberty - -install-pdf-libiberty: \ - configure-libiberty \ - pdf-libiberty - @[ -f ./libiberty/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in libiberty" ; \ - (cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif libiberty - -.PHONY: maybe-install-html-libiberty install-html-libiberty -maybe-install-html-libiberty: -@if libiberty -maybe-install-html-libiberty: install-html-libiberty - -install-html-libiberty: \ - configure-libiberty \ - html-libiberty - @[ -f ./libiberty/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in libiberty" ; \ - (cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif libiberty - -.PHONY: maybe-installcheck-libiberty installcheck-libiberty -maybe-installcheck-libiberty: -@if libiberty -maybe-installcheck-libiberty: installcheck-libiberty - -installcheck-libiberty: \ - configure-libiberty - @[ -f ./libiberty/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in libiberty" ; \ - (cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif libiberty - -.PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty -maybe-mostlyclean-libiberty: -@if libiberty -maybe-mostlyclean-libiberty: mostlyclean-libiberty - -mostlyclean-libiberty: - @[ -f ./libiberty/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in libiberty" ; \ - (cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif libiberty - -.PHONY: maybe-clean-libiberty clean-libiberty -maybe-clean-libiberty: -@if libiberty -maybe-clean-libiberty: clean-libiberty - -clean-libiberty: - @[ -f ./libiberty/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in libiberty" ; \ - (cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif libiberty - -.PHONY: maybe-distclean-libiberty distclean-libiberty -maybe-distclean-libiberty: -@if libiberty -maybe-distclean-libiberty: distclean-libiberty - -distclean-libiberty: - @[ -f ./libiberty/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in libiberty" ; \ - (cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif libiberty - -.PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty -maybe-maintainer-clean-libiberty: -@if libiberty -maybe-maintainer-clean-libiberty: maintainer-clean-libiberty - -maintainer-clean-libiberty: - @[ -f ./libiberty/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in libiberty" ; \ - (cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif libiberty - - - -.PHONY: configure-libiconv maybe-configure-libiconv -maybe-configure-libiconv: -@if gcc-bootstrap -configure-libiconv: stage_current -@endif gcc-bootstrap -@if libiconv -maybe-configure-libiconv: configure-libiconv -configure-libiconv: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/libiconv; \ - cd "$(HOST_SUBDIR)/libiconv" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libiconv"; \ - libsrcdir="$$s/libiconv"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} --disable-shared \ - || exit 1 -@endif libiconv - - - - - -.PHONY: all-libiconv maybe-all-libiconv -maybe-all-libiconv: -@if gcc-bootstrap -all-libiconv: stage_current -@endif gcc-bootstrap -@if libiconv -TARGET-libiconv=all -maybe-all-libiconv: all-libiconv -all-libiconv: configure-libiconv - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libiconv && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-libiconv)) -@endif libiconv - - - - -.PHONY: check-libiconv maybe-check-libiconv -maybe-check-libiconv: -@if libiconv -maybe-check-libiconv: check-libiconv - -check-libiconv: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libiconv && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif libiconv - -.PHONY: install-libiconv maybe-install-libiconv -maybe-install-libiconv: -@if libiconv -maybe-install-libiconv: install-libiconv - -install-libiconv: - -@endif libiconv - -.PHONY: install-strip-libiconv maybe-install-strip-libiconv -maybe-install-strip-libiconv: -@if libiconv -maybe-install-strip-libiconv: install-strip-libiconv - -install-strip-libiconv: - -@endif libiconv - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-libiconv info-libiconv -maybe-info-libiconv: -@if libiconv -maybe-info-libiconv: info-libiconv - -info-libiconv: \ - configure-libiconv - @: $(MAKE); $(unstage) - @[ -f ./libiconv/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in libiconv" ; \ - (cd $(HOST_SUBDIR)/libiconv && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif libiconv - -.PHONY: maybe-dvi-libiconv dvi-libiconv -maybe-dvi-libiconv: -@if libiconv -maybe-dvi-libiconv: dvi-libiconv - -dvi-libiconv: \ - configure-libiconv - @: $(MAKE); $(unstage) - @[ -f ./libiconv/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in libiconv" ; \ - (cd $(HOST_SUBDIR)/libiconv && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif libiconv - -.PHONY: maybe-pdf-libiconv pdf-libiconv -maybe-pdf-libiconv: -@if libiconv -maybe-pdf-libiconv: pdf-libiconv - -pdf-libiconv: \ - configure-libiconv - @: $(MAKE); $(unstage) - @[ -f ./libiconv/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in libiconv" ; \ - (cd $(HOST_SUBDIR)/libiconv && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif libiconv - -.PHONY: maybe-html-libiconv html-libiconv -maybe-html-libiconv: -@if libiconv -maybe-html-libiconv: html-libiconv - -html-libiconv: \ - configure-libiconv - @: $(MAKE); $(unstage) - @[ -f ./libiconv/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in libiconv" ; \ - (cd $(HOST_SUBDIR)/libiconv && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif libiconv - -.PHONY: maybe-TAGS-libiconv TAGS-libiconv -maybe-TAGS-libiconv: -@if libiconv -maybe-TAGS-libiconv: TAGS-libiconv - -TAGS-libiconv: \ - configure-libiconv - @: $(MAKE); $(unstage) - @[ -f ./libiconv/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in libiconv" ; \ - (cd $(HOST_SUBDIR)/libiconv && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif libiconv - -.PHONY: maybe-install-info-libiconv install-info-libiconv -maybe-install-info-libiconv: -@if libiconv -maybe-install-info-libiconv: install-info-libiconv - -# libiconv doesn't support install-info. -install-info-libiconv: - -@endif libiconv - -.PHONY: maybe-install-pdf-libiconv install-pdf-libiconv -maybe-install-pdf-libiconv: -@if libiconv -maybe-install-pdf-libiconv: install-pdf-libiconv - -# libiconv doesn't support install-pdf. -install-pdf-libiconv: - -@endif libiconv - -.PHONY: maybe-install-html-libiconv install-html-libiconv -maybe-install-html-libiconv: -@if libiconv -maybe-install-html-libiconv: install-html-libiconv - -# libiconv doesn't support install-html. -install-html-libiconv: - -@endif libiconv - -.PHONY: maybe-installcheck-libiconv installcheck-libiconv -maybe-installcheck-libiconv: -@if libiconv -maybe-installcheck-libiconv: installcheck-libiconv - -installcheck-libiconv: \ - configure-libiconv - @: $(MAKE); $(unstage) - @[ -f ./libiconv/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in libiconv" ; \ - (cd $(HOST_SUBDIR)/libiconv && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif libiconv - -.PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv -maybe-mostlyclean-libiconv: -@if libiconv -maybe-mostlyclean-libiconv: mostlyclean-libiconv - -mostlyclean-libiconv: - @: $(MAKE); $(unstage) - @[ -f ./libiconv/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in libiconv" ; \ - (cd $(HOST_SUBDIR)/libiconv && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif libiconv - -.PHONY: maybe-clean-libiconv clean-libiconv -maybe-clean-libiconv: -@if libiconv -maybe-clean-libiconv: clean-libiconv - -clean-libiconv: - @: $(MAKE); $(unstage) - @[ -f ./libiconv/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in libiconv" ; \ - (cd $(HOST_SUBDIR)/libiconv && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif libiconv - -.PHONY: maybe-distclean-libiconv distclean-libiconv -maybe-distclean-libiconv: -@if libiconv -maybe-distclean-libiconv: distclean-libiconv - -distclean-libiconv: - @: $(MAKE); $(unstage) - @[ -f ./libiconv/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in libiconv" ; \ - (cd $(HOST_SUBDIR)/libiconv && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif libiconv - -.PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv -maybe-maintainer-clean-libiconv: -@if libiconv -maybe-maintainer-clean-libiconv: maintainer-clean-libiconv - -maintainer-clean-libiconv: - @: $(MAKE); $(unstage) - @[ -f ./libiconv/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in libiconv" ; \ - (cd $(HOST_SUBDIR)/libiconv && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif libiconv - - - -.PHONY: configure-m4 maybe-configure-m4 -maybe-configure-m4: -@if gcc-bootstrap -configure-m4: stage_current -@endif gcc-bootstrap -@if m4 -maybe-configure-m4: configure-m4 -configure-m4: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/m4; \ - cd "$(HOST_SUBDIR)/m4" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/m4/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/m4"; \ - libsrcdir="$$s/m4"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif m4 - - - - - -.PHONY: all-m4 maybe-all-m4 -maybe-all-m4: -@if gcc-bootstrap -all-m4: stage_current -@endif gcc-bootstrap -@if m4 -TARGET-m4=all -maybe-all-m4: all-m4 -all-m4: configure-m4 - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/m4 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-m4)) -@endif m4 - - - - -.PHONY: check-m4 maybe-check-m4 -maybe-check-m4: -@if m4 -maybe-check-m4: check-m4 - -check-m4: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/m4 && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif m4 - -.PHONY: install-m4 maybe-install-m4 -maybe-install-m4: -@if m4 -maybe-install-m4: install-m4 - -install-m4: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/m4 && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif m4 - -.PHONY: install-strip-m4 maybe-install-strip-m4 -maybe-install-strip-m4: -@if m4 -maybe-install-strip-m4: install-strip-m4 - -install-strip-m4: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/m4 && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif m4 - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-m4 info-m4 -maybe-info-m4: -@if m4 -maybe-info-m4: info-m4 - -info-m4: \ - configure-m4 - @: $(MAKE); $(unstage) - @[ -f ./m4/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in m4" ; \ - (cd $(HOST_SUBDIR)/m4 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif m4 - -.PHONY: maybe-dvi-m4 dvi-m4 -maybe-dvi-m4: -@if m4 -maybe-dvi-m4: dvi-m4 - -dvi-m4: \ - configure-m4 - @: $(MAKE); $(unstage) - @[ -f ./m4/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in m4" ; \ - (cd $(HOST_SUBDIR)/m4 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif m4 - -.PHONY: maybe-pdf-m4 pdf-m4 -maybe-pdf-m4: -@if m4 -maybe-pdf-m4: pdf-m4 - -pdf-m4: \ - configure-m4 - @: $(MAKE); $(unstage) - @[ -f ./m4/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in m4" ; \ - (cd $(HOST_SUBDIR)/m4 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif m4 - -.PHONY: maybe-html-m4 html-m4 -maybe-html-m4: -@if m4 -maybe-html-m4: html-m4 - -html-m4: \ - configure-m4 - @: $(MAKE); $(unstage) - @[ -f ./m4/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in m4" ; \ - (cd $(HOST_SUBDIR)/m4 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif m4 - -.PHONY: maybe-TAGS-m4 TAGS-m4 -maybe-TAGS-m4: -@if m4 -maybe-TAGS-m4: TAGS-m4 - -TAGS-m4: \ - configure-m4 - @: $(MAKE); $(unstage) - @[ -f ./m4/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in m4" ; \ - (cd $(HOST_SUBDIR)/m4 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif m4 - -.PHONY: maybe-install-info-m4 install-info-m4 -maybe-install-info-m4: -@if m4 -maybe-install-info-m4: install-info-m4 - -install-info-m4: \ - configure-m4 \ - info-m4 - @: $(MAKE); $(unstage) - @[ -f ./m4/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in m4" ; \ - (cd $(HOST_SUBDIR)/m4 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif m4 - -.PHONY: maybe-install-pdf-m4 install-pdf-m4 -maybe-install-pdf-m4: -@if m4 -maybe-install-pdf-m4: install-pdf-m4 - -install-pdf-m4: \ - configure-m4 \ - pdf-m4 - @: $(MAKE); $(unstage) - @[ -f ./m4/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in m4" ; \ - (cd $(HOST_SUBDIR)/m4 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif m4 - -.PHONY: maybe-install-html-m4 install-html-m4 -maybe-install-html-m4: -@if m4 -maybe-install-html-m4: install-html-m4 - -install-html-m4: \ - configure-m4 \ - html-m4 - @: $(MAKE); $(unstage) - @[ -f ./m4/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in m4" ; \ - (cd $(HOST_SUBDIR)/m4 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif m4 - -.PHONY: maybe-installcheck-m4 installcheck-m4 -maybe-installcheck-m4: -@if m4 -maybe-installcheck-m4: installcheck-m4 - -installcheck-m4: \ - configure-m4 - @: $(MAKE); $(unstage) - @[ -f ./m4/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in m4" ; \ - (cd $(HOST_SUBDIR)/m4 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif m4 - -.PHONY: maybe-mostlyclean-m4 mostlyclean-m4 -maybe-mostlyclean-m4: -@if m4 -maybe-mostlyclean-m4: mostlyclean-m4 - -mostlyclean-m4: - @: $(MAKE); $(unstage) - @[ -f ./m4/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in m4" ; \ - (cd $(HOST_SUBDIR)/m4 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif m4 - -.PHONY: maybe-clean-m4 clean-m4 -maybe-clean-m4: -@if m4 -maybe-clean-m4: clean-m4 - -clean-m4: - @: $(MAKE); $(unstage) - @[ -f ./m4/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in m4" ; \ - (cd $(HOST_SUBDIR)/m4 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif m4 - -.PHONY: maybe-distclean-m4 distclean-m4 -maybe-distclean-m4: -@if m4 -maybe-distclean-m4: distclean-m4 - -distclean-m4: - @: $(MAKE); $(unstage) - @[ -f ./m4/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in m4" ; \ - (cd $(HOST_SUBDIR)/m4 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif m4 - -.PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4 -maybe-maintainer-clean-m4: -@if m4 -maybe-maintainer-clean-m4: maintainer-clean-m4 - -maintainer-clean-m4: - @: $(MAKE); $(unstage) - @[ -f ./m4/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in m4" ; \ - (cd $(HOST_SUBDIR)/m4 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif m4 - - - -.PHONY: configure-readline maybe-configure-readline -maybe-configure-readline: -@if gcc-bootstrap -configure-readline: stage_current -@endif gcc-bootstrap -@if readline -maybe-configure-readline: configure-readline -configure-readline: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/readline; \ - cd "$(HOST_SUBDIR)/readline" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/readline/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/readline"; \ - libsrcdir="$$s/readline"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif readline - - - - - -.PHONY: all-readline maybe-all-readline -maybe-all-readline: -@if gcc-bootstrap -all-readline: stage_current -@endif gcc-bootstrap -@if readline -TARGET-readline=all -maybe-all-readline: all-readline -all-readline: configure-readline - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/readline && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-readline)) -@endif readline - - - - -.PHONY: check-readline maybe-check-readline -maybe-check-readline: -@if readline -maybe-check-readline: check-readline - -check-readline: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/readline && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif readline - -.PHONY: install-readline maybe-install-readline -maybe-install-readline: -@if readline -maybe-install-readline: install-readline - -install-readline: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/readline && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif readline - -.PHONY: install-strip-readline maybe-install-strip-readline -maybe-install-strip-readline: -@if readline -maybe-install-strip-readline: install-strip-readline - -install-strip-readline: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/readline && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif readline - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-readline info-readline -maybe-info-readline: -@if readline -maybe-info-readline: info-readline - -info-readline: \ - configure-readline - @: $(MAKE); $(unstage) - @[ -f ./readline/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in readline" ; \ - (cd $(HOST_SUBDIR)/readline && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif readline - -.PHONY: maybe-dvi-readline dvi-readline -maybe-dvi-readline: -@if readline -maybe-dvi-readline: dvi-readline - -dvi-readline: \ - configure-readline - @: $(MAKE); $(unstage) - @[ -f ./readline/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in readline" ; \ - (cd $(HOST_SUBDIR)/readline && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif readline - -.PHONY: maybe-pdf-readline pdf-readline -maybe-pdf-readline: -@if readline -maybe-pdf-readline: pdf-readline - -pdf-readline: \ - configure-readline - @: $(MAKE); $(unstage) - @[ -f ./readline/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in readline" ; \ - (cd $(HOST_SUBDIR)/readline && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif readline - -.PHONY: maybe-html-readline html-readline -maybe-html-readline: -@if readline -maybe-html-readline: html-readline - -html-readline: \ - configure-readline - @: $(MAKE); $(unstage) - @[ -f ./readline/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in readline" ; \ - (cd $(HOST_SUBDIR)/readline && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif readline - -.PHONY: maybe-TAGS-readline TAGS-readline -maybe-TAGS-readline: -@if readline -maybe-TAGS-readline: TAGS-readline - -TAGS-readline: \ - configure-readline - @: $(MAKE); $(unstage) - @[ -f ./readline/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in readline" ; \ - (cd $(HOST_SUBDIR)/readline && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif readline - -.PHONY: maybe-install-info-readline install-info-readline -maybe-install-info-readline: -@if readline -maybe-install-info-readline: install-info-readline - -install-info-readline: \ - configure-readline \ - info-readline - @: $(MAKE); $(unstage) - @[ -f ./readline/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in readline" ; \ - (cd $(HOST_SUBDIR)/readline && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif readline - -.PHONY: maybe-install-pdf-readline install-pdf-readline -maybe-install-pdf-readline: -@if readline -maybe-install-pdf-readline: install-pdf-readline - -install-pdf-readline: \ - configure-readline \ - pdf-readline - @: $(MAKE); $(unstage) - @[ -f ./readline/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in readline" ; \ - (cd $(HOST_SUBDIR)/readline && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif readline - -.PHONY: maybe-install-html-readline install-html-readline -maybe-install-html-readline: -@if readline -maybe-install-html-readline: install-html-readline - -install-html-readline: \ - configure-readline \ - html-readline - @: $(MAKE); $(unstage) - @[ -f ./readline/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in readline" ; \ - (cd $(HOST_SUBDIR)/readline && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif readline - -.PHONY: maybe-installcheck-readline installcheck-readline -maybe-installcheck-readline: -@if readline -maybe-installcheck-readline: installcheck-readline - -installcheck-readline: \ - configure-readline - @: $(MAKE); $(unstage) - @[ -f ./readline/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in readline" ; \ - (cd $(HOST_SUBDIR)/readline && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif readline - -.PHONY: maybe-mostlyclean-readline mostlyclean-readline -maybe-mostlyclean-readline: -@if readline -maybe-mostlyclean-readline: mostlyclean-readline - -mostlyclean-readline: - @: $(MAKE); $(unstage) - @[ -f ./readline/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in readline" ; \ - (cd $(HOST_SUBDIR)/readline && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif readline - -.PHONY: maybe-clean-readline clean-readline -maybe-clean-readline: -@if readline -maybe-clean-readline: clean-readline - -clean-readline: - @: $(MAKE); $(unstage) - @[ -f ./readline/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in readline" ; \ - (cd $(HOST_SUBDIR)/readline && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif readline - -.PHONY: maybe-distclean-readline distclean-readline -maybe-distclean-readline: -@if readline -maybe-distclean-readline: distclean-readline - -distclean-readline: - @: $(MAKE); $(unstage) - @[ -f ./readline/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in readline" ; \ - (cd $(HOST_SUBDIR)/readline && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif readline - -.PHONY: maybe-maintainer-clean-readline maintainer-clean-readline -maybe-maintainer-clean-readline: -@if readline -maybe-maintainer-clean-readline: maintainer-clean-readline - -maintainer-clean-readline: - @: $(MAKE); $(unstage) - @[ -f ./readline/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in readline" ; \ - (cd $(HOST_SUBDIR)/readline && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif readline - - - -.PHONY: configure-sid maybe-configure-sid -maybe-configure-sid: -@if gcc-bootstrap -configure-sid: stage_current -@endif gcc-bootstrap -@if sid -maybe-configure-sid: configure-sid -configure-sid: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/sid; \ - cd "$(HOST_SUBDIR)/sid" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/sid/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/sid"; \ - libsrcdir="$$s/sid"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif sid - - - - - -.PHONY: all-sid maybe-all-sid -maybe-all-sid: -@if gcc-bootstrap -all-sid: stage_current -@endif gcc-bootstrap -@if sid -TARGET-sid=all -maybe-all-sid: all-sid -all-sid: configure-sid - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/sid && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-sid)) -@endif sid - - - - -.PHONY: check-sid maybe-check-sid -maybe-check-sid: -@if sid -maybe-check-sid: check-sid - -check-sid: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/sid && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif sid - -.PHONY: install-sid maybe-install-sid -maybe-install-sid: -@if sid -maybe-install-sid: install-sid - -install-sid: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/sid && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif sid - -.PHONY: install-strip-sid maybe-install-strip-sid -maybe-install-strip-sid: -@if sid -maybe-install-strip-sid: install-strip-sid - -install-strip-sid: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/sid && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif sid - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-sid info-sid -maybe-info-sid: -@if sid -maybe-info-sid: info-sid - -info-sid: \ - configure-sid - @: $(MAKE); $(unstage) - @[ -f ./sid/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in sid" ; \ - (cd $(HOST_SUBDIR)/sid && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif sid - -.PHONY: maybe-dvi-sid dvi-sid -maybe-dvi-sid: -@if sid -maybe-dvi-sid: dvi-sid - -dvi-sid: \ - configure-sid - @: $(MAKE); $(unstage) - @[ -f ./sid/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in sid" ; \ - (cd $(HOST_SUBDIR)/sid && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif sid - -.PHONY: maybe-pdf-sid pdf-sid -maybe-pdf-sid: -@if sid -maybe-pdf-sid: pdf-sid - -pdf-sid: \ - configure-sid - @: $(MAKE); $(unstage) - @[ -f ./sid/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in sid" ; \ - (cd $(HOST_SUBDIR)/sid && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif sid - -.PHONY: maybe-html-sid html-sid -maybe-html-sid: -@if sid -maybe-html-sid: html-sid - -html-sid: \ - configure-sid - @: $(MAKE); $(unstage) - @[ -f ./sid/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in sid" ; \ - (cd $(HOST_SUBDIR)/sid && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif sid - -.PHONY: maybe-TAGS-sid TAGS-sid -maybe-TAGS-sid: -@if sid -maybe-TAGS-sid: TAGS-sid - -TAGS-sid: \ - configure-sid - @: $(MAKE); $(unstage) - @[ -f ./sid/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in sid" ; \ - (cd $(HOST_SUBDIR)/sid && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif sid - -.PHONY: maybe-install-info-sid install-info-sid -maybe-install-info-sid: -@if sid -maybe-install-info-sid: install-info-sid - -install-info-sid: \ - configure-sid \ - info-sid - @: $(MAKE); $(unstage) - @[ -f ./sid/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in sid" ; \ - (cd $(HOST_SUBDIR)/sid && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif sid - -.PHONY: maybe-install-pdf-sid install-pdf-sid -maybe-install-pdf-sid: -@if sid -maybe-install-pdf-sid: install-pdf-sid - -install-pdf-sid: \ - configure-sid \ - pdf-sid - @: $(MAKE); $(unstage) - @[ -f ./sid/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in sid" ; \ - (cd $(HOST_SUBDIR)/sid && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif sid - -.PHONY: maybe-install-html-sid install-html-sid -maybe-install-html-sid: -@if sid -maybe-install-html-sid: install-html-sid - -install-html-sid: \ - configure-sid \ - html-sid - @: $(MAKE); $(unstage) - @[ -f ./sid/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in sid" ; \ - (cd $(HOST_SUBDIR)/sid && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif sid - -.PHONY: maybe-installcheck-sid installcheck-sid -maybe-installcheck-sid: -@if sid -maybe-installcheck-sid: installcheck-sid - -installcheck-sid: \ - configure-sid - @: $(MAKE); $(unstage) - @[ -f ./sid/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in sid" ; \ - (cd $(HOST_SUBDIR)/sid && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif sid - -.PHONY: maybe-mostlyclean-sid mostlyclean-sid -maybe-mostlyclean-sid: -@if sid -maybe-mostlyclean-sid: mostlyclean-sid - -mostlyclean-sid: - @: $(MAKE); $(unstage) - @[ -f ./sid/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in sid" ; \ - (cd $(HOST_SUBDIR)/sid && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif sid - -.PHONY: maybe-clean-sid clean-sid -maybe-clean-sid: -@if sid -maybe-clean-sid: clean-sid - -clean-sid: - @: $(MAKE); $(unstage) - @[ -f ./sid/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in sid" ; \ - (cd $(HOST_SUBDIR)/sid && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif sid - -.PHONY: maybe-distclean-sid distclean-sid -maybe-distclean-sid: -@if sid -maybe-distclean-sid: distclean-sid - -distclean-sid: - @: $(MAKE); $(unstage) - @[ -f ./sid/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in sid" ; \ - (cd $(HOST_SUBDIR)/sid && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif sid - -.PHONY: maybe-maintainer-clean-sid maintainer-clean-sid -maybe-maintainer-clean-sid: -@if sid -maybe-maintainer-clean-sid: maintainer-clean-sid - -maintainer-clean-sid: - @: $(MAKE); $(unstage) - @[ -f ./sid/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in sid" ; \ - (cd $(HOST_SUBDIR)/sid && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif sid - - - -.PHONY: configure-sim maybe-configure-sim -maybe-configure-sim: -@if gcc-bootstrap -configure-sim: stage_current -@endif gcc-bootstrap -@if sim -maybe-configure-sim: configure-sim -configure-sim: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/sim; \ - cd "$(HOST_SUBDIR)/sim" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/sim/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/sim"; \ - libsrcdir="$$s/sim"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif sim - - - - - -.PHONY: all-sim maybe-all-sim -maybe-all-sim: -@if gcc-bootstrap -all-sim: stage_current -@endif gcc-bootstrap -@if sim -TARGET-sim=all -maybe-all-sim: all-sim -all-sim: configure-sim - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/sim && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-sim)) -@endif sim - - - - -.PHONY: check-sim maybe-check-sim -maybe-check-sim: -@if sim -maybe-check-sim: check-sim - -check-sim: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/sim && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif sim - -.PHONY: install-sim maybe-install-sim -maybe-install-sim: -@if sim -maybe-install-sim: install-sim - -install-sim: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/sim && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif sim - -.PHONY: install-strip-sim maybe-install-strip-sim -maybe-install-strip-sim: -@if sim -maybe-install-strip-sim: install-strip-sim - -install-strip-sim: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/sim && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif sim - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-sim info-sim -maybe-info-sim: -@if sim -maybe-info-sim: info-sim - -info-sim: \ - configure-sim - @: $(MAKE); $(unstage) - @[ -f ./sim/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in sim" ; \ - (cd $(HOST_SUBDIR)/sim && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif sim - -.PHONY: maybe-dvi-sim dvi-sim -maybe-dvi-sim: -@if sim -maybe-dvi-sim: dvi-sim - -dvi-sim: \ - configure-sim - @: $(MAKE); $(unstage) - @[ -f ./sim/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in sim" ; \ - (cd $(HOST_SUBDIR)/sim && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif sim - -.PHONY: maybe-pdf-sim pdf-sim -maybe-pdf-sim: -@if sim -maybe-pdf-sim: pdf-sim - -pdf-sim: \ - configure-sim - @: $(MAKE); $(unstage) - @[ -f ./sim/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in sim" ; \ - (cd $(HOST_SUBDIR)/sim && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif sim - -.PHONY: maybe-html-sim html-sim -maybe-html-sim: -@if sim -maybe-html-sim: html-sim - -html-sim: \ - configure-sim - @: $(MAKE); $(unstage) - @[ -f ./sim/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in sim" ; \ - (cd $(HOST_SUBDIR)/sim && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif sim - -.PHONY: maybe-TAGS-sim TAGS-sim -maybe-TAGS-sim: -@if sim -maybe-TAGS-sim: TAGS-sim - -TAGS-sim: \ - configure-sim - @: $(MAKE); $(unstage) - @[ -f ./sim/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in sim" ; \ - (cd $(HOST_SUBDIR)/sim && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif sim - -.PHONY: maybe-install-info-sim install-info-sim -maybe-install-info-sim: -@if sim -maybe-install-info-sim: install-info-sim - -install-info-sim: \ - configure-sim \ - info-sim - @: $(MAKE); $(unstage) - @[ -f ./sim/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in sim" ; \ - (cd $(HOST_SUBDIR)/sim && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif sim - -.PHONY: maybe-install-pdf-sim install-pdf-sim -maybe-install-pdf-sim: -@if sim -maybe-install-pdf-sim: install-pdf-sim - -install-pdf-sim: \ - configure-sim \ - pdf-sim - @: $(MAKE); $(unstage) - @[ -f ./sim/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in sim" ; \ - (cd $(HOST_SUBDIR)/sim && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif sim - -.PHONY: maybe-install-html-sim install-html-sim -maybe-install-html-sim: -@if sim -maybe-install-html-sim: install-html-sim - -install-html-sim: \ - configure-sim \ - html-sim - @: $(MAKE); $(unstage) - @[ -f ./sim/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in sim" ; \ - (cd $(HOST_SUBDIR)/sim && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif sim - -.PHONY: maybe-installcheck-sim installcheck-sim -maybe-installcheck-sim: -@if sim -maybe-installcheck-sim: installcheck-sim - -installcheck-sim: \ - configure-sim - @: $(MAKE); $(unstage) - @[ -f ./sim/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in sim" ; \ - (cd $(HOST_SUBDIR)/sim && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif sim - -.PHONY: maybe-mostlyclean-sim mostlyclean-sim -maybe-mostlyclean-sim: -@if sim -maybe-mostlyclean-sim: mostlyclean-sim - -mostlyclean-sim: - @: $(MAKE); $(unstage) - @[ -f ./sim/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in sim" ; \ - (cd $(HOST_SUBDIR)/sim && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif sim - -.PHONY: maybe-clean-sim clean-sim -maybe-clean-sim: -@if sim -maybe-clean-sim: clean-sim - -clean-sim: - @: $(MAKE); $(unstage) - @[ -f ./sim/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in sim" ; \ - (cd $(HOST_SUBDIR)/sim && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif sim - -.PHONY: maybe-distclean-sim distclean-sim -maybe-distclean-sim: -@if sim -maybe-distclean-sim: distclean-sim - -distclean-sim: - @: $(MAKE); $(unstage) - @[ -f ./sim/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in sim" ; \ - (cd $(HOST_SUBDIR)/sim && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif sim - -.PHONY: maybe-maintainer-clean-sim maintainer-clean-sim -maybe-maintainer-clean-sim: -@if sim -maybe-maintainer-clean-sim: maintainer-clean-sim - -maintainer-clean-sim: - @: $(MAKE); $(unstage) - @[ -f ./sim/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in sim" ; \ - (cd $(HOST_SUBDIR)/sim && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif sim - - - -.PHONY: configure-texinfo maybe-configure-texinfo -maybe-configure-texinfo: -@if gcc-bootstrap -configure-texinfo: stage_current -@endif gcc-bootstrap -@if texinfo -maybe-configure-texinfo: configure-texinfo -configure-texinfo: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/texinfo; \ - cd "$(HOST_SUBDIR)/texinfo" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/texinfo"; \ - libsrcdir="$$s/texinfo"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif texinfo - - - - - -.PHONY: all-texinfo maybe-all-texinfo -maybe-all-texinfo: -@if gcc-bootstrap -all-texinfo: stage_current -@endif gcc-bootstrap -@if texinfo -TARGET-texinfo=all -maybe-all-texinfo: all-texinfo -all-texinfo: configure-texinfo - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/texinfo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-texinfo)) -@endif texinfo - - - - -.PHONY: check-texinfo maybe-check-texinfo -maybe-check-texinfo: -@if texinfo -maybe-check-texinfo: check-texinfo - -check-texinfo: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/texinfo && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif texinfo - -.PHONY: install-texinfo maybe-install-texinfo -maybe-install-texinfo: -@if texinfo -maybe-install-texinfo: install-texinfo - -install-texinfo: - -@endif texinfo - -.PHONY: install-strip-texinfo maybe-install-strip-texinfo -maybe-install-strip-texinfo: -@if texinfo -maybe-install-strip-texinfo: install-strip-texinfo - -install-strip-texinfo: - -@endif texinfo - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-texinfo info-texinfo -maybe-info-texinfo: -@if texinfo -maybe-info-texinfo: info-texinfo - -info-texinfo: \ - configure-texinfo - @: $(MAKE); $(unstage) - @[ -f ./texinfo/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in texinfo" ; \ - (cd $(HOST_SUBDIR)/texinfo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif texinfo - -.PHONY: maybe-dvi-texinfo dvi-texinfo -maybe-dvi-texinfo: -@if texinfo -maybe-dvi-texinfo: dvi-texinfo - -dvi-texinfo: \ - configure-texinfo - @: $(MAKE); $(unstage) - @[ -f ./texinfo/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in texinfo" ; \ - (cd $(HOST_SUBDIR)/texinfo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif texinfo - -.PHONY: maybe-pdf-texinfo pdf-texinfo -maybe-pdf-texinfo: -@if texinfo -maybe-pdf-texinfo: pdf-texinfo - -pdf-texinfo: \ - configure-texinfo - @: $(MAKE); $(unstage) - @[ -f ./texinfo/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in texinfo" ; \ - (cd $(HOST_SUBDIR)/texinfo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif texinfo - -.PHONY: maybe-html-texinfo html-texinfo -maybe-html-texinfo: -@if texinfo -maybe-html-texinfo: html-texinfo - -html-texinfo: \ - configure-texinfo - @: $(MAKE); $(unstage) - @[ -f ./texinfo/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in texinfo" ; \ - (cd $(HOST_SUBDIR)/texinfo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif texinfo - -.PHONY: maybe-TAGS-texinfo TAGS-texinfo -maybe-TAGS-texinfo: -@if texinfo -maybe-TAGS-texinfo: TAGS-texinfo - -TAGS-texinfo: \ - configure-texinfo - @: $(MAKE); $(unstage) - @[ -f ./texinfo/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in texinfo" ; \ - (cd $(HOST_SUBDIR)/texinfo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif texinfo - -.PHONY: maybe-install-info-texinfo install-info-texinfo -maybe-install-info-texinfo: -@if texinfo -maybe-install-info-texinfo: install-info-texinfo - -install-info-texinfo: \ - configure-texinfo \ - info-texinfo - @: $(MAKE); $(unstage) - @[ -f ./texinfo/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in texinfo" ; \ - (cd $(HOST_SUBDIR)/texinfo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif texinfo - -.PHONY: maybe-install-pdf-texinfo install-pdf-texinfo -maybe-install-pdf-texinfo: -@if texinfo -maybe-install-pdf-texinfo: install-pdf-texinfo - -install-pdf-texinfo: \ - configure-texinfo \ - pdf-texinfo - @: $(MAKE); $(unstage) - @[ -f ./texinfo/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in texinfo" ; \ - (cd $(HOST_SUBDIR)/texinfo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif texinfo - -.PHONY: maybe-install-html-texinfo install-html-texinfo -maybe-install-html-texinfo: -@if texinfo -maybe-install-html-texinfo: install-html-texinfo - -install-html-texinfo: \ - configure-texinfo \ - html-texinfo - @: $(MAKE); $(unstage) - @[ -f ./texinfo/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in texinfo" ; \ - (cd $(HOST_SUBDIR)/texinfo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif texinfo - -.PHONY: maybe-installcheck-texinfo installcheck-texinfo -maybe-installcheck-texinfo: -@if texinfo -maybe-installcheck-texinfo: installcheck-texinfo - -installcheck-texinfo: \ - configure-texinfo - @: $(MAKE); $(unstage) - @[ -f ./texinfo/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in texinfo" ; \ - (cd $(HOST_SUBDIR)/texinfo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif texinfo - -.PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo -maybe-mostlyclean-texinfo: -@if texinfo -maybe-mostlyclean-texinfo: mostlyclean-texinfo - -mostlyclean-texinfo: - @: $(MAKE); $(unstage) - @[ -f ./texinfo/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in texinfo" ; \ - (cd $(HOST_SUBDIR)/texinfo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif texinfo - -.PHONY: maybe-clean-texinfo clean-texinfo -maybe-clean-texinfo: -@if texinfo -maybe-clean-texinfo: clean-texinfo - -clean-texinfo: - @: $(MAKE); $(unstage) - @[ -f ./texinfo/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in texinfo" ; \ - (cd $(HOST_SUBDIR)/texinfo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif texinfo - -.PHONY: maybe-distclean-texinfo distclean-texinfo -maybe-distclean-texinfo: -@if texinfo -maybe-distclean-texinfo: distclean-texinfo - -distclean-texinfo: - @: $(MAKE); $(unstage) - @[ -f ./texinfo/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in texinfo" ; \ - (cd $(HOST_SUBDIR)/texinfo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif texinfo - -.PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo -maybe-maintainer-clean-texinfo: -@if texinfo -maybe-maintainer-clean-texinfo: maintainer-clean-texinfo - -maintainer-clean-texinfo: - @: $(MAKE); $(unstage) - @[ -f ./texinfo/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in texinfo" ; \ - (cd $(HOST_SUBDIR)/texinfo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif texinfo - - - -.PHONY: configure-zlib maybe-configure-zlib -maybe-configure-zlib: -@if gcc-bootstrap -configure-zlib: stage_current -@endif gcc-bootstrap -@if zlib -maybe-configure-zlib: configure-zlib -configure-zlib: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/zlib; \ - cd "$(HOST_SUBDIR)/zlib" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/zlib"; \ - libsrcdir="$$s/zlib"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif zlib - - - -.PHONY: configure-stage1-zlib maybe-configure-stage1-zlib -maybe-configure-stage1-zlib: -@if zlib-bootstrap -maybe-configure-stage1-zlib: configure-stage1-zlib -configure-stage1-zlib: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ - cd $(HOST_SUBDIR)/zlib || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/zlib"; \ - libsrcdir="$$s/zlib"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) -@endif zlib-bootstrap - -.PHONY: configure-stage2-zlib maybe-configure-stage2-zlib -maybe-configure-stage2-zlib: -@if zlib-bootstrap -maybe-configure-stage2-zlib: configure-stage2-zlib -configure-stage2-zlib: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ - cd $(HOST_SUBDIR)/zlib || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/zlib"; \ - libsrcdir="$$s/zlib"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) -@endif zlib-bootstrap - -.PHONY: configure-stage3-zlib maybe-configure-stage3-zlib -maybe-configure-stage3-zlib: -@if zlib-bootstrap -maybe-configure-stage3-zlib: configure-stage3-zlib -configure-stage3-zlib: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ - cd $(HOST_SUBDIR)/zlib || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/zlib"; \ - libsrcdir="$$s/zlib"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) -@endif zlib-bootstrap - -.PHONY: configure-stage4-zlib maybe-configure-stage4-zlib -maybe-configure-stage4-zlib: -@if zlib-bootstrap -maybe-configure-stage4-zlib: configure-stage4-zlib -configure-stage4-zlib: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ - cd $(HOST_SUBDIR)/zlib || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/zlib"; \ - libsrcdir="$$s/zlib"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) -@endif zlib-bootstrap - -.PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib -maybe-configure-stageprofile-zlib: -@if zlib-bootstrap -maybe-configure-stageprofile-zlib: configure-stageprofile-zlib -configure-stageprofile-zlib: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ - cd $(HOST_SUBDIR)/zlib || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/zlib"; \ - libsrcdir="$$s/zlib"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) -@endif zlib-bootstrap - -.PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib -maybe-configure-stagefeedback-zlib: -@if zlib-bootstrap -maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib -configure-stagefeedback-zlib: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ - cd $(HOST_SUBDIR)/zlib || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/zlib"; \ - libsrcdir="$$s/zlib"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) -@endif zlib-bootstrap - - - - - -.PHONY: all-zlib maybe-all-zlib -maybe-all-zlib: -@if gcc-bootstrap -all-zlib: stage_current -@endif gcc-bootstrap -@if zlib -TARGET-zlib=all -maybe-all-zlib: all-zlib -all-zlib: configure-zlib - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-zlib)) -@endif zlib - - - -.PHONY: all-stage1-zlib maybe-all-stage1-zlib -.PHONY: clean-stage1-zlib maybe-clean-stage1-zlib -maybe-all-stage1-zlib: -maybe-clean-stage1-zlib: -@if zlib-bootstrap -maybe-all-stage1-zlib: all-stage1-zlib -all-stage1: all-stage1-zlib -TARGET-stage1-zlib = $(TARGET-zlib) -all-stage1-zlib: configure-stage1-zlib - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" \ - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ - LIBCFLAGS="$(LIBCFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-zlib) - -maybe-clean-stage1-zlib: clean-stage1-zlib -clean-stage1: clean-stage1-zlib -clean-stage1-zlib: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - clean -@endif zlib-bootstrap - - -.PHONY: all-stage2-zlib maybe-all-stage2-zlib -.PHONY: clean-stage2-zlib maybe-clean-stage2-zlib -maybe-all-stage2-zlib: -maybe-clean-stage2-zlib: -@if zlib-bootstrap -maybe-all-stage2-zlib: all-stage2-zlib -all-stage2: all-stage2-zlib -TARGET-stage2-zlib = $(TARGET-zlib) -all-stage2-zlib: configure-stage2-zlib - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE2_CFLAGS)" \ - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE2_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-zlib) - -maybe-clean-stage2-zlib: clean-stage2-zlib -clean-stage2: clean-stage2-zlib -clean-stage2-zlib: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif zlib-bootstrap - - -.PHONY: all-stage3-zlib maybe-all-stage3-zlib -.PHONY: clean-stage3-zlib maybe-clean-stage3-zlib -maybe-all-stage3-zlib: -maybe-clean-stage3-zlib: -@if zlib-bootstrap -maybe-all-stage3-zlib: all-stage3-zlib -all-stage3: all-stage3-zlib -TARGET-stage3-zlib = $(TARGET-zlib) -all-stage3-zlib: configure-stage3-zlib - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE3_CFLAGS)" \ - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE3_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-zlib) - -maybe-clean-stage3-zlib: clean-stage3-zlib -clean-stage3: clean-stage3-zlib -clean-stage3-zlib: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif zlib-bootstrap - - -.PHONY: all-stage4-zlib maybe-all-stage4-zlib -.PHONY: clean-stage4-zlib maybe-clean-stage4-zlib -maybe-all-stage4-zlib: -maybe-clean-stage4-zlib: -@if zlib-bootstrap -maybe-all-stage4-zlib: all-stage4-zlib -all-stage4: all-stage4-zlib -TARGET-stage4-zlib = $(TARGET-zlib) -all-stage4-zlib: configure-stage4-zlib - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE4_CFLAGS)" \ - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE4_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-zlib) - -maybe-clean-stage4-zlib: clean-stage4-zlib -clean-stage4: clean-stage4-zlib -clean-stage4-zlib: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif zlib-bootstrap - - -.PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib -.PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib -maybe-all-stageprofile-zlib: -maybe-clean-stageprofile-zlib: -@if zlib-bootstrap -maybe-all-stageprofile-zlib: all-stageprofile-zlib -all-stageprofile: all-stageprofile-zlib -TARGET-stageprofile-zlib = $(TARGET-zlib) -all-stageprofile-zlib: configure-stageprofile-zlib - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEprofile_CFLAGS)" \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-zlib) - -maybe-clean-stageprofile-zlib: clean-stageprofile-zlib -clean-stageprofile: clean-stageprofile-zlib -clean-stageprofile-zlib: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif zlib-bootstrap - - -.PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib -.PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib -maybe-all-stagefeedback-zlib: -maybe-clean-stagefeedback-zlib: -@if zlib-bootstrap -maybe-all-stagefeedback-zlib: all-stagefeedback-zlib -all-stagefeedback: all-stagefeedback-zlib -TARGET-stagefeedback-zlib = $(TARGET-zlib) -all-stagefeedback-zlib: configure-stagefeedback-zlib - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)" \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-zlib) - -maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib -clean-stagefeedback: clean-stagefeedback-zlib -clean-stagefeedback-zlib: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif zlib-bootstrap - - - - - -.PHONY: check-zlib maybe-check-zlib -maybe-check-zlib: -@if zlib -maybe-check-zlib: check-zlib - -check-zlib: - -@endif zlib - -.PHONY: install-zlib maybe-install-zlib -maybe-install-zlib: -@if zlib -maybe-install-zlib: install-zlib - -install-zlib: - -@endif zlib - -.PHONY: install-strip-zlib maybe-install-strip-zlib -maybe-install-strip-zlib: -@if zlib -maybe-install-strip-zlib: install-strip-zlib - -install-strip-zlib: - -@endif zlib - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-zlib info-zlib -maybe-info-zlib: -@if zlib -maybe-info-zlib: info-zlib - -info-zlib: \ - configure-zlib - @[ -f ./zlib/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in zlib" ; \ - (cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif zlib - -.PHONY: maybe-dvi-zlib dvi-zlib -maybe-dvi-zlib: -@if zlib -maybe-dvi-zlib: dvi-zlib - -dvi-zlib: \ - configure-zlib - @[ -f ./zlib/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in zlib" ; \ - (cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif zlib - -.PHONY: maybe-pdf-zlib pdf-zlib -maybe-pdf-zlib: -@if zlib -maybe-pdf-zlib: pdf-zlib - -pdf-zlib: \ - configure-zlib - @[ -f ./zlib/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in zlib" ; \ - (cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif zlib - -.PHONY: maybe-html-zlib html-zlib -maybe-html-zlib: -@if zlib -maybe-html-zlib: html-zlib - -html-zlib: \ - configure-zlib - @[ -f ./zlib/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in zlib" ; \ - (cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif zlib - -.PHONY: maybe-TAGS-zlib TAGS-zlib -maybe-TAGS-zlib: -@if zlib -maybe-TAGS-zlib: TAGS-zlib - -TAGS-zlib: \ - configure-zlib - @[ -f ./zlib/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in zlib" ; \ - (cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif zlib - -.PHONY: maybe-install-info-zlib install-info-zlib -maybe-install-info-zlib: -@if zlib -maybe-install-info-zlib: install-info-zlib - -install-info-zlib: \ - configure-zlib \ - info-zlib - @[ -f ./zlib/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in zlib" ; \ - (cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif zlib - -.PHONY: maybe-install-pdf-zlib install-pdf-zlib -maybe-install-pdf-zlib: -@if zlib -maybe-install-pdf-zlib: install-pdf-zlib - -install-pdf-zlib: \ - configure-zlib \ - pdf-zlib - @[ -f ./zlib/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in zlib" ; \ - (cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif zlib - -.PHONY: maybe-install-html-zlib install-html-zlib -maybe-install-html-zlib: -@if zlib -maybe-install-html-zlib: install-html-zlib - -install-html-zlib: \ - configure-zlib \ - html-zlib - @[ -f ./zlib/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in zlib" ; \ - (cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif zlib - -.PHONY: maybe-installcheck-zlib installcheck-zlib -maybe-installcheck-zlib: -@if zlib -maybe-installcheck-zlib: installcheck-zlib - -installcheck-zlib: \ - configure-zlib - @[ -f ./zlib/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in zlib" ; \ - (cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif zlib - -.PHONY: maybe-mostlyclean-zlib mostlyclean-zlib -maybe-mostlyclean-zlib: -@if zlib -maybe-mostlyclean-zlib: mostlyclean-zlib - -mostlyclean-zlib: - @[ -f ./zlib/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in zlib" ; \ - (cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif zlib - -.PHONY: maybe-clean-zlib clean-zlib -maybe-clean-zlib: -@if zlib -maybe-clean-zlib: clean-zlib - -clean-zlib: - @[ -f ./zlib/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in zlib" ; \ - (cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif zlib - -.PHONY: maybe-distclean-zlib distclean-zlib -maybe-distclean-zlib: -@if zlib -maybe-distclean-zlib: distclean-zlib - -distclean-zlib: - @[ -f ./zlib/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in zlib" ; \ - (cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif zlib - -.PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib -maybe-maintainer-clean-zlib: -@if zlib -maybe-maintainer-clean-zlib: maintainer-clean-zlib - -maintainer-clean-zlib: - @[ -f ./zlib/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in zlib" ; \ - (cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif zlib - - - -.PHONY: configure-gdb maybe-configure-gdb -maybe-configure-gdb: -@if gcc-bootstrap -configure-gdb: stage_current -@endif gcc-bootstrap -@if gdb -maybe-configure-gdb: configure-gdb -configure-gdb: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/gdb; \ - cd "$(HOST_SUBDIR)/gdb" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gdb"; \ - libsrcdir="$$s/gdb"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif gdb - - - - - -.PHONY: all-gdb maybe-all-gdb -maybe-all-gdb: -@if gcc-bootstrap -all-gdb: stage_current -@endif gcc-bootstrap -@if gdb -TARGET-gdb=all -maybe-all-gdb: all-gdb -all-gdb: configure-gdb - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gdb && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-gdb)) -@endif gdb - - - - -.PHONY: check-gdb maybe-check-gdb -maybe-check-gdb: -@if gdb -maybe-check-gdb: check-gdb - -check-gdb: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gdb && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif gdb - -.PHONY: install-gdb maybe-install-gdb -maybe-install-gdb: -@if gdb -maybe-install-gdb: install-gdb - -install-gdb: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gdb && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif gdb - -.PHONY: install-strip-gdb maybe-install-strip-gdb -maybe-install-strip-gdb: -@if gdb -maybe-install-strip-gdb: install-strip-gdb - -install-strip-gdb: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gdb && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif gdb - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-gdb info-gdb -maybe-info-gdb: -@if gdb -maybe-info-gdb: info-gdb - -info-gdb: \ - configure-gdb - @: $(MAKE); $(unstage) - @[ -f ./gdb/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in gdb" ; \ - (cd $(HOST_SUBDIR)/gdb && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif gdb - -.PHONY: maybe-dvi-gdb dvi-gdb -maybe-dvi-gdb: -@if gdb -maybe-dvi-gdb: dvi-gdb - -dvi-gdb: \ - configure-gdb - @: $(MAKE); $(unstage) - @[ -f ./gdb/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in gdb" ; \ - (cd $(HOST_SUBDIR)/gdb && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif gdb - -.PHONY: maybe-pdf-gdb pdf-gdb -maybe-pdf-gdb: -@if gdb -maybe-pdf-gdb: pdf-gdb - -pdf-gdb: \ - configure-gdb - @: $(MAKE); $(unstage) - @[ -f ./gdb/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in gdb" ; \ - (cd $(HOST_SUBDIR)/gdb && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif gdb - -.PHONY: maybe-html-gdb html-gdb -maybe-html-gdb: -@if gdb -maybe-html-gdb: html-gdb - -html-gdb: \ - configure-gdb - @: $(MAKE); $(unstage) - @[ -f ./gdb/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in gdb" ; \ - (cd $(HOST_SUBDIR)/gdb && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif gdb - -.PHONY: maybe-TAGS-gdb TAGS-gdb -maybe-TAGS-gdb: -@if gdb -maybe-TAGS-gdb: TAGS-gdb - -TAGS-gdb: \ - configure-gdb - @: $(MAKE); $(unstage) - @[ -f ./gdb/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in gdb" ; \ - (cd $(HOST_SUBDIR)/gdb && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif gdb - -.PHONY: maybe-install-info-gdb install-info-gdb -maybe-install-info-gdb: -@if gdb -maybe-install-info-gdb: install-info-gdb - -install-info-gdb: \ - configure-gdb \ - info-gdb - @: $(MAKE); $(unstage) - @[ -f ./gdb/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in gdb" ; \ - (cd $(HOST_SUBDIR)/gdb && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif gdb - -.PHONY: maybe-install-pdf-gdb install-pdf-gdb -maybe-install-pdf-gdb: -@if gdb -maybe-install-pdf-gdb: install-pdf-gdb - -install-pdf-gdb: \ - configure-gdb \ - pdf-gdb - @: $(MAKE); $(unstage) - @[ -f ./gdb/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in gdb" ; \ - (cd $(HOST_SUBDIR)/gdb && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif gdb - -.PHONY: maybe-install-html-gdb install-html-gdb -maybe-install-html-gdb: -@if gdb -maybe-install-html-gdb: install-html-gdb - -install-html-gdb: \ - configure-gdb \ - html-gdb - @: $(MAKE); $(unstage) - @[ -f ./gdb/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in gdb" ; \ - (cd $(HOST_SUBDIR)/gdb && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif gdb - -.PHONY: maybe-installcheck-gdb installcheck-gdb -maybe-installcheck-gdb: -@if gdb -maybe-installcheck-gdb: installcheck-gdb - -installcheck-gdb: \ - configure-gdb - @: $(MAKE); $(unstage) - @[ -f ./gdb/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in gdb" ; \ - (cd $(HOST_SUBDIR)/gdb && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif gdb - -.PHONY: maybe-mostlyclean-gdb mostlyclean-gdb -maybe-mostlyclean-gdb: -@if gdb -maybe-mostlyclean-gdb: mostlyclean-gdb - -mostlyclean-gdb: - @: $(MAKE); $(unstage) - @[ -f ./gdb/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in gdb" ; \ - (cd $(HOST_SUBDIR)/gdb && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif gdb - -.PHONY: maybe-clean-gdb clean-gdb -maybe-clean-gdb: -@if gdb -maybe-clean-gdb: clean-gdb - -clean-gdb: - @: $(MAKE); $(unstage) - @[ -f ./gdb/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in gdb" ; \ - (cd $(HOST_SUBDIR)/gdb && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif gdb - -.PHONY: maybe-distclean-gdb distclean-gdb -maybe-distclean-gdb: -@if gdb -maybe-distclean-gdb: distclean-gdb - -distclean-gdb: - @: $(MAKE); $(unstage) - @[ -f ./gdb/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in gdb" ; \ - (cd $(HOST_SUBDIR)/gdb && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif gdb - -.PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb -maybe-maintainer-clean-gdb: -@if gdb -maybe-maintainer-clean-gdb: maintainer-clean-gdb - -maintainer-clean-gdb: - @: $(MAKE); $(unstage) - @[ -f ./gdb/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in gdb" ; \ - (cd $(HOST_SUBDIR)/gdb && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif gdb - - - -.PHONY: configure-expect maybe-configure-expect -maybe-configure-expect: -@if gcc-bootstrap -configure-expect: stage_current -@endif gcc-bootstrap -@if expect -maybe-configure-expect: configure-expect -configure-expect: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/expect; \ - cd "$(HOST_SUBDIR)/expect" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/expect/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/expect"; \ - libsrcdir="$$s/expect"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif expect - - - - - -.PHONY: all-expect maybe-all-expect -maybe-all-expect: -@if gcc-bootstrap -all-expect: stage_current -@endif gcc-bootstrap -@if expect -TARGET-expect=all -maybe-all-expect: all-expect -all-expect: configure-expect - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/expect && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-expect)) -@endif expect - - - - -.PHONY: check-expect maybe-check-expect -maybe-check-expect: -@if expect -maybe-check-expect: check-expect - -check-expect: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/expect && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif expect - -.PHONY: install-expect maybe-install-expect -maybe-install-expect: -@if expect -maybe-install-expect: install-expect - -install-expect: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/expect && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif expect - -.PHONY: install-strip-expect maybe-install-strip-expect -maybe-install-strip-expect: -@if expect -maybe-install-strip-expect: install-strip-expect - -install-strip-expect: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/expect && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif expect - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-expect info-expect -maybe-info-expect: -@if expect -maybe-info-expect: info-expect - -info-expect: \ - configure-expect - @: $(MAKE); $(unstage) - @[ -f ./expect/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in expect" ; \ - (cd $(HOST_SUBDIR)/expect && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif expect - -.PHONY: maybe-dvi-expect dvi-expect -maybe-dvi-expect: -@if expect -maybe-dvi-expect: dvi-expect - -dvi-expect: \ - configure-expect - @: $(MAKE); $(unstage) - @[ -f ./expect/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in expect" ; \ - (cd $(HOST_SUBDIR)/expect && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif expect - -.PHONY: maybe-pdf-expect pdf-expect -maybe-pdf-expect: -@if expect -maybe-pdf-expect: pdf-expect - -pdf-expect: \ - configure-expect - @: $(MAKE); $(unstage) - @[ -f ./expect/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in expect" ; \ - (cd $(HOST_SUBDIR)/expect && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif expect - -.PHONY: maybe-html-expect html-expect -maybe-html-expect: -@if expect -maybe-html-expect: html-expect - -html-expect: \ - configure-expect - @: $(MAKE); $(unstage) - @[ -f ./expect/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in expect" ; \ - (cd $(HOST_SUBDIR)/expect && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif expect - -.PHONY: maybe-TAGS-expect TAGS-expect -maybe-TAGS-expect: -@if expect -maybe-TAGS-expect: TAGS-expect - -TAGS-expect: \ - configure-expect - @: $(MAKE); $(unstage) - @[ -f ./expect/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in expect" ; \ - (cd $(HOST_SUBDIR)/expect && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif expect - -.PHONY: maybe-install-info-expect install-info-expect -maybe-install-info-expect: -@if expect -maybe-install-info-expect: install-info-expect - -install-info-expect: \ - configure-expect \ - info-expect - @: $(MAKE); $(unstage) - @[ -f ./expect/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in expect" ; \ - (cd $(HOST_SUBDIR)/expect && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif expect - -.PHONY: maybe-install-pdf-expect install-pdf-expect -maybe-install-pdf-expect: -@if expect -maybe-install-pdf-expect: install-pdf-expect - -install-pdf-expect: \ - configure-expect \ - pdf-expect - @: $(MAKE); $(unstage) - @[ -f ./expect/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in expect" ; \ - (cd $(HOST_SUBDIR)/expect && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif expect - -.PHONY: maybe-install-html-expect install-html-expect -maybe-install-html-expect: -@if expect -maybe-install-html-expect: install-html-expect - -install-html-expect: \ - configure-expect \ - html-expect - @: $(MAKE); $(unstage) - @[ -f ./expect/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in expect" ; \ - (cd $(HOST_SUBDIR)/expect && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif expect - -.PHONY: maybe-installcheck-expect installcheck-expect -maybe-installcheck-expect: -@if expect -maybe-installcheck-expect: installcheck-expect - -installcheck-expect: \ - configure-expect - @: $(MAKE); $(unstage) - @[ -f ./expect/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in expect" ; \ - (cd $(HOST_SUBDIR)/expect && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif expect - -.PHONY: maybe-mostlyclean-expect mostlyclean-expect -maybe-mostlyclean-expect: -@if expect -maybe-mostlyclean-expect: mostlyclean-expect - -mostlyclean-expect: - @: $(MAKE); $(unstage) - @[ -f ./expect/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in expect" ; \ - (cd $(HOST_SUBDIR)/expect && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif expect - -.PHONY: maybe-clean-expect clean-expect -maybe-clean-expect: -@if expect -maybe-clean-expect: clean-expect - -clean-expect: - @: $(MAKE); $(unstage) - @[ -f ./expect/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in expect" ; \ - (cd $(HOST_SUBDIR)/expect && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif expect - -.PHONY: maybe-distclean-expect distclean-expect -maybe-distclean-expect: -@if expect -maybe-distclean-expect: distclean-expect - -distclean-expect: - @: $(MAKE); $(unstage) - @[ -f ./expect/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in expect" ; \ - (cd $(HOST_SUBDIR)/expect && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif expect - -.PHONY: maybe-maintainer-clean-expect maintainer-clean-expect -maybe-maintainer-clean-expect: -@if expect -maybe-maintainer-clean-expect: maintainer-clean-expect - -maintainer-clean-expect: - @: $(MAKE); $(unstage) - @[ -f ./expect/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in expect" ; \ - (cd $(HOST_SUBDIR)/expect && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif expect - - - -.PHONY: configure-guile maybe-configure-guile -maybe-configure-guile: -@if gcc-bootstrap -configure-guile: stage_current -@endif gcc-bootstrap -@if guile -maybe-configure-guile: configure-guile -configure-guile: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/guile; \ - cd "$(HOST_SUBDIR)/guile" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/guile/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/guile"; \ - libsrcdir="$$s/guile"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif guile - - - - - -.PHONY: all-guile maybe-all-guile -maybe-all-guile: -@if gcc-bootstrap -all-guile: stage_current -@endif gcc-bootstrap -@if guile -TARGET-guile=all -maybe-all-guile: all-guile -all-guile: configure-guile - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/guile && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-guile)) -@endif guile - - - - -.PHONY: check-guile maybe-check-guile -maybe-check-guile: -@if guile -maybe-check-guile: check-guile - -check-guile: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/guile && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif guile - -.PHONY: install-guile maybe-install-guile -maybe-install-guile: -@if guile -maybe-install-guile: install-guile - -install-guile: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/guile && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif guile - -.PHONY: install-strip-guile maybe-install-strip-guile -maybe-install-strip-guile: -@if guile -maybe-install-strip-guile: install-strip-guile - -install-strip-guile: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/guile && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif guile - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-guile info-guile -maybe-info-guile: -@if guile -maybe-info-guile: info-guile - -info-guile: \ - configure-guile - @: $(MAKE); $(unstage) - @[ -f ./guile/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in guile" ; \ - (cd $(HOST_SUBDIR)/guile && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif guile - -.PHONY: maybe-dvi-guile dvi-guile -maybe-dvi-guile: -@if guile -maybe-dvi-guile: dvi-guile - -dvi-guile: \ - configure-guile - @: $(MAKE); $(unstage) - @[ -f ./guile/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in guile" ; \ - (cd $(HOST_SUBDIR)/guile && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif guile - -.PHONY: maybe-pdf-guile pdf-guile -maybe-pdf-guile: -@if guile -maybe-pdf-guile: pdf-guile - -pdf-guile: \ - configure-guile - @: $(MAKE); $(unstage) - @[ -f ./guile/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in guile" ; \ - (cd $(HOST_SUBDIR)/guile && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif guile - -.PHONY: maybe-html-guile html-guile -maybe-html-guile: -@if guile -maybe-html-guile: html-guile - -html-guile: \ - configure-guile - @: $(MAKE); $(unstage) - @[ -f ./guile/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in guile" ; \ - (cd $(HOST_SUBDIR)/guile && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif guile - -.PHONY: maybe-TAGS-guile TAGS-guile -maybe-TAGS-guile: -@if guile -maybe-TAGS-guile: TAGS-guile - -TAGS-guile: \ - configure-guile - @: $(MAKE); $(unstage) - @[ -f ./guile/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in guile" ; \ - (cd $(HOST_SUBDIR)/guile && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif guile - -.PHONY: maybe-install-info-guile install-info-guile -maybe-install-info-guile: -@if guile -maybe-install-info-guile: install-info-guile - -install-info-guile: \ - configure-guile \ - info-guile - @: $(MAKE); $(unstage) - @[ -f ./guile/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in guile" ; \ - (cd $(HOST_SUBDIR)/guile && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif guile - -.PHONY: maybe-install-pdf-guile install-pdf-guile -maybe-install-pdf-guile: -@if guile -maybe-install-pdf-guile: install-pdf-guile - -install-pdf-guile: \ - configure-guile \ - pdf-guile - @: $(MAKE); $(unstage) - @[ -f ./guile/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in guile" ; \ - (cd $(HOST_SUBDIR)/guile && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif guile - -.PHONY: maybe-install-html-guile install-html-guile -maybe-install-html-guile: -@if guile -maybe-install-html-guile: install-html-guile - -install-html-guile: \ - configure-guile \ - html-guile - @: $(MAKE); $(unstage) - @[ -f ./guile/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in guile" ; \ - (cd $(HOST_SUBDIR)/guile && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif guile - -.PHONY: maybe-installcheck-guile installcheck-guile -maybe-installcheck-guile: -@if guile -maybe-installcheck-guile: installcheck-guile - -installcheck-guile: \ - configure-guile - @: $(MAKE); $(unstage) - @[ -f ./guile/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in guile" ; \ - (cd $(HOST_SUBDIR)/guile && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif guile - -.PHONY: maybe-mostlyclean-guile mostlyclean-guile -maybe-mostlyclean-guile: -@if guile -maybe-mostlyclean-guile: mostlyclean-guile - -mostlyclean-guile: - @: $(MAKE); $(unstage) - @[ -f ./guile/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in guile" ; \ - (cd $(HOST_SUBDIR)/guile && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif guile - -.PHONY: maybe-clean-guile clean-guile -maybe-clean-guile: -@if guile -maybe-clean-guile: clean-guile - -clean-guile: - @: $(MAKE); $(unstage) - @[ -f ./guile/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in guile" ; \ - (cd $(HOST_SUBDIR)/guile && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif guile - -.PHONY: maybe-distclean-guile distclean-guile -maybe-distclean-guile: -@if guile -maybe-distclean-guile: distclean-guile - -distclean-guile: - @: $(MAKE); $(unstage) - @[ -f ./guile/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in guile" ; \ - (cd $(HOST_SUBDIR)/guile && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif guile - -.PHONY: maybe-maintainer-clean-guile maintainer-clean-guile -maybe-maintainer-clean-guile: -@if guile -maybe-maintainer-clean-guile: maintainer-clean-guile - -maintainer-clean-guile: - @: $(MAKE); $(unstage) - @[ -f ./guile/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in guile" ; \ - (cd $(HOST_SUBDIR)/guile && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif guile - - - -.PHONY: configure-tk maybe-configure-tk -maybe-configure-tk: -@if gcc-bootstrap -configure-tk: stage_current -@endif gcc-bootstrap -@if tk -maybe-configure-tk: configure-tk -configure-tk: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/tk; \ - cd "$(HOST_SUBDIR)/tk" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/tk/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/tk"; \ - libsrcdir="$$s/tk"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif tk - - - - - -.PHONY: all-tk maybe-all-tk -maybe-all-tk: -@if gcc-bootstrap -all-tk: stage_current -@endif gcc-bootstrap -@if tk -TARGET-tk=all -maybe-all-tk: all-tk -all-tk: configure-tk - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/tk && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-tk)) -@endif tk - - - - -.PHONY: check-tk maybe-check-tk -maybe-check-tk: -@if tk -maybe-check-tk: check-tk - -check-tk: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/tk && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif tk - -.PHONY: install-tk maybe-install-tk -maybe-install-tk: -@if tk -maybe-install-tk: install-tk - -install-tk: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/tk && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif tk - -.PHONY: install-strip-tk maybe-install-strip-tk -maybe-install-strip-tk: -@if tk -maybe-install-strip-tk: install-strip-tk - -install-strip-tk: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/tk && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif tk - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-tk info-tk -maybe-info-tk: -@if tk -maybe-info-tk: info-tk - -info-tk: \ - configure-tk - @: $(MAKE); $(unstage) - @[ -f ./tk/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in tk" ; \ - (cd $(HOST_SUBDIR)/tk && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif tk - -.PHONY: maybe-dvi-tk dvi-tk -maybe-dvi-tk: -@if tk -maybe-dvi-tk: dvi-tk - -dvi-tk: \ - configure-tk - @: $(MAKE); $(unstage) - @[ -f ./tk/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in tk" ; \ - (cd $(HOST_SUBDIR)/tk && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif tk - -.PHONY: maybe-pdf-tk pdf-tk -maybe-pdf-tk: -@if tk -maybe-pdf-tk: pdf-tk - -pdf-tk: \ - configure-tk - @: $(MAKE); $(unstage) - @[ -f ./tk/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in tk" ; \ - (cd $(HOST_SUBDIR)/tk && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif tk - -.PHONY: maybe-html-tk html-tk -maybe-html-tk: -@if tk -maybe-html-tk: html-tk - -html-tk: \ - configure-tk - @: $(MAKE); $(unstage) - @[ -f ./tk/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in tk" ; \ - (cd $(HOST_SUBDIR)/tk && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif tk - -.PHONY: maybe-TAGS-tk TAGS-tk -maybe-TAGS-tk: -@if tk -maybe-TAGS-tk: TAGS-tk - -TAGS-tk: \ - configure-tk - @: $(MAKE); $(unstage) - @[ -f ./tk/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in tk" ; \ - (cd $(HOST_SUBDIR)/tk && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif tk - -.PHONY: maybe-install-info-tk install-info-tk -maybe-install-info-tk: -@if tk -maybe-install-info-tk: install-info-tk - -install-info-tk: \ - configure-tk \ - info-tk - @: $(MAKE); $(unstage) - @[ -f ./tk/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in tk" ; \ - (cd $(HOST_SUBDIR)/tk && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif tk - -.PHONY: maybe-install-pdf-tk install-pdf-tk -maybe-install-pdf-tk: -@if tk -maybe-install-pdf-tk: install-pdf-tk - -install-pdf-tk: \ - configure-tk \ - pdf-tk - @: $(MAKE); $(unstage) - @[ -f ./tk/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in tk" ; \ - (cd $(HOST_SUBDIR)/tk && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif tk - -.PHONY: maybe-install-html-tk install-html-tk -maybe-install-html-tk: -@if tk -maybe-install-html-tk: install-html-tk - -install-html-tk: \ - configure-tk \ - html-tk - @: $(MAKE); $(unstage) - @[ -f ./tk/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in tk" ; \ - (cd $(HOST_SUBDIR)/tk && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif tk - -.PHONY: maybe-installcheck-tk installcheck-tk -maybe-installcheck-tk: -@if tk -maybe-installcheck-tk: installcheck-tk - -installcheck-tk: \ - configure-tk - @: $(MAKE); $(unstage) - @[ -f ./tk/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in tk" ; \ - (cd $(HOST_SUBDIR)/tk && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif tk - -.PHONY: maybe-mostlyclean-tk mostlyclean-tk -maybe-mostlyclean-tk: -@if tk -maybe-mostlyclean-tk: mostlyclean-tk - -mostlyclean-tk: - @: $(MAKE); $(unstage) - @[ -f ./tk/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in tk" ; \ - (cd $(HOST_SUBDIR)/tk && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif tk - -.PHONY: maybe-clean-tk clean-tk -maybe-clean-tk: -@if tk -maybe-clean-tk: clean-tk - -clean-tk: - @: $(MAKE); $(unstage) - @[ -f ./tk/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in tk" ; \ - (cd $(HOST_SUBDIR)/tk && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif tk - -.PHONY: maybe-distclean-tk distclean-tk -maybe-distclean-tk: -@if tk -maybe-distclean-tk: distclean-tk - -distclean-tk: - @: $(MAKE); $(unstage) - @[ -f ./tk/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in tk" ; \ - (cd $(HOST_SUBDIR)/tk && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif tk - -.PHONY: maybe-maintainer-clean-tk maintainer-clean-tk -maybe-maintainer-clean-tk: -@if tk -maybe-maintainer-clean-tk: maintainer-clean-tk - -maintainer-clean-tk: - @: $(MAKE); $(unstage) - @[ -f ./tk/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in tk" ; \ - (cd $(HOST_SUBDIR)/tk && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif tk - - - -.PHONY: configure-libtermcap maybe-configure-libtermcap -maybe-configure-libtermcap: -@if gcc-bootstrap -configure-libtermcap: stage_current -@endif gcc-bootstrap -@if libtermcap -maybe-configure-libtermcap: configure-libtermcap -configure-libtermcap: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/libtermcap; \ - cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libtermcap"; \ - libsrcdir="$$s/libtermcap"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif libtermcap - - - - - -.PHONY: all-libtermcap maybe-all-libtermcap -maybe-all-libtermcap: -@if gcc-bootstrap -all-libtermcap: stage_current -@endif gcc-bootstrap -@if libtermcap -TARGET-libtermcap=all -maybe-all-libtermcap: all-libtermcap -all-libtermcap: configure-libtermcap - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libtermcap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-libtermcap)) -@endif libtermcap - - - - -.PHONY: check-libtermcap maybe-check-libtermcap -maybe-check-libtermcap: -@if libtermcap -maybe-check-libtermcap: check-libtermcap - -check-libtermcap: - -@endif libtermcap - -.PHONY: install-libtermcap maybe-install-libtermcap -maybe-install-libtermcap: -@if libtermcap -maybe-install-libtermcap: install-libtermcap - -install-libtermcap: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libtermcap && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif libtermcap - -.PHONY: install-strip-libtermcap maybe-install-strip-libtermcap -maybe-install-strip-libtermcap: -@if libtermcap -maybe-install-strip-libtermcap: install-strip-libtermcap - -install-strip-libtermcap: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libtermcap && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif libtermcap - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-libtermcap info-libtermcap -maybe-info-libtermcap: -@if libtermcap -maybe-info-libtermcap: info-libtermcap - -info-libtermcap: \ - configure-libtermcap - @: $(MAKE); $(unstage) - @[ -f ./libtermcap/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in libtermcap" ; \ - (cd $(HOST_SUBDIR)/libtermcap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif libtermcap - -.PHONY: maybe-dvi-libtermcap dvi-libtermcap -maybe-dvi-libtermcap: -@if libtermcap -maybe-dvi-libtermcap: dvi-libtermcap - -dvi-libtermcap: \ - configure-libtermcap - @: $(MAKE); $(unstage) - @[ -f ./libtermcap/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in libtermcap" ; \ - (cd $(HOST_SUBDIR)/libtermcap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif libtermcap - -.PHONY: maybe-pdf-libtermcap pdf-libtermcap -maybe-pdf-libtermcap: -@if libtermcap -maybe-pdf-libtermcap: pdf-libtermcap - -pdf-libtermcap: \ - configure-libtermcap - @: $(MAKE); $(unstage) - @[ -f ./libtermcap/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in libtermcap" ; \ - (cd $(HOST_SUBDIR)/libtermcap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif libtermcap - -.PHONY: maybe-html-libtermcap html-libtermcap -maybe-html-libtermcap: -@if libtermcap -maybe-html-libtermcap: html-libtermcap - -html-libtermcap: \ - configure-libtermcap - @: $(MAKE); $(unstage) - @[ -f ./libtermcap/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in libtermcap" ; \ - (cd $(HOST_SUBDIR)/libtermcap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif libtermcap - -.PHONY: maybe-TAGS-libtermcap TAGS-libtermcap -maybe-TAGS-libtermcap: -@if libtermcap -maybe-TAGS-libtermcap: TAGS-libtermcap - -TAGS-libtermcap: \ - configure-libtermcap - @: $(MAKE); $(unstage) - @[ -f ./libtermcap/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in libtermcap" ; \ - (cd $(HOST_SUBDIR)/libtermcap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif libtermcap - -.PHONY: maybe-install-info-libtermcap install-info-libtermcap -maybe-install-info-libtermcap: -@if libtermcap -maybe-install-info-libtermcap: install-info-libtermcap - -install-info-libtermcap: \ - configure-libtermcap \ - info-libtermcap - @: $(MAKE); $(unstage) - @[ -f ./libtermcap/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in libtermcap" ; \ - (cd $(HOST_SUBDIR)/libtermcap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif libtermcap - -.PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap -maybe-install-pdf-libtermcap: -@if libtermcap -maybe-install-pdf-libtermcap: install-pdf-libtermcap - -install-pdf-libtermcap: \ - configure-libtermcap \ - pdf-libtermcap - @: $(MAKE); $(unstage) - @[ -f ./libtermcap/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in libtermcap" ; \ - (cd $(HOST_SUBDIR)/libtermcap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif libtermcap - -.PHONY: maybe-install-html-libtermcap install-html-libtermcap -maybe-install-html-libtermcap: -@if libtermcap -maybe-install-html-libtermcap: install-html-libtermcap - -install-html-libtermcap: \ - configure-libtermcap \ - html-libtermcap - @: $(MAKE); $(unstage) - @[ -f ./libtermcap/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in libtermcap" ; \ - (cd $(HOST_SUBDIR)/libtermcap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif libtermcap - -.PHONY: maybe-installcheck-libtermcap installcheck-libtermcap -maybe-installcheck-libtermcap: -@if libtermcap -maybe-installcheck-libtermcap: installcheck-libtermcap - -installcheck-libtermcap: \ - configure-libtermcap - @: $(MAKE); $(unstage) - @[ -f ./libtermcap/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in libtermcap" ; \ - (cd $(HOST_SUBDIR)/libtermcap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif libtermcap - -.PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap -maybe-mostlyclean-libtermcap: -@if libtermcap -maybe-mostlyclean-libtermcap: mostlyclean-libtermcap - -# libtermcap doesn't support mostlyclean. -mostlyclean-libtermcap: - -@endif libtermcap - -.PHONY: maybe-clean-libtermcap clean-libtermcap -maybe-clean-libtermcap: -@if libtermcap -maybe-clean-libtermcap: clean-libtermcap - -# libtermcap doesn't support clean. -clean-libtermcap: - -@endif libtermcap - -.PHONY: maybe-distclean-libtermcap distclean-libtermcap -maybe-distclean-libtermcap: -@if libtermcap -maybe-distclean-libtermcap: distclean-libtermcap - -# libtermcap doesn't support distclean. -distclean-libtermcap: - -@endif libtermcap - -.PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap -maybe-maintainer-clean-libtermcap: -@if libtermcap -maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap - -# libtermcap doesn't support maintainer-clean. -maintainer-clean-libtermcap: - -@endif libtermcap - - - -.PHONY: configure-utils maybe-configure-utils -maybe-configure-utils: -@if gcc-bootstrap -configure-utils: stage_current -@endif gcc-bootstrap -@if utils -maybe-configure-utils: configure-utils -configure-utils: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/utils; \ - cd "$(HOST_SUBDIR)/utils" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/utils/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/utils"; \ - libsrcdir="$$s/utils"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif utils - - - - - -.PHONY: all-utils maybe-all-utils -maybe-all-utils: -@if gcc-bootstrap -all-utils: stage_current -@endif gcc-bootstrap -@if utils -TARGET-utils=all -maybe-all-utils: all-utils -all-utils: configure-utils - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/utils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-utils)) -@endif utils - - - - -.PHONY: check-utils maybe-check-utils -maybe-check-utils: -@if utils -maybe-check-utils: check-utils - -check-utils: - -@endif utils - -.PHONY: install-utils maybe-install-utils -maybe-install-utils: -@if utils -maybe-install-utils: install-utils - -install-utils: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/utils && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif utils - -.PHONY: install-strip-utils maybe-install-strip-utils -maybe-install-strip-utils: -@if utils -maybe-install-strip-utils: install-strip-utils - -install-strip-utils: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/utils && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif utils - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-utils info-utils -maybe-info-utils: -@if utils -maybe-info-utils: info-utils - -info-utils: \ - configure-utils - @: $(MAKE); $(unstage) - @[ -f ./utils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in utils" ; \ - (cd $(HOST_SUBDIR)/utils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif utils - -.PHONY: maybe-dvi-utils dvi-utils -maybe-dvi-utils: -@if utils -maybe-dvi-utils: dvi-utils - -dvi-utils: \ - configure-utils - @: $(MAKE); $(unstage) - @[ -f ./utils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in utils" ; \ - (cd $(HOST_SUBDIR)/utils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif utils - -.PHONY: maybe-pdf-utils pdf-utils -maybe-pdf-utils: -@if utils -maybe-pdf-utils: pdf-utils - -pdf-utils: \ - configure-utils - @: $(MAKE); $(unstage) - @[ -f ./utils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in utils" ; \ - (cd $(HOST_SUBDIR)/utils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif utils - -.PHONY: maybe-html-utils html-utils -maybe-html-utils: -@if utils -maybe-html-utils: html-utils - -html-utils: \ - configure-utils - @: $(MAKE); $(unstage) - @[ -f ./utils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in utils" ; \ - (cd $(HOST_SUBDIR)/utils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif utils - -.PHONY: maybe-TAGS-utils TAGS-utils -maybe-TAGS-utils: -@if utils -maybe-TAGS-utils: TAGS-utils - -TAGS-utils: \ - configure-utils - @: $(MAKE); $(unstage) - @[ -f ./utils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in utils" ; \ - (cd $(HOST_SUBDIR)/utils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif utils - -.PHONY: maybe-install-info-utils install-info-utils -maybe-install-info-utils: -@if utils -maybe-install-info-utils: install-info-utils - -install-info-utils: \ - configure-utils \ - info-utils - @: $(MAKE); $(unstage) - @[ -f ./utils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in utils" ; \ - (cd $(HOST_SUBDIR)/utils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif utils - -.PHONY: maybe-install-pdf-utils install-pdf-utils -maybe-install-pdf-utils: -@if utils -maybe-install-pdf-utils: install-pdf-utils - -install-pdf-utils: \ - configure-utils \ - pdf-utils - @: $(MAKE); $(unstage) - @[ -f ./utils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in utils" ; \ - (cd $(HOST_SUBDIR)/utils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif utils - -.PHONY: maybe-install-html-utils install-html-utils -maybe-install-html-utils: -@if utils -maybe-install-html-utils: install-html-utils - -install-html-utils: \ - configure-utils \ - html-utils - @: $(MAKE); $(unstage) - @[ -f ./utils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in utils" ; \ - (cd $(HOST_SUBDIR)/utils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif utils - -.PHONY: maybe-installcheck-utils installcheck-utils -maybe-installcheck-utils: -@if utils -maybe-installcheck-utils: installcheck-utils - -installcheck-utils: \ - configure-utils - @: $(MAKE); $(unstage) - @[ -f ./utils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in utils" ; \ - (cd $(HOST_SUBDIR)/utils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif utils - -.PHONY: maybe-mostlyclean-utils mostlyclean-utils -maybe-mostlyclean-utils: -@if utils -maybe-mostlyclean-utils: mostlyclean-utils - -mostlyclean-utils: - @: $(MAKE); $(unstage) - @[ -f ./utils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in utils" ; \ - (cd $(HOST_SUBDIR)/utils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif utils - -.PHONY: maybe-clean-utils clean-utils -maybe-clean-utils: -@if utils -maybe-clean-utils: clean-utils - -clean-utils: - @: $(MAKE); $(unstage) - @[ -f ./utils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in utils" ; \ - (cd $(HOST_SUBDIR)/utils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif utils - -.PHONY: maybe-distclean-utils distclean-utils -maybe-distclean-utils: -@if utils -maybe-distclean-utils: distclean-utils - -distclean-utils: - @: $(MAKE); $(unstage) - @[ -f ./utils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in utils" ; \ - (cd $(HOST_SUBDIR)/utils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif utils - -.PHONY: maybe-maintainer-clean-utils maintainer-clean-utils -maybe-maintainer-clean-utils: -@if utils -maybe-maintainer-clean-utils: maintainer-clean-utils - -maintainer-clean-utils: - @: $(MAKE); $(unstage) - @[ -f ./utils/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in utils" ; \ - (cd $(HOST_SUBDIR)/utils && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif utils - - - -.PHONY: configure-gnattools maybe-configure-gnattools -maybe-configure-gnattools: -@if gcc-bootstrap -configure-gnattools: stage_current -@endif gcc-bootstrap -@if gnattools -maybe-configure-gnattools: configure-gnattools -configure-gnattools: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/gnattools; \ - cd "$(HOST_SUBDIR)/gnattools" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gnattools"; \ - libsrcdir="$$s/gnattools"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif gnattools - - - - - -.PHONY: all-gnattools maybe-all-gnattools -maybe-all-gnattools: -@if gcc-bootstrap -all-gnattools: stage_current -@endif gcc-bootstrap -@if gnattools -TARGET-gnattools=all -maybe-all-gnattools: all-gnattools -all-gnattools: configure-gnattools - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gnattools && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-gnattools)) -@endif gnattools - - - - -.PHONY: check-gnattools maybe-check-gnattools -maybe-check-gnattools: -@if gnattools -maybe-check-gnattools: check-gnattools - -check-gnattools: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gnattools && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif gnattools - -.PHONY: install-gnattools maybe-install-gnattools -maybe-install-gnattools: -@if gnattools -maybe-install-gnattools: install-gnattools - -install-gnattools: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gnattools && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif gnattools - -.PHONY: install-strip-gnattools maybe-install-strip-gnattools -maybe-install-strip-gnattools: -@if gnattools -maybe-install-strip-gnattools: install-strip-gnattools - -install-strip-gnattools: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gnattools && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif gnattools - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-gnattools info-gnattools -maybe-info-gnattools: -@if gnattools -maybe-info-gnattools: info-gnattools - -info-gnattools: \ - configure-gnattools - @: $(MAKE); $(unstage) - @[ -f ./gnattools/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in gnattools" ; \ - (cd $(HOST_SUBDIR)/gnattools && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif gnattools - -.PHONY: maybe-dvi-gnattools dvi-gnattools -maybe-dvi-gnattools: -@if gnattools -maybe-dvi-gnattools: dvi-gnattools - -dvi-gnattools: \ - configure-gnattools - @: $(MAKE); $(unstage) - @[ -f ./gnattools/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in gnattools" ; \ - (cd $(HOST_SUBDIR)/gnattools && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif gnattools - -.PHONY: maybe-pdf-gnattools pdf-gnattools -maybe-pdf-gnattools: -@if gnattools -maybe-pdf-gnattools: pdf-gnattools - -pdf-gnattools: \ - configure-gnattools - @: $(MAKE); $(unstage) - @[ -f ./gnattools/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in gnattools" ; \ - (cd $(HOST_SUBDIR)/gnattools && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif gnattools - -.PHONY: maybe-html-gnattools html-gnattools -maybe-html-gnattools: -@if gnattools -maybe-html-gnattools: html-gnattools - -html-gnattools: \ - configure-gnattools - @: $(MAKE); $(unstage) - @[ -f ./gnattools/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in gnattools" ; \ - (cd $(HOST_SUBDIR)/gnattools && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif gnattools - -.PHONY: maybe-TAGS-gnattools TAGS-gnattools -maybe-TAGS-gnattools: -@if gnattools -maybe-TAGS-gnattools: TAGS-gnattools - -TAGS-gnattools: \ - configure-gnattools - @: $(MAKE); $(unstage) - @[ -f ./gnattools/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in gnattools" ; \ - (cd $(HOST_SUBDIR)/gnattools && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif gnattools - -.PHONY: maybe-install-info-gnattools install-info-gnattools -maybe-install-info-gnattools: -@if gnattools -maybe-install-info-gnattools: install-info-gnattools - -install-info-gnattools: \ - configure-gnattools \ - info-gnattools - @: $(MAKE); $(unstage) - @[ -f ./gnattools/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in gnattools" ; \ - (cd $(HOST_SUBDIR)/gnattools && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif gnattools - -.PHONY: maybe-install-pdf-gnattools install-pdf-gnattools -maybe-install-pdf-gnattools: -@if gnattools -maybe-install-pdf-gnattools: install-pdf-gnattools - -install-pdf-gnattools: \ - configure-gnattools \ - pdf-gnattools - @: $(MAKE); $(unstage) - @[ -f ./gnattools/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in gnattools" ; \ - (cd $(HOST_SUBDIR)/gnattools && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif gnattools - -.PHONY: maybe-install-html-gnattools install-html-gnattools -maybe-install-html-gnattools: -@if gnattools -maybe-install-html-gnattools: install-html-gnattools - -install-html-gnattools: \ - configure-gnattools \ - html-gnattools - @: $(MAKE); $(unstage) - @[ -f ./gnattools/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in gnattools" ; \ - (cd $(HOST_SUBDIR)/gnattools && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif gnattools - -.PHONY: maybe-installcheck-gnattools installcheck-gnattools -maybe-installcheck-gnattools: -@if gnattools -maybe-installcheck-gnattools: installcheck-gnattools - -installcheck-gnattools: \ - configure-gnattools - @: $(MAKE); $(unstage) - @[ -f ./gnattools/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in gnattools" ; \ - (cd $(HOST_SUBDIR)/gnattools && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif gnattools - -.PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools -maybe-mostlyclean-gnattools: -@if gnattools -maybe-mostlyclean-gnattools: mostlyclean-gnattools - -mostlyclean-gnattools: - @: $(MAKE); $(unstage) - @[ -f ./gnattools/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in gnattools" ; \ - (cd $(HOST_SUBDIR)/gnattools && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif gnattools - -.PHONY: maybe-clean-gnattools clean-gnattools -maybe-clean-gnattools: -@if gnattools -maybe-clean-gnattools: clean-gnattools - -clean-gnattools: - @: $(MAKE); $(unstage) - @[ -f ./gnattools/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in gnattools" ; \ - (cd $(HOST_SUBDIR)/gnattools && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif gnattools - -.PHONY: maybe-distclean-gnattools distclean-gnattools -maybe-distclean-gnattools: -@if gnattools -maybe-distclean-gnattools: distclean-gnattools - -distclean-gnattools: - @: $(MAKE); $(unstage) - @[ -f ./gnattools/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in gnattools" ; \ - (cd $(HOST_SUBDIR)/gnattools && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif gnattools - -.PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools -maybe-maintainer-clean-gnattools: -@if gnattools -maybe-maintainer-clean-gnattools: maintainer-clean-gnattools - -maintainer-clean-gnattools: - @: $(MAKE); $(unstage) - @[ -f ./gnattools/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in gnattools" ; \ - (cd $(HOST_SUBDIR)/gnattools && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif gnattools - - - -.PHONY: configure-lto-plugin maybe-configure-lto-plugin -maybe-configure-lto-plugin: -@if gcc-bootstrap -configure-lto-plugin: stage_current -@endif gcc-bootstrap -@if lto-plugin -maybe-configure-lto-plugin: configure-lto-plugin -configure-lto-plugin: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \ - $(HOST_EXPORTS) \ - echo Configuring in $(HOST_SUBDIR)/lto-plugin; \ - cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/lto-plugin"; \ - libsrcdir="$$s/lto-plugin"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} --enable-shared \ - || exit 1 -@endif lto-plugin - - - -.PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin -maybe-configure-stage1-lto-plugin: -@if lto-plugin-bootstrap -maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin -configure-stage1-lto-plugin: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \ - cd $(HOST_SUBDIR)/lto-plugin || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/lto-plugin"; \ - libsrcdir="$$s/lto-plugin"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) \ - --enable-shared -@endif lto-plugin-bootstrap - -.PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin -maybe-configure-stage2-lto-plugin: -@if lto-plugin-bootstrap -maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin -configure-stage2-lto-plugin: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \ - cd $(HOST_SUBDIR)/lto-plugin || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/lto-plugin"; \ - libsrcdir="$$s/lto-plugin"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) \ - --enable-shared -@endif lto-plugin-bootstrap - -.PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin -maybe-configure-stage3-lto-plugin: -@if lto-plugin-bootstrap -maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin -configure-stage3-lto-plugin: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \ - cd $(HOST_SUBDIR)/lto-plugin || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/lto-plugin"; \ - libsrcdir="$$s/lto-plugin"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) \ - --enable-shared -@endif lto-plugin-bootstrap - -.PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin -maybe-configure-stage4-lto-plugin: -@if lto-plugin-bootstrap -maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin -configure-stage4-lto-plugin: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \ - cd $(HOST_SUBDIR)/lto-plugin || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/lto-plugin"; \ - libsrcdir="$$s/lto-plugin"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) \ - --enable-shared -@endif lto-plugin-bootstrap - -.PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin -maybe-configure-stageprofile-lto-plugin: -@if lto-plugin-bootstrap -maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin -configure-stageprofile-lto-plugin: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \ - cd $(HOST_SUBDIR)/lto-plugin || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/lto-plugin"; \ - libsrcdir="$$s/lto-plugin"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) \ - --enable-shared -@endif lto-plugin-bootstrap - -.PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin -maybe-configure-stagefeedback-lto-plugin: -@if lto-plugin-bootstrap -maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin -configure-stagefeedback-lto-plugin: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \ - cd $(HOST_SUBDIR)/lto-plugin || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/lto-plugin"; \ - libsrcdir="$$s/lto-plugin"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) \ - --enable-shared -@endif lto-plugin-bootstrap - - - - - -.PHONY: all-lto-plugin maybe-all-lto-plugin -maybe-all-lto-plugin: -@if gcc-bootstrap -all-lto-plugin: stage_current -@endif gcc-bootstrap -@if lto-plugin -TARGET-lto-plugin=all -maybe-all-lto-plugin: all-lto-plugin -all-lto-plugin: configure-lto-plugin - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ - $(TARGET-lto-plugin)) -@endif lto-plugin - - - -.PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin -.PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin -maybe-all-stage1-lto-plugin: -maybe-clean-stage1-lto-plugin: -@if lto-plugin-bootstrap -maybe-all-stage1-lto-plugin: all-stage1-lto-plugin -all-stage1: all-stage1-lto-plugin -TARGET-stage1-lto-plugin = $(TARGET-lto-plugin) -all-stage1-lto-plugin: configure-stage1-lto-plugin - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" \ - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ - LIBCFLAGS="$(LIBCFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-lto-plugin) - -maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin -clean-stage1: clean-stage1-lto-plugin -clean-stage1-lto-plugin: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - clean -@endif lto-plugin-bootstrap - - -.PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin -.PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin -maybe-all-stage2-lto-plugin: -maybe-clean-stage2-lto-plugin: -@if lto-plugin-bootstrap -maybe-all-stage2-lto-plugin: all-stage2-lto-plugin -all-stage2: all-stage2-lto-plugin -TARGET-stage2-lto-plugin = $(TARGET-lto-plugin) -all-stage2-lto-plugin: configure-stage2-lto-plugin - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE2_CFLAGS)" \ - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE2_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-lto-plugin) - -maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin -clean-stage2: clean-stage2-lto-plugin -clean-stage2-lto-plugin: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif lto-plugin-bootstrap - - -.PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin -.PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin -maybe-all-stage3-lto-plugin: -maybe-clean-stage3-lto-plugin: -@if lto-plugin-bootstrap -maybe-all-stage3-lto-plugin: all-stage3-lto-plugin -all-stage3: all-stage3-lto-plugin -TARGET-stage3-lto-plugin = $(TARGET-lto-plugin) -all-stage3-lto-plugin: configure-stage3-lto-plugin - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE3_CFLAGS)" \ - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE3_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-lto-plugin) - -maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin -clean-stage3: clean-stage3-lto-plugin -clean-stage3-lto-plugin: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif lto-plugin-bootstrap - - -.PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin -.PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin -maybe-all-stage4-lto-plugin: -maybe-clean-stage4-lto-plugin: -@if lto-plugin-bootstrap -maybe-all-stage4-lto-plugin: all-stage4-lto-plugin -all-stage4: all-stage4-lto-plugin -TARGET-stage4-lto-plugin = $(TARGET-lto-plugin) -all-stage4-lto-plugin: configure-stage4-lto-plugin - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE4_CFLAGS)" \ - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE4_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-lto-plugin) - -maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin -clean-stage4: clean-stage4-lto-plugin -clean-stage4-lto-plugin: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif lto-plugin-bootstrap - - -.PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin -.PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin -maybe-all-stageprofile-lto-plugin: -maybe-clean-stageprofile-lto-plugin: -@if lto-plugin-bootstrap -maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin -all-stageprofile: all-stageprofile-lto-plugin -TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin) -all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEprofile_CFLAGS)" \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-lto-plugin) - -maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin -clean-stageprofile: clean-stageprofile-lto-plugin -clean-stageprofile-lto-plugin: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif lto-plugin-bootstrap - - -.PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin -.PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin -maybe-all-stagefeedback-lto-plugin: -maybe-clean-stagefeedback-lto-plugin: -@if lto-plugin-bootstrap -maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin -all-stagefeedback: all-stagefeedback-lto-plugin -TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin) -all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)" \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-lto-plugin) - -maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin -clean-stagefeedback: clean-stagefeedback-lto-plugin -clean-stagefeedback-lto-plugin: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif lto-plugin-bootstrap - - - - - -.PHONY: check-lto-plugin maybe-check-lto-plugin -maybe-check-lto-plugin: -@if lto-plugin -maybe-check-lto-plugin: check-lto-plugin - -check-lto-plugin: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif lto-plugin - -.PHONY: install-lto-plugin maybe-install-lto-plugin -maybe-install-lto-plugin: -@if lto-plugin -maybe-install-lto-plugin: install-lto-plugin - -install-lto-plugin: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif lto-plugin - -.PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin -maybe-install-strip-lto-plugin: -@if lto-plugin -maybe-install-strip-lto-plugin: install-strip-lto-plugin - -install-strip-lto-plugin: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(FLAGS_TO_PASS) install-strip) - -@endif lto-plugin - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-lto-plugin info-lto-plugin -maybe-info-lto-plugin: -@if lto-plugin -maybe-info-lto-plugin: info-lto-plugin - -info-lto-plugin: \ - configure-lto-plugin - @[ -f ./lto-plugin/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in lto-plugin" ; \ - (cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif lto-plugin - -.PHONY: maybe-dvi-lto-plugin dvi-lto-plugin -maybe-dvi-lto-plugin: -@if lto-plugin -maybe-dvi-lto-plugin: dvi-lto-plugin - -dvi-lto-plugin: \ - configure-lto-plugin - @[ -f ./lto-plugin/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in lto-plugin" ; \ - (cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif lto-plugin - -.PHONY: maybe-pdf-lto-plugin pdf-lto-plugin -maybe-pdf-lto-plugin: -@if lto-plugin -maybe-pdf-lto-plugin: pdf-lto-plugin - -pdf-lto-plugin: \ - configure-lto-plugin - @[ -f ./lto-plugin/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing pdf in lto-plugin" ; \ - (cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif lto-plugin - -.PHONY: maybe-html-lto-plugin html-lto-plugin -maybe-html-lto-plugin: -@if lto-plugin -maybe-html-lto-plugin: html-lto-plugin - -html-lto-plugin: \ - configure-lto-plugin - @[ -f ./lto-plugin/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing html in lto-plugin" ; \ - (cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif lto-plugin - -.PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin -maybe-TAGS-lto-plugin: -@if lto-plugin -maybe-TAGS-lto-plugin: TAGS-lto-plugin - -TAGS-lto-plugin: \ - configure-lto-plugin - @[ -f ./lto-plugin/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing TAGS in lto-plugin" ; \ - (cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif lto-plugin - -.PHONY: maybe-install-info-lto-plugin install-info-lto-plugin -maybe-install-info-lto-plugin: -@if lto-plugin -maybe-install-info-lto-plugin: install-info-lto-plugin - -install-info-lto-plugin: \ - configure-lto-plugin \ - info-lto-plugin - @[ -f ./lto-plugin/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-info in lto-plugin" ; \ - (cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif lto-plugin - -.PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin -maybe-install-pdf-lto-plugin: -@if lto-plugin -maybe-install-pdf-lto-plugin: install-pdf-lto-plugin - -install-pdf-lto-plugin: \ - configure-lto-plugin \ - pdf-lto-plugin - @[ -f ./lto-plugin/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-pdf in lto-plugin" ; \ - (cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif lto-plugin - -.PHONY: maybe-install-html-lto-plugin install-html-lto-plugin -maybe-install-html-lto-plugin: -@if lto-plugin -maybe-install-html-lto-plugin: install-html-lto-plugin - -install-html-lto-plugin: \ - configure-lto-plugin \ - html-lto-plugin - @[ -f ./lto-plugin/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing install-html in lto-plugin" ; \ - (cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif lto-plugin - -.PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin -maybe-installcheck-lto-plugin: -@if lto-plugin -maybe-installcheck-lto-plugin: installcheck-lto-plugin - -installcheck-lto-plugin: \ - configure-lto-plugin - @[ -f ./lto-plugin/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing installcheck in lto-plugin" ; \ - (cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif lto-plugin - -.PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin -maybe-mostlyclean-lto-plugin: -@if lto-plugin -maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin - -mostlyclean-lto-plugin: - @[ -f ./lto-plugin/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing mostlyclean in lto-plugin" ; \ - (cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif lto-plugin - -.PHONY: maybe-clean-lto-plugin clean-lto-plugin -maybe-clean-lto-plugin: -@if lto-plugin -maybe-clean-lto-plugin: clean-lto-plugin - -clean-lto-plugin: - @[ -f ./lto-plugin/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing clean in lto-plugin" ; \ - (cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif lto-plugin - -.PHONY: maybe-distclean-lto-plugin distclean-lto-plugin -maybe-distclean-lto-plugin: -@if lto-plugin -maybe-distclean-lto-plugin: distclean-lto-plugin - -distclean-lto-plugin: - @[ -f ./lto-plugin/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing distclean in lto-plugin" ; \ - (cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif lto-plugin - -.PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin -maybe-maintainer-clean-lto-plugin: -@if lto-plugin -maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin - -maintainer-clean-lto-plugin: - @[ -f ./lto-plugin/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing maintainer-clean in lto-plugin" ; \ - (cd $(HOST_SUBDIR)/lto-plugin && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif lto-plugin - - - -# --------------------------------------- -# Modules which run on the target machine -# --------------------------------------- - - - - -.PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3 -maybe-configure-target-libstdc++-v3: -@if gcc-bootstrap -configure-target-libstdc++-v3: stage_current -@endif gcc-bootstrap -@if target-libstdc++-v3 -maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3 -configure-target-libstdc++-v3: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - echo "Checking multilib configuration for libstdc++-v3..."; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \ - mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \ - cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \ - libsrcdir="$$s/libstdc++-v3"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif target-libstdc++-v3 - - - -.PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3 -maybe-configure-stage1-target-libstdc++-v3: -@if target-libstdc++-v3-bootstrap -maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3 -configure-stage1-target-libstdc++-v3: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - echo "Checking multilib configuration for libstdc++-v3..."; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \ - mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \ - $(RAW_CXX_TARGET_EXPORTS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ - cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \ - libsrcdir="$$s/libstdc++-v3"; \ - $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) -@endif target-libstdc++-v3-bootstrap - -.PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3 -maybe-configure-stage2-target-libstdc++-v3: -@if target-libstdc++-v3-bootstrap -maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3 -configure-stage2-target-libstdc++-v3: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - echo "Checking multilib configuration for libstdc++-v3..."; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \ - mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \ - $(RAW_CXX_TARGET_EXPORTS) \ - \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ - cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \ - libsrcdir="$$s/libstdc++-v3"; \ - $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) -@endif target-libstdc++-v3-bootstrap - -.PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3 -maybe-configure-stage3-target-libstdc++-v3: -@if target-libstdc++-v3-bootstrap -maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3 -configure-stage3-target-libstdc++-v3: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - echo "Checking multilib configuration for libstdc++-v3..."; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \ - mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \ - $(RAW_CXX_TARGET_EXPORTS) \ - \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ - cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \ - libsrcdir="$$s/libstdc++-v3"; \ - $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) -@endif target-libstdc++-v3-bootstrap - -.PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3 -maybe-configure-stage4-target-libstdc++-v3: -@if target-libstdc++-v3-bootstrap -maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3 -configure-stage4-target-libstdc++-v3: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - echo "Checking multilib configuration for libstdc++-v3..."; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \ - mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \ - $(RAW_CXX_TARGET_EXPORTS) \ - \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ - cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \ - libsrcdir="$$s/libstdc++-v3"; \ - $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) -@endif target-libstdc++-v3-bootstrap - -.PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3 -maybe-configure-stageprofile-target-libstdc++-v3: -@if target-libstdc++-v3-bootstrap -maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3 -configure-stageprofile-target-libstdc++-v3: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - echo "Checking multilib configuration for libstdc++-v3..."; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \ - mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \ - $(RAW_CXX_TARGET_EXPORTS) \ - \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ - cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \ - libsrcdir="$$s/libstdc++-v3"; \ - $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) -@endif target-libstdc++-v3-bootstrap - -.PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3 -maybe-configure-stagefeedback-target-libstdc++-v3: -@if target-libstdc++-v3-bootstrap -maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3 -configure-stagefeedback-target-libstdc++-v3: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - echo "Checking multilib configuration for libstdc++-v3..."; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \ - mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \ - $(RAW_CXX_TARGET_EXPORTS) \ - \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ - cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \ - libsrcdir="$$s/libstdc++-v3"; \ - $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) -@endif target-libstdc++-v3-bootstrap - - - - - -.PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3 -maybe-all-target-libstdc++-v3: -@if gcc-bootstrap -all-target-libstdc++-v3: stage_current -@endif gcc-bootstrap -@if target-libstdc++-v3 -TARGET-target-libstdc++-v3=all -maybe-all-target-libstdc++-v3: all-target-libstdc++-v3 -all-target-libstdc++-v3: configure-target-libstdc++-v3 - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ - $(TARGET-target-libstdc++-v3)) -@endif target-libstdc++-v3 - - - -.PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3 -.PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3 -maybe-all-stage1-target-libstdc++-v3: -maybe-clean-stage1-target-libstdc++-v3: -@if target-libstdc++-v3-bootstrap -maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3 -all-stage1: all-stage1-target-libstdc++-v3 -TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3) -all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3 - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(RAW_CXX_TARGET_EXPORTS) \ - cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-target-libstdc++-v3) - -maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3 -clean-stage1: clean-stage1-target-libstdc++-v3 -clean-stage1-target-libstdc++-v3: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \ - else \ - [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ - clean -@endif target-libstdc++-v3-bootstrap - - -.PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3 -.PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3 -maybe-all-stage2-target-libstdc++-v3: -maybe-clean-stage2-target-libstdc++-v3: -@if target-libstdc++-v3-bootstrap -maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3 -all-stage2: all-stage2-target-libstdc++-v3 -TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3) -all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3 - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(RAW_CXX_TARGET_EXPORTS) \ - \ - cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-target-libstdc++-v3) - -maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3 -clean-stage2: clean-stage2-target-libstdc++-v3 -clean-stage2-target-libstdc++-v3: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \ - else \ - [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ - \ - clean -@endif target-libstdc++-v3-bootstrap - - -.PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3 -.PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3 -maybe-all-stage3-target-libstdc++-v3: -maybe-clean-stage3-target-libstdc++-v3: -@if target-libstdc++-v3-bootstrap -maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3 -all-stage3: all-stage3-target-libstdc++-v3 -TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3) -all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3 - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(RAW_CXX_TARGET_EXPORTS) \ - \ - cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-target-libstdc++-v3) - -maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3 -clean-stage3: clean-stage3-target-libstdc++-v3 -clean-stage3-target-libstdc++-v3: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \ - else \ - [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ - \ - clean -@endif target-libstdc++-v3-bootstrap - - -.PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3 -.PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3 -maybe-all-stage4-target-libstdc++-v3: -maybe-clean-stage4-target-libstdc++-v3: -@if target-libstdc++-v3-bootstrap -maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3 -all-stage4: all-stage4-target-libstdc++-v3 -TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3) -all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3 - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(RAW_CXX_TARGET_EXPORTS) \ - \ - cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-target-libstdc++-v3) - -maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3 -clean-stage4: clean-stage4-target-libstdc++-v3 -clean-stage4-target-libstdc++-v3: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \ - else \ - [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ - \ - clean -@endif target-libstdc++-v3-bootstrap - - -.PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3 -.PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3 -maybe-all-stageprofile-target-libstdc++-v3: -maybe-clean-stageprofile-target-libstdc++-v3: -@if target-libstdc++-v3-bootstrap -maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3 -all-stageprofile: all-stageprofile-target-libstdc++-v3 -TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3) -all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3 - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(RAW_CXX_TARGET_EXPORTS) \ - \ - cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-target-libstdc++-v3) - -maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3 -clean-stageprofile: clean-stageprofile-target-libstdc++-v3 -clean-stageprofile-target-libstdc++-v3: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \ - else \ - [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ - \ - clean -@endif target-libstdc++-v3-bootstrap - - -.PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3 -.PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3 -maybe-all-stagefeedback-target-libstdc++-v3: -maybe-clean-stagefeedback-target-libstdc++-v3: -@if target-libstdc++-v3-bootstrap -maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3 -all-stagefeedback: all-stagefeedback-target-libstdc++-v3 -TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3) -all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3 - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(RAW_CXX_TARGET_EXPORTS) \ - \ - cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-target-libstdc++-v3) - -maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3 -clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3 -clean-stagefeedback-target-libstdc++-v3: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \ - else \ - [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ - \ - clean -@endif target-libstdc++-v3-bootstrap - - - - - - -.PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3 -maybe-check-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-check-target-libstdc++-v3: check-target-libstdc++-v3 - -check-target-libstdc++-v3: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check) - -@endif target-libstdc++-v3 - -.PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3 -maybe-install-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-install-target-libstdc++-v3: install-target-libstdc++-v3 - -install-target-libstdc++-v3: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) - -@endif target-libstdc++-v3 - -.PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3 -maybe-install-strip-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3 - -install-strip-target-libstdc++-v3: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) - -@endif target-libstdc++-v3 - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3 -maybe-info-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-info-target-libstdc++-v3: info-target-libstdc++-v3 - -info-target-libstdc++-v3: \ - configure-target-libstdc++-v3 - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif target-libstdc++-v3 - -.PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3 -maybe-dvi-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3 - -dvi-target-libstdc++-v3: \ - configure-target-libstdc++-v3 - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif target-libstdc++-v3 - -.PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3 -maybe-pdf-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3 - -pdf-target-libstdc++-v3: \ - configure-target-libstdc++-v3 - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif target-libstdc++-v3 - -.PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3 -maybe-html-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-html-target-libstdc++-v3: html-target-libstdc++-v3 - -html-target-libstdc++-v3: \ - configure-target-libstdc++-v3 - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif target-libstdc++-v3 - -.PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3 -maybe-TAGS-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3 - -TAGS-target-libstdc++-v3: \ - configure-target-libstdc++-v3 - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif target-libstdc++-v3 - -.PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3 -maybe-install-info-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3 - -install-info-target-libstdc++-v3: \ - configure-target-libstdc++-v3 \ - info-target-libstdc++-v3 - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif target-libstdc++-v3 - -.PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3 -maybe-install-pdf-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3 - -install-pdf-target-libstdc++-v3: \ - configure-target-libstdc++-v3 \ - pdf-target-libstdc++-v3 - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif target-libstdc++-v3 - -.PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3 -maybe-install-html-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3 - -install-html-target-libstdc++-v3: \ - configure-target-libstdc++-v3 \ - html-target-libstdc++-v3 - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif target-libstdc++-v3 - -.PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3 -maybe-installcheck-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3 - -installcheck-target-libstdc++-v3: \ - configure-target-libstdc++-v3 - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif target-libstdc++-v3 - -.PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3 -maybe-mostlyclean-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3 - -mostlyclean-target-libstdc++-v3: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif target-libstdc++-v3 - -.PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3 -maybe-clean-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3 - -clean-target-libstdc++-v3: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif target-libstdc++-v3 - -.PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3 -maybe-distclean-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3 - -distclean-target-libstdc++-v3: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif target-libstdc++-v3 - -.PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3 -maybe-maintainer-clean-target-libstdc++-v3: -@if target-libstdc++-v3 -maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3 - -maintainer-clean-target-libstdc++-v3: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif target-libstdc++-v3 - - - - - -.PHONY: configure-target-libmudflap maybe-configure-target-libmudflap -maybe-configure-target-libmudflap: -@if gcc-bootstrap -configure-target-libmudflap: stage_current -@endif gcc-bootstrap -@if target-libmudflap -maybe-configure-target-libmudflap: configure-target-libmudflap -configure-target-libmudflap: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - echo "Checking multilib configuration for libmudflap..."; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \ - mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \ - $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/libmudflap; \ - cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libmudflap"; \ - libsrcdir="$$s/libmudflap"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif target-libmudflap - - - - - -.PHONY: all-target-libmudflap maybe-all-target-libmudflap -maybe-all-target-libmudflap: -@if gcc-bootstrap -all-target-libmudflap: stage_current -@endif gcc-bootstrap -@if target-libmudflap -TARGET-target-libmudflap=all -maybe-all-target-libmudflap: all-target-libmudflap -all-target-libmudflap: configure-target-libmudflap - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libmudflap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ - $(TARGET-target-libmudflap)) -@endif target-libmudflap - - - - - -.PHONY: check-target-libmudflap maybe-check-target-libmudflap -maybe-check-target-libmudflap: -@if target-libmudflap -maybe-check-target-libmudflap: check-target-libmudflap - -check-target-libmudflap: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libmudflap && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) check) - -@endif target-libmudflap - -.PHONY: install-target-libmudflap maybe-install-target-libmudflap -maybe-install-target-libmudflap: -@if target-libmudflap -maybe-install-target-libmudflap: install-target-libmudflap - -install-target-libmudflap: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libmudflap && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) - -@endif target-libmudflap - -.PHONY: install-strip-target-libmudflap maybe-install-strip-target-libmudflap -maybe-install-strip-target-libmudflap: -@if target-libmudflap -maybe-install-strip-target-libmudflap: install-strip-target-libmudflap - -install-strip-target-libmudflap: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libmudflap && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) - -@endif target-libmudflap - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-target-libmudflap info-target-libmudflap -maybe-info-target-libmudflap: -@if target-libmudflap -maybe-info-target-libmudflap: info-target-libmudflap - -info-target-libmudflap: \ - configure-target-libmudflap - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif target-libmudflap - -.PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap -maybe-dvi-target-libmudflap: -@if target-libmudflap -maybe-dvi-target-libmudflap: dvi-target-libmudflap - -dvi-target-libmudflap: \ - configure-target-libmudflap - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif target-libmudflap - -.PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap -maybe-pdf-target-libmudflap: -@if target-libmudflap -maybe-pdf-target-libmudflap: pdf-target-libmudflap - -pdf-target-libmudflap: \ - configure-target-libmudflap - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif target-libmudflap - -.PHONY: maybe-html-target-libmudflap html-target-libmudflap -maybe-html-target-libmudflap: -@if target-libmudflap -maybe-html-target-libmudflap: html-target-libmudflap - -html-target-libmudflap: \ - configure-target-libmudflap - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif target-libmudflap - -.PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap -maybe-TAGS-target-libmudflap: -@if target-libmudflap -maybe-TAGS-target-libmudflap: TAGS-target-libmudflap - -TAGS-target-libmudflap: \ - configure-target-libmudflap - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif target-libmudflap - -.PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap -maybe-install-info-target-libmudflap: -@if target-libmudflap -maybe-install-info-target-libmudflap: install-info-target-libmudflap - -install-info-target-libmudflap: \ - configure-target-libmudflap \ - info-target-libmudflap - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif target-libmudflap - -.PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap -maybe-install-pdf-target-libmudflap: -@if target-libmudflap -maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap - -install-pdf-target-libmudflap: \ - configure-target-libmudflap \ - pdf-target-libmudflap - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif target-libmudflap - -.PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap -maybe-install-html-target-libmudflap: -@if target-libmudflap -maybe-install-html-target-libmudflap: install-html-target-libmudflap - -install-html-target-libmudflap: \ - configure-target-libmudflap \ - html-target-libmudflap - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif target-libmudflap - -.PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap -maybe-installcheck-target-libmudflap: -@if target-libmudflap -maybe-installcheck-target-libmudflap: installcheck-target-libmudflap - -installcheck-target-libmudflap: \ - configure-target-libmudflap - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif target-libmudflap - -.PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap -maybe-mostlyclean-target-libmudflap: -@if target-libmudflap -maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap - -mostlyclean-target-libmudflap: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif target-libmudflap - -.PHONY: maybe-clean-target-libmudflap clean-target-libmudflap -maybe-clean-target-libmudflap: -@if target-libmudflap -maybe-clean-target-libmudflap: clean-target-libmudflap - -clean-target-libmudflap: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif target-libmudflap - -.PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap -maybe-distclean-target-libmudflap: -@if target-libmudflap -maybe-distclean-target-libmudflap: distclean-target-libmudflap - -distclean-target-libmudflap: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif target-libmudflap - -.PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap -maybe-maintainer-clean-target-libmudflap: -@if target-libmudflap -maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap - -maintainer-clean-target-libmudflap: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libmudflap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif target-libmudflap - - - - - -.PHONY: configure-target-libssp maybe-configure-target-libssp -maybe-configure-target-libssp: -@if gcc-bootstrap -configure-target-libssp: stage_current -@endif gcc-bootstrap -@if target-libssp -maybe-configure-target-libssp: configure-target-libssp -configure-target-libssp: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - echo "Checking multilib configuration for libssp..."; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libssp/Makefile; \ - mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \ - $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/libssp; \ - cd "$(TARGET_SUBDIR)/libssp" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libssp"; \ - libsrcdir="$$s/libssp"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif target-libssp - - - - - -.PHONY: all-target-libssp maybe-all-target-libssp -maybe-all-target-libssp: -@if gcc-bootstrap -all-target-libssp: stage_current -@endif gcc-bootstrap -@if target-libssp -TARGET-target-libssp=all -maybe-all-target-libssp: all-target-libssp -all-target-libssp: configure-target-libssp - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libssp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ - $(TARGET-target-libssp)) -@endif target-libssp - - - - - -.PHONY: check-target-libssp maybe-check-target-libssp -maybe-check-target-libssp: -@if target-libssp -maybe-check-target-libssp: check-target-libssp - -check-target-libssp: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libssp && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) check) - -@endif target-libssp - -.PHONY: install-target-libssp maybe-install-target-libssp -maybe-install-target-libssp: -@if target-libssp -maybe-install-target-libssp: install-target-libssp - -install-target-libssp: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libssp && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) - -@endif target-libssp - -.PHONY: install-strip-target-libssp maybe-install-strip-target-libssp -maybe-install-strip-target-libssp: -@if target-libssp -maybe-install-strip-target-libssp: install-strip-target-libssp - -install-strip-target-libssp: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libssp && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) - -@endif target-libssp - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-target-libssp info-target-libssp -maybe-info-target-libssp: -@if target-libssp -maybe-info-target-libssp: info-target-libssp - -info-target-libssp: \ - configure-target-libssp - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libssp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif target-libssp - -.PHONY: maybe-dvi-target-libssp dvi-target-libssp -maybe-dvi-target-libssp: -@if target-libssp -maybe-dvi-target-libssp: dvi-target-libssp - -dvi-target-libssp: \ - configure-target-libssp - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libssp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif target-libssp - -.PHONY: maybe-pdf-target-libssp pdf-target-libssp -maybe-pdf-target-libssp: -@if target-libssp -maybe-pdf-target-libssp: pdf-target-libssp - -pdf-target-libssp: \ - configure-target-libssp - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libssp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif target-libssp - -.PHONY: maybe-html-target-libssp html-target-libssp -maybe-html-target-libssp: -@if target-libssp -maybe-html-target-libssp: html-target-libssp - -html-target-libssp: \ - configure-target-libssp - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libssp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif target-libssp - -.PHONY: maybe-TAGS-target-libssp TAGS-target-libssp -maybe-TAGS-target-libssp: -@if target-libssp -maybe-TAGS-target-libssp: TAGS-target-libssp - -TAGS-target-libssp: \ - configure-target-libssp - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libssp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif target-libssp - -.PHONY: maybe-install-info-target-libssp install-info-target-libssp -maybe-install-info-target-libssp: -@if target-libssp -maybe-install-info-target-libssp: install-info-target-libssp - -install-info-target-libssp: \ - configure-target-libssp \ - info-target-libssp - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libssp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif target-libssp - -.PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp -maybe-install-pdf-target-libssp: -@if target-libssp -maybe-install-pdf-target-libssp: install-pdf-target-libssp - -install-pdf-target-libssp: \ - configure-target-libssp \ - pdf-target-libssp - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libssp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif target-libssp - -.PHONY: maybe-install-html-target-libssp install-html-target-libssp -maybe-install-html-target-libssp: -@if target-libssp -maybe-install-html-target-libssp: install-html-target-libssp - -install-html-target-libssp: \ - configure-target-libssp \ - html-target-libssp - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libssp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif target-libssp - -.PHONY: maybe-installcheck-target-libssp installcheck-target-libssp -maybe-installcheck-target-libssp: -@if target-libssp -maybe-installcheck-target-libssp: installcheck-target-libssp - -installcheck-target-libssp: \ - configure-target-libssp - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libssp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif target-libssp - -.PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp -maybe-mostlyclean-target-libssp: -@if target-libssp -maybe-mostlyclean-target-libssp: mostlyclean-target-libssp - -mostlyclean-target-libssp: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libssp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif target-libssp - -.PHONY: maybe-clean-target-libssp clean-target-libssp -maybe-clean-target-libssp: -@if target-libssp -maybe-clean-target-libssp: clean-target-libssp - -clean-target-libssp: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libssp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif target-libssp - -.PHONY: maybe-distclean-target-libssp distclean-target-libssp -maybe-distclean-target-libssp: -@if target-libssp -maybe-distclean-target-libssp: distclean-target-libssp - -distclean-target-libssp: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libssp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif target-libssp - -.PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp -maybe-maintainer-clean-target-libssp: -@if target-libssp -maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp - -maintainer-clean-target-libssp: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libssp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif target-libssp - - - - - -.PHONY: configure-target-newlib maybe-configure-target-newlib -maybe-configure-target-newlib: -@if gcc-bootstrap -configure-target-newlib: stage_current -@endif gcc-bootstrap -@if target-newlib -maybe-configure-target-newlib: configure-target-newlib -configure-target-newlib: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - echo "Checking multilib configuration for newlib..."; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/newlib/Makefile; \ - mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \ - $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/newlib; \ - cd "$(TARGET_SUBDIR)/newlib" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/newlib"; \ - libsrcdir="$$s/newlib"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif target-newlib - - - - - -.PHONY: all-target-newlib maybe-all-target-newlib -maybe-all-target-newlib: -@if gcc-bootstrap -all-target-newlib: stage_current -@endif gcc-bootstrap -@if target-newlib -TARGET-target-newlib=all -maybe-all-target-newlib: all-target-newlib -all-target-newlib: configure-target-newlib - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/newlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ - $(TARGET-target-newlib)) -@endif target-newlib - - - - - -.PHONY: check-target-newlib maybe-check-target-newlib -maybe-check-target-newlib: -@if target-newlib -maybe-check-target-newlib: check-target-newlib - -check-target-newlib: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/newlib && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) check) - -@endif target-newlib - -.PHONY: install-target-newlib maybe-install-target-newlib -maybe-install-target-newlib: -@if target-newlib -maybe-install-target-newlib: install-target-newlib - -install-target-newlib: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/newlib && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) - -@endif target-newlib - -.PHONY: install-strip-target-newlib maybe-install-strip-target-newlib -maybe-install-strip-target-newlib: -@if target-newlib -maybe-install-strip-target-newlib: install-strip-target-newlib - -install-strip-target-newlib: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/newlib && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) - -@endif target-newlib - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-target-newlib info-target-newlib -maybe-info-target-newlib: -@if target-newlib -maybe-info-target-newlib: info-target-newlib - -info-target-newlib: \ - configure-target-newlib - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/newlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif target-newlib - -.PHONY: maybe-dvi-target-newlib dvi-target-newlib -maybe-dvi-target-newlib: -@if target-newlib -maybe-dvi-target-newlib: dvi-target-newlib - -dvi-target-newlib: \ - configure-target-newlib - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/newlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif target-newlib - -.PHONY: maybe-pdf-target-newlib pdf-target-newlib -maybe-pdf-target-newlib: -@if target-newlib -maybe-pdf-target-newlib: pdf-target-newlib - -pdf-target-newlib: \ - configure-target-newlib - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/newlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif target-newlib - -.PHONY: maybe-html-target-newlib html-target-newlib -maybe-html-target-newlib: -@if target-newlib -maybe-html-target-newlib: html-target-newlib - -html-target-newlib: \ - configure-target-newlib - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/newlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif target-newlib - -.PHONY: maybe-TAGS-target-newlib TAGS-target-newlib -maybe-TAGS-target-newlib: -@if target-newlib -maybe-TAGS-target-newlib: TAGS-target-newlib - -TAGS-target-newlib: \ - configure-target-newlib - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/newlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif target-newlib - -.PHONY: maybe-install-info-target-newlib install-info-target-newlib -maybe-install-info-target-newlib: -@if target-newlib -maybe-install-info-target-newlib: install-info-target-newlib - -install-info-target-newlib: \ - configure-target-newlib \ - info-target-newlib - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/newlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif target-newlib - -.PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib -maybe-install-pdf-target-newlib: -@if target-newlib -maybe-install-pdf-target-newlib: install-pdf-target-newlib - -install-pdf-target-newlib: \ - configure-target-newlib \ - pdf-target-newlib - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/newlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif target-newlib - -.PHONY: maybe-install-html-target-newlib install-html-target-newlib -maybe-install-html-target-newlib: -@if target-newlib -maybe-install-html-target-newlib: install-html-target-newlib - -install-html-target-newlib: \ - configure-target-newlib \ - html-target-newlib - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/newlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif target-newlib - -.PHONY: maybe-installcheck-target-newlib installcheck-target-newlib -maybe-installcheck-target-newlib: -@if target-newlib -maybe-installcheck-target-newlib: installcheck-target-newlib - -installcheck-target-newlib: \ - configure-target-newlib - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/newlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif target-newlib - -.PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib -maybe-mostlyclean-target-newlib: -@if target-newlib -maybe-mostlyclean-target-newlib: mostlyclean-target-newlib - -mostlyclean-target-newlib: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/newlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif target-newlib - -.PHONY: maybe-clean-target-newlib clean-target-newlib -maybe-clean-target-newlib: -@if target-newlib -maybe-clean-target-newlib: clean-target-newlib - -clean-target-newlib: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/newlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif target-newlib - -.PHONY: maybe-distclean-target-newlib distclean-target-newlib -maybe-distclean-target-newlib: -@if target-newlib -maybe-distclean-target-newlib: distclean-target-newlib - -distclean-target-newlib: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/newlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif target-newlib - -.PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib -maybe-maintainer-clean-target-newlib: -@if target-newlib -maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib - -maintainer-clean-target-newlib: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/newlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif target-newlib - - - - - -.PHONY: configure-target-libgcc maybe-configure-target-libgcc -maybe-configure-target-libgcc: -@if gcc-bootstrap -configure-target-libgcc: stage_current -@endif gcc-bootstrap -@if target-libgcc -maybe-configure-target-libgcc: configure-target-libgcc -configure-target-libgcc: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - echo "Checking multilib configuration for libgcc..."; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \ - mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \ - $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/libgcc; \ - cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libgcc"; \ - libsrcdir="$$s/libgcc"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif target-libgcc - - - -.PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc -maybe-configure-stage1-target-libgcc: -@if target-libgcc-bootstrap -maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc -configure-stage1-target-libgcc: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - echo "Checking multilib configuration for libgcc..."; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \ - mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \ - $(NORMAL_TARGET_EXPORTS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \ - cd $(TARGET_SUBDIR)/libgcc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libgcc"; \ - libsrcdir="$$s/libgcc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) -@endif target-libgcc-bootstrap - -.PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc -maybe-configure-stage2-target-libgcc: -@if target-libgcc-bootstrap -maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc -configure-stage2-target-libgcc: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - echo "Checking multilib configuration for libgcc..."; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \ - mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \ - $(NORMAL_TARGET_EXPORTS) \ - \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \ - cd $(TARGET_SUBDIR)/libgcc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libgcc"; \ - libsrcdir="$$s/libgcc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) -@endif target-libgcc-bootstrap - -.PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc -maybe-configure-stage3-target-libgcc: -@if target-libgcc-bootstrap -maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc -configure-stage3-target-libgcc: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - echo "Checking multilib configuration for libgcc..."; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \ - mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \ - $(NORMAL_TARGET_EXPORTS) \ - \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \ - cd $(TARGET_SUBDIR)/libgcc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libgcc"; \ - libsrcdir="$$s/libgcc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) -@endif target-libgcc-bootstrap - -.PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc -maybe-configure-stage4-target-libgcc: -@if target-libgcc-bootstrap -maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc -configure-stage4-target-libgcc: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - echo "Checking multilib configuration for libgcc..."; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \ - mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \ - $(NORMAL_TARGET_EXPORTS) \ - \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \ - cd $(TARGET_SUBDIR)/libgcc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libgcc"; \ - libsrcdir="$$s/libgcc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) -@endif target-libgcc-bootstrap - -.PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc -maybe-configure-stageprofile-target-libgcc: -@if target-libgcc-bootstrap -maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc -configure-stageprofile-target-libgcc: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - echo "Checking multilib configuration for libgcc..."; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \ - mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \ - $(NORMAL_TARGET_EXPORTS) \ - \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \ - cd $(TARGET_SUBDIR)/libgcc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libgcc"; \ - libsrcdir="$$s/libgcc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) -@endif target-libgcc-bootstrap - -.PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc -maybe-configure-stagefeedback-target-libgcc: -@if target-libgcc-bootstrap -maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc -configure-stagefeedback-target-libgcc: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - echo "Checking multilib configuration for libgcc..."; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \ - mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \ - $(NORMAL_TARGET_EXPORTS) \ - \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \ - cd $(TARGET_SUBDIR)/libgcc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libgcc"; \ - libsrcdir="$$s/libgcc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) -@endif target-libgcc-bootstrap - - - - - -.PHONY: all-target-libgcc maybe-all-target-libgcc -maybe-all-target-libgcc: -@if gcc-bootstrap -all-target-libgcc: stage_current -@endif gcc-bootstrap -@if target-libgcc -TARGET-target-libgcc=all -maybe-all-target-libgcc: all-target-libgcc -all-target-libgcc: configure-target-libgcc - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ - $(TARGET-target-libgcc)) -@endif target-libgcc - - - -.PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc -.PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc -maybe-all-stage1-target-libgcc: -maybe-clean-stage1-target-libgcc: -@if target-libgcc-bootstrap -maybe-all-stage1-target-libgcc: all-stage1-target-libgcc -all-stage1: all-stage1-target-libgcc -TARGET-stage1-target-libgcc = $(TARGET-target-libgcc) -all-stage1-target-libgcc: configure-stage1-target-libgcc - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(NORMAL_TARGET_EXPORTS) \ - cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_TARGET_FLAGS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-target-libgcc) - -maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc -clean-stage1: clean-stage1-target-libgcc -clean-stage1-target-libgcc: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \ - else \ - [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(EXTRA_TARGET_FLAGS) \ - clean -@endif target-libgcc-bootstrap - - -.PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc -.PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc -maybe-all-stage2-target-libgcc: -maybe-clean-stage2-target-libgcc: -@if target-libgcc-bootstrap -maybe-all-stage2-target-libgcc: all-stage2-target-libgcc -all-stage2: all-stage2-target-libgcc -TARGET-stage2-target-libgcc = $(TARGET-target-libgcc) -all-stage2-target-libgcc: configure-stage2-target-libgcc - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(NORMAL_TARGET_EXPORTS) \ - \ - cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_TARGET_FLAGS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-target-libgcc) - -maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc -clean-stage2: clean-stage2-target-libgcc -clean-stage2-target-libgcc: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \ - else \ - [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(EXTRA_TARGET_FLAGS) \ - \ - clean -@endif target-libgcc-bootstrap - - -.PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc -.PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc -maybe-all-stage3-target-libgcc: -maybe-clean-stage3-target-libgcc: -@if target-libgcc-bootstrap -maybe-all-stage3-target-libgcc: all-stage3-target-libgcc -all-stage3: all-stage3-target-libgcc -TARGET-stage3-target-libgcc = $(TARGET-target-libgcc) -all-stage3-target-libgcc: configure-stage3-target-libgcc - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(NORMAL_TARGET_EXPORTS) \ - \ - cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_TARGET_FLAGS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-target-libgcc) - -maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc -clean-stage3: clean-stage3-target-libgcc -clean-stage3-target-libgcc: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \ - else \ - [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(EXTRA_TARGET_FLAGS) \ - \ - clean -@endif target-libgcc-bootstrap - - -.PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc -.PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc -maybe-all-stage4-target-libgcc: -maybe-clean-stage4-target-libgcc: -@if target-libgcc-bootstrap -maybe-all-stage4-target-libgcc: all-stage4-target-libgcc -all-stage4: all-stage4-target-libgcc -TARGET-stage4-target-libgcc = $(TARGET-target-libgcc) -all-stage4-target-libgcc: configure-stage4-target-libgcc - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(NORMAL_TARGET_EXPORTS) \ - \ - cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_TARGET_FLAGS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-target-libgcc) - -maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc -clean-stage4: clean-stage4-target-libgcc -clean-stage4-target-libgcc: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \ - else \ - [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(EXTRA_TARGET_FLAGS) \ - \ - clean -@endif target-libgcc-bootstrap - - -.PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc -.PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc -maybe-all-stageprofile-target-libgcc: -maybe-clean-stageprofile-target-libgcc: -@if target-libgcc-bootstrap -maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc -all-stageprofile: all-stageprofile-target-libgcc -TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc) -all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(NORMAL_TARGET_EXPORTS) \ - \ - cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_TARGET_FLAGS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-target-libgcc) - -maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc -clean-stageprofile: clean-stageprofile-target-libgcc -clean-stageprofile-target-libgcc: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \ - else \ - [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(EXTRA_TARGET_FLAGS) \ - \ - clean -@endif target-libgcc-bootstrap - - -.PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc -.PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc -maybe-all-stagefeedback-target-libgcc: -maybe-clean-stagefeedback-target-libgcc: -@if target-libgcc-bootstrap -maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc -all-stagefeedback: all-stagefeedback-target-libgcc -TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc) -all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(NORMAL_TARGET_EXPORTS) \ - \ - cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_TARGET_FLAGS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-target-libgcc) - -maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc -clean-stagefeedback: clean-stagefeedback-target-libgcc -clean-stagefeedback-target-libgcc: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \ - else \ - [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(EXTRA_TARGET_FLAGS) \ - \ - clean -@endif target-libgcc-bootstrap - - - - - - -.PHONY: check-target-libgcc maybe-check-target-libgcc -maybe-check-target-libgcc: -@if target-libgcc -maybe-check-target-libgcc: check-target-libgcc - -# Dummy target for uncheckable module. -check-target-libgcc: - -@endif target-libgcc - -.PHONY: install-target-libgcc maybe-install-target-libgcc -maybe-install-target-libgcc: -@if target-libgcc -maybe-install-target-libgcc: install-target-libgcc - -install-target-libgcc: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) - -@endif target-libgcc - -.PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc -maybe-install-strip-target-libgcc: -@if target-libgcc -maybe-install-strip-target-libgcc: install-strip-target-libgcc - -install-strip-target-libgcc: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) - -@endif target-libgcc - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-target-libgcc info-target-libgcc -maybe-info-target-libgcc: -@if target-libgcc -maybe-info-target-libgcc: info-target-libgcc - -info-target-libgcc: \ - configure-target-libgcc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif target-libgcc - -.PHONY: maybe-dvi-target-libgcc dvi-target-libgcc -maybe-dvi-target-libgcc: -@if target-libgcc -maybe-dvi-target-libgcc: dvi-target-libgcc - -dvi-target-libgcc: \ - configure-target-libgcc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif target-libgcc - -.PHONY: maybe-pdf-target-libgcc pdf-target-libgcc -maybe-pdf-target-libgcc: -@if target-libgcc -maybe-pdf-target-libgcc: pdf-target-libgcc - -pdf-target-libgcc: \ - configure-target-libgcc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif target-libgcc - -.PHONY: maybe-html-target-libgcc html-target-libgcc -maybe-html-target-libgcc: -@if target-libgcc -maybe-html-target-libgcc: html-target-libgcc - -html-target-libgcc: \ - configure-target-libgcc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif target-libgcc - -.PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc -maybe-TAGS-target-libgcc: -@if target-libgcc -maybe-TAGS-target-libgcc: TAGS-target-libgcc - -TAGS-target-libgcc: \ - configure-target-libgcc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif target-libgcc - -.PHONY: maybe-install-info-target-libgcc install-info-target-libgcc -maybe-install-info-target-libgcc: -@if target-libgcc -maybe-install-info-target-libgcc: install-info-target-libgcc - -install-info-target-libgcc: \ - configure-target-libgcc \ - info-target-libgcc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif target-libgcc - -.PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc -maybe-install-pdf-target-libgcc: -@if target-libgcc -maybe-install-pdf-target-libgcc: install-pdf-target-libgcc - -install-pdf-target-libgcc: \ - configure-target-libgcc \ - pdf-target-libgcc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif target-libgcc - -.PHONY: maybe-install-html-target-libgcc install-html-target-libgcc -maybe-install-html-target-libgcc: -@if target-libgcc -maybe-install-html-target-libgcc: install-html-target-libgcc - -install-html-target-libgcc: \ - configure-target-libgcc \ - html-target-libgcc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif target-libgcc - -.PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc -maybe-installcheck-target-libgcc: -@if target-libgcc -maybe-installcheck-target-libgcc: installcheck-target-libgcc - -installcheck-target-libgcc: \ - configure-target-libgcc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif target-libgcc - -.PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc -maybe-mostlyclean-target-libgcc: -@if target-libgcc -maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc - -mostlyclean-target-libgcc: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif target-libgcc - -.PHONY: maybe-clean-target-libgcc clean-target-libgcc -maybe-clean-target-libgcc: -@if target-libgcc -maybe-clean-target-libgcc: clean-target-libgcc - -clean-target-libgcc: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif target-libgcc - -.PHONY: maybe-distclean-target-libgcc distclean-target-libgcc -maybe-distclean-target-libgcc: -@if target-libgcc -maybe-distclean-target-libgcc: distclean-target-libgcc - -distclean-target-libgcc: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif target-libgcc - -.PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc -maybe-maintainer-clean-target-libgcc: -@if target-libgcc -maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc - -maintainer-clean-target-libgcc: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif target-libgcc - - - - - -.PHONY: configure-target-libquadmath maybe-configure-target-libquadmath -maybe-configure-target-libquadmath: -@if gcc-bootstrap -configure-target-libquadmath: stage_current -@endif gcc-bootstrap -@if target-libquadmath -maybe-configure-target-libquadmath: configure-target-libquadmath -configure-target-libquadmath: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - echo "Checking multilib configuration for libquadmath..."; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \ - mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \ - $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/libquadmath; \ - cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libquadmath"; \ - libsrcdir="$$s/libquadmath"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif target-libquadmath - - - - - -.PHONY: all-target-libquadmath maybe-all-target-libquadmath -maybe-all-target-libquadmath: -@if gcc-bootstrap -all-target-libquadmath: stage_current -@endif gcc-bootstrap -@if target-libquadmath -TARGET-target-libquadmath=all -maybe-all-target-libquadmath: all-target-libquadmath -all-target-libquadmath: configure-target-libquadmath - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libquadmath && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ - $(TARGET-target-libquadmath)) -@endif target-libquadmath - - - - - -.PHONY: check-target-libquadmath maybe-check-target-libquadmath -maybe-check-target-libquadmath: -@if target-libquadmath -maybe-check-target-libquadmath: check-target-libquadmath - -check-target-libquadmath: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libquadmath && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) check) - -@endif target-libquadmath - -.PHONY: install-target-libquadmath maybe-install-target-libquadmath -maybe-install-target-libquadmath: -@if target-libquadmath -maybe-install-target-libquadmath: install-target-libquadmath - -install-target-libquadmath: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libquadmath && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) - -@endif target-libquadmath - -.PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath -maybe-install-strip-target-libquadmath: -@if target-libquadmath -maybe-install-strip-target-libquadmath: install-strip-target-libquadmath - -install-strip-target-libquadmath: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libquadmath && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) - -@endif target-libquadmath - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-target-libquadmath info-target-libquadmath -maybe-info-target-libquadmath: -@if target-libquadmath -maybe-info-target-libquadmath: info-target-libquadmath - -info-target-libquadmath: \ - configure-target-libquadmath - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libquadmath && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif target-libquadmath - -.PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath -maybe-dvi-target-libquadmath: -@if target-libquadmath -maybe-dvi-target-libquadmath: dvi-target-libquadmath - -dvi-target-libquadmath: \ - configure-target-libquadmath - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libquadmath && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif target-libquadmath - -.PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath -maybe-pdf-target-libquadmath: -@if target-libquadmath -maybe-pdf-target-libquadmath: pdf-target-libquadmath - -pdf-target-libquadmath: \ - configure-target-libquadmath - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libquadmath && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif target-libquadmath - -.PHONY: maybe-html-target-libquadmath html-target-libquadmath -maybe-html-target-libquadmath: -@if target-libquadmath -maybe-html-target-libquadmath: html-target-libquadmath - -html-target-libquadmath: \ - configure-target-libquadmath - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libquadmath && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif target-libquadmath - -.PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath -maybe-TAGS-target-libquadmath: -@if target-libquadmath -maybe-TAGS-target-libquadmath: TAGS-target-libquadmath - -TAGS-target-libquadmath: \ - configure-target-libquadmath - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libquadmath && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif target-libquadmath - -.PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath -maybe-install-info-target-libquadmath: -@if target-libquadmath -maybe-install-info-target-libquadmath: install-info-target-libquadmath - -install-info-target-libquadmath: \ - configure-target-libquadmath \ - info-target-libquadmath - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libquadmath && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif target-libquadmath - -.PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath -maybe-install-pdf-target-libquadmath: -@if target-libquadmath -maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath - -install-pdf-target-libquadmath: \ - configure-target-libquadmath \ - pdf-target-libquadmath - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libquadmath && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif target-libquadmath - -.PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath -maybe-install-html-target-libquadmath: -@if target-libquadmath -maybe-install-html-target-libquadmath: install-html-target-libquadmath - -install-html-target-libquadmath: \ - configure-target-libquadmath \ - html-target-libquadmath - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libquadmath && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif target-libquadmath - -.PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath -maybe-installcheck-target-libquadmath: -@if target-libquadmath -maybe-installcheck-target-libquadmath: installcheck-target-libquadmath - -installcheck-target-libquadmath: \ - configure-target-libquadmath - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libquadmath && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif target-libquadmath - -.PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath -maybe-mostlyclean-target-libquadmath: -@if target-libquadmath -maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath - -mostlyclean-target-libquadmath: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libquadmath && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif target-libquadmath - -.PHONY: maybe-clean-target-libquadmath clean-target-libquadmath -maybe-clean-target-libquadmath: -@if target-libquadmath -maybe-clean-target-libquadmath: clean-target-libquadmath - -clean-target-libquadmath: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libquadmath && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif target-libquadmath - -.PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath -maybe-distclean-target-libquadmath: -@if target-libquadmath -maybe-distclean-target-libquadmath: distclean-target-libquadmath - -distclean-target-libquadmath: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libquadmath && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif target-libquadmath - -.PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath -maybe-maintainer-clean-target-libquadmath: -@if target-libquadmath -maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath - -maintainer-clean-target-libquadmath: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libquadmath && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif target-libquadmath - - - - - -.PHONY: configure-target-libgfortran maybe-configure-target-libgfortran -maybe-configure-target-libgfortran: -@if gcc-bootstrap -configure-target-libgfortran: stage_current -@endif gcc-bootstrap -@if target-libgfortran -maybe-configure-target-libgfortran: configure-target-libgfortran -configure-target-libgfortran: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - echo "Checking multilib configuration for libgfortran..."; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \ - mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \ - $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/libgfortran; \ - cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libgfortran"; \ - libsrcdir="$$s/libgfortran"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif target-libgfortran - - - - - -.PHONY: all-target-libgfortran maybe-all-target-libgfortran -maybe-all-target-libgfortran: -@if gcc-bootstrap -all-target-libgfortran: stage_current -@endif gcc-bootstrap -@if target-libgfortran -TARGET-target-libgfortran=all -maybe-all-target-libgfortran: all-target-libgfortran -all-target-libgfortran: configure-target-libgfortran - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgfortran && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ - $(TARGET-target-libgfortran)) -@endif target-libgfortran - - - - - -.PHONY: check-target-libgfortran maybe-check-target-libgfortran -maybe-check-target-libgfortran: -@if target-libgfortran -maybe-check-target-libgfortran: check-target-libgfortran - -check-target-libgfortran: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgfortran && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) check) - -@endif target-libgfortran - -.PHONY: install-target-libgfortran maybe-install-target-libgfortran -maybe-install-target-libgfortran: -@if target-libgfortran -maybe-install-target-libgfortran: install-target-libgfortran - -install-target-libgfortran: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgfortran && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) - -@endif target-libgfortran - -.PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran -maybe-install-strip-target-libgfortran: -@if target-libgfortran -maybe-install-strip-target-libgfortran: install-strip-target-libgfortran - -install-strip-target-libgfortran: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgfortran && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) - -@endif target-libgfortran - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-target-libgfortran info-target-libgfortran -maybe-info-target-libgfortran: -@if target-libgfortran -maybe-info-target-libgfortran: info-target-libgfortran - -info-target-libgfortran: \ - configure-target-libgfortran - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif target-libgfortran - -.PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran -maybe-dvi-target-libgfortran: -@if target-libgfortran -maybe-dvi-target-libgfortran: dvi-target-libgfortran - -dvi-target-libgfortran: \ - configure-target-libgfortran - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif target-libgfortran - -.PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran -maybe-pdf-target-libgfortran: -@if target-libgfortran -maybe-pdf-target-libgfortran: pdf-target-libgfortran - -pdf-target-libgfortran: \ - configure-target-libgfortran - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif target-libgfortran - -.PHONY: maybe-html-target-libgfortran html-target-libgfortran -maybe-html-target-libgfortran: -@if target-libgfortran -maybe-html-target-libgfortran: html-target-libgfortran - -html-target-libgfortran: \ - configure-target-libgfortran - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif target-libgfortran - -.PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran -maybe-TAGS-target-libgfortran: -@if target-libgfortran -maybe-TAGS-target-libgfortran: TAGS-target-libgfortran - -TAGS-target-libgfortran: \ - configure-target-libgfortran - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif target-libgfortran - -.PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran -maybe-install-info-target-libgfortran: -@if target-libgfortran -maybe-install-info-target-libgfortran: install-info-target-libgfortran - -install-info-target-libgfortran: \ - configure-target-libgfortran \ - info-target-libgfortran - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif target-libgfortran - -.PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran -maybe-install-pdf-target-libgfortran: -@if target-libgfortran -maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran - -install-pdf-target-libgfortran: \ - configure-target-libgfortran \ - pdf-target-libgfortran - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif target-libgfortran - -.PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran -maybe-install-html-target-libgfortran: -@if target-libgfortran -maybe-install-html-target-libgfortran: install-html-target-libgfortran - -install-html-target-libgfortran: \ - configure-target-libgfortran \ - html-target-libgfortran - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif target-libgfortran - -.PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran -maybe-installcheck-target-libgfortran: -@if target-libgfortran -maybe-installcheck-target-libgfortran: installcheck-target-libgfortran - -installcheck-target-libgfortran: \ - configure-target-libgfortran - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif target-libgfortran - -.PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran -maybe-mostlyclean-target-libgfortran: -@if target-libgfortran -maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran - -mostlyclean-target-libgfortran: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif target-libgfortran - -.PHONY: maybe-clean-target-libgfortran clean-target-libgfortran -maybe-clean-target-libgfortran: -@if target-libgfortran -maybe-clean-target-libgfortran: clean-target-libgfortran - -clean-target-libgfortran: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif target-libgfortran - -.PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran -maybe-distclean-target-libgfortran: -@if target-libgfortran -maybe-distclean-target-libgfortran: distclean-target-libgfortran - -distclean-target-libgfortran: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif target-libgfortran - -.PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran -maybe-maintainer-clean-target-libgfortran: -@if target-libgfortran -maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran - -maintainer-clean-target-libgfortran: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgfortran && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif target-libgfortran - - - - - -.PHONY: configure-target-libobjc maybe-configure-target-libobjc -maybe-configure-target-libobjc: -@if gcc-bootstrap -configure-target-libobjc: stage_current -@endif gcc-bootstrap -@if target-libobjc -maybe-configure-target-libobjc: configure-target-libobjc -configure-target-libobjc: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - echo "Checking multilib configuration for libobjc..."; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \ - mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \ - $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/libobjc; \ - cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libobjc"; \ - libsrcdir="$$s/libobjc"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif target-libobjc - - - - - -.PHONY: all-target-libobjc maybe-all-target-libobjc -maybe-all-target-libobjc: -@if gcc-bootstrap -all-target-libobjc: stage_current -@endif gcc-bootstrap -@if target-libobjc -TARGET-target-libobjc=all -maybe-all-target-libobjc: all-target-libobjc -all-target-libobjc: configure-target-libobjc - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ - $(TARGET-target-libobjc)) -@endif target-libobjc - - - - - -.PHONY: check-target-libobjc maybe-check-target-libobjc -maybe-check-target-libobjc: -@if target-libobjc -maybe-check-target-libobjc: check-target-libobjc - -check-target-libobjc: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) check) - -@endif target-libobjc - -.PHONY: install-target-libobjc maybe-install-target-libobjc -maybe-install-target-libobjc: -@if target-libobjc -maybe-install-target-libobjc: install-target-libobjc - -install-target-libobjc: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) - -@endif target-libobjc - -.PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc -maybe-install-strip-target-libobjc: -@if target-libobjc -maybe-install-strip-target-libobjc: install-strip-target-libobjc - -install-strip-target-libobjc: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) - -@endif target-libobjc - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-target-libobjc info-target-libobjc -maybe-info-target-libobjc: -@if target-libobjc -maybe-info-target-libobjc: info-target-libobjc - -info-target-libobjc: \ - configure-target-libobjc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif target-libobjc - -.PHONY: maybe-dvi-target-libobjc dvi-target-libobjc -maybe-dvi-target-libobjc: -@if target-libobjc -maybe-dvi-target-libobjc: dvi-target-libobjc - -dvi-target-libobjc: \ - configure-target-libobjc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif target-libobjc - -.PHONY: maybe-pdf-target-libobjc pdf-target-libobjc -maybe-pdf-target-libobjc: -@if target-libobjc -maybe-pdf-target-libobjc: pdf-target-libobjc - -pdf-target-libobjc: \ - configure-target-libobjc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif target-libobjc - -.PHONY: maybe-html-target-libobjc html-target-libobjc -maybe-html-target-libobjc: -@if target-libobjc -maybe-html-target-libobjc: html-target-libobjc - -html-target-libobjc: \ - configure-target-libobjc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif target-libobjc - -.PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc -maybe-TAGS-target-libobjc: -@if target-libobjc -maybe-TAGS-target-libobjc: TAGS-target-libobjc - -TAGS-target-libobjc: \ - configure-target-libobjc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif target-libobjc - -.PHONY: maybe-install-info-target-libobjc install-info-target-libobjc -maybe-install-info-target-libobjc: -@if target-libobjc -maybe-install-info-target-libobjc: install-info-target-libobjc - -install-info-target-libobjc: \ - configure-target-libobjc \ - info-target-libobjc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif target-libobjc - -.PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc -maybe-install-pdf-target-libobjc: -@if target-libobjc -maybe-install-pdf-target-libobjc: install-pdf-target-libobjc - -install-pdf-target-libobjc: \ - configure-target-libobjc \ - pdf-target-libobjc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif target-libobjc - -.PHONY: maybe-install-html-target-libobjc install-html-target-libobjc -maybe-install-html-target-libobjc: -@if target-libobjc -maybe-install-html-target-libobjc: install-html-target-libobjc - -install-html-target-libobjc: \ - configure-target-libobjc \ - html-target-libobjc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif target-libobjc - -.PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc -maybe-installcheck-target-libobjc: -@if target-libobjc -maybe-installcheck-target-libobjc: installcheck-target-libobjc - -installcheck-target-libobjc: \ - configure-target-libobjc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif target-libobjc - -.PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc -maybe-mostlyclean-target-libobjc: -@if target-libobjc -maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc - -mostlyclean-target-libobjc: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif target-libobjc - -.PHONY: maybe-clean-target-libobjc clean-target-libobjc -maybe-clean-target-libobjc: -@if target-libobjc -maybe-clean-target-libobjc: clean-target-libobjc - -clean-target-libobjc: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif target-libobjc - -.PHONY: maybe-distclean-target-libobjc distclean-target-libobjc -maybe-distclean-target-libobjc: -@if target-libobjc -maybe-distclean-target-libobjc: distclean-target-libobjc - -distclean-target-libobjc: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif target-libobjc - -.PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc -maybe-maintainer-clean-target-libobjc: -@if target-libobjc -maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc - -maintainer-clean-target-libobjc: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libobjc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif target-libobjc - - - - - -.PHONY: configure-target-libgo maybe-configure-target-libgo -maybe-configure-target-libgo: -@if gcc-bootstrap -configure-target-libgo: stage_current -@endif gcc-bootstrap -@if target-libgo -maybe-configure-target-libgo: configure-target-libgo -configure-target-libgo: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - echo "Checking multilib configuration for libgo..."; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libgo/Makefile; \ - mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \ - $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/libgo; \ - cd "$(TARGET_SUBDIR)/libgo" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libgo"; \ - libsrcdir="$$s/libgo"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif target-libgo - - - - - -.PHONY: all-target-libgo maybe-all-target-libgo -maybe-all-target-libgo: -@if gcc-bootstrap -all-target-libgo: stage_current -@endif gcc-bootstrap -@if target-libgo -TARGET-target-libgo=all -maybe-all-target-libgo: all-target-libgo -all-target-libgo: configure-target-libgo - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ - $(TARGET-target-libgo)) -@endif target-libgo - - - - - -.PHONY: check-target-libgo maybe-check-target-libgo -maybe-check-target-libgo: -@if target-libgo -maybe-check-target-libgo: check-target-libgo - -check-target-libgo: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgo && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) check) - -@endif target-libgo - -.PHONY: install-target-libgo maybe-install-target-libgo -maybe-install-target-libgo: -@if target-libgo -maybe-install-target-libgo: install-target-libgo - -install-target-libgo: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgo && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) - -@endif target-libgo - -.PHONY: install-strip-target-libgo maybe-install-strip-target-libgo -maybe-install-strip-target-libgo: -@if target-libgo -maybe-install-strip-target-libgo: install-strip-target-libgo - -install-strip-target-libgo: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgo && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) - -@endif target-libgo - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-target-libgo info-target-libgo -maybe-info-target-libgo: -@if target-libgo -maybe-info-target-libgo: info-target-libgo - -info-target-libgo: \ - configure-target-libgo - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif target-libgo - -.PHONY: maybe-dvi-target-libgo dvi-target-libgo -maybe-dvi-target-libgo: -@if target-libgo -maybe-dvi-target-libgo: dvi-target-libgo - -dvi-target-libgo: \ - configure-target-libgo - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif target-libgo - -.PHONY: maybe-pdf-target-libgo pdf-target-libgo -maybe-pdf-target-libgo: -@if target-libgo -maybe-pdf-target-libgo: pdf-target-libgo - -pdf-target-libgo: \ - configure-target-libgo - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif target-libgo - -.PHONY: maybe-html-target-libgo html-target-libgo -maybe-html-target-libgo: -@if target-libgo -maybe-html-target-libgo: html-target-libgo - -html-target-libgo: \ - configure-target-libgo - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif target-libgo - -.PHONY: maybe-TAGS-target-libgo TAGS-target-libgo -maybe-TAGS-target-libgo: -@if target-libgo -maybe-TAGS-target-libgo: TAGS-target-libgo - -TAGS-target-libgo: \ - configure-target-libgo - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif target-libgo - -.PHONY: maybe-install-info-target-libgo install-info-target-libgo -maybe-install-info-target-libgo: -@if target-libgo -maybe-install-info-target-libgo: install-info-target-libgo - -install-info-target-libgo: \ - configure-target-libgo \ - info-target-libgo - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif target-libgo - -.PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo -maybe-install-pdf-target-libgo: -@if target-libgo -maybe-install-pdf-target-libgo: install-pdf-target-libgo - -install-pdf-target-libgo: \ - configure-target-libgo \ - pdf-target-libgo - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif target-libgo - -.PHONY: maybe-install-html-target-libgo install-html-target-libgo -maybe-install-html-target-libgo: -@if target-libgo -maybe-install-html-target-libgo: install-html-target-libgo - -install-html-target-libgo: \ - configure-target-libgo \ - html-target-libgo - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif target-libgo - -.PHONY: maybe-installcheck-target-libgo installcheck-target-libgo -maybe-installcheck-target-libgo: -@if target-libgo -maybe-installcheck-target-libgo: installcheck-target-libgo - -installcheck-target-libgo: \ - configure-target-libgo - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif target-libgo - -.PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo -maybe-mostlyclean-target-libgo: -@if target-libgo -maybe-mostlyclean-target-libgo: mostlyclean-target-libgo - -mostlyclean-target-libgo: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif target-libgo - -.PHONY: maybe-clean-target-libgo clean-target-libgo -maybe-clean-target-libgo: -@if target-libgo -maybe-clean-target-libgo: clean-target-libgo - -clean-target-libgo: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif target-libgo - -.PHONY: maybe-distclean-target-libgo distclean-target-libgo -maybe-distclean-target-libgo: -@if target-libgo -maybe-distclean-target-libgo: distclean-target-libgo - -distclean-target-libgo: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif target-libgo - -.PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo -maybe-maintainer-clean-target-libgo: -@if target-libgo -maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo - -maintainer-clean-target-libgo: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgo && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif target-libgo - - - - - -.PHONY: configure-target-libtermcap maybe-configure-target-libtermcap -maybe-configure-target-libtermcap: -@if gcc-bootstrap -configure-target-libtermcap: stage_current -@endif gcc-bootstrap -@if target-libtermcap -maybe-configure-target-libtermcap: configure-target-libtermcap -configure-target-libtermcap: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - echo "Checking multilib configuration for libtermcap..."; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \ - mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \ - $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/libtermcap; \ - cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libtermcap"; \ - libsrcdir="$$s/libtermcap"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif target-libtermcap - - - - - -.PHONY: all-target-libtermcap maybe-all-target-libtermcap -maybe-all-target-libtermcap: -@if gcc-bootstrap -all-target-libtermcap: stage_current -@endif gcc-bootstrap -@if target-libtermcap -TARGET-target-libtermcap=all -maybe-all-target-libtermcap: all-target-libtermcap -all-target-libtermcap: configure-target-libtermcap - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libtermcap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ - $(TARGET-target-libtermcap)) -@endif target-libtermcap - - - - - -.PHONY: check-target-libtermcap maybe-check-target-libtermcap -maybe-check-target-libtermcap: -@if target-libtermcap -maybe-check-target-libtermcap: check-target-libtermcap - -# Dummy target for uncheckable module. -check-target-libtermcap: - -@endif target-libtermcap - -.PHONY: install-target-libtermcap maybe-install-target-libtermcap -maybe-install-target-libtermcap: -@if target-libtermcap -maybe-install-target-libtermcap: install-target-libtermcap - -install-target-libtermcap: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libtermcap && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) - -@endif target-libtermcap - -.PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap -maybe-install-strip-target-libtermcap: -@if target-libtermcap -maybe-install-strip-target-libtermcap: install-strip-target-libtermcap - -install-strip-target-libtermcap: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libtermcap && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) - -@endif target-libtermcap - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-target-libtermcap info-target-libtermcap -maybe-info-target-libtermcap: -@if target-libtermcap -maybe-info-target-libtermcap: info-target-libtermcap - -info-target-libtermcap: \ - configure-target-libtermcap - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libtermcap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif target-libtermcap - -.PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap -maybe-dvi-target-libtermcap: -@if target-libtermcap -maybe-dvi-target-libtermcap: dvi-target-libtermcap - -dvi-target-libtermcap: \ - configure-target-libtermcap - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libtermcap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif target-libtermcap - -.PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap -maybe-pdf-target-libtermcap: -@if target-libtermcap -maybe-pdf-target-libtermcap: pdf-target-libtermcap - -pdf-target-libtermcap: \ - configure-target-libtermcap - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libtermcap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif target-libtermcap - -.PHONY: maybe-html-target-libtermcap html-target-libtermcap -maybe-html-target-libtermcap: -@if target-libtermcap -maybe-html-target-libtermcap: html-target-libtermcap - -html-target-libtermcap: \ - configure-target-libtermcap - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libtermcap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif target-libtermcap - -.PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap -maybe-TAGS-target-libtermcap: -@if target-libtermcap -maybe-TAGS-target-libtermcap: TAGS-target-libtermcap - -TAGS-target-libtermcap: \ - configure-target-libtermcap - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libtermcap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif target-libtermcap - -.PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap -maybe-install-info-target-libtermcap: -@if target-libtermcap -maybe-install-info-target-libtermcap: install-info-target-libtermcap - -install-info-target-libtermcap: \ - configure-target-libtermcap \ - info-target-libtermcap - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libtermcap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif target-libtermcap - -.PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap -maybe-install-pdf-target-libtermcap: -@if target-libtermcap -maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap - -install-pdf-target-libtermcap: \ - configure-target-libtermcap \ - pdf-target-libtermcap - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libtermcap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif target-libtermcap - -.PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap -maybe-install-html-target-libtermcap: -@if target-libtermcap -maybe-install-html-target-libtermcap: install-html-target-libtermcap - -install-html-target-libtermcap: \ - configure-target-libtermcap \ - html-target-libtermcap - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libtermcap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif target-libtermcap - -.PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap -maybe-installcheck-target-libtermcap: -@if target-libtermcap -maybe-installcheck-target-libtermcap: installcheck-target-libtermcap - -installcheck-target-libtermcap: \ - configure-target-libtermcap - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libtermcap && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif target-libtermcap - -.PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap -maybe-mostlyclean-target-libtermcap: -@if target-libtermcap -maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap - -# libtermcap doesn't support mostlyclean. -mostlyclean-target-libtermcap: - -@endif target-libtermcap - -.PHONY: maybe-clean-target-libtermcap clean-target-libtermcap -maybe-clean-target-libtermcap: -@if target-libtermcap -maybe-clean-target-libtermcap: clean-target-libtermcap - -# libtermcap doesn't support clean. -clean-target-libtermcap: - -@endif target-libtermcap - -.PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap -maybe-distclean-target-libtermcap: -@if target-libtermcap -maybe-distclean-target-libtermcap: distclean-target-libtermcap - -# libtermcap doesn't support distclean. -distclean-target-libtermcap: - -@endif target-libtermcap - -.PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap -maybe-maintainer-clean-target-libtermcap: -@if target-libtermcap -maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap - -# libtermcap doesn't support maintainer-clean. -maintainer-clean-target-libtermcap: - -@endif target-libtermcap - - - - - -.PHONY: configure-target-winsup maybe-configure-target-winsup -maybe-configure-target-winsup: -@if gcc-bootstrap -configure-target-winsup: stage_current -@endif gcc-bootstrap -@if target-winsup -maybe-configure-target-winsup: configure-target-winsup -configure-target-winsup: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - echo "Checking multilib configuration for winsup..."; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/winsup/Makefile; \ - mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \ - $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/winsup; \ - cd "$(TARGET_SUBDIR)/winsup" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/winsup"; \ - libsrcdir="$$s/winsup"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif target-winsup - - - - - -.PHONY: all-target-winsup maybe-all-target-winsup -maybe-all-target-winsup: -@if gcc-bootstrap -all-target-winsup: stage_current -@endif gcc-bootstrap -@if target-winsup -TARGET-target-winsup=all -maybe-all-target-winsup: all-target-winsup -all-target-winsup: configure-target-winsup - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ - $(TARGET-target-winsup)) -@endif target-winsup - - - - - -.PHONY: check-target-winsup maybe-check-target-winsup -maybe-check-target-winsup: -@if target-winsup -maybe-check-target-winsup: check-target-winsup - -check-target-winsup: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) check) - -@endif target-winsup - -.PHONY: install-target-winsup maybe-install-target-winsup -maybe-install-target-winsup: -@if target-winsup -maybe-install-target-winsup: install-target-winsup - -install-target-winsup: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) - -@endif target-winsup - -.PHONY: install-strip-target-winsup maybe-install-strip-target-winsup -maybe-install-strip-target-winsup: -@if target-winsup -maybe-install-strip-target-winsup: install-strip-target-winsup - -install-strip-target-winsup: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) - -@endif target-winsup - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-target-winsup info-target-winsup -maybe-info-target-winsup: -@if target-winsup -maybe-info-target-winsup: info-target-winsup - -info-target-winsup: \ - configure-target-winsup - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif target-winsup - -.PHONY: maybe-dvi-target-winsup dvi-target-winsup -maybe-dvi-target-winsup: -@if target-winsup -maybe-dvi-target-winsup: dvi-target-winsup - -dvi-target-winsup: \ - configure-target-winsup - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif target-winsup - -.PHONY: maybe-pdf-target-winsup pdf-target-winsup -maybe-pdf-target-winsup: -@if target-winsup -maybe-pdf-target-winsup: pdf-target-winsup - -pdf-target-winsup: \ - configure-target-winsup - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif target-winsup - -.PHONY: maybe-html-target-winsup html-target-winsup -maybe-html-target-winsup: -@if target-winsup -maybe-html-target-winsup: html-target-winsup - -html-target-winsup: \ - configure-target-winsup - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif target-winsup - -.PHONY: maybe-TAGS-target-winsup TAGS-target-winsup -maybe-TAGS-target-winsup: -@if target-winsup -maybe-TAGS-target-winsup: TAGS-target-winsup - -TAGS-target-winsup: \ - configure-target-winsup - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif target-winsup - -.PHONY: maybe-install-info-target-winsup install-info-target-winsup -maybe-install-info-target-winsup: -@if target-winsup -maybe-install-info-target-winsup: install-info-target-winsup - -install-info-target-winsup: \ - configure-target-winsup \ - info-target-winsup - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif target-winsup - -.PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup -maybe-install-pdf-target-winsup: -@if target-winsup -maybe-install-pdf-target-winsup: install-pdf-target-winsup - -install-pdf-target-winsup: \ - configure-target-winsup \ - pdf-target-winsup - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif target-winsup - -.PHONY: maybe-install-html-target-winsup install-html-target-winsup -maybe-install-html-target-winsup: -@if target-winsup -maybe-install-html-target-winsup: install-html-target-winsup - -install-html-target-winsup: \ - configure-target-winsup \ - html-target-winsup - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif target-winsup - -.PHONY: maybe-installcheck-target-winsup installcheck-target-winsup -maybe-installcheck-target-winsup: -@if target-winsup -maybe-installcheck-target-winsup: installcheck-target-winsup - -installcheck-target-winsup: \ - configure-target-winsup - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif target-winsup - -.PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup -maybe-mostlyclean-target-winsup: -@if target-winsup -maybe-mostlyclean-target-winsup: mostlyclean-target-winsup - -mostlyclean-target-winsup: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif target-winsup - -.PHONY: maybe-clean-target-winsup clean-target-winsup -maybe-clean-target-winsup: -@if target-winsup -maybe-clean-target-winsup: clean-target-winsup - -clean-target-winsup: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif target-winsup - -.PHONY: maybe-distclean-target-winsup distclean-target-winsup -maybe-distclean-target-winsup: -@if target-winsup -maybe-distclean-target-winsup: distclean-target-winsup - -distclean-target-winsup: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif target-winsup - -.PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup -maybe-maintainer-clean-target-winsup: -@if target-winsup -maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup - -maintainer-clean-target-winsup: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/winsup && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif target-winsup - - - - - -.PHONY: configure-target-libgloss maybe-configure-target-libgloss -maybe-configure-target-libgloss: -@if gcc-bootstrap -configure-target-libgloss: stage_current -@endif gcc-bootstrap -@if target-libgloss -maybe-configure-target-libgloss: configure-target-libgloss -configure-target-libgloss: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - echo "Checking multilib configuration for libgloss..."; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \ - mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \ - $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/libgloss; \ - cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libgloss"; \ - libsrcdir="$$s/libgloss"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif target-libgloss - - - - - -.PHONY: all-target-libgloss maybe-all-target-libgloss -maybe-all-target-libgloss: -@if gcc-bootstrap -all-target-libgloss: stage_current -@endif gcc-bootstrap -@if target-libgloss -TARGET-target-libgloss=all -maybe-all-target-libgloss: all-target-libgloss -all-target-libgloss: configure-target-libgloss - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgloss && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ - $(TARGET-target-libgloss)) -@endif target-libgloss - - - - - -.PHONY: check-target-libgloss maybe-check-target-libgloss -maybe-check-target-libgloss: -@if target-libgloss -maybe-check-target-libgloss: check-target-libgloss - -# Dummy target for uncheckable module. -check-target-libgloss: - -@endif target-libgloss - -.PHONY: install-target-libgloss maybe-install-target-libgloss -maybe-install-target-libgloss: -@if target-libgloss -maybe-install-target-libgloss: install-target-libgloss - -install-target-libgloss: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgloss && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) - -@endif target-libgloss - -.PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss -maybe-install-strip-target-libgloss: -@if target-libgloss -maybe-install-strip-target-libgloss: install-strip-target-libgloss - -install-strip-target-libgloss: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgloss && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) - -@endif target-libgloss - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-target-libgloss info-target-libgloss -maybe-info-target-libgloss: -@if target-libgloss -maybe-info-target-libgloss: info-target-libgloss - -info-target-libgloss: \ - configure-target-libgloss - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgloss && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif target-libgloss - -.PHONY: maybe-dvi-target-libgloss dvi-target-libgloss -maybe-dvi-target-libgloss: -@if target-libgloss -maybe-dvi-target-libgloss: dvi-target-libgloss - -dvi-target-libgloss: \ - configure-target-libgloss - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgloss && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif target-libgloss - -.PHONY: maybe-pdf-target-libgloss pdf-target-libgloss -maybe-pdf-target-libgloss: -@if target-libgloss -maybe-pdf-target-libgloss: pdf-target-libgloss - -pdf-target-libgloss: \ - configure-target-libgloss - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgloss && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif target-libgloss - -.PHONY: maybe-html-target-libgloss html-target-libgloss -maybe-html-target-libgloss: -@if target-libgloss -maybe-html-target-libgloss: html-target-libgloss - -html-target-libgloss: \ - configure-target-libgloss - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgloss && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif target-libgloss - -.PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss -maybe-TAGS-target-libgloss: -@if target-libgloss -maybe-TAGS-target-libgloss: TAGS-target-libgloss - -TAGS-target-libgloss: \ - configure-target-libgloss - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgloss && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif target-libgloss - -.PHONY: maybe-install-info-target-libgloss install-info-target-libgloss -maybe-install-info-target-libgloss: -@if target-libgloss -maybe-install-info-target-libgloss: install-info-target-libgloss - -install-info-target-libgloss: \ - configure-target-libgloss \ - info-target-libgloss - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgloss && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif target-libgloss - -.PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss -maybe-install-pdf-target-libgloss: -@if target-libgloss -maybe-install-pdf-target-libgloss: install-pdf-target-libgloss - -install-pdf-target-libgloss: \ - configure-target-libgloss \ - pdf-target-libgloss - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgloss && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif target-libgloss - -.PHONY: maybe-install-html-target-libgloss install-html-target-libgloss -maybe-install-html-target-libgloss: -@if target-libgloss -maybe-install-html-target-libgloss: install-html-target-libgloss - -install-html-target-libgloss: \ - configure-target-libgloss \ - html-target-libgloss - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgloss && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif target-libgloss - -.PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss -maybe-installcheck-target-libgloss: -@if target-libgloss -maybe-installcheck-target-libgloss: installcheck-target-libgloss - -installcheck-target-libgloss: \ - configure-target-libgloss - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgloss && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif target-libgloss - -.PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss -maybe-mostlyclean-target-libgloss: -@if target-libgloss -maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss - -mostlyclean-target-libgloss: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgloss && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif target-libgloss - -.PHONY: maybe-clean-target-libgloss clean-target-libgloss -maybe-clean-target-libgloss: -@if target-libgloss -maybe-clean-target-libgloss: clean-target-libgloss - -clean-target-libgloss: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgloss && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif target-libgloss - -.PHONY: maybe-distclean-target-libgloss distclean-target-libgloss -maybe-distclean-target-libgloss: -@if target-libgloss -maybe-distclean-target-libgloss: distclean-target-libgloss - -distclean-target-libgloss: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgloss && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif target-libgloss - -.PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss -maybe-maintainer-clean-target-libgloss: -@if target-libgloss -maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss - -maintainer-clean-target-libgloss: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgloss && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif target-libgloss - - - - - -.PHONY: configure-target-libffi maybe-configure-target-libffi -maybe-configure-target-libffi: -@if gcc-bootstrap -configure-target-libffi: stage_current -@endif gcc-bootstrap -@if target-libffi -maybe-configure-target-libffi: configure-target-libffi -configure-target-libffi: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - echo "Checking multilib configuration for libffi..."; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libffi/Makefile; \ - mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \ - $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/libffi; \ - cd "$(TARGET_SUBDIR)/libffi" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libffi"; \ - libsrcdir="$$s/libffi"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif target-libffi - - - - - -.PHONY: all-target-libffi maybe-all-target-libffi -maybe-all-target-libffi: -@if gcc-bootstrap -all-target-libffi: stage_current -@endif gcc-bootstrap -@if target-libffi -TARGET-target-libffi=all -maybe-all-target-libffi: all-target-libffi -all-target-libffi: configure-target-libffi - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libffi && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ - $(TARGET-target-libffi)) -@endif target-libffi - - - - - -.PHONY: check-target-libffi maybe-check-target-libffi -maybe-check-target-libffi: -@if target-libffi -maybe-check-target-libffi: check-target-libffi - -check-target-libffi: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libffi && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) check) - -@endif target-libffi - -.PHONY: install-target-libffi maybe-install-target-libffi -maybe-install-target-libffi: -@if target-libffi -maybe-install-target-libffi: install-target-libffi - -install-target-libffi: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libffi && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) - -@endif target-libffi - -.PHONY: install-strip-target-libffi maybe-install-strip-target-libffi -maybe-install-strip-target-libffi: -@if target-libffi -maybe-install-strip-target-libffi: install-strip-target-libffi - -install-strip-target-libffi: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libffi && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) - -@endif target-libffi - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-target-libffi info-target-libffi -maybe-info-target-libffi: -@if target-libffi -maybe-info-target-libffi: info-target-libffi - -info-target-libffi: \ - configure-target-libffi - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libffi && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif target-libffi - -.PHONY: maybe-dvi-target-libffi dvi-target-libffi -maybe-dvi-target-libffi: -@if target-libffi -maybe-dvi-target-libffi: dvi-target-libffi - -dvi-target-libffi: \ - configure-target-libffi - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libffi && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif target-libffi - -.PHONY: maybe-pdf-target-libffi pdf-target-libffi -maybe-pdf-target-libffi: -@if target-libffi -maybe-pdf-target-libffi: pdf-target-libffi - -pdf-target-libffi: \ - configure-target-libffi - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libffi && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif target-libffi - -.PHONY: maybe-html-target-libffi html-target-libffi -maybe-html-target-libffi: -@if target-libffi -maybe-html-target-libffi: html-target-libffi - -html-target-libffi: \ - configure-target-libffi - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libffi && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif target-libffi - -.PHONY: maybe-TAGS-target-libffi TAGS-target-libffi -maybe-TAGS-target-libffi: -@if target-libffi -maybe-TAGS-target-libffi: TAGS-target-libffi - -TAGS-target-libffi: \ - configure-target-libffi - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libffi && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif target-libffi - -.PHONY: maybe-install-info-target-libffi install-info-target-libffi -maybe-install-info-target-libffi: -@if target-libffi -maybe-install-info-target-libffi: install-info-target-libffi - -install-info-target-libffi: \ - configure-target-libffi \ - info-target-libffi - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libffi && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif target-libffi - -.PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi -maybe-install-pdf-target-libffi: -@if target-libffi -maybe-install-pdf-target-libffi: install-pdf-target-libffi - -install-pdf-target-libffi: \ - configure-target-libffi \ - pdf-target-libffi - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libffi && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif target-libffi - -.PHONY: maybe-install-html-target-libffi install-html-target-libffi -maybe-install-html-target-libffi: -@if target-libffi -maybe-install-html-target-libffi: install-html-target-libffi - -install-html-target-libffi: \ - configure-target-libffi \ - html-target-libffi - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libffi && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif target-libffi - -.PHONY: maybe-installcheck-target-libffi installcheck-target-libffi -maybe-installcheck-target-libffi: -@if target-libffi -maybe-installcheck-target-libffi: installcheck-target-libffi - -installcheck-target-libffi: \ - configure-target-libffi - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libffi && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif target-libffi - -.PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi -maybe-mostlyclean-target-libffi: -@if target-libffi -maybe-mostlyclean-target-libffi: mostlyclean-target-libffi - -mostlyclean-target-libffi: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libffi && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif target-libffi - -.PHONY: maybe-clean-target-libffi clean-target-libffi -maybe-clean-target-libffi: -@if target-libffi -maybe-clean-target-libffi: clean-target-libffi - -clean-target-libffi: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libffi && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif target-libffi - -.PHONY: maybe-distclean-target-libffi distclean-target-libffi -maybe-distclean-target-libffi: -@if target-libffi -maybe-distclean-target-libffi: distclean-target-libffi - -distclean-target-libffi: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libffi && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif target-libffi - -.PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi -maybe-maintainer-clean-target-libffi: -@if target-libffi -maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi - -maintainer-clean-target-libffi: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libffi && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif target-libffi - - - - - -.PHONY: configure-target-libjava maybe-configure-target-libjava -maybe-configure-target-libjava: -@if gcc-bootstrap -configure-target-libjava: stage_current -@endif gcc-bootstrap -@if target-libjava -maybe-configure-target-libjava: configure-target-libjava -configure-target-libjava: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - echo "Checking multilib configuration for libjava..."; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libjava/Makefile; \ - mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/libjava; \ - cd "$(TARGET_SUBDIR)/libjava" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libjava"; \ - libsrcdir="$$s/libjava"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} $(EXTRA_CONFIGARGS_LIBJAVA) \ - || exit 1 -@endif target-libjava - - - - - -.PHONY: all-target-libjava maybe-all-target-libjava -maybe-all-target-libjava: -@if gcc-bootstrap -all-target-libjava: stage_current -@endif gcc-bootstrap -@if target-libjava -TARGET-target-libjava=all -maybe-all-target-libjava: all-target-libjava -all-target-libjava: configure-target-libjava - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libjava && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ - $(TARGET-target-libjava)) -@endif target-libjava - - - - - -.PHONY: check-target-libjava maybe-check-target-libjava -maybe-check-target-libjava: -@if target-libjava -maybe-check-target-libjava: check-target-libjava - -check-target-libjava: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libjava && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check) - -@endif target-libjava - -.PHONY: install-target-libjava maybe-install-target-libjava -maybe-install-target-libjava: -@if target-libjava -maybe-install-target-libjava: install-target-libjava - -install-target-libjava: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libjava && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) - -@endif target-libjava - -.PHONY: install-strip-target-libjava maybe-install-strip-target-libjava -maybe-install-strip-target-libjava: -@if target-libjava -maybe-install-strip-target-libjava: install-strip-target-libjava - -install-strip-target-libjava: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libjava && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) - -@endif target-libjava - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-target-libjava info-target-libjava -maybe-info-target-libjava: -@if target-libjava -maybe-info-target-libjava: info-target-libjava - -info-target-libjava: \ - configure-target-libjava - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libjava && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif target-libjava - -.PHONY: maybe-dvi-target-libjava dvi-target-libjava -maybe-dvi-target-libjava: -@if target-libjava -maybe-dvi-target-libjava: dvi-target-libjava - -dvi-target-libjava: \ - configure-target-libjava - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libjava && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif target-libjava - -.PHONY: maybe-pdf-target-libjava pdf-target-libjava -maybe-pdf-target-libjava: -@if target-libjava -maybe-pdf-target-libjava: pdf-target-libjava - -pdf-target-libjava: \ - configure-target-libjava - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libjava && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif target-libjava - -.PHONY: maybe-html-target-libjava html-target-libjava -maybe-html-target-libjava: -@if target-libjava -maybe-html-target-libjava: html-target-libjava - -html-target-libjava: \ - configure-target-libjava - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libjava && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif target-libjava - -.PHONY: maybe-TAGS-target-libjava TAGS-target-libjava -maybe-TAGS-target-libjava: -@if target-libjava -maybe-TAGS-target-libjava: TAGS-target-libjava - -TAGS-target-libjava: \ - configure-target-libjava - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libjava && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif target-libjava - -.PHONY: maybe-install-info-target-libjava install-info-target-libjava -maybe-install-info-target-libjava: -@if target-libjava -maybe-install-info-target-libjava: install-info-target-libjava - -install-info-target-libjava: \ - configure-target-libjava \ - info-target-libjava - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libjava && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif target-libjava - -.PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava -maybe-install-pdf-target-libjava: -@if target-libjava -maybe-install-pdf-target-libjava: install-pdf-target-libjava - -install-pdf-target-libjava: \ - configure-target-libjava \ - pdf-target-libjava - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libjava && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif target-libjava - -.PHONY: maybe-install-html-target-libjava install-html-target-libjava -maybe-install-html-target-libjava: -@if target-libjava -maybe-install-html-target-libjava: install-html-target-libjava - -install-html-target-libjava: \ - configure-target-libjava \ - html-target-libjava - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libjava && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif target-libjava - -.PHONY: maybe-installcheck-target-libjava installcheck-target-libjava -maybe-installcheck-target-libjava: -@if target-libjava -maybe-installcheck-target-libjava: installcheck-target-libjava - -installcheck-target-libjava: \ - configure-target-libjava - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libjava && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif target-libjava - -.PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava -maybe-mostlyclean-target-libjava: -@if target-libjava -maybe-mostlyclean-target-libjava: mostlyclean-target-libjava - -mostlyclean-target-libjava: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libjava && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif target-libjava - -.PHONY: maybe-clean-target-libjava clean-target-libjava -maybe-clean-target-libjava: -@if target-libjava -maybe-clean-target-libjava: clean-target-libjava - -clean-target-libjava: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libjava && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif target-libjava - -.PHONY: maybe-distclean-target-libjava distclean-target-libjava -maybe-distclean-target-libjava: -@if target-libjava -maybe-distclean-target-libjava: distclean-target-libjava - -distclean-target-libjava: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libjava && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif target-libjava - -.PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava -maybe-maintainer-clean-target-libjava: -@if target-libjava -maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava - -maintainer-clean-target-libjava: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(RAW_CXX_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libjava && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif target-libjava - - - - - -.PHONY: configure-target-zlib maybe-configure-target-zlib -maybe-configure-target-zlib: -@if gcc-bootstrap -configure-target-zlib: stage_current -@endif gcc-bootstrap -@if target-zlib -maybe-configure-target-zlib: configure-target-zlib -configure-target-zlib: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - echo "Checking multilib configuration for zlib..."; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/zlib/Makefile; \ - mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \ - $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/zlib; \ - cd "$(TARGET_SUBDIR)/zlib" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/zlib"; \ - libsrcdir="$$s/zlib"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif target-zlib - - - - - -.PHONY: all-target-zlib maybe-all-target-zlib -maybe-all-target-zlib: -@if gcc-bootstrap -all-target-zlib: stage_current -@endif gcc-bootstrap -@if target-zlib -TARGET-target-zlib=all -maybe-all-target-zlib: all-target-zlib -all-target-zlib: configure-target-zlib - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ - $(TARGET-target-zlib)) -@endif target-zlib - - - - - -.PHONY: check-target-zlib maybe-check-target-zlib -maybe-check-target-zlib: -@if target-zlib -maybe-check-target-zlib: check-target-zlib - -check-target-zlib: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/zlib && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) check) - -@endif target-zlib - -.PHONY: install-target-zlib maybe-install-target-zlib -maybe-install-target-zlib: -@if target-zlib -maybe-install-target-zlib: install-target-zlib - -install-target-zlib: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/zlib && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) - -@endif target-zlib - -.PHONY: install-strip-target-zlib maybe-install-strip-target-zlib -maybe-install-strip-target-zlib: -@if target-zlib -maybe-install-strip-target-zlib: install-strip-target-zlib - -install-strip-target-zlib: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/zlib && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) - -@endif target-zlib - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-target-zlib info-target-zlib -maybe-info-target-zlib: -@if target-zlib -maybe-info-target-zlib: info-target-zlib - -info-target-zlib: \ - configure-target-zlib - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif target-zlib - -.PHONY: maybe-dvi-target-zlib dvi-target-zlib -maybe-dvi-target-zlib: -@if target-zlib -maybe-dvi-target-zlib: dvi-target-zlib - -dvi-target-zlib: \ - configure-target-zlib - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif target-zlib - -.PHONY: maybe-pdf-target-zlib pdf-target-zlib -maybe-pdf-target-zlib: -@if target-zlib -maybe-pdf-target-zlib: pdf-target-zlib - -pdf-target-zlib: \ - configure-target-zlib - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif target-zlib - -.PHONY: maybe-html-target-zlib html-target-zlib -maybe-html-target-zlib: -@if target-zlib -maybe-html-target-zlib: html-target-zlib - -html-target-zlib: \ - configure-target-zlib - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif target-zlib - -.PHONY: maybe-TAGS-target-zlib TAGS-target-zlib -maybe-TAGS-target-zlib: -@if target-zlib -maybe-TAGS-target-zlib: TAGS-target-zlib - -TAGS-target-zlib: \ - configure-target-zlib - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif target-zlib - -.PHONY: maybe-install-info-target-zlib install-info-target-zlib -maybe-install-info-target-zlib: -@if target-zlib -maybe-install-info-target-zlib: install-info-target-zlib - -install-info-target-zlib: \ - configure-target-zlib \ - info-target-zlib - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif target-zlib - -.PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib -maybe-install-pdf-target-zlib: -@if target-zlib -maybe-install-pdf-target-zlib: install-pdf-target-zlib - -install-pdf-target-zlib: \ - configure-target-zlib \ - pdf-target-zlib - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif target-zlib - -.PHONY: maybe-install-html-target-zlib install-html-target-zlib -maybe-install-html-target-zlib: -@if target-zlib -maybe-install-html-target-zlib: install-html-target-zlib - -install-html-target-zlib: \ - configure-target-zlib \ - html-target-zlib - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif target-zlib - -.PHONY: maybe-installcheck-target-zlib installcheck-target-zlib -maybe-installcheck-target-zlib: -@if target-zlib -maybe-installcheck-target-zlib: installcheck-target-zlib - -installcheck-target-zlib: \ - configure-target-zlib - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif target-zlib - -.PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib -maybe-mostlyclean-target-zlib: -@if target-zlib -maybe-mostlyclean-target-zlib: mostlyclean-target-zlib - -mostlyclean-target-zlib: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif target-zlib - -.PHONY: maybe-clean-target-zlib clean-target-zlib -maybe-clean-target-zlib: -@if target-zlib -maybe-clean-target-zlib: clean-target-zlib - -clean-target-zlib: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif target-zlib - -.PHONY: maybe-distclean-target-zlib distclean-target-zlib -maybe-distclean-target-zlib: -@if target-zlib -maybe-distclean-target-zlib: distclean-target-zlib - -distclean-target-zlib: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif target-zlib - -.PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib -maybe-maintainer-clean-target-zlib: -@if target-zlib -maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib - -maintainer-clean-target-zlib: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/zlib && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif target-zlib - - - - - -.PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc -maybe-configure-target-boehm-gc: -@if gcc-bootstrap -configure-target-boehm-gc: stage_current -@endif gcc-bootstrap -@if target-boehm-gc -maybe-configure-target-boehm-gc: configure-target-boehm-gc -configure-target-boehm-gc: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - echo "Checking multilib configuration for boehm-gc..."; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \ - mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \ - $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \ - cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/boehm-gc"; \ - libsrcdir="$$s/boehm-gc"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif target-boehm-gc - - - - - -.PHONY: all-target-boehm-gc maybe-all-target-boehm-gc -maybe-all-target-boehm-gc: -@if gcc-bootstrap -all-target-boehm-gc: stage_current -@endif gcc-bootstrap -@if target-boehm-gc -TARGET-target-boehm-gc=all -maybe-all-target-boehm-gc: all-target-boehm-gc -all-target-boehm-gc: configure-target-boehm-gc - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/boehm-gc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ - $(TARGET-target-boehm-gc)) -@endif target-boehm-gc - - - - - -.PHONY: check-target-boehm-gc maybe-check-target-boehm-gc -maybe-check-target-boehm-gc: -@if target-boehm-gc -maybe-check-target-boehm-gc: check-target-boehm-gc - -check-target-boehm-gc: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/boehm-gc && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) check) - -@endif target-boehm-gc - -.PHONY: install-target-boehm-gc maybe-install-target-boehm-gc -maybe-install-target-boehm-gc: -@if target-boehm-gc -maybe-install-target-boehm-gc: install-target-boehm-gc - -install-target-boehm-gc: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/boehm-gc && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) - -@endif target-boehm-gc - -.PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc -maybe-install-strip-target-boehm-gc: -@if target-boehm-gc -maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc - -install-strip-target-boehm-gc: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/boehm-gc && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) - -@endif target-boehm-gc - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-target-boehm-gc info-target-boehm-gc -maybe-info-target-boehm-gc: -@if target-boehm-gc -maybe-info-target-boehm-gc: info-target-boehm-gc - -info-target-boehm-gc: \ - configure-target-boehm-gc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/boehm-gc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif target-boehm-gc - -.PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc -maybe-dvi-target-boehm-gc: -@if target-boehm-gc -maybe-dvi-target-boehm-gc: dvi-target-boehm-gc - -dvi-target-boehm-gc: \ - configure-target-boehm-gc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/boehm-gc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif target-boehm-gc - -.PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc -maybe-pdf-target-boehm-gc: -@if target-boehm-gc -maybe-pdf-target-boehm-gc: pdf-target-boehm-gc - -pdf-target-boehm-gc: \ - configure-target-boehm-gc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/boehm-gc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif target-boehm-gc - -.PHONY: maybe-html-target-boehm-gc html-target-boehm-gc -maybe-html-target-boehm-gc: -@if target-boehm-gc -maybe-html-target-boehm-gc: html-target-boehm-gc - -html-target-boehm-gc: \ - configure-target-boehm-gc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/boehm-gc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif target-boehm-gc - -.PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc -maybe-TAGS-target-boehm-gc: -@if target-boehm-gc -maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc - -TAGS-target-boehm-gc: \ - configure-target-boehm-gc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/boehm-gc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif target-boehm-gc - -.PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc -maybe-install-info-target-boehm-gc: -@if target-boehm-gc -maybe-install-info-target-boehm-gc: install-info-target-boehm-gc - -install-info-target-boehm-gc: \ - configure-target-boehm-gc \ - info-target-boehm-gc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/boehm-gc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif target-boehm-gc - -.PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc -maybe-install-pdf-target-boehm-gc: -@if target-boehm-gc -maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc - -install-pdf-target-boehm-gc: \ - configure-target-boehm-gc \ - pdf-target-boehm-gc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/boehm-gc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif target-boehm-gc - -.PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc -maybe-install-html-target-boehm-gc: -@if target-boehm-gc -maybe-install-html-target-boehm-gc: install-html-target-boehm-gc - -install-html-target-boehm-gc: \ - configure-target-boehm-gc \ - html-target-boehm-gc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/boehm-gc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif target-boehm-gc - -.PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc -maybe-installcheck-target-boehm-gc: -@if target-boehm-gc -maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc - -installcheck-target-boehm-gc: \ - configure-target-boehm-gc - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/boehm-gc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif target-boehm-gc - -.PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc -maybe-mostlyclean-target-boehm-gc: -@if target-boehm-gc -maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc - -mostlyclean-target-boehm-gc: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/boehm-gc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif target-boehm-gc - -.PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc -maybe-clean-target-boehm-gc: -@if target-boehm-gc -maybe-clean-target-boehm-gc: clean-target-boehm-gc - -clean-target-boehm-gc: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/boehm-gc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif target-boehm-gc - -.PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc -maybe-distclean-target-boehm-gc: -@if target-boehm-gc -maybe-distclean-target-boehm-gc: distclean-target-boehm-gc - -distclean-target-boehm-gc: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/boehm-gc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif target-boehm-gc - -.PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc -maybe-maintainer-clean-target-boehm-gc: -@if target-boehm-gc -maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc - -maintainer-clean-target-boehm-gc: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/boehm-gc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif target-boehm-gc - - - - - -.PHONY: configure-target-rda maybe-configure-target-rda -maybe-configure-target-rda: -@if gcc-bootstrap -configure-target-rda: stage_current -@endif gcc-bootstrap -@if target-rda -maybe-configure-target-rda: configure-target-rda -configure-target-rda: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - echo "Checking multilib configuration for rda..."; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/rda/Makefile; \ - mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \ - $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/rda; \ - cd "$(TARGET_SUBDIR)/rda" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/rda"; \ - libsrcdir="$$s/rda"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif target-rda - - - - - -.PHONY: all-target-rda maybe-all-target-rda -maybe-all-target-rda: -@if gcc-bootstrap -all-target-rda: stage_current -@endif gcc-bootstrap -@if target-rda -TARGET-target-rda=all -maybe-all-target-rda: all-target-rda -all-target-rda: configure-target-rda - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/rda && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ - $(TARGET-target-rda)) -@endif target-rda - - - - - -.PHONY: check-target-rda maybe-check-target-rda -maybe-check-target-rda: -@if target-rda -maybe-check-target-rda: check-target-rda - -check-target-rda: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/rda && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) check) - -@endif target-rda - -.PHONY: install-target-rda maybe-install-target-rda -maybe-install-target-rda: -@if target-rda -maybe-install-target-rda: install-target-rda - -install-target-rda: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/rda && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) - -@endif target-rda - -.PHONY: install-strip-target-rda maybe-install-strip-target-rda -maybe-install-strip-target-rda: -@if target-rda -maybe-install-strip-target-rda: install-strip-target-rda - -install-strip-target-rda: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/rda && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) - -@endif target-rda - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-target-rda info-target-rda -maybe-info-target-rda: -@if target-rda -maybe-info-target-rda: info-target-rda - -info-target-rda: \ - configure-target-rda - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/rda" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/rda && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif target-rda - -.PHONY: maybe-dvi-target-rda dvi-target-rda -maybe-dvi-target-rda: -@if target-rda -maybe-dvi-target-rda: dvi-target-rda - -dvi-target-rda: \ - configure-target-rda - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/rda && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif target-rda - -.PHONY: maybe-pdf-target-rda pdf-target-rda -maybe-pdf-target-rda: -@if target-rda -maybe-pdf-target-rda: pdf-target-rda - -pdf-target-rda: \ - configure-target-rda - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/rda && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif target-rda - -.PHONY: maybe-html-target-rda html-target-rda -maybe-html-target-rda: -@if target-rda -maybe-html-target-rda: html-target-rda - -html-target-rda: \ - configure-target-rda - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing html in $(TARGET_SUBDIR)/rda" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/rda && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif target-rda - -.PHONY: maybe-TAGS-target-rda TAGS-target-rda -maybe-TAGS-target-rda: -@if target-rda -maybe-TAGS-target-rda: TAGS-target-rda - -TAGS-target-rda: \ - configure-target-rda - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/rda && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif target-rda - -.PHONY: maybe-install-info-target-rda install-info-target-rda -maybe-install-info-target-rda: -@if target-rda -maybe-install-info-target-rda: install-info-target-rda - -install-info-target-rda: \ - configure-target-rda \ - info-target-rda - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/rda && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif target-rda - -.PHONY: maybe-install-pdf-target-rda install-pdf-target-rda -maybe-install-pdf-target-rda: -@if target-rda -maybe-install-pdf-target-rda: install-pdf-target-rda - -install-pdf-target-rda: \ - configure-target-rda \ - pdf-target-rda - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/rda && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif target-rda - -.PHONY: maybe-install-html-target-rda install-html-target-rda -maybe-install-html-target-rda: -@if target-rda -maybe-install-html-target-rda: install-html-target-rda - -install-html-target-rda: \ - configure-target-rda \ - html-target-rda - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/rda && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif target-rda - -.PHONY: maybe-installcheck-target-rda installcheck-target-rda -maybe-installcheck-target-rda: -@if target-rda -maybe-installcheck-target-rda: installcheck-target-rda - -installcheck-target-rda: \ - configure-target-rda - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/rda && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif target-rda - -.PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda -maybe-mostlyclean-target-rda: -@if target-rda -maybe-mostlyclean-target-rda: mostlyclean-target-rda - -mostlyclean-target-rda: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/rda && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif target-rda - -.PHONY: maybe-clean-target-rda clean-target-rda -maybe-clean-target-rda: -@if target-rda -maybe-clean-target-rda: clean-target-rda - -clean-target-rda: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/rda && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif target-rda - -.PHONY: maybe-distclean-target-rda distclean-target-rda -maybe-distclean-target-rda: -@if target-rda -maybe-distclean-target-rda: distclean-target-rda - -distclean-target-rda: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/rda && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif target-rda - -.PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda -maybe-maintainer-clean-target-rda: -@if target-rda -maybe-maintainer-clean-target-rda: maintainer-clean-target-rda - -maintainer-clean-target-rda: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/rda && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif target-rda - - - - - -.PHONY: configure-target-libada maybe-configure-target-libada -maybe-configure-target-libada: -@if gcc-bootstrap -configure-target-libada: stage_current -@endif gcc-bootstrap -@if target-libada -maybe-configure-target-libada: configure-target-libada -configure-target-libada: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - echo "Checking multilib configuration for libada..."; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libada/Makefile; \ - mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \ - $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/libada; \ - cd "$(TARGET_SUBDIR)/libada" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libada"; \ - libsrcdir="$$s/libada"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif target-libada - - - - - -.PHONY: all-target-libada maybe-all-target-libada -maybe-all-target-libada: -@if gcc-bootstrap -all-target-libada: stage_current -@endif gcc-bootstrap -@if target-libada -TARGET-target-libada=all -maybe-all-target-libada: all-target-libada -all-target-libada: configure-target-libada - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libada && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ - $(TARGET-target-libada)) -@endif target-libada - - - - - -.PHONY: check-target-libada maybe-check-target-libada -maybe-check-target-libada: -@if target-libada -maybe-check-target-libada: check-target-libada - -check-target-libada: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libada && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) check) - -@endif target-libada - -.PHONY: install-target-libada maybe-install-target-libada -maybe-install-target-libada: -@if target-libada -maybe-install-target-libada: install-target-libada - -install-target-libada: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libada && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) - -@endif target-libada - -.PHONY: install-strip-target-libada maybe-install-strip-target-libada -maybe-install-strip-target-libada: -@if target-libada -maybe-install-strip-target-libada: install-strip-target-libada - -install-strip-target-libada: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libada && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) - -@endif target-libada - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-target-libada info-target-libada -maybe-info-target-libada: -@if target-libada -maybe-info-target-libada: info-target-libada - -info-target-libada: \ - configure-target-libada - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/libada" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libada && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif target-libada - -.PHONY: maybe-dvi-target-libada dvi-target-libada -maybe-dvi-target-libada: -@if target-libada -maybe-dvi-target-libada: dvi-target-libada - -dvi-target-libada: \ - configure-target-libada - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libada && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif target-libada - -.PHONY: maybe-pdf-target-libada pdf-target-libada -maybe-pdf-target-libada: -@if target-libada -maybe-pdf-target-libada: pdf-target-libada - -pdf-target-libada: \ - configure-target-libada - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libada && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif target-libada - -.PHONY: maybe-html-target-libada html-target-libada -maybe-html-target-libada: -@if target-libada -maybe-html-target-libada: html-target-libada - -html-target-libada: \ - configure-target-libada - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing html in $(TARGET_SUBDIR)/libada" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libada && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif target-libada - -.PHONY: maybe-TAGS-target-libada TAGS-target-libada -maybe-TAGS-target-libada: -@if target-libada -maybe-TAGS-target-libada: TAGS-target-libada - -TAGS-target-libada: \ - configure-target-libada - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libada && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif target-libada - -.PHONY: maybe-install-info-target-libada install-info-target-libada -maybe-install-info-target-libada: -@if target-libada -maybe-install-info-target-libada: install-info-target-libada - -install-info-target-libada: \ - configure-target-libada \ - info-target-libada - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libada && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif target-libada - -.PHONY: maybe-install-pdf-target-libada install-pdf-target-libada -maybe-install-pdf-target-libada: -@if target-libada -maybe-install-pdf-target-libada: install-pdf-target-libada - -install-pdf-target-libada: \ - configure-target-libada \ - pdf-target-libada - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libada && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif target-libada - -.PHONY: maybe-install-html-target-libada install-html-target-libada -maybe-install-html-target-libada: -@if target-libada -maybe-install-html-target-libada: install-html-target-libada - -install-html-target-libada: \ - configure-target-libada \ - html-target-libada - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libada && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif target-libada - -.PHONY: maybe-installcheck-target-libada installcheck-target-libada -maybe-installcheck-target-libada: -@if target-libada -maybe-installcheck-target-libada: installcheck-target-libada - -installcheck-target-libada: \ - configure-target-libada - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libada && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif target-libada - -.PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada -maybe-mostlyclean-target-libada: -@if target-libada -maybe-mostlyclean-target-libada: mostlyclean-target-libada - -mostlyclean-target-libada: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libada && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif target-libada - -.PHONY: maybe-clean-target-libada clean-target-libada -maybe-clean-target-libada: -@if target-libada -maybe-clean-target-libada: clean-target-libada - -clean-target-libada: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libada && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif target-libada - -.PHONY: maybe-distclean-target-libada distclean-target-libada -maybe-distclean-target-libada: -@if target-libada -maybe-distclean-target-libada: distclean-target-libada - -distclean-target-libada: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libada && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif target-libada - -.PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada -maybe-maintainer-clean-target-libada: -@if target-libada -maybe-maintainer-clean-target-libada: maintainer-clean-target-libada - -maintainer-clean-target-libada: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libada && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif target-libada - - - - - -.PHONY: configure-target-libgomp maybe-configure-target-libgomp -maybe-configure-target-libgomp: -@if gcc-bootstrap -configure-target-libgomp: stage_current -@endif gcc-bootstrap -@if target-libgomp -maybe-configure-target-libgomp: configure-target-libgomp -configure-target-libgomp: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - echo "Checking multilib configuration for libgomp..."; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \ - mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \ - $(NORMAL_TARGET_EXPORTS) \ - echo Configuring in $(TARGET_SUBDIR)/libgomp; \ - cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libgomp"; \ - libsrcdir="$$s/libgomp"; \ - rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 -@endif target-libgomp - - - -.PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp -maybe-configure-stage1-target-libgomp: -@if target-libgomp-bootstrap -maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp -configure-stage1-target-libgomp: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - echo "Checking multilib configuration for libgomp..."; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \ - mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \ - $(NORMAL_TARGET_EXPORTS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \ - cd $(TARGET_SUBDIR)/libgomp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libgomp"; \ - libsrcdir="$$s/libgomp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - $(STAGE1_CONFIGURE_FLAGS) -@endif target-libgomp-bootstrap - -.PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp -maybe-configure-stage2-target-libgomp: -@if target-libgomp-bootstrap -maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp -configure-stage2-target-libgomp: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - echo "Checking multilib configuration for libgomp..."; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \ - mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \ - $(NORMAL_TARGET_EXPORTS) \ - \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \ - cd $(TARGET_SUBDIR)/libgomp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libgomp"; \ - libsrcdir="$$s/libgomp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) -@endif target-libgomp-bootstrap - -.PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp -maybe-configure-stage3-target-libgomp: -@if target-libgomp-bootstrap -maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp -configure-stage3-target-libgomp: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - echo "Checking multilib configuration for libgomp..."; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \ - mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \ - $(NORMAL_TARGET_EXPORTS) \ - \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \ - cd $(TARGET_SUBDIR)/libgomp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libgomp"; \ - libsrcdir="$$s/libgomp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) -@endif target-libgomp-bootstrap - -.PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp -maybe-configure-stage4-target-libgomp: -@if target-libgomp-bootstrap -maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp -configure-stage4-target-libgomp: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - echo "Checking multilib configuration for libgomp..."; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \ - mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \ - $(NORMAL_TARGET_EXPORTS) \ - \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \ - cd $(TARGET_SUBDIR)/libgomp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libgomp"; \ - libsrcdir="$$s/libgomp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) -@endif target-libgomp-bootstrap - -.PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp -maybe-configure-stageprofile-target-libgomp: -@if target-libgomp-bootstrap -maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp -configure-stageprofile-target-libgomp: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - echo "Checking multilib configuration for libgomp..."; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \ - mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \ - $(NORMAL_TARGET_EXPORTS) \ - \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \ - cd $(TARGET_SUBDIR)/libgomp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libgomp"; \ - libsrcdir="$$s/libgomp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) -@endif target-libgomp-bootstrap - -.PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp -maybe-configure-stagefeedback-target-libgomp: -@if target-libgomp-bootstrap -maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp -configure-stagefeedback-target-libgomp: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - echo "Checking multilib configuration for libgomp..."; \ - $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \ - if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \ - if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \ - rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \ - else \ - rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \ - mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ - fi; \ - else \ - mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ - fi; \ - test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \ - $(NORMAL_TARGET_EXPORTS) \ - \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \ - cd $(TARGET_SUBDIR)/libgomp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libgomp"; \ - libsrcdir="$$s/libgomp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ - --target=${target_alias} $${srcdiroption} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) -@endif target-libgomp-bootstrap - - - - - -.PHONY: all-target-libgomp maybe-all-target-libgomp -maybe-all-target-libgomp: -@if gcc-bootstrap -all-target-libgomp: stage_current -@endif gcc-bootstrap -@if target-libgomp -TARGET-target-libgomp=all -maybe-all-target-libgomp: all-target-libgomp -all-target-libgomp: configure-target-libgomp - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ - $(TARGET-target-libgomp)) -@endif target-libgomp - - - -.PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp -.PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp -maybe-all-stage1-target-libgomp: -maybe-clean-stage1-target-libgomp: -@if target-libgomp-bootstrap -maybe-all-stage1-target-libgomp: all-stage1-target-libgomp -all-stage1: all-stage1-target-libgomp -TARGET-stage1-target-libgomp = $(TARGET-target-libgomp) -all-stage1-target-libgomp: configure-stage1-target-libgomp - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(NORMAL_TARGET_EXPORTS) \ - cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_TARGET_FLAGS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-target-libgomp) - -maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp -clean-stage1: clean-stage1-target-libgomp -clean-stage1-target-libgomp: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \ - else \ - [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(EXTRA_TARGET_FLAGS) \ - clean -@endif target-libgomp-bootstrap - - -.PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp -.PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp -maybe-all-stage2-target-libgomp: -maybe-clean-stage2-target-libgomp: -@if target-libgomp-bootstrap -maybe-all-stage2-target-libgomp: all-stage2-target-libgomp -all-stage2: all-stage2-target-libgomp -TARGET-stage2-target-libgomp = $(TARGET-target-libgomp) -all-stage2-target-libgomp: configure-stage2-target-libgomp - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(NORMAL_TARGET_EXPORTS) \ - \ - cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_TARGET_FLAGS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-target-libgomp) - -maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp -clean-stage2: clean-stage2-target-libgomp -clean-stage2-target-libgomp: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \ - else \ - [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(EXTRA_TARGET_FLAGS) \ - \ - clean -@endif target-libgomp-bootstrap - - -.PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp -.PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp -maybe-all-stage3-target-libgomp: -maybe-clean-stage3-target-libgomp: -@if target-libgomp-bootstrap -maybe-all-stage3-target-libgomp: all-stage3-target-libgomp -all-stage3: all-stage3-target-libgomp -TARGET-stage3-target-libgomp = $(TARGET-target-libgomp) -all-stage3-target-libgomp: configure-stage3-target-libgomp - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(NORMAL_TARGET_EXPORTS) \ - \ - cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_TARGET_FLAGS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-target-libgomp) - -maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp -clean-stage3: clean-stage3-target-libgomp -clean-stage3-target-libgomp: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \ - else \ - [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(EXTRA_TARGET_FLAGS) \ - \ - clean -@endif target-libgomp-bootstrap - - -.PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp -.PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp -maybe-all-stage4-target-libgomp: -maybe-clean-stage4-target-libgomp: -@if target-libgomp-bootstrap -maybe-all-stage4-target-libgomp: all-stage4-target-libgomp -all-stage4: all-stage4-target-libgomp -TARGET-stage4-target-libgomp = $(TARGET-target-libgomp) -all-stage4-target-libgomp: configure-stage4-target-libgomp - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(NORMAL_TARGET_EXPORTS) \ - \ - cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_TARGET_FLAGS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-target-libgomp) - -maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp -clean-stage4: clean-stage4-target-libgomp -clean-stage4-target-libgomp: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \ - else \ - [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(EXTRA_TARGET_FLAGS) \ - \ - clean -@endif target-libgomp-bootstrap - - -.PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp -.PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp -maybe-all-stageprofile-target-libgomp: -maybe-clean-stageprofile-target-libgomp: -@if target-libgomp-bootstrap -maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp -all-stageprofile: all-stageprofile-target-libgomp -TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp) -all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(NORMAL_TARGET_EXPORTS) \ - \ - cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_TARGET_FLAGS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-target-libgomp) - -maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp -clean-stageprofile: clean-stageprofile-target-libgomp -clean-stageprofile-target-libgomp: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \ - else \ - [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(EXTRA_TARGET_FLAGS) \ - \ - clean -@endif target-libgomp-bootstrap - - -.PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp -.PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp -maybe-all-stagefeedback-target-libgomp: -maybe-clean-stagefeedback-target-libgomp: -@if target-libgomp-bootstrap -maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp -all-stagefeedback: all-stagefeedback-target-libgomp -TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp) -all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(NORMAL_TARGET_EXPORTS) \ - \ - cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_TARGET_FLAGS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-target-libgomp) - -maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp -clean-stagefeedback: clean-stagefeedback-target-libgomp -clean-stagefeedback-target-libgomp: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \ - else \ - [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(EXTRA_TARGET_FLAGS) \ - \ - clean -@endif target-libgomp-bootstrap - - - - - - -.PHONY: check-target-libgomp maybe-check-target-libgomp -maybe-check-target-libgomp: -@if target-libgomp -maybe-check-target-libgomp: check-target-libgomp - -check-target-libgomp: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) check) - -@endif target-libgomp - -.PHONY: install-target-libgomp maybe-install-target-libgomp -maybe-install-target-libgomp: -@if target-libgomp -maybe-install-target-libgomp: install-target-libgomp - -install-target-libgomp: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install) - -@endif target-libgomp - -.PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp -maybe-install-strip-target-libgomp: -@if target-libgomp -maybe-install-strip-target-libgomp: install-strip-target-libgomp - -install-strip-target-libgomp: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - (cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) - -@endif target-libgomp - -# Other targets (info, dvi, pdf, etc.) - -.PHONY: maybe-info-target-libgomp info-target-libgomp -maybe-info-target-libgomp: -@if target-libgomp -maybe-info-target-libgomp: info-target-libgomp - -info-target-libgomp: \ - configure-target-libgomp - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - info) \ - || exit 1 - -@endif target-libgomp - -.PHONY: maybe-dvi-target-libgomp dvi-target-libgomp -maybe-dvi-target-libgomp: -@if target-libgomp -maybe-dvi-target-libgomp: dvi-target-libgomp - -dvi-target-libgomp: \ - configure-target-libgomp - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - dvi) \ - || exit 1 - -@endif target-libgomp - -.PHONY: maybe-pdf-target-libgomp pdf-target-libgomp -maybe-pdf-target-libgomp: -@if target-libgomp -maybe-pdf-target-libgomp: pdf-target-libgomp - -pdf-target-libgomp: \ - configure-target-libgomp - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - pdf) \ - || exit 1 - -@endif target-libgomp - -.PHONY: maybe-html-target-libgomp html-target-libgomp -maybe-html-target-libgomp: -@if target-libgomp -maybe-html-target-libgomp: html-target-libgomp - -html-target-libgomp: \ - configure-target-libgomp - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - html) \ - || exit 1 - -@endif target-libgomp - -.PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp -maybe-TAGS-target-libgomp: -@if target-libgomp -maybe-TAGS-target-libgomp: TAGS-target-libgomp - -TAGS-target-libgomp: \ - configure-target-libgomp - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - TAGS) \ - || exit 1 - -@endif target-libgomp - -.PHONY: maybe-install-info-target-libgomp install-info-target-libgomp -maybe-install-info-target-libgomp: -@if target-libgomp -maybe-install-info-target-libgomp: install-info-target-libgomp - -install-info-target-libgomp: \ - configure-target-libgomp \ - info-target-libgomp - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-info) \ - || exit 1 - -@endif target-libgomp - -.PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp -maybe-install-pdf-target-libgomp: -@if target-libgomp -maybe-install-pdf-target-libgomp: install-pdf-target-libgomp - -install-pdf-target-libgomp: \ - configure-target-libgomp \ - pdf-target-libgomp - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-pdf) \ - || exit 1 - -@endif target-libgomp - -.PHONY: maybe-install-html-target-libgomp install-html-target-libgomp -maybe-install-html-target-libgomp: -@if target-libgomp -maybe-install-html-target-libgomp: install-html-target-libgomp - -install-html-target-libgomp: \ - configure-target-libgomp \ - html-target-libgomp - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - install-html) \ - || exit 1 - -@endif target-libgomp - -.PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp -maybe-installcheck-target-libgomp: -@if target-libgomp -maybe-installcheck-target-libgomp: installcheck-target-libgomp - -installcheck-target-libgomp: \ - configure-target-libgomp - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - installcheck) \ - || exit 1 - -@endif target-libgomp - -.PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp -maybe-mostlyclean-target-libgomp: -@if target-libgomp -maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp - -mostlyclean-target-libgomp: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - mostlyclean) \ - || exit 1 - -@endif target-libgomp - -.PHONY: maybe-clean-target-libgomp clean-target-libgomp -maybe-clean-target-libgomp: -@if target-libgomp -maybe-clean-target-libgomp: clean-target-libgomp - -clean-target-libgomp: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - clean) \ - || exit 1 - -@endif target-libgomp - -.PHONY: maybe-distclean-target-libgomp distclean-target-libgomp -maybe-distclean-target-libgomp: -@if target-libgomp -maybe-distclean-target-libgomp: distclean-target-libgomp - -distclean-target-libgomp: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - distclean) \ - || exit 1 - -@endif target-libgomp - -.PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp -maybe-maintainer-clean-target-libgomp: -@if target-libgomp -maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp - -maintainer-clean-target-libgomp: - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(NORMAL_TARGET_EXPORTS) \ - echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/libgomp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - maintainer-clean) \ - || exit 1 - -@endif target-libgomp - - - -@if target-libmudflap -.PHONY: check-target-libmudflap-c++ -check-target-libmudflap-c++: - $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++frags.exp" check-target-libmudflap - -@endif target-libmudflap - -# ---------- -# GCC module -# ---------- - -@if gcc-no-bootstrap -.PHONY: cross -cross: all-build all-gas all-ld - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - echo "Building the C and C++ compiler"; \ - cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++" - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \ - echo "Building runtime libraries"; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all -@endif gcc-no-bootstrap - -@if gcc - -.PHONY: check-gcc-c check-c -check-gcc-c: - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc); -check-c: check-gcc-c - -.PHONY: check-gcc-c++ check-c++ -check-gcc-c++: - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++ check-c++0x); -check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libmudflap-c++ - -.PHONY: check-gcc-fortran check-fortran -check-gcc-fortran: - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran); -check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran - -.PHONY: check-gcc-java check-java -check-gcc-java: - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java); -check-java: check-gcc-java check-target-libjava - -.PHONY: check-gcc-ada check-ada -check-gcc-ada: - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada); -check-ada: check-gcc-ada check-target-libada - -.PHONY: check-gcc-objc check-objc -check-gcc-objc: - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc); -check-objc: check-gcc-objc check-target-libobjc - -.PHONY: check-gcc-obj-c++ check-obj-c++ -check-gcc-obj-c++: - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++); -check-obj-c++: check-gcc-obj-c++ - -.PHONY: check-gcc-go check-go -check-gcc-go: - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go); -check-go: check-gcc-go check-target-libgo - - -# Install the gcc headers files, but not the fixed include files, -# which Cygnus is not allowed to distribute. This rule is very -# dependent on the workings of the gcc Makefile.in. -.PHONY: gcc-no-fixedincludes -gcc-no-fixedincludes: - @if [ -f ./gcc/Makefile ]; then \ - rm -rf gcc/tmp-include; \ - mv gcc/include gcc/tmp-include 2>/dev/null; \ - mkdir gcc/include; \ - cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \ - touch gcc/stmp-fixinc gcc/include/fixed; \ - rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \ - $(HOST_EXPORTS) \ - (cd ./gcc && \ - $(MAKE) $(GCC_FLAGS_TO_PASS) install); \ - rm -rf gcc/include; \ - mv gcc/tmp-include gcc/include 2>/dev/null; \ - else true; fi -@endif gcc - -# --------------------- -# GCC bootstrap support -# --------------------- - -# We track the current stage (the one in 'gcc') in the stage_current file. -# stage_last instead tracks the stage that was built last. These targets -# are dummy when toplevel bootstrap is not active. - -# While making host and target tools, symlinks to the final stage must be -# there, so $(unstage) should be run at various points. To avoid excessive -# recursive invocations of make, we "inline" them using a variable. These -# must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)" -# to avoid warnings from the GNU Make job server. - -unstage = : -stage = : -current_stage = "" - -@if gcc-bootstrap -unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi -stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi -current_stage = "`cat stage_current 2> /dev/null`" -@endif gcc-bootstrap - -.PHONY: unstage stage -unstage: - @: $(MAKE); $(unstage) -stage: - @: $(MAKE); $(stage) - -# Disable commands for lean bootstrap. -LEAN = false - -# We name the build directories for the various stages "stage1-gcc", -# "stage2-gcc","stage3-gcc", etc. - -# Since the 'compare' process will fail (on debugging information) if any -# directory names are different, we need to link the gcc directory for -# the previous stage to a constant name ('prev-gcc'), and to make the name of -# the build directories constant as well. For the latter, we use naked names -# like 'gcc', because the scripts in that directory assume it. We use -# mv on platforms where symlinks to directories do not work or are not -# reliable. - -# 'touch' doesn't work right on some platforms. -STAMP = echo timestamp > - -# We only want to compare .o files, so set this! -objext = .o - - -.PHONY: stage1-start stage1-end - -stage1-start:: - @: $(MAKE); $(stage); \ - echo stage1 > stage_current ; \ - echo stage1 > stage_last; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) -@if bfd - @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \ - mkdir stage1-bfd; \ - mv stage1-bfd bfd -@endif bfd -@if opcodes - @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \ - mkdir stage1-opcodes; \ - mv stage1-opcodes opcodes -@endif opcodes -@if binutils - @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \ - mkdir stage1-binutils; \ - mv stage1-binutils binutils -@endif binutils -@if gas - @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \ - mkdir stage1-gas; \ - mv stage1-gas gas -@endif gas -@if gcc - @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \ - mkdir stage1-gcc; \ - mv stage1-gcc gcc -@endif gcc -@if gmp - @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \ - mkdir stage1-gmp; \ - mv stage1-gmp gmp -@endif gmp -@if mpfr - @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \ - mkdir stage1-mpfr; \ - mv stage1-mpfr mpfr -@endif mpfr -@if mpc - @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \ - mkdir stage1-mpc; \ - mv stage1-mpc mpc -@endif mpc -@if ppl - @cd $(HOST_SUBDIR); [ -d stage1-ppl ] || \ - mkdir stage1-ppl; \ - mv stage1-ppl ppl -@endif ppl -@if cloog - @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \ - mkdir stage1-cloog; \ - mv stage1-cloog cloog -@endif cloog -@if libelf - @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \ - mkdir stage1-libelf; \ - mv stage1-libelf libelf -@endif libelf -@if gold - @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \ - mkdir stage1-gold; \ - mv stage1-gold gold -@endif gold -@if intl - @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \ - mkdir stage1-intl; \ - mv stage1-intl intl -@endif intl -@if ld - @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \ - mkdir stage1-ld; \ - mv stage1-ld ld -@endif ld -@if libcpp - @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \ - mkdir stage1-libcpp; \ - mv stage1-libcpp libcpp -@endif libcpp -@if libdecnumber - @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \ - mkdir stage1-libdecnumber; \ - mv stage1-libdecnumber libdecnumber -@endif libdecnumber -@if libiberty - @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \ - mkdir stage1-libiberty; \ - mv stage1-libiberty libiberty -@endif libiberty -@if zlib - @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \ - mkdir stage1-zlib; \ - mv stage1-zlib zlib -@endif zlib -@if lto-plugin - @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \ - mkdir stage1-lto-plugin; \ - mv stage1-lto-plugin lto-plugin -@endif lto-plugin - @[ -d stage1-$(TARGET_SUBDIR) ] || \ - mkdir stage1-$(TARGET_SUBDIR); \ - mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR) - -stage1-end:: -@if bfd - @if test -d $(HOST_SUBDIR)/bfd ; then \ - cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \ - fi -@endif bfd -@if opcodes - @if test -d $(HOST_SUBDIR)/opcodes ; then \ - cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \ - fi -@endif opcodes -@if binutils - @if test -d $(HOST_SUBDIR)/binutils ; then \ - cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \ - fi -@endif binutils -@if gas - @if test -d $(HOST_SUBDIR)/gas ; then \ - cd $(HOST_SUBDIR); mv gas stage1-gas ; \ - fi -@endif gas -@if gcc - @if test -d $(HOST_SUBDIR)/gcc ; then \ - cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \ - fi -@endif gcc -@if gmp - @if test -d $(HOST_SUBDIR)/gmp ; then \ - cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \ - fi -@endif gmp -@if mpfr - @if test -d $(HOST_SUBDIR)/mpfr ; then \ - cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \ - fi -@endif mpfr -@if mpc - @if test -d $(HOST_SUBDIR)/mpc ; then \ - cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \ - fi -@endif mpc -@if ppl - @if test -d $(HOST_SUBDIR)/ppl ; then \ - cd $(HOST_SUBDIR); mv ppl stage1-ppl ; \ - fi -@endif ppl -@if cloog - @if test -d $(HOST_SUBDIR)/cloog ; then \ - cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \ - fi -@endif cloog -@if libelf - @if test -d $(HOST_SUBDIR)/libelf ; then \ - cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \ - fi -@endif libelf -@if gold - @if test -d $(HOST_SUBDIR)/gold ; then \ - cd $(HOST_SUBDIR); mv gold stage1-gold ; \ - fi -@endif gold -@if intl - @if test -d $(HOST_SUBDIR)/intl ; then \ - cd $(HOST_SUBDIR); mv intl stage1-intl ; \ - fi -@endif intl -@if ld - @if test -d $(HOST_SUBDIR)/ld ; then \ - cd $(HOST_SUBDIR); mv ld stage1-ld ; \ - fi -@endif ld -@if libcpp - @if test -d $(HOST_SUBDIR)/libcpp ; then \ - cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \ - fi -@endif libcpp -@if libdecnumber - @if test -d $(HOST_SUBDIR)/libdecnumber ; then \ - cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \ - fi -@endif libdecnumber -@if libiberty - @if test -d $(HOST_SUBDIR)/libiberty ; then \ - cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \ - fi -@endif libiberty -@if zlib - @if test -d $(HOST_SUBDIR)/zlib ; then \ - cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \ - fi -@endif zlib -@if lto-plugin - @if test -d $(HOST_SUBDIR)/lto-plugin ; then \ - cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \ - fi -@endif lto-plugin - @if test -d $(TARGET_SUBDIR) ; then \ - mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \ - fi - rm -f stage_current - -# Bubble a bug fix through all the stages up to stage 1. They are -# remade, but not reconfigured. The next stage (if any) will not be -# reconfigured either. -.PHONY: stage1-bubble -stage1-bubble:: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - if test -f stage1-lean ; then \ - echo Skipping rebuild of stage1 ; \ - else \ - $(MAKE) stage1-start; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \ - fi - -.PHONY: all-stage1 clean-stage1 -do-clean: clean-stage1 - -# FIXME: Will not need to be conditional when toplevel bootstrap is the -# only possibility, but now it conflicts with no-bootstrap rules -@if gcc-bootstrap - - - - -# Rules to wipe a stage and all the following ones, also used for cleanstrap - -.PHONY: distclean-stage1 -distclean-stage1:: - @: $(MAKE); $(stage) - @test "`cat stage_last`" != stage1 || rm -f stage_last - rm -rf stage1-* - - -@endif gcc-bootstrap - - -.PHONY: stage2-start stage2-end - -stage2-start:: - @: $(MAKE); $(stage); \ - echo stage2 > stage_current ; \ - echo stage2 > stage_last; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) -@if bfd - @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \ - mkdir stage2-bfd; \ - mv stage2-bfd bfd ; \ - mv stage1-bfd prev-bfd || test -f stage1-lean -@endif bfd -@if opcodes - @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \ - mkdir stage2-opcodes; \ - mv stage2-opcodes opcodes ; \ - mv stage1-opcodes prev-opcodes || test -f stage1-lean -@endif opcodes -@if binutils - @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \ - mkdir stage2-binutils; \ - mv stage2-binutils binutils ; \ - mv stage1-binutils prev-binutils || test -f stage1-lean -@endif binutils -@if gas - @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \ - mkdir stage2-gas; \ - mv stage2-gas gas ; \ - mv stage1-gas prev-gas || test -f stage1-lean -@endif gas -@if gcc - @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \ - mkdir stage2-gcc; \ - mv stage2-gcc gcc ; \ - mv stage1-gcc prev-gcc || test -f stage1-lean -@endif gcc -@if gmp - @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \ - mkdir stage2-gmp; \ - mv stage2-gmp gmp ; \ - mv stage1-gmp prev-gmp || test -f stage1-lean -@endif gmp -@if mpfr - @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \ - mkdir stage2-mpfr; \ - mv stage2-mpfr mpfr ; \ - mv stage1-mpfr prev-mpfr || test -f stage1-lean -@endif mpfr -@if mpc - @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \ - mkdir stage2-mpc; \ - mv stage2-mpc mpc ; \ - mv stage1-mpc prev-mpc || test -f stage1-lean -@endif mpc -@if ppl - @cd $(HOST_SUBDIR); [ -d stage2-ppl ] || \ - mkdir stage2-ppl; \ - mv stage2-ppl ppl ; \ - mv stage1-ppl prev-ppl || test -f stage1-lean -@endif ppl -@if cloog - @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \ - mkdir stage2-cloog; \ - mv stage2-cloog cloog ; \ - mv stage1-cloog prev-cloog || test -f stage1-lean -@endif cloog -@if libelf - @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \ - mkdir stage2-libelf; \ - mv stage2-libelf libelf ; \ - mv stage1-libelf prev-libelf || test -f stage1-lean -@endif libelf -@if gold - @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \ - mkdir stage2-gold; \ - mv stage2-gold gold ; \ - mv stage1-gold prev-gold || test -f stage1-lean -@endif gold -@if intl - @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \ - mkdir stage2-intl; \ - mv stage2-intl intl ; \ - mv stage1-intl prev-intl || test -f stage1-lean -@endif intl -@if ld - @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \ - mkdir stage2-ld; \ - mv stage2-ld ld ; \ - mv stage1-ld prev-ld || test -f stage1-lean -@endif ld -@if libcpp - @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \ - mkdir stage2-libcpp; \ - mv stage2-libcpp libcpp ; \ - mv stage1-libcpp prev-libcpp || test -f stage1-lean -@endif libcpp -@if libdecnumber - @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \ - mkdir stage2-libdecnumber; \ - mv stage2-libdecnumber libdecnumber ; \ - mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean -@endif libdecnumber -@if libiberty - @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \ - mkdir stage2-libiberty; \ - mv stage2-libiberty libiberty ; \ - mv stage1-libiberty prev-libiberty || test -f stage1-lean -@endif libiberty -@if zlib - @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \ - mkdir stage2-zlib; \ - mv stage2-zlib zlib ; \ - mv stage1-zlib prev-zlib || test -f stage1-lean -@endif zlib -@if lto-plugin - @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \ - mkdir stage2-lto-plugin; \ - mv stage2-lto-plugin lto-plugin ; \ - mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean -@endif lto-plugin - @[ -d stage2-$(TARGET_SUBDIR) ] || \ - mkdir stage2-$(TARGET_SUBDIR); \ - mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ - mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean - -stage2-end:: -@if bfd - @if test -d $(HOST_SUBDIR)/bfd ; then \ - cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \ - mv prev-bfd stage1-bfd ; : ; \ - fi -@endif bfd -@if opcodes - @if test -d $(HOST_SUBDIR)/opcodes ; then \ - cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \ - mv prev-opcodes stage1-opcodes ; : ; \ - fi -@endif opcodes -@if binutils - @if test -d $(HOST_SUBDIR)/binutils ; then \ - cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \ - mv prev-binutils stage1-binutils ; : ; \ - fi -@endif binutils -@if gas - @if test -d $(HOST_SUBDIR)/gas ; then \ - cd $(HOST_SUBDIR); mv gas stage2-gas ; \ - mv prev-gas stage1-gas ; : ; \ - fi -@endif gas -@if gcc - @if test -d $(HOST_SUBDIR)/gcc ; then \ - cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \ - mv prev-gcc stage1-gcc ; : ; \ - fi -@endif gcc -@if gmp - @if test -d $(HOST_SUBDIR)/gmp ; then \ - cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \ - mv prev-gmp stage1-gmp ; : ; \ - fi -@endif gmp -@if mpfr - @if test -d $(HOST_SUBDIR)/mpfr ; then \ - cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \ - mv prev-mpfr stage1-mpfr ; : ; \ - fi -@endif mpfr -@if mpc - @if test -d $(HOST_SUBDIR)/mpc ; then \ - cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \ - mv prev-mpc stage1-mpc ; : ; \ - fi -@endif mpc -@if ppl - @if test -d $(HOST_SUBDIR)/ppl ; then \ - cd $(HOST_SUBDIR); mv ppl stage2-ppl ; \ - mv prev-ppl stage1-ppl ; : ; \ - fi -@endif ppl -@if cloog - @if test -d $(HOST_SUBDIR)/cloog ; then \ - cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \ - mv prev-cloog stage1-cloog ; : ; \ - fi -@endif cloog -@if libelf - @if test -d $(HOST_SUBDIR)/libelf ; then \ - cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \ - mv prev-libelf stage1-libelf ; : ; \ - fi -@endif libelf -@if gold - @if test -d $(HOST_SUBDIR)/gold ; then \ - cd $(HOST_SUBDIR); mv gold stage2-gold ; \ - mv prev-gold stage1-gold ; : ; \ - fi -@endif gold -@if intl - @if test -d $(HOST_SUBDIR)/intl ; then \ - cd $(HOST_SUBDIR); mv intl stage2-intl ; \ - mv prev-intl stage1-intl ; : ; \ - fi -@endif intl -@if ld - @if test -d $(HOST_SUBDIR)/ld ; then \ - cd $(HOST_SUBDIR); mv ld stage2-ld ; \ - mv prev-ld stage1-ld ; : ; \ - fi -@endif ld -@if libcpp - @if test -d $(HOST_SUBDIR)/libcpp ; then \ - cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \ - mv prev-libcpp stage1-libcpp ; : ; \ - fi -@endif libcpp -@if libdecnumber - @if test -d $(HOST_SUBDIR)/libdecnumber ; then \ - cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \ - mv prev-libdecnumber stage1-libdecnumber ; : ; \ - fi -@endif libdecnumber -@if libiberty - @if test -d $(HOST_SUBDIR)/libiberty ; then \ - cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \ - mv prev-libiberty stage1-libiberty ; : ; \ - fi -@endif libiberty -@if zlib - @if test -d $(HOST_SUBDIR)/zlib ; then \ - cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \ - mv prev-zlib stage1-zlib ; : ; \ - fi -@endif zlib -@if lto-plugin - @if test -d $(HOST_SUBDIR)/lto-plugin ; then \ - cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \ - mv prev-lto-plugin stage1-lto-plugin ; : ; \ - fi -@endif lto-plugin - @if test -d $(TARGET_SUBDIR) ; then \ - mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \ - mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \ - fi - rm -f stage_current - -# Bubble a bug fix through all the stages up to stage 2. They are -# remade, but not reconfigured. The next stage (if any) will not be -# reconfigured either. -.PHONY: stage2-bubble -stage2-bubble:: stage1-bubble - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - if test -f stage2-lean || test -f stage1-lean ; then \ - echo Skipping rebuild of stage2 ; \ - else \ - $(MAKE) stage2-start; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \ - fi - -.PHONY: all-stage2 clean-stage2 -do-clean: clean-stage2 - -# FIXME: Will not need to be conditional when toplevel bootstrap is the -# only possibility, but now it conflicts with no-bootstrap rules -@if gcc-bootstrap - - - -.PHONY: bootstrap2 bootstrap2-lean -bootstrap2: - echo stage2 > stage_final - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target - -bootstrap2-lean: - echo stage2 > stage_final - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target - - -# Rules to wipe a stage and all the following ones, also used for cleanstrap -distclean-stage1:: distclean-stage2 -.PHONY: distclean-stage2 -distclean-stage2:: - @: $(MAKE); $(stage) - @test "`cat stage_last`" != stage2 || rm -f stage_last - rm -rf stage2-* - - -@endif gcc-bootstrap - - -.PHONY: stage3-start stage3-end - -stage3-start:: - @: $(MAKE); $(stage); \ - echo stage3 > stage_current ; \ - echo stage3 > stage_last; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) -@if bfd - @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \ - mkdir stage3-bfd; \ - mv stage3-bfd bfd ; \ - mv stage2-bfd prev-bfd || test -f stage2-lean -@endif bfd -@if opcodes - @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \ - mkdir stage3-opcodes; \ - mv stage3-opcodes opcodes ; \ - mv stage2-opcodes prev-opcodes || test -f stage2-lean -@endif opcodes -@if binutils - @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \ - mkdir stage3-binutils; \ - mv stage3-binutils binutils ; \ - mv stage2-binutils prev-binutils || test -f stage2-lean -@endif binutils -@if gas - @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \ - mkdir stage3-gas; \ - mv stage3-gas gas ; \ - mv stage2-gas prev-gas || test -f stage2-lean -@endif gas -@if gcc - @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \ - mkdir stage3-gcc; \ - mv stage3-gcc gcc ; \ - mv stage2-gcc prev-gcc || test -f stage2-lean -@endif gcc -@if gmp - @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \ - mkdir stage3-gmp; \ - mv stage3-gmp gmp ; \ - mv stage2-gmp prev-gmp || test -f stage2-lean -@endif gmp -@if mpfr - @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \ - mkdir stage3-mpfr; \ - mv stage3-mpfr mpfr ; \ - mv stage2-mpfr prev-mpfr || test -f stage2-lean -@endif mpfr -@if mpc - @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \ - mkdir stage3-mpc; \ - mv stage3-mpc mpc ; \ - mv stage2-mpc prev-mpc || test -f stage2-lean -@endif mpc -@if ppl - @cd $(HOST_SUBDIR); [ -d stage3-ppl ] || \ - mkdir stage3-ppl; \ - mv stage3-ppl ppl ; \ - mv stage2-ppl prev-ppl || test -f stage2-lean -@endif ppl -@if cloog - @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \ - mkdir stage3-cloog; \ - mv stage3-cloog cloog ; \ - mv stage2-cloog prev-cloog || test -f stage2-lean -@endif cloog -@if libelf - @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \ - mkdir stage3-libelf; \ - mv stage3-libelf libelf ; \ - mv stage2-libelf prev-libelf || test -f stage2-lean -@endif libelf -@if gold - @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \ - mkdir stage3-gold; \ - mv stage3-gold gold ; \ - mv stage2-gold prev-gold || test -f stage2-lean -@endif gold -@if intl - @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \ - mkdir stage3-intl; \ - mv stage3-intl intl ; \ - mv stage2-intl prev-intl || test -f stage2-lean -@endif intl -@if ld - @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \ - mkdir stage3-ld; \ - mv stage3-ld ld ; \ - mv stage2-ld prev-ld || test -f stage2-lean -@endif ld -@if libcpp - @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \ - mkdir stage3-libcpp; \ - mv stage3-libcpp libcpp ; \ - mv stage2-libcpp prev-libcpp || test -f stage2-lean -@endif libcpp -@if libdecnumber - @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \ - mkdir stage3-libdecnumber; \ - mv stage3-libdecnumber libdecnumber ; \ - mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean -@endif libdecnumber -@if libiberty - @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \ - mkdir stage3-libiberty; \ - mv stage3-libiberty libiberty ; \ - mv stage2-libiberty prev-libiberty || test -f stage2-lean -@endif libiberty -@if zlib - @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \ - mkdir stage3-zlib; \ - mv stage3-zlib zlib ; \ - mv stage2-zlib prev-zlib || test -f stage2-lean -@endif zlib -@if lto-plugin - @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \ - mkdir stage3-lto-plugin; \ - mv stage3-lto-plugin lto-plugin ; \ - mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean -@endif lto-plugin - @[ -d stage3-$(TARGET_SUBDIR) ] || \ - mkdir stage3-$(TARGET_SUBDIR); \ - mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ - mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean - -stage3-end:: -@if bfd - @if test -d $(HOST_SUBDIR)/bfd ; then \ - cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \ - mv prev-bfd stage2-bfd ; : ; \ - fi -@endif bfd -@if opcodes - @if test -d $(HOST_SUBDIR)/opcodes ; then \ - cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \ - mv prev-opcodes stage2-opcodes ; : ; \ - fi -@endif opcodes -@if binutils - @if test -d $(HOST_SUBDIR)/binutils ; then \ - cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \ - mv prev-binutils stage2-binutils ; : ; \ - fi -@endif binutils -@if gas - @if test -d $(HOST_SUBDIR)/gas ; then \ - cd $(HOST_SUBDIR); mv gas stage3-gas ; \ - mv prev-gas stage2-gas ; : ; \ - fi -@endif gas -@if gcc - @if test -d $(HOST_SUBDIR)/gcc ; then \ - cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \ - mv prev-gcc stage2-gcc ; : ; \ - fi -@endif gcc -@if gmp - @if test -d $(HOST_SUBDIR)/gmp ; then \ - cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \ - mv prev-gmp stage2-gmp ; : ; \ - fi -@endif gmp -@if mpfr - @if test -d $(HOST_SUBDIR)/mpfr ; then \ - cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \ - mv prev-mpfr stage2-mpfr ; : ; \ - fi -@endif mpfr -@if mpc - @if test -d $(HOST_SUBDIR)/mpc ; then \ - cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \ - mv prev-mpc stage2-mpc ; : ; \ - fi -@endif mpc -@if ppl - @if test -d $(HOST_SUBDIR)/ppl ; then \ - cd $(HOST_SUBDIR); mv ppl stage3-ppl ; \ - mv prev-ppl stage2-ppl ; : ; \ - fi -@endif ppl -@if cloog - @if test -d $(HOST_SUBDIR)/cloog ; then \ - cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \ - mv prev-cloog stage2-cloog ; : ; \ - fi -@endif cloog -@if libelf - @if test -d $(HOST_SUBDIR)/libelf ; then \ - cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \ - mv prev-libelf stage2-libelf ; : ; \ - fi -@endif libelf -@if gold - @if test -d $(HOST_SUBDIR)/gold ; then \ - cd $(HOST_SUBDIR); mv gold stage3-gold ; \ - mv prev-gold stage2-gold ; : ; \ - fi -@endif gold -@if intl - @if test -d $(HOST_SUBDIR)/intl ; then \ - cd $(HOST_SUBDIR); mv intl stage3-intl ; \ - mv prev-intl stage2-intl ; : ; \ - fi -@endif intl -@if ld - @if test -d $(HOST_SUBDIR)/ld ; then \ - cd $(HOST_SUBDIR); mv ld stage3-ld ; \ - mv prev-ld stage2-ld ; : ; \ - fi -@endif ld -@if libcpp - @if test -d $(HOST_SUBDIR)/libcpp ; then \ - cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \ - mv prev-libcpp stage2-libcpp ; : ; \ - fi -@endif libcpp -@if libdecnumber - @if test -d $(HOST_SUBDIR)/libdecnumber ; then \ - cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \ - mv prev-libdecnumber stage2-libdecnumber ; : ; \ - fi -@endif libdecnumber -@if libiberty - @if test -d $(HOST_SUBDIR)/libiberty ; then \ - cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \ - mv prev-libiberty stage2-libiberty ; : ; \ - fi -@endif libiberty -@if zlib - @if test -d $(HOST_SUBDIR)/zlib ; then \ - cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \ - mv prev-zlib stage2-zlib ; : ; \ - fi -@endif zlib -@if lto-plugin - @if test -d $(HOST_SUBDIR)/lto-plugin ; then \ - cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \ - mv prev-lto-plugin stage2-lto-plugin ; : ; \ - fi -@endif lto-plugin - @if test -d $(TARGET_SUBDIR) ; then \ - mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \ - mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \ - fi - rm -f stage_current - -# Bubble a bug fix through all the stages up to stage 3. They are -# remade, but not reconfigured. The next stage (if any) will not be -# reconfigured either. -.PHONY: stage3-bubble -stage3-bubble:: stage2-bubble - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - if test -f stage3-lean || test -f stage2-lean ; then \ - echo Skipping rebuild of stage3 ; \ - else \ - $(MAKE) stage3-start; \ - if $(LEAN); then \ - rm -rf stage1-* ; \ - $(STAMP) stage1-lean ; \ - fi; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \ - fi - $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare - -.PHONY: all-stage3 clean-stage3 -do-clean: clean-stage3 - -# FIXME: Will not need to be conditional when toplevel bootstrap is the -# only possibility, but now it conflicts with no-bootstrap rules -@if gcc-bootstrap - -compare: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - if test -f stage2-lean; then \ - echo Cannot compare object files as stage 2 was deleted. ; \ - exit 0 ; \ - fi; \ - : $(MAKE); $(stage); \ - rm -f .bad_compare ; \ - echo Comparing stages 2 and 3 ; \ - sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \ - files=`find stage3-* -name "*$(objext)" -print | \ - sed -n s,^stage$$sed-,,p` ; \ - for file in $${files} ; do \ - f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \ - if test ! -f $$f1; then continue; fi; \ - $(do-compare) > /dev/null 2>&1; \ - if test $$? -eq 1; then \ - case $$file in \ - @compare_exclusions@) \ - echo warning: $$file differs ;; \ - *) \ - echo $$file differs >> .bad_compare ;; \ - esac ; \ - fi ; \ - done ; \ - if [ -f .bad_compare ]; then \ - echo "Bootstrap comparison failure!"; \ - cat .bad_compare; \ - exit 1; \ - else \ - echo Comparison successful.; \ - fi ; \ - $(STAMP) compare - if $(LEAN); then \ - rm -rf stage2-*; \ - $(STAMP) stage2-lean; \ - fi - - - -.PHONY: bootstrap bootstrap-lean -bootstrap: - echo stage3 > stage_final - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target - -bootstrap-lean: - echo stage3 > stage_final - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target - - -# Rules to wipe a stage and all the following ones, also used for cleanstrap -distclean-stage2:: distclean-stage3 -.PHONY: distclean-stage3 -distclean-stage3:: - @: $(MAKE); $(stage) - @test "`cat stage_last`" != stage3 || rm -f stage_last - rm -rf stage3-* compare - - -.PHONY: cleanstrap -cleanstrap: do-distclean local-clean - echo stage3 > stage_final - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target - -@endif gcc-bootstrap - - -.PHONY: stage4-start stage4-end - -stage4-start:: - @: $(MAKE); $(stage); \ - echo stage4 > stage_current ; \ - echo stage4 > stage_last; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) -@if bfd - @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \ - mkdir stage4-bfd; \ - mv stage4-bfd bfd ; \ - mv stage3-bfd prev-bfd || test -f stage3-lean -@endif bfd -@if opcodes - @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \ - mkdir stage4-opcodes; \ - mv stage4-opcodes opcodes ; \ - mv stage3-opcodes prev-opcodes || test -f stage3-lean -@endif opcodes -@if binutils - @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \ - mkdir stage4-binutils; \ - mv stage4-binutils binutils ; \ - mv stage3-binutils prev-binutils || test -f stage3-lean -@endif binutils -@if gas - @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \ - mkdir stage4-gas; \ - mv stage4-gas gas ; \ - mv stage3-gas prev-gas || test -f stage3-lean -@endif gas -@if gcc - @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \ - mkdir stage4-gcc; \ - mv stage4-gcc gcc ; \ - mv stage3-gcc prev-gcc || test -f stage3-lean -@endif gcc -@if gmp - @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \ - mkdir stage4-gmp; \ - mv stage4-gmp gmp ; \ - mv stage3-gmp prev-gmp || test -f stage3-lean -@endif gmp -@if mpfr - @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \ - mkdir stage4-mpfr; \ - mv stage4-mpfr mpfr ; \ - mv stage3-mpfr prev-mpfr || test -f stage3-lean -@endif mpfr -@if mpc - @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \ - mkdir stage4-mpc; \ - mv stage4-mpc mpc ; \ - mv stage3-mpc prev-mpc || test -f stage3-lean -@endif mpc -@if ppl - @cd $(HOST_SUBDIR); [ -d stage4-ppl ] || \ - mkdir stage4-ppl; \ - mv stage4-ppl ppl ; \ - mv stage3-ppl prev-ppl || test -f stage3-lean -@endif ppl -@if cloog - @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \ - mkdir stage4-cloog; \ - mv stage4-cloog cloog ; \ - mv stage3-cloog prev-cloog || test -f stage3-lean -@endif cloog -@if libelf - @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \ - mkdir stage4-libelf; \ - mv stage4-libelf libelf ; \ - mv stage3-libelf prev-libelf || test -f stage3-lean -@endif libelf -@if gold - @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \ - mkdir stage4-gold; \ - mv stage4-gold gold ; \ - mv stage3-gold prev-gold || test -f stage3-lean -@endif gold -@if intl - @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \ - mkdir stage4-intl; \ - mv stage4-intl intl ; \ - mv stage3-intl prev-intl || test -f stage3-lean -@endif intl -@if ld - @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \ - mkdir stage4-ld; \ - mv stage4-ld ld ; \ - mv stage3-ld prev-ld || test -f stage3-lean -@endif ld -@if libcpp - @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \ - mkdir stage4-libcpp; \ - mv stage4-libcpp libcpp ; \ - mv stage3-libcpp prev-libcpp || test -f stage3-lean -@endif libcpp -@if libdecnumber - @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \ - mkdir stage4-libdecnumber; \ - mv stage4-libdecnumber libdecnumber ; \ - mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean -@endif libdecnumber -@if libiberty - @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \ - mkdir stage4-libiberty; \ - mv stage4-libiberty libiberty ; \ - mv stage3-libiberty prev-libiberty || test -f stage3-lean -@endif libiberty -@if zlib - @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \ - mkdir stage4-zlib; \ - mv stage4-zlib zlib ; \ - mv stage3-zlib prev-zlib || test -f stage3-lean -@endif zlib -@if lto-plugin - @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \ - mkdir stage4-lto-plugin; \ - mv stage4-lto-plugin lto-plugin ; \ - mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean -@endif lto-plugin - @[ -d stage4-$(TARGET_SUBDIR) ] || \ - mkdir stage4-$(TARGET_SUBDIR); \ - mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ - mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean - -stage4-end:: -@if bfd - @if test -d $(HOST_SUBDIR)/bfd ; then \ - cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \ - mv prev-bfd stage3-bfd ; : ; \ - fi -@endif bfd -@if opcodes - @if test -d $(HOST_SUBDIR)/opcodes ; then \ - cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \ - mv prev-opcodes stage3-opcodes ; : ; \ - fi -@endif opcodes -@if binutils - @if test -d $(HOST_SUBDIR)/binutils ; then \ - cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \ - mv prev-binutils stage3-binutils ; : ; \ - fi -@endif binutils -@if gas - @if test -d $(HOST_SUBDIR)/gas ; then \ - cd $(HOST_SUBDIR); mv gas stage4-gas ; \ - mv prev-gas stage3-gas ; : ; \ - fi -@endif gas -@if gcc - @if test -d $(HOST_SUBDIR)/gcc ; then \ - cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \ - mv prev-gcc stage3-gcc ; : ; \ - fi -@endif gcc -@if gmp - @if test -d $(HOST_SUBDIR)/gmp ; then \ - cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \ - mv prev-gmp stage3-gmp ; : ; \ - fi -@endif gmp -@if mpfr - @if test -d $(HOST_SUBDIR)/mpfr ; then \ - cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \ - mv prev-mpfr stage3-mpfr ; : ; \ - fi -@endif mpfr -@if mpc - @if test -d $(HOST_SUBDIR)/mpc ; then \ - cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \ - mv prev-mpc stage3-mpc ; : ; \ - fi -@endif mpc -@if ppl - @if test -d $(HOST_SUBDIR)/ppl ; then \ - cd $(HOST_SUBDIR); mv ppl stage4-ppl ; \ - mv prev-ppl stage3-ppl ; : ; \ - fi -@endif ppl -@if cloog - @if test -d $(HOST_SUBDIR)/cloog ; then \ - cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \ - mv prev-cloog stage3-cloog ; : ; \ - fi -@endif cloog -@if libelf - @if test -d $(HOST_SUBDIR)/libelf ; then \ - cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \ - mv prev-libelf stage3-libelf ; : ; \ - fi -@endif libelf -@if gold - @if test -d $(HOST_SUBDIR)/gold ; then \ - cd $(HOST_SUBDIR); mv gold stage4-gold ; \ - mv prev-gold stage3-gold ; : ; \ - fi -@endif gold -@if intl - @if test -d $(HOST_SUBDIR)/intl ; then \ - cd $(HOST_SUBDIR); mv intl stage4-intl ; \ - mv prev-intl stage3-intl ; : ; \ - fi -@endif intl -@if ld - @if test -d $(HOST_SUBDIR)/ld ; then \ - cd $(HOST_SUBDIR); mv ld stage4-ld ; \ - mv prev-ld stage3-ld ; : ; \ - fi -@endif ld -@if libcpp - @if test -d $(HOST_SUBDIR)/libcpp ; then \ - cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \ - mv prev-libcpp stage3-libcpp ; : ; \ - fi -@endif libcpp -@if libdecnumber - @if test -d $(HOST_SUBDIR)/libdecnumber ; then \ - cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \ - mv prev-libdecnumber stage3-libdecnumber ; : ; \ - fi -@endif libdecnumber -@if libiberty - @if test -d $(HOST_SUBDIR)/libiberty ; then \ - cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \ - mv prev-libiberty stage3-libiberty ; : ; \ - fi -@endif libiberty -@if zlib - @if test -d $(HOST_SUBDIR)/zlib ; then \ - cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \ - mv prev-zlib stage3-zlib ; : ; \ - fi -@endif zlib -@if lto-plugin - @if test -d $(HOST_SUBDIR)/lto-plugin ; then \ - cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \ - mv prev-lto-plugin stage3-lto-plugin ; : ; \ - fi -@endif lto-plugin - @if test -d $(TARGET_SUBDIR) ; then \ - mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \ - mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \ - fi - rm -f stage_current - -# Bubble a bug fix through all the stages up to stage 4. They are -# remade, but not reconfigured. The next stage (if any) will not be -# reconfigured either. -.PHONY: stage4-bubble -stage4-bubble:: stage3-bubble - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - if test -f stage4-lean || test -f stage3-lean ; then \ - echo Skipping rebuild of stage4 ; \ - else \ - $(MAKE) stage4-start; \ - if $(LEAN); then \ - rm -rf stage2-* ; \ - $(STAMP) stage2-lean ; \ - fi; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \ - fi - $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3 - -.PHONY: all-stage4 clean-stage4 -do-clean: clean-stage4 - -# FIXME: Will not need to be conditional when toplevel bootstrap is the -# only possibility, but now it conflicts with no-bootstrap rules -@if gcc-bootstrap - -compare3: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - if test -f stage3-lean; then \ - echo Cannot compare object files as stage 3 was deleted. ; \ - exit 0 ; \ - fi; \ - : $(MAKE); $(stage); \ - rm -f .bad_compare ; \ - echo Comparing stages 3 and 4 ; \ - sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \ - files=`find stage4-* -name "*$(objext)" -print | \ - sed -n s,^stage$$sed-,,p` ; \ - for file in $${files} ; do \ - f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \ - if test ! -f $$f1; then continue; fi; \ - $(do-compare3) > /dev/null 2>&1; \ - if test $$? -eq 1; then \ - case $$file in \ - @compare_exclusions@) \ - echo warning: $$file differs ;; \ - *) \ - echo $$file differs >> .bad_compare ;; \ - esac ; \ - fi ; \ - done ; \ - if [ -f .bad_compare ]; then \ - echo "Bootstrap comparison failure!"; \ - cat .bad_compare; \ - exit 1; \ - else \ - echo Comparison successful.; \ - fi ; \ - $(STAMP) compare3 - if $(LEAN); then \ - rm -rf stage3-*; \ - $(STAMP) stage3-lean; \ - fi - - - -.PHONY: bootstrap4 bootstrap4-lean -bootstrap4: - echo stage4 > stage_final - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target - -bootstrap4-lean: - echo stage4 > stage_final - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target - - -# Rules to wipe a stage and all the following ones, also used for cleanstrap -distclean-stage3:: distclean-stage4 -.PHONY: distclean-stage4 -distclean-stage4:: - @: $(MAKE); $(stage) - @test "`cat stage_last`" != stage4 || rm -f stage_last - rm -rf stage4-* compare3 - - -@endif gcc-bootstrap - - -.PHONY: stageprofile-start stageprofile-end - -stageprofile-start:: - @: $(MAKE); $(stage); \ - echo stageprofile > stage_current ; \ - echo stageprofile > stage_last; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) -@if bfd - @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \ - mkdir stageprofile-bfd; \ - mv stageprofile-bfd bfd ; \ - mv stage1-bfd prev-bfd || test -f stage1-lean -@endif bfd -@if opcodes - @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \ - mkdir stageprofile-opcodes; \ - mv stageprofile-opcodes opcodes ; \ - mv stage1-opcodes prev-opcodes || test -f stage1-lean -@endif opcodes -@if binutils - @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \ - mkdir stageprofile-binutils; \ - mv stageprofile-binutils binutils ; \ - mv stage1-binutils prev-binutils || test -f stage1-lean -@endif binutils -@if gas - @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \ - mkdir stageprofile-gas; \ - mv stageprofile-gas gas ; \ - mv stage1-gas prev-gas || test -f stage1-lean -@endif gas -@if gcc - @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \ - mkdir stageprofile-gcc; \ - mv stageprofile-gcc gcc ; \ - mv stage1-gcc prev-gcc || test -f stage1-lean -@endif gcc -@if gmp - @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \ - mkdir stageprofile-gmp; \ - mv stageprofile-gmp gmp ; \ - mv stage1-gmp prev-gmp || test -f stage1-lean -@endif gmp -@if mpfr - @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \ - mkdir stageprofile-mpfr; \ - mv stageprofile-mpfr mpfr ; \ - mv stage1-mpfr prev-mpfr || test -f stage1-lean -@endif mpfr -@if mpc - @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \ - mkdir stageprofile-mpc; \ - mv stageprofile-mpc mpc ; \ - mv stage1-mpc prev-mpc || test -f stage1-lean -@endif mpc -@if ppl - @cd $(HOST_SUBDIR); [ -d stageprofile-ppl ] || \ - mkdir stageprofile-ppl; \ - mv stageprofile-ppl ppl ; \ - mv stage1-ppl prev-ppl || test -f stage1-lean -@endif ppl -@if cloog - @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \ - mkdir stageprofile-cloog; \ - mv stageprofile-cloog cloog ; \ - mv stage1-cloog prev-cloog || test -f stage1-lean -@endif cloog -@if libelf - @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \ - mkdir stageprofile-libelf; \ - mv stageprofile-libelf libelf ; \ - mv stage1-libelf prev-libelf || test -f stage1-lean -@endif libelf -@if gold - @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \ - mkdir stageprofile-gold; \ - mv stageprofile-gold gold ; \ - mv stage1-gold prev-gold || test -f stage1-lean -@endif gold -@if intl - @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \ - mkdir stageprofile-intl; \ - mv stageprofile-intl intl ; \ - mv stage1-intl prev-intl || test -f stage1-lean -@endif intl -@if ld - @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \ - mkdir stageprofile-ld; \ - mv stageprofile-ld ld ; \ - mv stage1-ld prev-ld || test -f stage1-lean -@endif ld -@if libcpp - @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \ - mkdir stageprofile-libcpp; \ - mv stageprofile-libcpp libcpp ; \ - mv stage1-libcpp prev-libcpp || test -f stage1-lean -@endif libcpp -@if libdecnumber - @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \ - mkdir stageprofile-libdecnumber; \ - mv stageprofile-libdecnumber libdecnumber ; \ - mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean -@endif libdecnumber -@if libiberty - @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \ - mkdir stageprofile-libiberty; \ - mv stageprofile-libiberty libiberty ; \ - mv stage1-libiberty prev-libiberty || test -f stage1-lean -@endif libiberty -@if zlib - @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \ - mkdir stageprofile-zlib; \ - mv stageprofile-zlib zlib ; \ - mv stage1-zlib prev-zlib || test -f stage1-lean -@endif zlib -@if lto-plugin - @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \ - mkdir stageprofile-lto-plugin; \ - mv stageprofile-lto-plugin lto-plugin ; \ - mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean -@endif lto-plugin - @[ -d stageprofile-$(TARGET_SUBDIR) ] || \ - mkdir stageprofile-$(TARGET_SUBDIR); \ - mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ - mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean - -stageprofile-end:: -@if bfd - @if test -d $(HOST_SUBDIR)/bfd ; then \ - cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \ - mv prev-bfd stage1-bfd ; : ; \ - fi -@endif bfd -@if opcodes - @if test -d $(HOST_SUBDIR)/opcodes ; then \ - cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \ - mv prev-opcodes stage1-opcodes ; : ; \ - fi -@endif opcodes -@if binutils - @if test -d $(HOST_SUBDIR)/binutils ; then \ - cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \ - mv prev-binutils stage1-binutils ; : ; \ - fi -@endif binutils -@if gas - @if test -d $(HOST_SUBDIR)/gas ; then \ - cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \ - mv prev-gas stage1-gas ; : ; \ - fi -@endif gas -@if gcc - @if test -d $(HOST_SUBDIR)/gcc ; then \ - cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \ - mv prev-gcc stage1-gcc ; : ; \ - fi -@endif gcc -@if gmp - @if test -d $(HOST_SUBDIR)/gmp ; then \ - cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \ - mv prev-gmp stage1-gmp ; : ; \ - fi -@endif gmp -@if mpfr - @if test -d $(HOST_SUBDIR)/mpfr ; then \ - cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \ - mv prev-mpfr stage1-mpfr ; : ; \ - fi -@endif mpfr -@if mpc - @if test -d $(HOST_SUBDIR)/mpc ; then \ - cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \ - mv prev-mpc stage1-mpc ; : ; \ - fi -@endif mpc -@if ppl - @if test -d $(HOST_SUBDIR)/ppl ; then \ - cd $(HOST_SUBDIR); mv ppl stageprofile-ppl ; \ - mv prev-ppl stage1-ppl ; : ; \ - fi -@endif ppl -@if cloog - @if test -d $(HOST_SUBDIR)/cloog ; then \ - cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \ - mv prev-cloog stage1-cloog ; : ; \ - fi -@endif cloog -@if libelf - @if test -d $(HOST_SUBDIR)/libelf ; then \ - cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \ - mv prev-libelf stage1-libelf ; : ; \ - fi -@endif libelf -@if gold - @if test -d $(HOST_SUBDIR)/gold ; then \ - cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \ - mv prev-gold stage1-gold ; : ; \ - fi -@endif gold -@if intl - @if test -d $(HOST_SUBDIR)/intl ; then \ - cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \ - mv prev-intl stage1-intl ; : ; \ - fi -@endif intl -@if ld - @if test -d $(HOST_SUBDIR)/ld ; then \ - cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \ - mv prev-ld stage1-ld ; : ; \ - fi -@endif ld -@if libcpp - @if test -d $(HOST_SUBDIR)/libcpp ; then \ - cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \ - mv prev-libcpp stage1-libcpp ; : ; \ - fi -@endif libcpp -@if libdecnumber - @if test -d $(HOST_SUBDIR)/libdecnumber ; then \ - cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \ - mv prev-libdecnumber stage1-libdecnumber ; : ; \ - fi -@endif libdecnumber -@if libiberty - @if test -d $(HOST_SUBDIR)/libiberty ; then \ - cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \ - mv prev-libiberty stage1-libiberty ; : ; \ - fi -@endif libiberty -@if zlib - @if test -d $(HOST_SUBDIR)/zlib ; then \ - cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \ - mv prev-zlib stage1-zlib ; : ; \ - fi -@endif zlib -@if lto-plugin - @if test -d $(HOST_SUBDIR)/lto-plugin ; then \ - cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \ - mv prev-lto-plugin stage1-lto-plugin ; : ; \ - fi -@endif lto-plugin - @if test -d $(TARGET_SUBDIR) ; then \ - mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \ - mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \ - fi - rm -f stage_current - -# Bubble a bug fix through all the stages up to stage profile. They are -# remade, but not reconfigured. The next stage (if any) will not be -# reconfigured either. -.PHONY: stageprofile-bubble -stageprofile-bubble:: stage1-bubble - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - if test -f stageprofile-lean || test -f stage1-lean ; then \ - echo Skipping rebuild of stageprofile ; \ - else \ - $(MAKE) stageprofile-start; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \ - fi - -.PHONY: all-stageprofile clean-stageprofile -do-clean: clean-stageprofile - -# FIXME: Will not need to be conditional when toplevel bootstrap is the -# only possibility, but now it conflicts with no-bootstrap rules -@if gcc-bootstrap - - - - -# Rules to wipe a stage and all the following ones, also used for cleanstrap -distclean-stage1:: distclean-stageprofile -.PHONY: distclean-stageprofile -distclean-stageprofile:: - @: $(MAKE); $(stage) - @test "`cat stage_last`" != stageprofile || rm -f stage_last - rm -rf stageprofile-* - - -@endif gcc-bootstrap - - -.PHONY: stagefeedback-start stagefeedback-end - -stagefeedback-start:: - @: $(MAKE); $(stage); \ - echo stagefeedback > stage_current ; \ - echo stagefeedback > stage_last; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) -@if bfd - @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \ - mkdir stagefeedback-bfd; \ - mv stagefeedback-bfd bfd ; \ - mv stageprofile-bfd prev-bfd || test -f stageprofile-lean -@endif bfd -@if opcodes - @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \ - mkdir stagefeedback-opcodes; \ - mv stagefeedback-opcodes opcodes ; \ - mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean -@endif opcodes -@if binutils - @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \ - mkdir stagefeedback-binutils; \ - mv stagefeedback-binutils binutils ; \ - mv stageprofile-binutils prev-binutils || test -f stageprofile-lean -@endif binutils -@if gas - @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \ - mkdir stagefeedback-gas; \ - mv stagefeedback-gas gas ; \ - mv stageprofile-gas prev-gas || test -f stageprofile-lean -@endif gas -@if gcc - @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \ - mkdir stagefeedback-gcc; \ - mv stagefeedback-gcc gcc ; \ - mv stageprofile-gcc prev-gcc || test -f stageprofile-lean -@endif gcc -@if gmp - @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \ - mkdir stagefeedback-gmp; \ - mv stagefeedback-gmp gmp ; \ - mv stageprofile-gmp prev-gmp || test -f stageprofile-lean -@endif gmp -@if mpfr - @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \ - mkdir stagefeedback-mpfr; \ - mv stagefeedback-mpfr mpfr ; \ - mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean -@endif mpfr -@if mpc - @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \ - mkdir stagefeedback-mpc; \ - mv stagefeedback-mpc mpc ; \ - mv stageprofile-mpc prev-mpc || test -f stageprofile-lean -@endif mpc -@if ppl - @cd $(HOST_SUBDIR); [ -d stagefeedback-ppl ] || \ - mkdir stagefeedback-ppl; \ - mv stagefeedback-ppl ppl ; \ - mv stageprofile-ppl prev-ppl || test -f stageprofile-lean -@endif ppl -@if cloog - @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \ - mkdir stagefeedback-cloog; \ - mv stagefeedback-cloog cloog ; \ - mv stageprofile-cloog prev-cloog || test -f stageprofile-lean -@endif cloog -@if libelf - @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \ - mkdir stagefeedback-libelf; \ - mv stagefeedback-libelf libelf ; \ - mv stageprofile-libelf prev-libelf || test -f stageprofile-lean -@endif libelf -@if gold - @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \ - mkdir stagefeedback-gold; \ - mv stagefeedback-gold gold ; \ - mv stageprofile-gold prev-gold || test -f stageprofile-lean -@endif gold -@if intl - @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \ - mkdir stagefeedback-intl; \ - mv stagefeedback-intl intl ; \ - mv stageprofile-intl prev-intl || test -f stageprofile-lean -@endif intl -@if ld - @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \ - mkdir stagefeedback-ld; \ - mv stagefeedback-ld ld ; \ - mv stageprofile-ld prev-ld || test -f stageprofile-lean -@endif ld -@if libcpp - @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \ - mkdir stagefeedback-libcpp; \ - mv stagefeedback-libcpp libcpp ; \ - mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean -@endif libcpp -@if libdecnumber - @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \ - mkdir stagefeedback-libdecnumber; \ - mv stagefeedback-libdecnumber libdecnumber ; \ - mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean -@endif libdecnumber -@if libiberty - @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \ - mkdir stagefeedback-libiberty; \ - mv stagefeedback-libiberty libiberty ; \ - mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean -@endif libiberty -@if zlib - @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \ - mkdir stagefeedback-zlib; \ - mv stagefeedback-zlib zlib ; \ - mv stageprofile-zlib prev-zlib || test -f stageprofile-lean -@endif zlib -@if lto-plugin - @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \ - mkdir stagefeedback-lto-plugin; \ - mv stagefeedback-lto-plugin lto-plugin ; \ - mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean -@endif lto-plugin - @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \ - mkdir stagefeedback-$(TARGET_SUBDIR); \ - mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ - mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean - -stagefeedback-end:: -@if bfd - @if test -d $(HOST_SUBDIR)/bfd ; then \ - cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \ - mv prev-bfd stageprofile-bfd ; : ; \ - fi -@endif bfd -@if opcodes - @if test -d $(HOST_SUBDIR)/opcodes ; then \ - cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \ - mv prev-opcodes stageprofile-opcodes ; : ; \ - fi -@endif opcodes -@if binutils - @if test -d $(HOST_SUBDIR)/binutils ; then \ - cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \ - mv prev-binutils stageprofile-binutils ; : ; \ - fi -@endif binutils -@if gas - @if test -d $(HOST_SUBDIR)/gas ; then \ - cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \ - mv prev-gas stageprofile-gas ; : ; \ - fi -@endif gas -@if gcc - @if test -d $(HOST_SUBDIR)/gcc ; then \ - cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \ - mv prev-gcc stageprofile-gcc ; : ; \ - fi -@endif gcc -@if gmp - @if test -d $(HOST_SUBDIR)/gmp ; then \ - cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \ - mv prev-gmp stageprofile-gmp ; : ; \ - fi -@endif gmp -@if mpfr - @if test -d $(HOST_SUBDIR)/mpfr ; then \ - cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \ - mv prev-mpfr stageprofile-mpfr ; : ; \ - fi -@endif mpfr -@if mpc - @if test -d $(HOST_SUBDIR)/mpc ; then \ - cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \ - mv prev-mpc stageprofile-mpc ; : ; \ - fi -@endif mpc -@if ppl - @if test -d $(HOST_SUBDIR)/ppl ; then \ - cd $(HOST_SUBDIR); mv ppl stagefeedback-ppl ; \ - mv prev-ppl stageprofile-ppl ; : ; \ - fi -@endif ppl -@if cloog - @if test -d $(HOST_SUBDIR)/cloog ; then \ - cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \ - mv prev-cloog stageprofile-cloog ; : ; \ - fi -@endif cloog -@if libelf - @if test -d $(HOST_SUBDIR)/libelf ; then \ - cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \ - mv prev-libelf stageprofile-libelf ; : ; \ - fi -@endif libelf -@if gold - @if test -d $(HOST_SUBDIR)/gold ; then \ - cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \ - mv prev-gold stageprofile-gold ; : ; \ - fi -@endif gold -@if intl - @if test -d $(HOST_SUBDIR)/intl ; then \ - cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \ - mv prev-intl stageprofile-intl ; : ; \ - fi -@endif intl -@if ld - @if test -d $(HOST_SUBDIR)/ld ; then \ - cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \ - mv prev-ld stageprofile-ld ; : ; \ - fi -@endif ld -@if libcpp - @if test -d $(HOST_SUBDIR)/libcpp ; then \ - cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \ - mv prev-libcpp stageprofile-libcpp ; : ; \ - fi -@endif libcpp -@if libdecnumber - @if test -d $(HOST_SUBDIR)/libdecnumber ; then \ - cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \ - mv prev-libdecnumber stageprofile-libdecnumber ; : ; \ - fi -@endif libdecnumber -@if libiberty - @if test -d $(HOST_SUBDIR)/libiberty ; then \ - cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \ - mv prev-libiberty stageprofile-libiberty ; : ; \ - fi -@endif libiberty -@if zlib - @if test -d $(HOST_SUBDIR)/zlib ; then \ - cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \ - mv prev-zlib stageprofile-zlib ; : ; \ - fi -@endif zlib -@if lto-plugin - @if test -d $(HOST_SUBDIR)/lto-plugin ; then \ - cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \ - mv prev-lto-plugin stageprofile-lto-plugin ; : ; \ - fi -@endif lto-plugin - @if test -d $(TARGET_SUBDIR) ; then \ - mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \ - mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \ - fi - rm -f stage_current - -# Bubble a bug fix through all the stages up to stage feedback. They are -# remade, but not reconfigured. The next stage (if any) will not be -# reconfigured either. -.PHONY: stagefeedback-bubble -stagefeedback-bubble:: stageprofile-bubble - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - if test -f stagefeedback-lean || test -f stageprofile-lean ; then \ - echo Skipping rebuild of stagefeedback ; \ - else \ - $(MAKE) stagefeedback-start; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \ - fi - -.PHONY: all-stagefeedback clean-stagefeedback -do-clean: clean-stagefeedback - -# FIXME: Will not need to be conditional when toplevel bootstrap is the -# only possibility, but now it conflicts with no-bootstrap rules -@if gcc-bootstrap - - - -.PHONY: profiledbootstrap profiledbootstrap-lean -profiledbootstrap: - echo stagefeedback > stage_final - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target - -profiledbootstrap-lean: - echo stagefeedback > stage_final - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target - - -# Rules to wipe a stage and all the following ones, also used for cleanstrap -distclean-stageprofile:: distclean-stagefeedback -.PHONY: distclean-stagefeedback -distclean-stagefeedback:: - @: $(MAKE); $(stage) - @test "`cat stage_last`" != stagefeedback || rm -f stage_last - rm -rf stagefeedback-* - - -@endif gcc-bootstrap - - - -stageprofile-end:: - $(MAKE) distclean-stagefeedback - -stagefeedback-start:: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - for i in prev-*; do \ - j=`echo $$i | sed s/^prev-//` ; \ - cd $$r/$$i && \ - { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \ - { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \ - done - -@if gcc-bootstrap -do-distclean: distclean-stage1 - -# Provide a GCC build when we're building target libraries. This does -# not work as a dependency, just as the minimum necessary to avoid errors. -stage_last: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble - -# Same as unstage, but not phony and defaulting to stage1-start. We place -# it in the dependency so that for example `make -j3 all-gcc' works. -stage_current: - @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi - -.PHONY: restrap -restrap:: - @: $(MAKE); $(stage) - rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-* -restrap:: all -@endif gcc-bootstrap - -# -------------------------------------- -# Dependencies between different modules -# -------------------------------------- - -# Generic dependencies for target modules on host stuff, especially gcc -@if gcc-bootstrap -configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc -configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc -configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc -configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc -configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc -configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc -configure-target-libmudflap: stage_last -configure-target-libssp: stage_last -configure-target-newlib: stage_last -configure-stage1-target-libgcc: maybe-all-stage1-gcc -configure-stage2-target-libgcc: maybe-all-stage2-gcc -configure-stage3-target-libgcc: maybe-all-stage3-gcc -configure-stage4-target-libgcc: maybe-all-stage4-gcc -configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc -configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc -configure-target-libquadmath: stage_last -configure-target-libgfortran: stage_last -configure-target-libobjc: stage_last -configure-target-libgo: stage_last -configure-target-libtermcap: stage_last -configure-target-winsup: stage_last -configure-target-libgloss: stage_last -configure-target-libffi: stage_last -configure-target-libjava: stage_last -configure-target-zlib: stage_last -configure-target-boehm-gc: stage_last -configure-target-rda: stage_last -configure-target-libada: stage_last -configure-stage1-target-libgomp: maybe-all-stage1-gcc -configure-stage2-target-libgomp: maybe-all-stage2-gcc -configure-stage3-target-libgomp: maybe-all-stage3-gcc -configure-stage4-target-libgomp: maybe-all-stage4-gcc -configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc -configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc -@endif gcc-bootstrap - -@if gcc-no-bootstrap -configure-target-libstdc++-v3: maybe-all-gcc -configure-target-libmudflap: maybe-all-gcc -configure-target-libssp: maybe-all-gcc -configure-target-newlib: maybe-all-gcc -configure-target-libgcc: maybe-all-gcc -configure-target-libquadmath: maybe-all-gcc -configure-target-libgfortran: maybe-all-gcc -configure-target-libobjc: maybe-all-gcc -configure-target-libgo: maybe-all-gcc -configure-target-libtermcap: maybe-all-gcc -configure-target-winsup: maybe-all-gcc -configure-target-libgloss: maybe-all-gcc -configure-target-libffi: maybe-all-gcc -configure-target-libjava: maybe-all-gcc -configure-target-zlib: maybe-all-gcc -configure-target-boehm-gc: maybe-all-gcc -configure-target-rda: maybe-all-gcc -configure-target-libada: maybe-all-gcc -configure-target-libgomp: maybe-all-gcc -@endif gcc-no-bootstrap - - -# There are two types of dependencies here: 'hard' dependencies, where one -# module simply won't build without the other; and 'soft' dependencies, where -# if the depended-on module is missing, the depending module will do without -# or find a substitute somewhere (perhaps installed). Soft dependencies -# are made here to depend on a 'maybe-' target. If you're not sure, -# it's safer to use a soft dependency. - - - - - - -# With all the machinery above in place, it is pretty easy to generate -# dependencies. Host dependencies are a bit more complex because we have -# to check for bootstrap/prebootstrap dependencies. To resolve -# prebootstrap dependencies, prebootstrap modules are gathered in -# a hash table. -all-build-bison: maybe-all-build-texinfo -all-build-flex: maybe-all-build-texinfo -all-build-flex: maybe-all-build-bison -all-build-flex: maybe-all-build-m4 -all-build-libiberty: maybe-all-build-texinfo -all-build-m4: maybe-all-build-texinfo -all-build-fixincludes: maybe-all-build-libiberty -configure-gcc: maybe-configure-intl - -configure-stage1-gcc: maybe-configure-stage1-intl -configure-stage2-gcc: maybe-configure-stage2-intl -configure-stage3-gcc: maybe-configure-stage3-intl -configure-stage4-gcc: maybe-configure-stage4-intl -configure-stageprofile-gcc: maybe-configure-stageprofile-intl -configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl -configure-gcc: maybe-all-lto-plugin - -configure-stage1-gcc: maybe-all-stage1-lto-plugin -configure-stage2-gcc: maybe-all-stage2-lto-plugin -configure-stage3-gcc: maybe-all-stage3-lto-plugin -configure-stage4-gcc: maybe-all-stage4-lto-plugin -configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin -configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin -configure-gcc: maybe-all-binutils - -configure-stage1-gcc: maybe-all-stage1-binutils -configure-stage2-gcc: maybe-all-stage2-binutils -configure-stage3-gcc: maybe-all-stage3-binutils -configure-stage4-gcc: maybe-all-stage4-binutils -configure-stageprofile-gcc: maybe-all-stageprofile-binutils -configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils -configure-gcc: maybe-all-gas - -configure-stage1-gcc: maybe-all-stage1-gas -configure-stage2-gcc: maybe-all-stage2-gas -configure-stage3-gcc: maybe-all-stage3-gas -configure-stage4-gcc: maybe-all-stage4-gas -configure-stageprofile-gcc: maybe-all-stageprofile-gas -configure-stagefeedback-gcc: maybe-all-stagefeedback-gas -configure-gcc: maybe-all-ld - -configure-stage1-gcc: maybe-all-stage1-ld -configure-stage2-gcc: maybe-all-stage2-ld -configure-stage3-gcc: maybe-all-stage3-ld -configure-stage4-gcc: maybe-all-stage4-ld -configure-stageprofile-gcc: maybe-all-stageprofile-ld -configure-stagefeedback-gcc: maybe-all-stagefeedback-ld -configure-gcc: maybe-all-gold - -configure-stage1-gcc: maybe-all-stage1-gold -configure-stage2-gcc: maybe-all-stage2-gold -configure-stage3-gcc: maybe-all-stage3-gold -configure-stage4-gcc: maybe-all-stage4-gold -configure-stageprofile-gcc: maybe-all-stageprofile-gold -configure-stagefeedback-gcc: maybe-all-stagefeedback-gold -configure-gcc: maybe-all-libelf - -configure-stage1-gcc: maybe-all-stage1-libelf -configure-stage2-gcc: maybe-all-stage2-libelf -configure-stage3-gcc: maybe-all-stage3-libelf -configure-stage4-gcc: maybe-all-stage4-libelf -configure-stageprofile-gcc: maybe-all-stageprofile-libelf -configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf -all-gcc: all-libiberty - -all-stage1-gcc: all-stage1-libiberty -all-stage2-gcc: all-stage2-libiberty -all-stage3-gcc: all-stage3-libiberty -all-stage4-gcc: all-stage4-libiberty -all-stageprofile-gcc: all-stageprofile-libiberty -all-stagefeedback-gcc: all-stagefeedback-libiberty -all-gcc: maybe-all-gmp - -all-stage1-gcc: maybe-all-stage1-gmp -all-stage2-gcc: maybe-all-stage2-gmp -all-stage3-gcc: maybe-all-stage3-gmp -all-stage4-gcc: maybe-all-stage4-gmp -all-stageprofile-gcc: maybe-all-stageprofile-gmp -all-stagefeedback-gcc: maybe-all-stagefeedback-gmp -all-gcc: maybe-all-intl - -all-stage1-gcc: maybe-all-stage1-intl -all-stage2-gcc: maybe-all-stage2-intl -all-stage3-gcc: maybe-all-stage3-intl -all-stage4-gcc: maybe-all-stage4-intl -all-stageprofile-gcc: maybe-all-stageprofile-intl -all-stagefeedback-gcc: maybe-all-stagefeedback-intl -all-gcc: maybe-all-mpfr - -all-stage1-gcc: maybe-all-stage1-mpfr -all-stage2-gcc: maybe-all-stage2-mpfr -all-stage3-gcc: maybe-all-stage3-mpfr -all-stage4-gcc: maybe-all-stage4-mpfr -all-stageprofile-gcc: maybe-all-stageprofile-mpfr -all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr -all-gcc: maybe-all-mpc - -all-stage1-gcc: maybe-all-stage1-mpc -all-stage2-gcc: maybe-all-stage2-mpc -all-stage3-gcc: maybe-all-stage3-mpc -all-stage4-gcc: maybe-all-stage4-mpc -all-stageprofile-gcc: maybe-all-stageprofile-mpc -all-stagefeedback-gcc: maybe-all-stagefeedback-mpc -all-gcc: maybe-all-ppl - -all-stage1-gcc: maybe-all-stage1-ppl -all-stage2-gcc: maybe-all-stage2-ppl -all-stage3-gcc: maybe-all-stage3-ppl -all-stage4-gcc: maybe-all-stage4-ppl -all-stageprofile-gcc: maybe-all-stageprofile-ppl -all-stagefeedback-gcc: maybe-all-stagefeedback-ppl -all-gcc: maybe-all-cloog - -all-stage1-gcc: maybe-all-stage1-cloog -all-stage2-gcc: maybe-all-stage2-cloog -all-stage3-gcc: maybe-all-stage3-cloog -all-stage4-gcc: maybe-all-stage4-cloog -all-stageprofile-gcc: maybe-all-stageprofile-cloog -all-stagefeedback-gcc: maybe-all-stagefeedback-cloog -all-gcc: maybe-all-build-texinfo - -all-stage1-gcc: maybe-all-build-texinfo -all-stage2-gcc: maybe-all-build-texinfo -all-stage3-gcc: maybe-all-build-texinfo -all-stage4-gcc: maybe-all-build-texinfo -all-stageprofile-gcc: maybe-all-build-texinfo -all-stagefeedback-gcc: maybe-all-build-texinfo -all-gcc: maybe-all-build-bison - -all-stage1-gcc: maybe-all-build-bison -all-stage2-gcc: maybe-all-build-bison -all-stage3-gcc: maybe-all-build-bison -all-stage4-gcc: maybe-all-build-bison -all-stageprofile-gcc: maybe-all-build-bison -all-stagefeedback-gcc: maybe-all-build-bison -all-gcc: maybe-all-build-flex - -all-stage1-gcc: maybe-all-build-flex -all-stage2-gcc: maybe-all-build-flex -all-stage3-gcc: maybe-all-build-flex -all-stage4-gcc: maybe-all-build-flex -all-stageprofile-gcc: maybe-all-build-flex -all-stagefeedback-gcc: maybe-all-build-flex -all-gcc: maybe-all-build-libiberty - -all-stage1-gcc: maybe-all-build-libiberty -all-stage2-gcc: maybe-all-build-libiberty -all-stage3-gcc: maybe-all-build-libiberty -all-stage4-gcc: maybe-all-build-libiberty -all-stageprofile-gcc: maybe-all-build-libiberty -all-stagefeedback-gcc: maybe-all-build-libiberty -all-gcc: maybe-all-build-fixincludes - -all-stage1-gcc: maybe-all-build-fixincludes -all-stage2-gcc: maybe-all-build-fixincludes -all-stage3-gcc: maybe-all-build-fixincludes -all-stage4-gcc: maybe-all-build-fixincludes -all-stageprofile-gcc: maybe-all-build-fixincludes -all-stagefeedback-gcc: maybe-all-build-fixincludes -all-gcc: maybe-all-zlib - -all-stage1-gcc: maybe-all-stage1-zlib -all-stage2-gcc: maybe-all-stage2-zlib -all-stage3-gcc: maybe-all-stage3-zlib -all-stage4-gcc: maybe-all-stage4-zlib -all-stageprofile-gcc: maybe-all-stageprofile-zlib -all-stagefeedback-gcc: maybe-all-stagefeedback-zlib -all-gcc: all-libcpp - -all-stage1-gcc: all-stage1-libcpp -all-stage2-gcc: all-stage2-libcpp -all-stage3-gcc: all-stage3-libcpp -all-stage4-gcc: all-stage4-libcpp -all-stageprofile-gcc: all-stageprofile-libcpp -all-stagefeedback-gcc: all-stagefeedback-libcpp -all-gcc: all-libdecnumber - -all-stage1-gcc: all-stage1-libdecnumber -all-stage2-gcc: all-stage2-libdecnumber -all-stage3-gcc: all-stage3-libdecnumber -all-stage4-gcc: all-stage4-libdecnumber -all-stageprofile-gcc: all-stageprofile-libdecnumber -all-stagefeedback-gcc: all-stagefeedback-libdecnumber -all-gcc: maybe-all-libiberty - -all-stage1-gcc: maybe-all-stage1-libiberty -all-stage2-gcc: maybe-all-stage2-libiberty -all-stage3-gcc: maybe-all-stage3-libiberty -all-stage4-gcc: maybe-all-stage4-libiberty -all-stageprofile-gcc: maybe-all-stageprofile-libiberty -all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty -all-gcc: maybe-all-fixincludes -all-gcc: maybe-all-lto-plugin - -all-stage1-gcc: maybe-all-stage1-lto-plugin -all-stage2-gcc: maybe-all-stage2-lto-plugin -all-stage3-gcc: maybe-all-stage3-lto-plugin -all-stage4-gcc: maybe-all-stage4-lto-plugin -all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin -all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin -info-gcc: maybe-all-build-libiberty - -info-stage1-gcc: maybe-all-build-libiberty -info-stage2-gcc: maybe-all-build-libiberty -info-stage3-gcc: maybe-all-build-libiberty -info-stage4-gcc: maybe-all-build-libiberty -info-stageprofile-gcc: maybe-all-build-libiberty -info-stagefeedback-gcc: maybe-all-build-libiberty -dvi-gcc: maybe-all-build-libiberty - -dvi-stage1-gcc: maybe-all-build-libiberty -dvi-stage2-gcc: maybe-all-build-libiberty -dvi-stage3-gcc: maybe-all-build-libiberty -dvi-stage4-gcc: maybe-all-build-libiberty -dvi-stageprofile-gcc: maybe-all-build-libiberty -dvi-stagefeedback-gcc: maybe-all-build-libiberty -pdf-gcc: maybe-all-build-libiberty - -pdf-stage1-gcc: maybe-all-build-libiberty -pdf-stage2-gcc: maybe-all-build-libiberty -pdf-stage3-gcc: maybe-all-build-libiberty -pdf-stage4-gcc: maybe-all-build-libiberty -pdf-stageprofile-gcc: maybe-all-build-libiberty -pdf-stagefeedback-gcc: maybe-all-build-libiberty -html-gcc: maybe-all-build-libiberty - -html-stage1-gcc: maybe-all-build-libiberty -html-stage2-gcc: maybe-all-build-libiberty -html-stage3-gcc: maybe-all-build-libiberty -html-stage4-gcc: maybe-all-build-libiberty -html-stageprofile-gcc: maybe-all-build-libiberty -html-stagefeedback-gcc: maybe-all-build-libiberty -install-gcc: maybe-install-fixincludes -install-gcc: maybe-install-lto-plugin -install-strip-gcc: maybe-install-strip-fixincludes -configure-libcpp: configure-libiberty - -configure-stage1-libcpp: configure-stage1-libiberty -configure-stage2-libcpp: configure-stage2-libiberty -configure-stage3-libcpp: configure-stage3-libiberty -configure-stage4-libcpp: configure-stage4-libiberty -configure-stageprofile-libcpp: configure-stageprofile-libiberty -configure-stagefeedback-libcpp: configure-stagefeedback-libiberty -configure-libcpp: maybe-configure-intl - -configure-stage1-libcpp: maybe-configure-stage1-intl -configure-stage2-libcpp: maybe-configure-stage2-intl -configure-stage3-libcpp: maybe-configure-stage3-intl -configure-stage4-libcpp: maybe-configure-stage4-intl -configure-stageprofile-libcpp: maybe-configure-stageprofile-intl -configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl -all-libcpp: all-libiberty - -all-stage1-libcpp: all-stage1-libiberty -all-stage2-libcpp: all-stage2-libiberty -all-stage3-libcpp: all-stage3-libiberty -all-stage4-libcpp: all-stage4-libiberty -all-stageprofile-libcpp: all-stageprofile-libiberty -all-stagefeedback-libcpp: all-stagefeedback-libiberty -all-libcpp: maybe-all-intl - -all-stage1-libcpp: maybe-all-stage1-intl -all-stage2-libcpp: maybe-all-stage2-intl -all-stage3-libcpp: maybe-all-stage3-intl -all-stage4-libcpp: maybe-all-stage4-intl -all-stageprofile-libcpp: maybe-all-stageprofile-intl -all-stagefeedback-libcpp: maybe-all-stagefeedback-intl -all-fixincludes: maybe-all-libiberty -all-gnattools: maybe-all-target-libada -all-lto-plugin: maybe-all-libiberty - -all-stage1-lto-plugin: maybe-all-stage1-libiberty -all-stage2-lto-plugin: maybe-all-stage2-libiberty -all-stage3-lto-plugin: maybe-all-stage3-libiberty -all-stage4-lto-plugin: maybe-all-stage4-libiberty -all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty -all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty -all-utils: maybe-all-libiberty -configure-mpfr: maybe-all-gmp - -configure-stage1-mpfr: maybe-all-stage1-gmp -configure-stage2-mpfr: maybe-all-stage2-gmp -configure-stage3-mpfr: maybe-all-stage3-gmp -configure-stage4-mpfr: maybe-all-stage4-gmp -configure-stageprofile-mpfr: maybe-all-stageprofile-gmp -configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp -configure-mpc: maybe-all-mpfr - -configure-stage1-mpc: maybe-all-stage1-mpfr -configure-stage2-mpc: maybe-all-stage2-mpfr -configure-stage3-mpc: maybe-all-stage3-mpfr -configure-stage4-mpc: maybe-all-stage4-mpfr -configure-stageprofile-mpc: maybe-all-stageprofile-mpfr -configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr -configure-ppl: maybe-all-gmp - -configure-stage1-ppl: maybe-all-stage1-gmp -configure-stage2-ppl: maybe-all-stage2-gmp -configure-stage3-ppl: maybe-all-stage3-gmp -configure-stage4-ppl: maybe-all-stage4-gmp -configure-stageprofile-ppl: maybe-all-stageprofile-gmp -configure-stagefeedback-ppl: maybe-all-stagefeedback-gmp -configure-ppl: maybe-all-mpfr - -configure-stage1-ppl: maybe-all-stage1-mpfr -configure-stage2-ppl: maybe-all-stage2-mpfr -configure-stage3-ppl: maybe-all-stage3-mpfr -configure-stage4-ppl: maybe-all-stage4-mpfr -configure-stageprofile-ppl: maybe-all-stageprofile-mpfr -configure-stagefeedback-ppl: maybe-all-stagefeedback-mpfr -configure-cloog: maybe-all-ppl - -configure-stage1-cloog: maybe-all-stage1-ppl -configure-stage2-cloog: maybe-all-stage2-ppl -configure-stage3-cloog: maybe-all-stage3-ppl -configure-stage4-cloog: maybe-all-stage4-ppl -configure-stageprofile-cloog: maybe-all-stageprofile-ppl -configure-stagefeedback-cloog: maybe-all-stagefeedback-ppl -configure-gdb: maybe-all-intl -configure-gdb: maybe-configure-sim -configure-gdb: maybe-all-bfd -configure-gdb: maybe-all-libiconv -all-gdb: maybe-all-libiberty -all-gdb: maybe-all-libiconv -all-gdb: maybe-all-opcodes -all-gdb: maybe-all-readline -all-gdb: maybe-all-build-bison -all-gdb: maybe-all-sim -all-gdb: maybe-all-libdecnumber -all-gdb: maybe-all-libtermcap -configure-libgui: maybe-configure-tcl -configure-libgui: maybe-configure-tk -all-libgui: maybe-all-tcl -all-libgui: maybe-all-tk -all-libgui: maybe-all-itcl -configure-bfd: configure-libiberty - -configure-stage1-bfd: configure-stage1-libiberty -configure-stage2-bfd: configure-stage2-libiberty -configure-stage3-bfd: configure-stage3-libiberty -configure-stage4-bfd: configure-stage4-libiberty -configure-stageprofile-bfd: configure-stageprofile-libiberty -configure-stagefeedback-bfd: configure-stagefeedback-libiberty -configure-bfd: maybe-configure-intl - -configure-stage1-bfd: maybe-configure-stage1-intl -configure-stage2-bfd: maybe-configure-stage2-intl -configure-stage3-bfd: maybe-configure-stage3-intl -configure-stage4-bfd: maybe-configure-stage4-intl -configure-stageprofile-bfd: maybe-configure-stageprofile-intl -configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl -all-bfd: maybe-all-libiberty - -all-stage1-bfd: maybe-all-stage1-libiberty -all-stage2-bfd: maybe-all-stage2-libiberty -all-stage3-bfd: maybe-all-stage3-libiberty -all-stage4-bfd: maybe-all-stage4-libiberty -all-stageprofile-bfd: maybe-all-stageprofile-libiberty -all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty -all-bfd: maybe-all-intl - -all-stage1-bfd: maybe-all-stage1-intl -all-stage2-bfd: maybe-all-stage2-intl -all-stage3-bfd: maybe-all-stage3-intl -all-stage4-bfd: maybe-all-stage4-intl -all-stageprofile-bfd: maybe-all-stageprofile-intl -all-stagefeedback-bfd: maybe-all-stagefeedback-intl -configure-opcodes: configure-libiberty - -configure-stage1-opcodes: configure-stage1-libiberty -configure-stage2-opcodes: configure-stage2-libiberty -configure-stage3-opcodes: configure-stage3-libiberty -configure-stage4-opcodes: configure-stage4-libiberty -configure-stageprofile-opcodes: configure-stageprofile-libiberty -configure-stagefeedback-opcodes: configure-stagefeedback-libiberty -all-opcodes: maybe-all-libiberty - -all-stage1-opcodes: maybe-all-stage1-libiberty -all-stage2-opcodes: maybe-all-stage2-libiberty -all-stage3-opcodes: maybe-all-stage3-libiberty -all-stage4-opcodes: maybe-all-stage4-libiberty -all-stageprofile-opcodes: maybe-all-stageprofile-libiberty -all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty -configure-binutils: maybe-configure-intl - -configure-stage1-binutils: maybe-configure-stage1-intl -configure-stage2-binutils: maybe-configure-stage2-intl -configure-stage3-binutils: maybe-configure-stage3-intl -configure-stage4-binutils: maybe-configure-stage4-intl -configure-stageprofile-binutils: maybe-configure-stageprofile-intl -configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl -all-binutils: maybe-all-libiberty - -all-stage1-binutils: maybe-all-stage1-libiberty -all-stage2-binutils: maybe-all-stage2-libiberty -all-stage3-binutils: maybe-all-stage3-libiberty -all-stage4-binutils: maybe-all-stage4-libiberty -all-stageprofile-binutils: maybe-all-stageprofile-libiberty -all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty -all-binutils: maybe-all-opcodes - -all-stage1-binutils: maybe-all-stage1-opcodes -all-stage2-binutils: maybe-all-stage2-opcodes -all-stage3-binutils: maybe-all-stage3-opcodes -all-stage4-binutils: maybe-all-stage4-opcodes -all-stageprofile-binutils: maybe-all-stageprofile-opcodes -all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes -all-binutils: maybe-all-bfd - -all-stage1-binutils: maybe-all-stage1-bfd -all-stage2-binutils: maybe-all-stage2-bfd -all-stage3-binutils: maybe-all-stage3-bfd -all-stage4-binutils: maybe-all-stage4-bfd -all-stageprofile-binutils: maybe-all-stageprofile-bfd -all-stagefeedback-binutils: maybe-all-stagefeedback-bfd -all-binutils: maybe-all-build-flex - -all-stage1-binutils: maybe-all-build-flex -all-stage2-binutils: maybe-all-build-flex -all-stage3-binutils: maybe-all-build-flex -all-stage4-binutils: maybe-all-build-flex -all-stageprofile-binutils: maybe-all-build-flex -all-stagefeedback-binutils: maybe-all-build-flex -all-binutils: maybe-all-build-bison - -all-stage1-binutils: maybe-all-build-bison -all-stage2-binutils: maybe-all-build-bison -all-stage3-binutils: maybe-all-build-bison -all-stage4-binutils: maybe-all-build-bison -all-stageprofile-binutils: maybe-all-build-bison -all-stagefeedback-binutils: maybe-all-build-bison -all-binutils: maybe-all-intl - -all-stage1-binutils: maybe-all-stage1-intl -all-stage2-binutils: maybe-all-stage2-intl -all-stage3-binutils: maybe-all-stage3-intl -all-stage4-binutils: maybe-all-stage4-intl -all-stageprofile-binutils: maybe-all-stageprofile-intl -all-stagefeedback-binutils: maybe-all-stagefeedback-intl -install-binutils: maybe-install-opcodes -install-strip-binutils: maybe-install-strip-opcodes -install-opcodes: maybe-install-bfd -install-strip-opcodes: maybe-install-strip-bfd -configure-gas: maybe-configure-intl - -configure-stage1-gas: maybe-configure-stage1-intl -configure-stage2-gas: maybe-configure-stage2-intl -configure-stage3-gas: maybe-configure-stage3-intl -configure-stage4-gas: maybe-configure-stage4-intl -configure-stageprofile-gas: maybe-configure-stageprofile-intl -configure-stagefeedback-gas: maybe-configure-stagefeedback-intl -all-gas: maybe-all-libiberty - -all-stage1-gas: maybe-all-stage1-libiberty -all-stage2-gas: maybe-all-stage2-libiberty -all-stage3-gas: maybe-all-stage3-libiberty -all-stage4-gas: maybe-all-stage4-libiberty -all-stageprofile-gas: maybe-all-stageprofile-libiberty -all-stagefeedback-gas: maybe-all-stagefeedback-libiberty -all-gas: maybe-all-opcodes - -all-stage1-gas: maybe-all-stage1-opcodes -all-stage2-gas: maybe-all-stage2-opcodes -all-stage3-gas: maybe-all-stage3-opcodes -all-stage4-gas: maybe-all-stage4-opcodes -all-stageprofile-gas: maybe-all-stageprofile-opcodes -all-stagefeedback-gas: maybe-all-stagefeedback-opcodes -all-gas: maybe-all-bfd - -all-stage1-gas: maybe-all-stage1-bfd -all-stage2-gas: maybe-all-stage2-bfd -all-stage3-gas: maybe-all-stage3-bfd -all-stage4-gas: maybe-all-stage4-bfd -all-stageprofile-gas: maybe-all-stageprofile-bfd -all-stagefeedback-gas: maybe-all-stagefeedback-bfd -all-gas: maybe-all-intl - -all-stage1-gas: maybe-all-stage1-intl -all-stage2-gas: maybe-all-stage2-intl -all-stage3-gas: maybe-all-stage3-intl -all-stage4-gas: maybe-all-stage4-intl -all-stageprofile-gas: maybe-all-stageprofile-intl -all-stagefeedback-gas: maybe-all-stagefeedback-intl -configure-gprof: maybe-configure-intl -all-gprof: maybe-all-libiberty -all-gprof: maybe-all-bfd -all-gprof: maybe-all-opcodes -all-gprof: maybe-all-intl -configure-ld: maybe-configure-intl - -configure-stage1-ld: maybe-configure-stage1-intl -configure-stage2-ld: maybe-configure-stage2-intl -configure-stage3-ld: maybe-configure-stage3-intl -configure-stage4-ld: maybe-configure-stage4-intl -configure-stageprofile-ld: maybe-configure-stageprofile-intl -configure-stagefeedback-ld: maybe-configure-stagefeedback-intl -all-ld: maybe-all-libiberty - -all-stage1-ld: maybe-all-stage1-libiberty -all-stage2-ld: maybe-all-stage2-libiberty -all-stage3-ld: maybe-all-stage3-libiberty -all-stage4-ld: maybe-all-stage4-libiberty -all-stageprofile-ld: maybe-all-stageprofile-libiberty -all-stagefeedback-ld: maybe-all-stagefeedback-libiberty -all-ld: maybe-all-bfd - -all-stage1-ld: maybe-all-stage1-bfd -all-stage2-ld: maybe-all-stage2-bfd -all-stage3-ld: maybe-all-stage3-bfd -all-stage4-ld: maybe-all-stage4-bfd -all-stageprofile-ld: maybe-all-stageprofile-bfd -all-stagefeedback-ld: maybe-all-stagefeedback-bfd -all-ld: maybe-all-opcodes - -all-stage1-ld: maybe-all-stage1-opcodes -all-stage2-ld: maybe-all-stage2-opcodes -all-stage3-ld: maybe-all-stage3-opcodes -all-stage4-ld: maybe-all-stage4-opcodes -all-stageprofile-ld: maybe-all-stageprofile-opcodes -all-stagefeedback-ld: maybe-all-stagefeedback-opcodes -all-ld: maybe-all-build-bison - -all-stage1-ld: maybe-all-build-bison -all-stage2-ld: maybe-all-build-bison -all-stage3-ld: maybe-all-build-bison -all-stage4-ld: maybe-all-build-bison -all-stageprofile-ld: maybe-all-build-bison -all-stagefeedback-ld: maybe-all-build-bison -all-ld: maybe-all-build-flex - -all-stage1-ld: maybe-all-build-flex -all-stage2-ld: maybe-all-build-flex -all-stage3-ld: maybe-all-build-flex -all-stage4-ld: maybe-all-build-flex -all-stageprofile-ld: maybe-all-build-flex -all-stagefeedback-ld: maybe-all-build-flex -all-ld: maybe-all-intl - -all-stage1-ld: maybe-all-stage1-intl -all-stage2-ld: maybe-all-stage2-intl -all-stage3-ld: maybe-all-stage3-intl -all-stage4-ld: maybe-all-stage4-intl -all-stageprofile-ld: maybe-all-stageprofile-intl -all-stagefeedback-ld: maybe-all-stagefeedback-intl -install-ld: maybe-install-gold -install-strip-ld: maybe-install-strip-gold -configure-gold: maybe-configure-intl - -configure-stage1-gold: maybe-configure-stage1-intl -configure-stage2-gold: maybe-configure-stage2-intl -configure-stage3-gold: maybe-configure-stage3-intl -configure-stage4-gold: maybe-configure-stage4-intl -configure-stageprofile-gold: maybe-configure-stageprofile-intl -configure-stagefeedback-gold: maybe-configure-stagefeedback-intl -all-gold: maybe-all-libiberty - -all-stage1-gold: maybe-all-stage1-libiberty -all-stage2-gold: maybe-all-stage2-libiberty -all-stage3-gold: maybe-all-stage3-libiberty -all-stage4-gold: maybe-all-stage4-libiberty -all-stageprofile-gold: maybe-all-stageprofile-libiberty -all-stagefeedback-gold: maybe-all-stagefeedback-libiberty -all-gold: maybe-all-intl - -all-stage1-gold: maybe-all-stage1-intl -all-stage2-gold: maybe-all-stage2-intl -all-stage3-gold: maybe-all-stage3-intl -all-stage4-gold: maybe-all-stage4-intl -all-stageprofile-gold: maybe-all-stageprofile-intl -all-stagefeedback-gold: maybe-all-stagefeedback-intl -all-gold: maybe-all-bfd - -all-stage1-gold: maybe-all-stage1-bfd -all-stage2-gold: maybe-all-stage2-bfd -all-stage3-gold: maybe-all-stage3-bfd -all-stage4-gold: maybe-all-stage4-bfd -all-stageprofile-gold: maybe-all-stageprofile-bfd -all-stagefeedback-gold: maybe-all-stagefeedback-bfd -all-gold: maybe-all-build-bison - -all-stage1-gold: maybe-all-build-bison -all-stage2-gold: maybe-all-build-bison -all-stage3-gold: maybe-all-build-bison -all-stage4-gold: maybe-all-build-bison -all-stageprofile-gold: maybe-all-build-bison -all-stagefeedback-gold: maybe-all-build-bison -check-gold: maybe-all-binutils - -check-stage1-gold: maybe-all-stage1-binutils -check-stage2-gold: maybe-all-stage2-binutils -check-stage3-gold: maybe-all-stage3-binutils -check-stage4-gold: maybe-all-stage4-binutils -check-stageprofile-gold: maybe-all-stageprofile-binutils -check-stagefeedback-gold: maybe-all-stagefeedback-binutils -check-gold: maybe-all-gas - -check-stage1-gold: maybe-all-stage1-gas -check-stage2-gold: maybe-all-stage2-gas -check-stage3-gold: maybe-all-stage3-gas -check-stage4-gold: maybe-all-stage4-gas -check-stageprofile-gold: maybe-all-stageprofile-gas -check-stagefeedback-gold: maybe-all-stagefeedback-gas -configure-opcodes: maybe-configure-intl - -configure-stage1-opcodes: maybe-configure-stage1-intl -configure-stage2-opcodes: maybe-configure-stage2-intl -configure-stage3-opcodes: maybe-configure-stage3-intl -configure-stage4-opcodes: maybe-configure-stage4-intl -configure-stageprofile-opcodes: maybe-configure-stageprofile-intl -configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl -all-opcodes: maybe-all-bfd - -all-stage1-opcodes: maybe-all-stage1-bfd -all-stage2-opcodes: maybe-all-stage2-bfd -all-stage3-opcodes: maybe-all-stage3-bfd -all-stage4-opcodes: maybe-all-stage4-bfd -all-stageprofile-opcodes: maybe-all-stageprofile-bfd -all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd -all-opcodes: maybe-all-libiberty - -all-stage1-opcodes: maybe-all-stage1-libiberty -all-stage2-opcodes: maybe-all-stage2-libiberty -all-stage3-opcodes: maybe-all-stage3-libiberty -all-stage4-opcodes: maybe-all-stage4-libiberty -all-stageprofile-opcodes: maybe-all-stageprofile-libiberty -all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty -all-opcodes: maybe-all-intl - -all-stage1-opcodes: maybe-all-stage1-intl -all-stage2-opcodes: maybe-all-stage2-intl -all-stage3-opcodes: maybe-all-stage3-intl -all-stage4-opcodes: maybe-all-stage4-intl -all-stageprofile-opcodes: maybe-all-stageprofile-intl -all-stagefeedback-opcodes: maybe-all-stagefeedback-intl -all-dejagnu: maybe-all-tcl -all-dejagnu: maybe-all-expect -all-dejagnu: maybe-all-tk -configure-expect: maybe-configure-tcl -configure-expect: maybe-configure-tk -all-expect: maybe-all-tcl -all-expect: maybe-all-tk -configure-itcl: maybe-configure-tcl -configure-itcl: maybe-configure-tk -all-itcl: maybe-all-tcl -all-itcl: maybe-all-tk -install-itcl: maybe-install-tcl -install-strip-itcl: maybe-install-strip-tcl -configure-tk: maybe-configure-tcl -all-tk: maybe-all-tcl -all-sid: maybe-all-libiberty -all-sid: maybe-all-bfd -all-sid: maybe-all-opcodes -all-sid: maybe-all-tcl -all-sid: maybe-all-tk -install-sid: maybe-install-tcl -install-strip-sid: maybe-install-strip-tcl -install-sid: maybe-install-tk -install-strip-sid: maybe-install-strip-tk -configure-sim: maybe-configure-intl -all-sim: maybe-all-intl -all-sim: maybe-all-libiberty -all-sim: maybe-all-bfd -all-sim: maybe-all-opcodes -all-sim: maybe-all-readline -all-sim: maybe-configure-gdb -all-fastjar: maybe-all-zlib -all-fastjar: maybe-all-build-texinfo -all-fastjar: maybe-all-libiberty -all-bison: maybe-all-intl -all-bison: maybe-all-build-texinfo -all-flex: maybe-all-build-bison -all-flex: maybe-all-intl -all-flex: maybe-all-m4 -all-flex: maybe-all-build-texinfo -all-m4: maybe-all-intl -all-m4: maybe-all-build-texinfo -configure-target-boehm-gc: maybe-all-target-libstdc++-v3 -configure-target-fastjar: maybe-configure-target-zlib -all-target-fastjar: maybe-all-target-zlib -configure-target-libgo: maybe-configure-target-libffi -configure-target-libgo: maybe-all-target-libstdc++-v3 -all-target-libgo: maybe-all-target-libffi -configure-target-libjava: maybe-configure-target-zlib -configure-target-libjava: maybe-configure-target-boehm-gc -configure-target-libjava: maybe-configure-target-libffi -all-target-libjava: maybe-all-fastjar -all-target-libjava: maybe-all-target-zlib -all-target-libjava: maybe-all-target-boehm-gc -all-target-libjava: maybe-all-target-libffi -configure-target-libobjc: maybe-configure-target-boehm-gc -all-target-libobjc: maybe-all-target-boehm-gc -configure-target-libstdc++-v3: maybe-configure-target-libgomp - -configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp -configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp -configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp -configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp -configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp -configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp -all-target-libstdc++-v3: maybe-configure-target-libgomp - -all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp -all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp -all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp -all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp -all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp -all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp -all-target-libgloss: maybe-all-target-newlib -all-target-winsup: maybe-all-target-libtermcap -configure-target-newlib: maybe-all-binutils -configure-target-newlib: maybe-all-ld -configure-target-libgfortran: maybe-all-target-libquadmath - - -# Dependencies for target modules on other target modules are -# described by lang_env_dependencies; the defaults apply to anything -# not mentioned there. - - -@if gcc-bootstrap -configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc -configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc -configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc -configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc -configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc -configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc -configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc -configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc -configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc -configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc -configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc -configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc -@endif gcc-bootstrap - -@if gcc-no-bootstrap -configure-target-libstdc++-v3: maybe-all-target-libgcc -configure-target-libmudflap: maybe-all-target-libgcc -configure-target-libssp: maybe-all-target-libgcc -configure-target-newlib: maybe-all-target-libgcc -configure-target-libquadmath: maybe-all-target-libgcc -configure-target-libgfortran: maybe-all-target-libgcc -configure-target-libobjc: maybe-all-target-libgcc -configure-target-libgo: maybe-all-target-libgcc -configure-target-libtermcap: maybe-all-target-libgcc -configure-target-winsup: maybe-all-target-libgcc -configure-target-libgloss: maybe-all-target-libgcc -configure-target-libffi: maybe-all-target-libgcc -configure-target-libjava: maybe-all-target-libgcc -configure-target-zlib: maybe-all-target-libgcc -configure-target-boehm-gc: maybe-all-target-libgcc -configure-target-rda: maybe-all-target-libgcc -configure-target-libada: maybe-all-target-libgcc -configure-target-libgomp: maybe-all-target-libgcc -@endif gcc-no-bootstrap - - -configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss - -configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss - -configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss - - - -configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss - -configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss - -configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss - -configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss - -configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss - -configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss - - -configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss - -configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss -configure-target-libjava: maybe-all-target-libstdc++-v3 - -configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss - -configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss - -configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss - -configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss - -configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss - - -CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@ -GDB_TK = @GDB_TK@ -INSTALL_GDB_TK = @INSTALL_GDB_TK@ -configure-gdb: $(CONFIGURE_GDB_TK) -all-gdb: $(gdbnlmrequirements) $(GDB_TK) -install-gdb: $(INSTALL_GDB_TK) - -# Serialization dependencies. Host configures don't work well in parallel to -# each other, due to contention over config.cache. Target configures and -# build configures are similar. -@serialization_dependencies@ - -# -------------------------------- -# Regenerating top level configury -# -------------------------------- - -# Rebuilding Makefile.in, using autogen. -AUTOGEN = autogen -$(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def - cd $(srcdir) && $(AUTOGEN) Makefile.def - -# Rebuilding Makefile. -Makefile: $(srcdir)/Makefile.in config.status - CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status - -config.status: configure - CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck - -# Rebuilding configure. -AUTOCONF = autoconf -$(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \ - $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4 - cd $(srcdir) && $(AUTOCONF) - -# ------------------------------ -# Special directives to GNU Make -# ------------------------------ - -# Don't pass command-line variables to submakes. -.NOEXPORT: -MAKEOVERRIDES= - -# end of Makefile.in
diff --git a/clang-tests-external/gdb/7.5/Makefile.tpl b/clang-tests-external/gdb/7.5/Makefile.tpl deleted file mode 100644 index ae263e6..0000000 --- a/clang-tests-external/gdb/7.5/Makefile.tpl +++ /dev/null
@@ -1,1903 +0,0 @@ -[+ AutoGen5 template -*- Mode: Makefile -*- -in -+] - -# Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'. -# -# Makefile for directory with subdirs to build. -# Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, -# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 -# Free Software Foundation -# -# This file 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 3 of the License, or -# (at your option) any later version. -# -# 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; see the file COPYING3. If not see -# <http://www.gnu.org/licenses/>. -# - -# First, test for a proper version of make, but only where one is required. - -@if gcc -ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty. -$(error GNU make version 3.80 or newer is required.) -endif -@endif gcc - -# ------------------------------- -# Standard Autoconf-set variables -# ------------------------------- -VPATH=@srcdir@ - -build_alias=@build_noncanonical@ -build_vendor=@build_vendor@ -build_os=@build_os@ -build=@build@ -host_alias=@host_noncanonical@ -host_vendor=@host_vendor@ -host_os=@host_os@ -host=@host@ -target_alias=@target_noncanonical@ -target_vendor=@target_vendor@ -target_os=@target_os@ -target=@target@ - -program_transform_name = @program_transform_name@ - -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -srcdir = @srcdir@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -includedir = @includedir@ -oldincludedir = @oldincludedir@ -infodir = @infodir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -pdfdir = @pdfdir@ -htmldir = @htmldir@ -mandir = @mandir@ -man1dir = $(mandir)/man1 -man2dir = $(mandir)/man2 -man3dir = $(mandir)/man3 -man4dir = $(mandir)/man4 -man5dir = $(mandir)/man5 -man6dir = $(mandir)/man6 -man7dir = $(mandir)/man7 -man8dir = $(mandir)/man8 -man9dir = $(mandir)/man9 - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_DATA = @INSTALL_DATA@ -LN = @LN@ -LN_S = @LN_S@ -MAINT = @MAINT@ -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ - -# ------------------------------------------------- -# Miscellaneous non-standard autoconf-set variables -# ------------------------------------------------- - -# The gcc driver likes to know the arguments it was configured with. -TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@ - -tooldir = @tooldir@ -build_tooldir = @build_tooldir@ - -# This is the name of the environment variable used for the path to -# the libraries. -RPATH_ENVVAR = @RPATH_ENVVAR@ - -# On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path -# is used instead of the directory itself to avoid including built -# executables in PATH. -GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@ - -# Build programs are put under this directory. -BUILD_SUBDIR = @build_subdir@ -# This is set by the configure script to the arguments to use when configuring -# directories built for the build system. -BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)" - -# Linker flags to use on the host, for stage1 or when not -# bootstrapping. -STAGE1_LDFLAGS = @stage1_ldflags@ - -# Libraries to use on the host, for stage1 or when not bootstrapping. -STAGE1_LIBS = @stage1_libs@ - -# Linker flags to use for stage2 and later. -POSTSTAGE1_LDFLAGS = @poststage1_ldflags@ - -# Libraries to use for stage2 and later. -POSTSTAGE1_LIBS = @poststage1_libs@ - -# This is the list of variables to export in the environment when -# configuring any subdirectory. It must also be exported whenever -# recursing into a build directory in case that directory's Makefile -# re-runs configure. -BASE_EXPORTS = \ - FLEX="$(FLEX)"; export FLEX; \ - LEX="$(LEX)"; export LEX; \ - BISON="$(BISON)"; export BISON; \ - YACC="$(YACC)"; export YACC; \ - M4="$(M4)"; export M4; \ - SED="$(SED)"; export SED; \ - AWK="$(AWK)"; export AWK; \ - MAKEINFO="$(MAKEINFO)"; export MAKEINFO; - -# This is the list of variables to export in the environment when -# configuring subdirectories for the build system. -BUILD_EXPORTS = \ - $(BASE_EXPORTS) \ - AR="$(AR_FOR_BUILD)"; export AR; \ - AS="$(AS_FOR_BUILD)"; export AS; \ - CC="$(CC_FOR_BUILD)"; export CC; \ - CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \ - CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \ - CXX="$(CXX_FOR_BUILD)"; export CXX; \ - CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \ - GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \ - GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \ - GOC="$(GOC_FOR_BUILD)"; export GOC; \ - GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \ - DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \ - LD="$(LD_FOR_BUILD)"; export LD; \ - LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \ - NM="$(NM_FOR_BUILD)"; export NM; \ - RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \ - WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \ - WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC; - -# These variables must be set on the make command line for directories -# built for the build system to override those in BASE_FLAGS_TO_PASSS. -EXTRA_BUILD_FLAGS = \ - CFLAGS="$(CFLAGS_FOR_BUILD)" \ - LDFLAGS="$(LDFLAGS_FOR_BUILD)" - -# This is the list of directories to built for the host system. -SUBDIRS = @configdirs@ -TARGET_CONFIGDIRS = @target_configdirs@ -# This is set by the configure script to the arguments to use when configuring -# directories built for the host system. -HOST_CONFIGARGS = @host_configargs@ -# Host programs are put under this directory, which is . except if building -# with srcdir=.. -HOST_SUBDIR = @host_subdir@ -# This is the list of variables to export in the environment when -# configuring subdirectories for the host system. We need to pass -# some to the GCC configure because of its hybrid host/target nature. -HOST_EXPORTS = \ - $(BASE_EXPORTS) \ - CC="$(CC)"; export CC; \ - ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \ - CFLAGS="$(CFLAGS)"; export CFLAGS; \ - CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \ - CXX="$(CXX)"; export CXX; \ - CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ - GCJ="$(GCJ)"; export GCJ; \ - GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \ - GOC="$(GOC)"; export GOC; \ - AR="$(AR)"; export AR; \ - AS="$(AS)"; export AS; \ - CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ - DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ - LD="$(LD)"; export LD; \ - LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \ - NM="$(NM)"; export NM; \ - RANLIB="$(RANLIB)"; export RANLIB; \ - WINDRES="$(WINDRES)"; export WINDRES; \ - WINDMC="$(WINDMC)"; export WINDMC; \ - OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ - OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ - READELF="$(READELF)"; export READELF; \ - AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \ - AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \ - GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \ - LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \ - NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \ - OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \ - RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \ - READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \ - TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \ - HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \ - GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \ - GMPINC="$(HOST_GMPINC)"; export GMPINC; \ - PPLLIBS="$(HOST_PPLLIBS)"; export PPLLIBS; \ - PPLINC="$(HOST_PPLINC)"; export PPLINC; \ - CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \ - CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \ - LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \ - LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \ -@if gcc-bootstrap - $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \ -@endif gcc-bootstrap - $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); - -POSTSTAGE1_CXX_EXPORT = \ - CXX='$(CXX)'; export CXX; \ - CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD; -@if target-libstdc++-v3-bootstrap -# Override the above if we're bootstrapping C++. -POSTSTAGE1_CXX_EXPORT = \ - CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \ - -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \ - -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \ - -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \ - -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \ - -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \ - -I$$s/libstdc++-v3/libsupc++ \ - -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \ - -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \ - export CXX; \ - CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD; -@endif target-libstdc++-v3-bootstrap - -# Similar, for later GCC stages. -POSTSTAGE1_HOST_EXPORTS = \ - $(HOST_EXPORTS) \ - CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \ - -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \ - $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \ - CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \ - $(POSTSTAGE1_CXX_EXPORT) \ - GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \ - LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \ - HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS; - -# Target libraries are put under this directory: -TARGET_SUBDIR = @target_subdir@ -# This is set by the configure script to the arguments to use when configuring -# directories built for the target. -TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)" -# This is the list of variables to export in the environment when -# configuring subdirectories for the target system. -BASE_TARGET_EXPORTS = \ - $(BASE_EXPORTS) \ - AR="$(AR_FOR_TARGET)"; export AR; \ - AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \ - CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \ - CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \ - GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \ - GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \ - DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ - LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \ - LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ - LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \ - NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \ - OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \ - RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ - READELF="$(READELF_FOR_TARGET)"; export READELF; \ - STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \ - WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ - WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \ -@if gcc-bootstrap - $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \ -@endif gcc-bootstrap - $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \ - TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS; - -RAW_CXX_TARGET_EXPORTS = \ - $(BASE_TARGET_EXPORTS) \ - CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \ - CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX; - -NORMAL_TARGET_EXPORTS = \ - $(BASE_TARGET_EXPORTS) \ - CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX; - -# Where to find GMP -HOST_GMPLIBS = @gmplibs@ -HOST_GMPINC = @gmpinc@ - -# Where to find PPL -HOST_PPLLIBS = @ppllibs@ -HOST_PPLINC = @pplinc@ - -# Where to find CLOOG -HOST_CLOOGLIBS = @clooglibs@ -HOST_CLOOGINC = @clooginc@ - -# Where to find libelf -HOST_LIBELFLIBS = @libelflibs@ -HOST_LIBELFINC = @libelfinc@ - -EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@ - -# ---------------------------------------------- -# Programs producing files for the BUILD machine -# ---------------------------------------------- - -SHELL = @SHELL@ - -# pwd command to use. Allow user to override default by setting PWDCMD in -# the environment to account for automounters. The make variable must not -# be called PWDCMD, otherwise the value set here is passed to make -# subprocesses and overrides the setting from the user's environment. -# Don't use PWD since it is a common shell environment variable and we -# don't want to corrupt it. -PWD_COMMAND = $${PWDCMD-pwd} - -# compilers to use to create programs which must be run in the build -# environment. -AR_FOR_BUILD = @AR_FOR_BUILD@ -AS_FOR_BUILD = @AS_FOR_BUILD@ -CC_FOR_BUILD = @CC_FOR_BUILD@ -CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ -CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@ -CXX_FOR_BUILD = @CXX_FOR_BUILD@ -DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@ -GCJ_FOR_BUILD = @GCJ_FOR_BUILD@ -GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@ -GOC_FOR_BUILD = @GOC_FOR_BUILD@ -LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ -LD_FOR_BUILD = @LD_FOR_BUILD@ -NM_FOR_BUILD = @NM_FOR_BUILD@ -RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@ -WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@ -WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@ - -# Special variables passed down in EXTRA_GCC_FLAGS. They are defined -# here so that they can be overridden by Makefile fragments. -BUILD_PREFIX = @BUILD_PREFIX@ -BUILD_PREFIX_1 = @BUILD_PREFIX_1@ - -# Flags to pass to stage2 and later makes. They are defined -# here so that they can be overridden by Makefile fragments. -BOOT_CFLAGS= -g -O2 -BOOT_LDFLAGS= -BOOT_ADAFLAGS=-gnatpg -gnata - -AWK = @AWK@ -SED = @SED@ -BISON = @BISON@ -YACC = @YACC@ -FLEX = @FLEX@ -LEX = @LEX@ -M4 = @M4@ -MAKEINFO = @MAKEINFO@ -EXPECT = @EXPECT@ -RUNTEST = @RUNTEST@ - -# This just becomes part of the MAKEINFO definition passed down to -# sub-makes. It lets flags be given on the command line while still -# using the makeinfo from the object tree. -# (Default to avoid splitting info files by setting the threshold high.) -MAKEINFOFLAGS = --split-size=5000000 - -# --------------------------------------------- -# Programs producing files for the HOST machine -# --------------------------------------------- - -AS = @AS@ -AR = @AR@ -AR_FLAGS = rc -CC = @CC@ -CXX = @CXX@ -DLLTOOL = @DLLTOOL@ -LD = @LD@ -LIPO = @LIPO@ -NM = @NM@ -OBJDUMP = @OBJDUMP@ -RANLIB = @RANLIB@ -READELF = @READELF@ -STRIP = @STRIP@ -WINDRES = @WINDRES@ -WINDMC = @WINDMC@ - -GNATBIND = @GNATBIND@ -GNATMAKE = @GNATMAKE@ - -CFLAGS = @CFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBCFLAGS = $(CFLAGS) -CXXFLAGS = @CXXFLAGS@ -LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates -GOCFLAGS = $(CFLAGS) - -TFLAGS = - -# Defaults for all stages; some are overridden below. - -STAGE_CFLAGS = $(BOOT_CFLAGS) -STAGE_TFLAGS = $(TFLAGS) -STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@ -POSTSTAGE1_CONFIGURE_FLAGS = @POSTSTAGE1_CONFIGURE_FLAGS@ - -[+ FOR bootstrap-stage +] -# Defaults for stage [+id+]; some are overridden below. -STAGE[+id+]_CFLAGS = $(STAGE_CFLAGS) -STAGE[+id+]_CXXFLAGS = $(CXXFLAGS) -@if target-libstdc++-v3-bootstrap -# Override the above if we're bootstrapping C++. -STAGE[+id+]_CXXFLAGS = $(STAGE[+id+]_CFLAGS) -@endif target-libstdc++-v3-bootstrap -STAGE[+id+]_TFLAGS = $(STAGE_TFLAGS) -# STAGE1_CONFIGURE_FLAGS overridden below, so we can use -# POSTSTAGE1_CONFIGURE_FLAGS here. -STAGE[+id+]_CONFIGURE_FLAGS = \ - $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS) -[+ ENDFOR bootstrap-stage +] - -# Only build the C compiler for stage1, because that is the only one that -# we can guarantee will build with the native compiler, and also it is the -# only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS), -# MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them -# overrideable (for a bootstrap build stage1 also builds gcc.info). - -STAGE1_CFLAGS = @stage1_cflags@ -STAGE1_CHECKING = @stage1_checking@ -STAGE1_LANGUAGES = @stage1_languages@ -# * We force-disable intermodule optimizations, even if -# --enable-intermodule was passed, since the installed compiler -# probably can't handle them. Luckily, autoconf always respects -# the last argument when conflicting --enable arguments are passed. -# * Likewise, we force-disable coverage flags, since the installed -# compiler probably has never heard of them. -# * Don't remove this, because above we added -# POSTSTAGE1_CONFIGURE_FLAGS to STAGE[+id+]_CONFIGURE_FLAGS, which -# we don't want for STAGE1_CONFIGURE_FLAGS. -STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \ - --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" - -STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate -STAGEprofile_TFLAGS = $(STAGE2_TFLAGS) - -STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use -STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS) - -do-compare = @do_compare@ -do-compare3 = $(do-compare) - -# ----------------------------------------------- -# Programs producing files for the TARGET machine -# ----------------------------------------------- - -AR_FOR_TARGET=@AR_FOR_TARGET@ -AS_FOR_TARGET=@AS_FOR_TARGET@ -CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ - -# If GCC_FOR_TARGET is not overriden on the command line, then this -# variable is passed down to the gcc Makefile, where it is used to -# build libgcc2.a. We define it here so that it can itself be -# overridden on the command line. -GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ -CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ -RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ -GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ -GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ -GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@ -DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@ -LD_FOR_TARGET=@LD_FOR_TARGET@ - -LIPO_FOR_TARGET=@LIPO_FOR_TARGET@ -NM_FOR_TARGET=@NM_FOR_TARGET@ -OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@ -RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@ -READELF_FOR_TARGET=@READELF_FOR_TARGET@ -STRIP_FOR_TARGET=@STRIP_FOR_TARGET@ -WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@ -WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@ - -COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@ -COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@ -COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@ - -CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@ -CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@ - -LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET) -LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates -LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@ -GOCFLAGS_FOR_TARGET = -O2 -g - -FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@ -SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@ -DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@ - -XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET) - -# ------------------------------------ -# Miscellaneous targets and flag lists -# ------------------------------------ - -# The first rule in the file had better be this one. Don't put any above it. -# This lives here to allow makefile fragments to contain dependencies. -all: - -#### host and target specific makefile fragments come in here. -@target_makefile_frag@ -@alphaieee_frag@ -@ospace_frag@ -@host_makefile_frag@ -### - -# This is the list of directories that may be needed in RPATH_ENVVAR -# so that programs built for the target machine work. -TARGET_LIB_PATH = [+ FOR target_modules +][+ - IF lib_path +]$(TARGET_LIB_PATH_[+module+])[+ ENDIF lib_path +][+ - ENDFOR target_modules +]$(HOST_LIB_PATH_gcc) -[+ FOR target_modules +][+ IF lib_path +] -@if target-[+module+] -TARGET_LIB_PATH_[+module+] = $$r/$(TARGET_SUBDIR)/[+module+]/[+lib_path+]: -@endif target-[+module+] -[+ ENDIF lib_path +][+ ENDFOR target_modules +] - - -# This is the list of directories that may be needed in RPATH_ENVVAR -# so that programs built for the host machine work. -HOST_LIB_PATH = [+ FOR host_modules +][+ - IF lib_path +]$(HOST_LIB_PATH_[+module+])[+ ENDIF lib_path +][+ - ENDFOR host_modules +] - -# Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch -@if gcc -HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR): -@endif gcc - -[+ FOR host_modules +][+ IF lib_path +] -@if [+module+] -HOST_LIB_PATH_[+module+] = \ - $$r/$(HOST_SUBDIR)/[+module+]/[+lib_path+]:[+ IF bootstrap - +]$$r/$(HOST_SUBDIR)/prev-[+module+]/[+lib_path+]:[+ ENDIF bootstrap +] -@endif [+module+] -[+ ENDIF lib_path +][+ ENDFOR host_modules +] - -CXX_FOR_TARGET_FLAG_TO_PASS = \ - "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" -@if target-libstdc++-v3 -# CXX_FOR_TARGET is tricky to get right for target libs that require a -# functional C++ compiler. When we recurse, if we expand -# CXX_FOR_TARGET before configuring libstdc++-v3, we won't get -# libstdc++ include flags from the script. Instead, we get an -# -funconfigured-* word, so that we'll get errors if this invalid C++ -# command line is used for anything, but also so that we can use the -# word to decide whether or not to pass on this CXX_FOR_TARGET. If we -# don't pass it on, sub-make will use the default definition, that -# re-expands it at the time of use, so we'll get it right when we need -# it. One potential exception is the expansion of CXX_FOR_TARGET -# passed down as part of CXX within TARGET_FLAGS, but this wouldn't -# really work, for C++ host programs can't depend on the current-stage -# C++ target library. -CXX_FOR_TARGET_FLAG_TO_PASS = \ - $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi) -@endif target-libstdc++-v3 - -# Flags to pass down to all sub-makes. -BASE_FLAGS_TO_PASS =[+ FOR flags_to_pass +][+ IF optional +] \ - "`echo '[+flag+]=$([+flag+])' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"[+ ELSE optional +] \ - "[+flag+]=$([+flag+])"[+ ENDIF optional+][+ ENDFOR flags_to_pass +][+ FOR bootstrap-stage +] \ - "STAGE[+id+]_CFLAGS=$(STAGE[+id+]_CFLAGS)" \ - "STAGE[+id+]_CXXFLAGS=$(STAGE[+id+]_CXXFLAGS)" \ - "STAGE[+id+]_TFLAGS=$(STAGE[+id+]_TFLAGS)"[+ ENDFOR bootstrap-stage +] \ - $(CXX_FOR_TARGET_FLAG_TO_PASS) \ - "TFLAGS=$(TFLAGS)" \ - "CONFIG_SHELL=$(SHELL)" \ - "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" - -# We leave this in just in case, but it is not needed anymore. -RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) - -# Flags to pass down to most sub-makes, in which we're building with -# the host environment. -EXTRA_HOST_FLAGS = \ - 'AR=$(AR)' \ - 'AS=$(AS)' \ - 'CC=$(CC)' \ - 'CXX=$(CXX)' \ - 'DLLTOOL=$(DLLTOOL)' \ - 'GCJ=$(GCJ)' \ - 'GFORTRAN=$(GFORTRAN)' \ - 'GOC=$(GOC)' \ - 'LD=$(LD)' \ - 'LIPO=$(LIPO)' \ - 'NM=$(NM)' \ - 'OBJDUMP=$(OBJDUMP)' \ - 'RANLIB=$(RANLIB)' \ - 'READELF=$(READELF)' \ - 'STRIP=$(STRIP)' \ - 'WINDRES=$(WINDRES)' \ - 'WINDMC=$(WINDMC)' - -FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) - -# Flags to pass to stage2 and later makes. - -POSTSTAGE1_FLAGS_TO_PASS = \ - CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \ - CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \ - GNATBIND="$${GNATBIND}" \ - LDFLAGS="$${LDFLAGS}" \ - HOST_LIBS="$${HOST_LIBS}" \ - "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" - -# Flags to pass down to makes which are built with the target environment. -# The double $ decreases the length of the command line; those variables -# are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The -# *_CFLAGS_FOR_TARGET variables are not passed down and most often empty, -# so we expand them here. -EXTRA_TARGET_FLAGS = \ - 'AR=$$(AR_FOR_TARGET)' \ - 'AS=$(COMPILER_AS_FOR_TARGET)' \ - 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ - 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \ - 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ - 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \ - 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \ - 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ - 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ - 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ - 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \ - 'LD=$(COMPILER_LD_FOR_TARGET)' \ - 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \ - 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \ - 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \ - 'NM=$(COMPILER_NM_FOR_TARGET)' \ - 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \ - 'RANLIB=$$(RANLIB_FOR_TARGET)' \ - 'READELF=$$(READELF_FOR_TARGET)' \ - 'WINDRES=$$(WINDRES_FOR_TARGET)' \ - 'WINDMC=$$(WINDMC_FOR_TARGET)' \ - 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \ - "TFLAGS=$$TFLAGS" - -TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) - -# Flags to pass down to gcc. gcc builds a library, libgcc.a, so it -# unfortunately needs the native compiler and the target ar and -# ranlib. -# If any variables are added here, they must be added to do-*, below. -# The BUILD_* variables are a special case, which are used for the gcc -# cross-building scheme. -EXTRA_GCC_FLAGS = \ - "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \ - "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ - "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" - -GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) - -@if gcc -BUILD_CONFIG = @BUILD_CONFIG@ -ifneq ($(BUILD_CONFIG),) -include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk) -endif -@endif gcc - -.PHONY: configure-host -configure-host: [+ - FOR host_modules +] \ - maybe-configure-[+module+][+ - ENDFOR host_modules +] -.PHONY: configure-target -configure-target: [+ - FOR target_modules +] \ - maybe-configure-target-[+module+][+ - ENDFOR target_modules +] - -# The target built for a native non-bootstrap build. -.PHONY: all -all: -@if gcc-bootstrap - [ -f stage_final ] || echo stage3 > stage_final - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble -@endif gcc-bootstrap - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ -@if gcc-bootstrap - if [ -f stage_last ]; then \ - TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \ - else \ -@endif gcc-bootstrap - $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \ -@if gcc-bootstrap - ; \ - fi \ -@endif gcc-bootstrap - && : - -.PHONY: all-build -[+ FOR build_modules +] -all-build: maybe-all-build-[+module+][+ ENDFOR build_modules +] - -.PHONY: all-host -[+ FOR host_modules +][+ IF bootstrap +] -@if [+module+]-no-bootstrap[+ ENDIF bootstrap +] -all-host: maybe-all-[+module+][+ IF bootstrap +] -@endif [+module+]-no-bootstrap[+ ENDIF bootstrap +][+ ENDFOR host_modules +] - -.PHONY: all-target -[+ FOR target_modules +][+ IF bootstrap +] -@if target-[+module+]-no-bootstrap[+ ENDIF bootstrap +] -all-target: maybe-all-target-[+module+][+ IF bootstrap +] -@endif target-[+module+]-no-bootstrap[+ - ENDIF bootstrap +][+ ENDFOR target_modules +] - -# Do a target for all the subdirectories. A ``make do-X'' will do a -# ``make X'' in all subdirectories (because, in general, there is a -# dependency (below) of X upon do-X, a ``make X'' will also do this, -# but it may do additional work as well). -[+ FOR recursive_targets +] -.PHONY: do-[+make_target+] -do-[+make_target+]: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) [+make_target+]-host \ - [+make_target+]-target - - -.PHONY: [+make_target+]-host -[+ FOR host_modules +] -[+make_target+]-host: maybe-[+make_target+]-[+module+][+ ENDFOR host_modules +] - -.PHONY: [+make_target+]-target -[+ FOR target_modules +] -[+make_target+]-target: maybe-[+make_target+]-target-[+module+][+ ENDFOR target_modules +] -[+ ENDFOR recursive_targets +] - -# Here are the targets which correspond to the do-X targets. - -.PHONY: info installcheck dvi pdf html -.PHONY: install-info install-pdf install-html -.PHONY: clean distclean mostlyclean maintainer-clean realclean -.PHONY: local-clean local-distclean local-maintainer-clean -info: do-info -installcheck: do-installcheck -dvi: do-dvi -pdf: do-pdf -html: do-html - -# Make sure makeinfo is built before we do a `make info', if we're -# in fact building texinfo. -do-info: maybe-all-texinfo - -install-info: do-install-info dir.info - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - if [ -f dir.info ] ; then \ - $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \ - else true ; fi - -install-pdf: do-install-pdf - -install-html: do-install-html - -local-clean: - -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log - -local-distclean: - -rm -f Makefile config.status config.cache mh-frag mt-frag - -rm -f maybedep.tmp serdep.tmp - -if [ "$(TARGET_SUBDIR)" != "." ]; then \ - rm -rf $(TARGET_SUBDIR); \ - else true; fi - -rm -rf $(BUILD_SUBDIR) - -if [ "$(HOST_SUBDIR)" != "." ]; then \ - rm -rf $(HOST_SUBDIR); \ - else true; fi - -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile - -rm -f texinfo/doc/Makefile texinfo/po/POTFILES - -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null - -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null - -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null - -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null - -local-maintainer-clean: - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -clean: do-clean local-clean -mostlyclean: do-mostlyclean local-clean -distclean: do-distclean local-clean local-distclean -maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean -maintainer-clean: local-distclean -realclean: maintainer-clean - -# Check target. - -.PHONY: check do-check -check: do-check - -# Only include modules actually being configured and built. -.PHONY: check-host -check-host: [+ - FOR host_modules +] \ - maybe-check-[+module+][+ - ENDFOR host_modules +] - -.PHONY: check-target -check-target: [+ - FOR target_modules +] \ - maybe-check-target-[+module+][+ - ENDFOR target_modules +] - -do-check: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target - -# Automated reporting of test results. - -warning.log: build.log - $(srcdir)/contrib/warn_summary build.log > $@ - -mail-report.log: - if test x'$(BOOT_CFLAGS)' != x''; then \ - BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \ - fi; \ - $(srcdir)/contrib/test_summary -t >$@ - chmod +x $@ - echo If you really want to send e-mail, run ./$@ now - -mail-report-with-warnings.log: warning.log - if test x'$(BOOT_CFLAGS)' != x''; then \ - BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \ - fi; \ - $(srcdir)/contrib/test_summary -t -i warning.log >$@ - chmod +x $@ - echo If you really want to send e-mail, run ./$@ now - -# Installation targets. - -.PHONY: install uninstall -install: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target - -.PHONY: install-host-nogcc -install-host-nogcc: [+ - FOR host_modules +][+ IF (not (= (get "module") "gcc")) +] \ - maybe-install-[+module+][+ ENDIF +][+ - ENDFOR host_modules +] - -.PHONY: install-host -install-host: [+ - FOR host_modules +] \ - maybe-install-[+module+][+ - ENDFOR host_modules +] - -.PHONY: install-target -install-target: [+ - FOR target_modules +] \ - maybe-install-target-[+module+][+ - ENDFOR target_modules +] - -uninstall: - @echo "the uninstall target is not supported in this tree" - -.PHONY: install.all -install.all: install-no-fixedincludes - @if [ -f ./gcc/Makefile ] ; then \ - r=`${PWD_COMMAND}` ; export r ; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd ./gcc && \ - $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \ - else \ - true ; \ - fi - -# install-no-fixedincludes is used because Cygnus can not distribute -# the fixed header files. -.PHONY: install-no-fixedincludes -install-no-fixedincludes: installdirs install-host-nogcc \ - install-target gcc-no-fixedincludes - -.PHONY: install-strip -install-strip: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target - -.PHONY: install-strip-host -install-strip-host: [+ - FOR host_modules +] \ - maybe-install-strip-[+module+][+ - ENDFOR host_modules +] - -.PHONY: install-strip-target -install-strip-target: [+ - FOR target_modules +] \ - maybe-install-strip-target-[+module+][+ - ENDFOR target_modules +] - - -### other supporting targets - -MAKEDIRS= \ - $(DESTDIR)$(prefix) \ - $(DESTDIR)$(exec_prefix) -.PHONY: installdirs -installdirs: mkinstalldirs - $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS) - -dir.info: do-install-info - if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \ - $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \ - mv -f dir.info.new dir.info ; \ - else true ; \ - fi - -dist: - @echo "Building a full distribution of this tree isn't done" - @echo "via 'make dist'. Check out the etc/ subdirectory" - -etags tags: TAGS - -# Right now this just builds TAGS in each subdirectory. emacs19 has the -# ability to use several tags files at once, so there is probably no need -# to combine them into one big TAGS file (like CVS 1.3 does). We could -# (if we felt like it) have this Makefile write a piece of elisp which -# the user could load to tell emacs19 where all the TAGS files we just -# built are. -TAGS: do-TAGS - -# ------------------------------------ -# Macros for configure and all targets -# ------------------------------------ - -[+ DEFINE configure +] -.PHONY: configure-[+prefix+][+module+] maybe-configure-[+prefix+][+module+] -maybe-configure-[+prefix+][+module+]: -@if gcc-bootstrap -configure-[+prefix+][+module+]: stage_current -@endif gcc-bootstrap -@if [+prefix+][+module+] -maybe-configure-[+prefix+][+module+]: configure-[+prefix+][+module+] -configure-[+prefix+][+module+]: [+ IF bootstrap +][+ ELSE +] - @: $(MAKE); $(unstage)[+ ENDIF bootstrap +] - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - [+ IF check_multilibs - +]echo "Checking multilib configuration for [+module+]..."; \ - $(SHELL) $(srcdir)/mkinstalldirs [+subdir+]/[+module+] ; \ - $(CC_FOR_TARGET) --print-multi-lib > [+subdir+]/[+module+]/multilib.tmp 2> /dev/null ; \ - if test -r [+subdir+]/[+module+]/multilib.out; then \ - if cmp -s [+subdir+]/[+module+]/multilib.tmp [+subdir+]/[+module+]/multilib.out; then \ - rm -f [+subdir+]/[+module+]/multilib.tmp; \ - else \ - rm -f [+subdir+]/[+module+]/Makefile; \ - mv [+subdir+]/[+module+]/multilib.tmp [+subdir+]/[+module+]/multilib.out; \ - fi; \ - else \ - mv [+subdir+]/[+module+]/multilib.tmp [+subdir+]/[+module+]/multilib.out; \ - fi; \ - [+ ENDIF check_multilibs +]test ! -f [+subdir+]/[+module+]/Makefile || exit 0; \ - $(SHELL) $(srcdir)/mkinstalldirs [+subdir+]/[+module+] ; \ - [+exports+] [+extra_exports+] \ - echo Configuring in [+subdir+]/[+module+]; \ - cd "[+subdir+]/[+module+]" || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo [+subdir+]/[+module+]/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/[+module+]"; \ - libsrcdir="$$s/[+module+]"; \ - [+ IF no-config-site +]rm -f no-such-file || : ; \ - CONFIG_SITE=no-such-file [+ ENDIF +]$(SHELL) $${libsrcdir}/configure \ - [+args+] --build=${build_alias} --host=[+host_alias+] \ - --target=[+target_alias+] $${srcdiroption} [+extra_configure_flags+] \ - || exit 1 -@endif [+prefix+][+module+] - -[+ IF bootstrap +] -[+ FOR bootstrap_stage +] -.PHONY: configure-stage[+id+]-[+prefix+][+module+] maybe-configure-stage[+id+]-[+prefix+][+module+] -maybe-configure-stage[+id+]-[+prefix+][+module+]: -@if [+prefix+][+module+]-bootstrap -maybe-configure-stage[+id+]-[+prefix+][+module+]: configure-stage[+id+]-[+prefix+][+module+] -configure-stage[+id+]-[+prefix+][+module+]: - @[ $(current_stage) = stage[+id+] ] || $(MAKE) stage[+id+]-start - @$(SHELL) $(srcdir)/mkinstalldirs [+subdir+]/[+module+] - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE[+id+]_TFLAGS)"; \ - [+ IF check_multilibs - +]echo "Checking multilib configuration for [+module+]..."; \ - $(CC_FOR_TARGET) --print-multi-lib > [+subdir+]/[+module+]/multilib.tmp 2> /dev/null ; \ - if test -r [+subdir+]/[+module+]/multilib.out; then \ - if cmp -s [+subdir+]/[+module+]/multilib.tmp [+subdir+]/[+module+]/multilib.out; then \ - rm -f [+subdir+]/[+module+]/multilib.tmp; \ - else \ - rm -f [+subdir+]/[+module+]/Makefile; \ - mv [+subdir+]/[+module+]/multilib.tmp [+subdir+]/[+module+]/multilib.out; \ - fi; \ - else \ - mv [+subdir+]/[+module+]/multilib.tmp [+subdir+]/[+module+]/multilib.out; \ - fi; \ - [+ ENDIF check_multilibs +]test ! -f [+subdir+]/[+module+]/Makefile || exit 0; \ - [+exports+][+ IF prev +] \ - [+poststage1_exports+][+ ENDIF prev +][+ IF prefix +] \ - CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS;[+ ELSE prefix +] \ - CFLAGS="$(STAGE[+id+]_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE[+id+]_CXXFLAGS)"; export CXXFLAGS;[+ IF prev +] \ - LIBCFLAGS="$(STAGE[+id+]_CFLAGS)"[+ ELSE prev +] \ - LIBCFLAGS="$(LIBCFLAGS)"[+ ENDIF prev +]; export LIBCFLAGS;[+ - ENDIF prefix +] [+extra_exports+] \ - echo Configuring stage [+id+] in [+subdir+]/[+module+] ; \ - $(SHELL) $(srcdir)/mkinstalldirs [+subdir+]/[+module+] ; \ - cd [+subdir+]/[+module+] || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo [+subdir+]/[+module+]/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/[+module+]"; \ - libsrcdir="$$s/[+module+]"; \ - $(SHELL) $${libsrcdir}/configure \ - [+args+] --build=${build_alias} --host=[+host_alias+] \ - --target=[+target_alias+] $${srcdiroption} [+ IF prev +]\ - --with-build-libsubdir=$(HOST_SUBDIR) [+ ENDIF prev +]\ - $(STAGE[+id+]_CONFIGURE_FLAGS)[+ IF extra_configure_flags +] \ - [+extra_configure_flags+][+ ENDIF extra_configure_flags +] -@endif [+prefix+][+module+]-bootstrap -[+ ENDFOR bootstrap_stage +] -[+ ENDIF bootstrap +] -[+ ENDDEF +] - -[+ DEFINE all +] -.PHONY: all-[+prefix+][+module+] maybe-all-[+prefix+][+module+] -maybe-all-[+prefix+][+module+]: -@if gcc-bootstrap -all-[+prefix+][+module+]: stage_current -@endif gcc-bootstrap -@if [+prefix+][+module+] -TARGET-[+prefix+][+module+]=[+ - IF all_target +][+all_target+][+ ELSE +]all[+ ENDIF all_target +] -maybe-all-[+prefix+][+module+]: all-[+prefix+][+module+] -all-[+prefix+][+module+]: configure-[+prefix+][+module+][+ IF bootstrap +][+ ELSE +] - @: $(MAKE); $(unstage)[+ ENDIF bootstrap +] - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - [+exports+] [+extra_exports+] \ - (cd [+subdir+]/[+module+] && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) [+args+] [+extra_make_flags+] \ - $(TARGET-[+prefix+][+module+])) -@endif [+prefix+][+module+] - -[+ IF bootstrap +] -[+ FOR bootstrap_stage +] -.PHONY: all-stage[+id+]-[+prefix+][+module+] maybe-all-stage[+id+]-[+prefix+][+module+] -.PHONY: clean-stage[+id+]-[+prefix+][+module+] maybe-clean-stage[+id+]-[+prefix+][+module+] -maybe-all-stage[+id+]-[+prefix+][+module+]: -maybe-clean-stage[+id+]-[+prefix+][+module+]: -@if [+prefix+][+module+]-bootstrap -maybe-all-stage[+id+]-[+prefix+][+module+]: all-stage[+id+]-[+prefix+][+module+] -all-stage[+id+]: all-stage[+id+]-[+prefix+][+module+] -TARGET-stage[+id+]-[+prefix+][+module+] = $(TARGET-[+prefix+][+module+]) -all-stage[+id+]-[+prefix+][+module+]: configure-stage[+id+]-[+prefix+][+module+] - @[ $(current_stage) = stage[+id+] ] || $(MAKE) stage[+id+]-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE[+id+]_TFLAGS)"; \ - [+exports+][+ IF prev +] \ - [+poststage1_exports+][+ ENDIF prev +] [+extra_exports+] \ - cd [+subdir+]/[+module+] && \ - $(MAKE) $(BASE_FLAGS_TO_PASS)[+ IF prefix +] \ - CFLAGS="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"[+ ELSE prefix +] \ - CFLAGS="$(STAGE[+id+]_CFLAGS)" \ - CXXFLAGS="$(STAGE[+id+]_CXXFLAGS)"[+ IF prev +] \ - LIBCFLAGS="$(STAGE[+id+]_CFLAGS)"[+ ELSE prev +] \ - LIBCFLAGS="$(LIBCFLAGS)"[+ ENDIF prev +][+ ENDIF prefix +] \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - [+args+] [+ - IF prev +][+poststage1_args+][+ ENDIF prev - +] [+extra_make_flags+] \ - TFLAGS="$(STAGE[+id+]_TFLAGS)" \ - $(TARGET-stage[+id+]-[+prefix+][+module+]) - -maybe-clean-stage[+id+]-[+prefix+][+module+]: clean-stage[+id+]-[+prefix+][+module+] -clean-stage[+id+]: clean-stage[+id+]-[+prefix+][+module+] -clean-stage[+id+]-[+prefix+][+module+]: - @if [ $(current_stage) = stage[+id+] ]; then \ - [ -f [+subdir+]/[+module+]/Makefile ] || exit 0; \ - else \ - [ -f [+subdir+]/stage[+id+]-[+module+]/Makefile ] || exit 0; \ - $(MAKE) stage[+id+]-start; \ - fi; \ - cd [+subdir+]/[+module+] && \ - $(MAKE) [+args+] [+ IF prev +] \ - [+poststage1_args+] [+ ENDIF prev +] \ - [+extra_make_flags+] clean -@endif [+prefix+][+module+]-bootstrap - -[+ ENDFOR bootstrap_stage +] -[+ ENDIF bootstrap +] -[+ ENDDEF +] - -# -------------------------------------- -# Modules which run on the build machine -# -------------------------------------- -[+ FOR build_modules +] -[+ configure prefix="build-" subdir="$(BUILD_SUBDIR)" exports="$(BUILD_EXPORTS)" - host_alias=(get "host" "${build_alias}") - target_alias=(get "target" "${target_alias}") - args="$(BUILD_CONFIGARGS)" no-config-site=true +] - -[+ all prefix="build-" subdir="$(BUILD_SUBDIR)" exports="$(BUILD_EXPORTS)" - args="$(EXTRA_BUILD_FLAGS)" +] -[+ ENDFOR build_module +] - -# -------------------------------------- -# Modules which run on the host machine -# -------------------------------------- -[+ FOR host_modules +] -[+ configure prefix="" subdir="$(HOST_SUBDIR)" - exports="$(HOST_EXPORTS)" - poststage1_exports="$(POSTSTAGE1_HOST_EXPORTS)" - host_alias=(get "host" "${host_alias}") - target_alias=(get "target" "${target_alias}") - args="$(HOST_CONFIGARGS)" +] - -[+ all prefix="" subdir="$(HOST_SUBDIR)" - exports="$(HOST_EXPORTS)" - poststage1_exports="$(POSTSTAGE1_HOST_EXPORTS)" - args="$(EXTRA_HOST_FLAGS)" - poststage1_args="$(POSTSTAGE1_FLAGS_TO_PASS)" +] - -.PHONY: check-[+module+] maybe-check-[+module+] -maybe-check-[+module+]: -@if [+module+] -maybe-check-[+module+]: check-[+module+] -[+ IF no_check +] -check-[+module+]: -[+ ELIF no_check_cross +] -# This module is only tested in a native toolchain. -check-[+module+]: - @: $(MAKE); $(unstage) - @if [ '$(host)' = '$(target)' ] ; then \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/[+module+] && \ - $(MAKE) $(FLAGS_TO_PASS) [+extra_make_flags+] check); \ - fi -[+ ELSE check +] -check-[+module+]: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/[+module+] && \ - $(MAKE) $(FLAGS_TO_PASS) [+extra_make_flags+] check) -[+ ENDIF no_check +] -@endif [+module+] - -.PHONY: install-[+module+] maybe-install-[+module+] -maybe-install-[+module+]: -@if [+module+] -maybe-install-[+module+]: install-[+module+] -[+ IF no_install +] -install-[+module+]: -[+ ELSE install +] -install-[+module+]: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/[+module+] && \ - $(MAKE) $(FLAGS_TO_PASS) [+extra_make_flags+] install) -[+ ENDIF no_install +] -@endif [+module+] - -.PHONY: install-strip-[+module+] maybe-install-strip-[+module+] -maybe-install-strip-[+module+]: -@if [+module+] -maybe-install-strip-[+module+]: install-strip-[+module+] -[+ IF no_install +] -install-strip-[+module+]: -[+ ELSE install +] -install-strip-[+module+]: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/[+module+] && \ - $(MAKE) $(FLAGS_TO_PASS) [+extra_make_flags+] install-strip) -[+ ENDIF no_install +] -@endif [+module+] - -# Other targets (info, dvi, pdf, etc.) -[+ FOR recursive_targets +] -.PHONY: maybe-[+make_target+]-[+module+] [+make_target+]-[+module+] -maybe-[+make_target+]-[+module+]: -@if [+module+] -maybe-[+make_target+]-[+module+]: [+make_target+]-[+module+] -[+ IF (match-value? = "missing" (get "make_target") ) +] -# [+module+] doesn't support [+make_target+]. -[+make_target+]-[+module+]: -[+ ELSE +] -[+make_target+]-[+module+]: [+ - FOR depend +]\ - [+depend+]-[+module+] [+ - ENDFOR depend +] - @[+ IF bootstrap +][+ ELSE +]: $(MAKE); $(unstage) - @[+ ENDIF bootstrap +][ -f ./[+module+]/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) [+extra_make_flags+]; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing [+make_target+] in [+module+]" ; \ - (cd $(HOST_SUBDIR)/[+module+] && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - [+make_target+]) \ - || exit 1 -[+ ENDIF +] -@endif [+module+] -[+ ENDFOR recursive_targets +] -[+ ENDFOR host_modules +] - -# --------------------------------------- -# Modules which run on the target machine -# --------------------------------------- -[+ FOR target_modules +] - -[+ IF raw_cxx +] -[+ configure prefix="target-" subdir="$(TARGET_SUBDIR)" - check_multilibs=true - exports="$(RAW_CXX_TARGET_EXPORTS)" - host_alias=(get "host" "${target_alias}") - target_alias=(get "target" "${target_alias}") - args="$(TARGET_CONFIGARGS)" no-config-site=true +] - -[+ all prefix="target-" subdir="$(TARGET_SUBDIR)" - exports="$(RAW_CXX_TARGET_EXPORTS)" - args="$(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)'" +] -[+ ELSE +] -[+ configure prefix="target-" subdir="$(TARGET_SUBDIR)" - check_multilibs=true - exports="$(NORMAL_TARGET_EXPORTS)" - host_alias=(get "host" "${target_alias}") - target_alias=(get "target" "${target_alias}") - args="$(TARGET_CONFIGARGS)" no-config-site=true +] - -[+ all prefix="target-" subdir="$(TARGET_SUBDIR)" - exports="$(NORMAL_TARGET_EXPORTS)" - args="$(EXTRA_TARGET_FLAGS)" +] -[+ ENDIF +] - -.PHONY: check-target-[+module+] maybe-check-target-[+module+] -maybe-check-target-[+module+]: -@if target-[+module+] -maybe-check-target-[+module+]: check-target-[+module+] -[+ IF no_check +] -# Dummy target for uncheckable module. -check-target-[+module+]: -[+ ELSE check +] -check-target-[+module+]: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \[+ -IF raw_cxx +] - $(RAW_CXX_TARGET_EXPORTS) \[+ -ELSE normal_cxx +] - $(NORMAL_TARGET_EXPORTS) \[+ -ENDIF raw_cxx +] - (cd $(TARGET_SUBDIR)/[+module+] && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) [+ - IF raw_cxx - +] 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' [+ - ENDIF raw_cxx - +] [+extra_make_flags+] check) -[+ ENDIF no_check +] -@endif target-[+module+] - -.PHONY: install-target-[+module+] maybe-install-target-[+module+] -maybe-install-target-[+module+]: -@if target-[+module+] -maybe-install-target-[+module+]: install-target-[+module+] -[+ IF no_install +] -# Dummy target for uninstallable. -install-target-[+module+]: -[+ ELSE install +] -install-target-[+module+]: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \[+ -IF raw_cxx +] - $(RAW_CXX_TARGET_EXPORTS) \[+ -ELSE normal_cxx +] - $(NORMAL_TARGET_EXPORTS) \[+ -ENDIF raw_cxx +] - (cd $(TARGET_SUBDIR)/[+module+] && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) [+extra_make_flags+] install) -[+ ENDIF no_install +] -@endif target-[+module+] - -.PHONY: install-strip-target-[+module+] maybe-install-strip-target-[+module+] -maybe-install-strip-target-[+module+]: -@if target-[+module+] -maybe-install-strip-target-[+module+]: install-strip-target-[+module+] -[+ IF no_install +] -# Dummy target for uninstallable. -install-strip-target-[+module+]: -[+ ELSE install +] -install-strip-target-[+module+]: installdirs - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \[+ -IF raw_cxx +] - $(RAW_CXX_TARGET_EXPORTS) \[+ -ELSE normal_cxx +] - $(NORMAL_TARGET_EXPORTS) \[+ -ENDIF raw_cxx +] - (cd $(TARGET_SUBDIR)/[+module+] && \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) [+extra_make_flags+] install-strip) -[+ ENDIF no_install +] -@endif target-[+module+] - -# Other targets (info, dvi, pdf, etc.) -[+ FOR recursive_targets +] -.PHONY: maybe-[+make_target+]-target-[+module+] [+make_target+]-target-[+module+] -maybe-[+make_target+]-target-[+module+]: -@if target-[+module+] -maybe-[+make_target+]-target-[+module+]: [+make_target+]-target-[+module+] -[+ IF (match-value? = "missing" (get "make_target") ) +] -# [+module+] doesn't support [+make_target+]. -[+make_target+]-target-[+module+]: -[+ ELSE +] -[+make_target+]-target-[+module+]: [+ - FOR depend +]\ - [+depend+]-target-[+module+] [+ - ENDFOR depend +] - @: $(MAKE); $(unstage) - @[ -f $(TARGET_SUBDIR)/[+module+]/Makefile ] || exit 0 ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \[+ -IF raw_cxx +] - $(RAW_CXX_TARGET_EXPORTS) \[+ -ELSE normal_cxx +] - $(NORMAL_TARGET_EXPORTS) \[+ -ENDIF raw_cxx +] - echo "Doing [+make_target+] in $(TARGET_SUBDIR)/[+module+]" ; \ - for flag in $(EXTRA_TARGET_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - (cd $(TARGET_SUBDIR)/[+module+] && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ - [+extra_make_flags+] [+make_target+]) \ - || exit 1 -[+ ENDIF +] -@endif target-[+module+] -[+ ENDFOR recursive_targets +] -[+ ENDFOR target_modules +] - -@if target-libmudflap -.PHONY: check-target-libmudflap-c++ -check-target-libmudflap-c++: - $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++frags.exp" check-target-libmudflap - -@endif target-libmudflap - -# ---------- -# GCC module -# ---------- - -@if gcc-no-bootstrap -.PHONY: cross -cross: all-build all-gas all-ld - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - echo "Building the C and C++ compiler"; \ - cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++" - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \ - echo "Building runtime libraries"; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all -@endif gcc-no-bootstrap - -@if gcc -[+ FOR languages +] -.PHONY: check-gcc-[+language+] check-[+language+] -check-gcc-[+language+]: - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) [+gcc-check-target+]); -check-[+language+]: check-gcc-[+language+][+ FOR lib-check-target +] [+ lib-check-target +][+ ENDFOR lib-check-target +] -[+ ENDFOR languages +] - -# Install the gcc headers files, but not the fixed include files, -# which Cygnus is not allowed to distribute. This rule is very -# dependent on the workings of the gcc Makefile.in. -.PHONY: gcc-no-fixedincludes -gcc-no-fixedincludes: - @if [ -f ./gcc/Makefile ]; then \ - rm -rf gcc/tmp-include; \ - mv gcc/include gcc/tmp-include 2>/dev/null; \ - mkdir gcc/include; \ - cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \ - touch gcc/stmp-fixinc gcc/include/fixed; \ - rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \ - $(HOST_EXPORTS) \ - (cd ./gcc && \ - $(MAKE) $(GCC_FLAGS_TO_PASS) install); \ - rm -rf gcc/include; \ - mv gcc/tmp-include gcc/include 2>/dev/null; \ - else true; fi -@endif gcc - -# --------------------- -# GCC bootstrap support -# --------------------- - -# We track the current stage (the one in 'gcc') in the stage_current file. -# stage_last instead tracks the stage that was built last. These targets -# are dummy when toplevel bootstrap is not active. - -# While making host and target tools, symlinks to the final stage must be -# there, so $(unstage) should be run at various points. To avoid excessive -# recursive invocations of make, we "inline" them using a variable. These -# must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)" -# to avoid warnings from the GNU Make job server. - -unstage = : -stage = : -current_stage = "" - -@if gcc-bootstrap -unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi -stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi -current_stage = "`cat stage_current 2> /dev/null`" -@endif gcc-bootstrap - -.PHONY: unstage stage -unstage: - @: $(MAKE); $(unstage) -stage: - @: $(MAKE); $(stage) - -# Disable commands for lean bootstrap. -LEAN = false - -# We name the build directories for the various stages "stage1-gcc", -# "stage2-gcc","stage3-gcc", etc. - -# Since the 'compare' process will fail (on debugging information) if any -# directory names are different, we need to link the gcc directory for -# the previous stage to a constant name ('prev-gcc'), and to make the name of -# the build directories constant as well. For the latter, we use naked names -# like 'gcc', because the scripts in that directory assume it. We use -# mv on platforms where symlinks to directories do not work or are not -# reliable. - -# 'touch' doesn't work right on some platforms. -STAMP = echo timestamp > - -# We only want to compare .o files, so set this! -objext = .o - -[+ FOR bootstrap-stage +] -.PHONY: stage[+id+]-start stage[+id+]-end - -stage[+id+]-start:: - @: $(MAKE); $(stage); \ - echo stage[+id+] > stage_current ; \ - echo stage[+id+] > stage_last; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)[+ - FOR host_modules +][+ IF bootstrap +] -@if [+ module +] - @cd $(HOST_SUBDIR); [ -d stage[+id+]-[+module+] ] || \ - mkdir stage[+id+]-[+module+]; \ - mv stage[+id+]-[+module+] [+module+] [+ IF prev +] ; \ - mv stage[+prev+]-[+module+] prev-[+module+] || test -f stage[+prev+]-lean [+ ENDIF prev +] -@endif [+ module +][+ ENDIF bootstrap +][+ ENDFOR host_modules +] - @[ -d stage[+id+]-$(TARGET_SUBDIR) ] || \ - mkdir stage[+id+]-$(TARGET_SUBDIR); \ - mv stage[+id+]-$(TARGET_SUBDIR) $(TARGET_SUBDIR) [+ IF prev +] ; \ - mv stage[+prev+]-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage[+prev+]-lean [+ ENDIF prev +] - -stage[+id+]-end:: [+ FOR host_modules +][+ IF bootstrap +] -@if [+ module +] - @if test -d $(HOST_SUBDIR)/[+module+] ; then \ - cd $(HOST_SUBDIR); mv [+module+] stage[+id+]-[+module+] [+ IF prev +]; \ - mv prev-[+module+] stage[+prev+]-[+module+] ; : [+ ENDIF prev +] ; \ - fi -@endif [+ module +][+ ENDIF bootstrap +][+ ENDFOR host_modules +] - @if test -d $(TARGET_SUBDIR) ; then \ - mv $(TARGET_SUBDIR) stage[+id+]-$(TARGET_SUBDIR) [+ IF prev +] ; \ - mv prev-$(TARGET_SUBDIR) stage[+prev+]-$(TARGET_SUBDIR) ; : [+ ENDIF prev +] ; \ - fi - rm -f stage_current - -# Bubble a bug fix through all the stages up to stage [+id+]. They are -# remade, but not reconfigured. The next stage (if any) will not be -# reconfigured either. -.PHONY: stage[+id+]-bubble -stage[+id+]-bubble:: [+ IF prev +]stage[+prev+]-bubble[+ ENDIF +] - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - if test -f stage[+id+]-lean [+ - IF prev +]|| test -f stage[+prev+]-lean [+ ENDIF prev +] ; then \ - echo Skipping rebuild of stage[+id+] ; \ - else \ - $(MAKE) stage[+id+]-start; \[+IF lean +] - if $(LEAN); then \ - rm -rf stage[+lean+]-* ; \ - $(STAMP) stage[+lean+]-lean ; \ - fi; \[+ ENDIF lean +] - $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage[+id+]; \ - fi[+ IF compare-target +] - $(MAKE) $(RECURSE_FLAGS_TO_PASS) [+compare-target+][+ ENDIF compare-target +] - -.PHONY: all-stage[+id+] clean-stage[+id+] -do-clean: clean-stage[+id+] - -# FIXME: Will not need to be conditional when toplevel bootstrap is the -# only possibility, but now it conflicts with no-bootstrap rules -@if gcc-bootstrap -[+ IF compare-target +] -[+compare-target+]: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - if test -f stage[+prev+]-lean; then \ - echo Cannot compare object files as stage [+prev+] was deleted. ; \ - exit 0 ; \ - fi; \ - : $(MAKE); $(stage); \ - rm -f .bad_compare ; \ - echo Comparing stages [+prev+] and [+id+] ; \ - sed=`echo stage[+id+] | sed 's,^stage,,;s,.,.,g'`; \ - files=`find stage[+id+]-* -name "*$(objext)" -print | \ - sed -n s,^stage$$sed-,,p` ; \ - for file in $${files} ; do \ - f1=$$r/stage[+prev+]-$$file; f2=$$r/stage[+id+]-$$file; \ - if test ! -f $$f1; then continue; fi; \ - $(do-[+compare-target+]) > /dev/null 2>&1; \ - if test $$? -eq 1; then \ - case $$file in \ - @compare_exclusions@) \ - echo warning: $$file differs ;; \ - *) \ - echo $$file differs >> .bad_compare ;; \ - esac ; \ - fi ; \ - done ; \ - if [ -f .bad_compare ]; then \ - echo "Bootstrap comparison failure!"; \ - cat .bad_compare; \ - exit 1; \ - else \ - echo Comparison successful.; \ - fi ; \ - $(STAMP) [+compare-target+][+ IF prev +] - if $(LEAN); then \ - rm -rf stage[+prev+]-*; \ - $(STAMP) stage[+prev+]-lean; \ - fi[+ ENDIF prev +] -[+ ENDIF compare-target +] - -[+ IF bootstrap-target +] -.PHONY: [+bootstrap-target+] [+bootstrap-target+]-lean -[+bootstrap-target+]: - echo stage[+id+] > stage_final - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage[+id+]-bubble - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE[+id+]_TFLAGS)"; \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target - -[+bootstrap-target+]-lean: - echo stage[+id+] > stage_final - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage[+id+]-bubble - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE[+id+]_TFLAGS)"; \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target -[+ ENDIF bootstrap-target +] - -# Rules to wipe a stage and all the following ones, also used for cleanstrap -[+ IF prev +]distclean-stage[+prev+]:: distclean-stage[+id+] [+ ENDIF prev +] -.PHONY: distclean-stage[+id+] -distclean-stage[+id+]:: - @: $(MAKE); $(stage) - @test "`cat stage_last`" != stage[+id+] || rm -f stage_last - rm -rf stage[+id+]-* [+ - IF compare-target +][+compare-target+] [+ ENDIF compare-target +] - -[+ IF cleanstrap-target +] -.PHONY: [+cleanstrap-target+] -[+cleanstrap-target+]: do-distclean local-clean - echo stage[+id+] > stage_final - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage[+id+]-bubble - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE[+id+]_TFLAGS)"; \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target -[+ ENDIF cleanstrap-target +] -@endif gcc-bootstrap - -[+ ENDFOR bootstrap-stage +] - -stageprofile-end:: - $(MAKE) distclean-stagefeedback - -stagefeedback-start:: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - for i in prev-*; do \ - j=`echo $$i | sed s/^prev-//` ; \ - cd $$r/$$i && \ - { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \ - { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \ - done - -@if gcc-bootstrap -do-distclean: distclean-stage1 - -# Provide a GCC build when we're building target libraries. This does -# not work as a dependency, just as the minimum necessary to avoid errors. -stage_last: - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble - -# Same as unstage, but not phony and defaulting to stage1-start. We place -# it in the dependency so that for example `make -j3 all-gcc' works. -stage_current: - @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi - -.PHONY: restrap -restrap:: - @: $(MAKE); $(stage) - rm -rf stage1-$(TARGET_SUBDIR)[+ FOR bootstrap-stage +][+ IF prev - +] stage[+id+]-*[+ ENDIF prev +][+ ENDFOR bootstrap-stage +] -restrap:: all -@endif gcc-bootstrap - -# -------------------------------------- -# Dependencies between different modules -# -------------------------------------- - -# Generic dependencies for target modules on host stuff, especially gcc -@if gcc-bootstrap[+ FOR target_modules +][+ IF bootstrap - +][+ FOR bootstrap_stage +] -configure-stage[+id+]-target-[+module+]: maybe-all-stage[+id+]-gcc[+ - ENDFOR +][+ ELSE bootstrap +] -configure-target-[+module+]: stage_last[+ - ENDIF bootstrap +][+ ENDFOR target_modules +] -@endif gcc-bootstrap - -@if gcc-no-bootstrap[+ FOR target_modules +] -configure-target-[+module+]: maybe-all-gcc[+ - ENDFOR target_modules +] -@endif gcc-no-bootstrap - - -# There are two types of dependencies here: 'hard' dependencies, where one -# module simply won't build without the other; and 'soft' dependencies, where -# if the depended-on module is missing, the depending module will do without -# or find a substitute somewhere (perhaps installed). Soft dependencies -# are made here to depend on a 'maybe-' target. If you're not sure, -# it's safer to use a soft dependency. - -[+ ;; These Scheme functions build the bulk of the dependencies. - ;; dep-target builds a string like "maybe-all-MODULE_KIND-gcc", - ;; where "maybe-" is only included if HARD is not true, and all-gcc - ;; is taken from VAR-NAME. - (define dep-target (lambda (module-kind var-name hard) - (string-append - (if hard "" "maybe-") - (dep-subtarget var-name) - module-kind - (dep-module var-name) - ))) - - ;; make-dep builds a dependency from the MODULE and ON AutoGen vars. - (define make-dep (lambda (module-kind on-kind) - (string-append - (dep-target module-kind "module" #t) ": " - (dep-target on-kind "on" (exist? "hard"))))) - - ;; dep-subtarget extracts everything up to the first dash in the given - ;; AutoGen variable, for example it extracts "all-" out of "all-gcc". - (define dep-subtarget (lambda (var-name) - (substring (get var-name) 0 (+ 1 (string-index (get var-name) #\-))))) - - ;; dep-module extracts everything up to the first dash in the given - ;; AutoGen variable, for example it extracts "gcc" out of "all-gcc". - (define dep-module (lambda (var-name) - (substring (get var-name) (+ 1 (string-index (get var-name) #\-))))) - - ;; dep-stage builds a string for the prefix of a bootstrap stage. - (define dep-stage (lambda () - (string-append - "stage" - (get "id") - "-"))) - - ;; dep-maybe is the same as the AutoGen expression "- hard 'maybe-'" - ;; but is written in Scheme. - (define dep-maybe (lambda () - (if (exist? "hard") "" "maybe-"))) - - ;; dep-kind returns "normal" if the dependency is on an "install" target, - ;; or if either module is not bootstrapped. It returns "bootstrap" for - ;; configure or build dependencies between bootstrapped modules; it returns - ;; "prebootstrap" for configure or build dependencies of bootstrapped - ;; modules on a build module (e.g. all-gcc on all-build-bison). All this - ;; is only necessary for host modules. - (define dep-kind (lambda () - (if (and (hash-ref boot-modules (dep-module "module")) - (=* (dep-module "on") "build-")) - "prebootstrap" - - (if (or (= (dep-subtarget "on") "install-") - (not (hash-ref boot-modules (dep-module "module"))) - (not (hash-ref boot-modules (dep-module "on")))) - "normal" - "bootstrap")))) - - ;; We now build the hash table that is used by dep-kind. - (define boot-modules (make-hash-table 113)) -+] - -[+ FOR host_modules +][+ - (if (exist? "bootstrap") - (hash-create-handle! boot-modules (get "module") #t)) - "" +][+ ENDFOR host_modules +] -[+ FOR target_modules +][+ - (if (exist? "bootstrap") - (hash-create-handle! boot-modules (string-append "target-" (get "module")) #t)) - "" +][+ ENDFOR target_modules +] - -# With all the machinery above in place, it is pretty easy to generate -# dependencies. Host dependencies are a bit more complex because we have -# to check for bootstrap/prebootstrap dependencies. To resolve -# prebootstrap dependencies, prebootstrap modules are gathered in -# a hash table. -[+ FOR dependencies +][+ (make-dep "" "") +] -[+ CASE (dep-kind) +] -[+ == "prebootstrap" - +][+ FOR bootstrap_stage +] -[+ (make-dep (dep-stage) "") +][+ - ENDFOR bootstrap_stage +] -[+ == "bootstrap" - +][+ FOR bootstrap_stage +] -[+ (make-dep (dep-stage) (dep-stage)) +][+ - ENDFOR bootstrap_stage +] -[+ ESAC +][+ -ENDFOR dependencies +] - -# Dependencies for target modules on other target modules are -# described by lang_env_dependencies; the defaults apply to anything -# not mentioned there. -[+ - ;; Predicate for whether LANG was specified in lang_env_dependencies. - (define lang-dep (lambda (lang) - (hash-ref lang-env-deps (string-append (get "module") "-" lang)))) - - ;; Build the hash table we will need. - (define lang-env-deps (make-hash-table 7)) -+][+ FOR lang_env_dependencies +][+ - (if (exist? "cxx") - (hash-create-handle! lang-env-deps - (string-append (get "module") "-" "cxx") #t)) - - (if (exist? "no_c") - (hash-create-handle! lang-env-deps - (string-append (get "module") "-" "no_c") #t)) - - (if (exist? "no_gcc") - (hash-create-handle! lang-env-deps - (string-append (get "module") "-" "no_gcc") #t)) - "" +][+ ENDFOR lang_env_dependencies +] - -@if gcc-bootstrap[+ FOR target_modules +][+ IF (not (lang-dep "no_gcc")) - +][+ IF bootstrap +][+ FOR bootstrap_stage +] -configure-stage[+id+]-target-[+module+]: maybe-all-stage[+id+]-target-libgcc[+ - ENDFOR +][+ ENDIF bootstrap +][+ ENDIF +][+ ENDFOR target_modules +] -@endif gcc-bootstrap - -@if gcc-no-bootstrap[+ FOR target_modules +][+ IF (not (lang-dep "no_gcc")) +] -configure-target-[+module+]: maybe-all-target-libgcc[+ - ENDIF +][+ ENDFOR target_modules +] -@endif gcc-no-bootstrap - -[+ FOR target_modules +][+ IF (not (lang-dep "no_c")) +] -configure-target-[+module+]: maybe-all-target-newlib maybe-all-target-libgloss[+ - ENDIF +][+ IF (lang-dep "cxx") +] -configure-target-[+module+]: maybe-all-target-libstdc++-v3[+ - ENDIF +] -[+ ENDFOR target_modules +] - -CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@ -GDB_TK = @GDB_TK@ -INSTALL_GDB_TK = @INSTALL_GDB_TK@ -configure-gdb: $(CONFIGURE_GDB_TK) -all-gdb: $(gdbnlmrequirements) $(GDB_TK) -install-gdb: $(INSTALL_GDB_TK) - -# Serialization dependencies. Host configures don't work well in parallel to -# each other, due to contention over config.cache. Target configures and -# build configures are similar. -@serialization_dependencies@ - -# -------------------------------- -# Regenerating top level configury -# -------------------------------- - -# Rebuilding Makefile.in, using autogen. -AUTOGEN = autogen -$(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def - cd $(srcdir) && $(AUTOGEN) Makefile.def - -# Rebuilding Makefile. -Makefile: $(srcdir)/Makefile.in config.status - CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status - -config.status: configure - CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck - -# Rebuilding configure. -AUTOCONF = autoconf -$(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \ - $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4 - cd $(srcdir) && $(AUTOCONF) - -# ------------------------------ -# Special directives to GNU Make -# ------------------------------ - -# Don't pass command-line variables to submakes. -.NOEXPORT: -MAKEOVERRIDES= - -# end of Makefile.in
diff --git a/clang-tests-external/gdb/7.5/README b/clang-tests-external/gdb/7.5/README deleted file mode 100644 index eb0e436..0000000 --- a/clang-tests-external/gdb/7.5/README +++ /dev/null
@@ -1,47 +0,0 @@ - README for GNU development tools - -This directory contains various GNU compilers, assemblers, linkers, -debuggers, etc., plus their support routines, definitions, and documentation. - -If you are receiving this as part of a GDB release, see the file gdb/README. -If with a binutils release, see binutils/README; if with a libg++ release, -see libg++/README, etc. That'll give you info about this -package -- supported targets, how to use it, how to report bugs, etc. - -It is now possible to automatically configure and build a variety of -tools with one command. To build all of the tools contained herein, -run the ``configure'' script here, e.g.: - - ./configure - make - -To install them (by default in /usr/local/bin, /usr/local/lib, etc), -then do: - make install - -(If the configure script can't determine your type of computer, give it -the name as an argument, for instance ``./configure sun4''. You can -use the script ``config.sub'' to test whether a name is recognized; if -it is, config.sub translates it to a triplet specifying CPU, vendor, -and OS.) - -If you have more than one compiler on your system, it is often best to -explicitly set CC in the environment before running configure, and to -also set CC when running make. For example (assuming sh/bash/ksh): - - CC=gcc ./configure - make - -A similar example using csh: - - setenv CC gcc - ./configure - make - -Much of the code and documentation enclosed is copyright by -the Free Software Foundation, Inc. See the file COPYING or -COPYING.LIB in the various directories, for a description of the -GNU General Public License terms under which you can copy the files. - -REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info -on where and how to report problems.
diff --git a/clang-tests-external/gdb/7.5/README-maintainer-mode b/clang-tests-external/gdb/7.5/README-maintainer-mode deleted file mode 100644 index a350974..0000000 --- a/clang-tests-external/gdb/7.5/README-maintainer-mode +++ /dev/null
@@ -1,25 +0,0 @@ - - Notes on enabling maintainer mode - -Note that if you configure with --enable-maintainer-mode, you will need -special versions of automake, autoconf, libtool and gettext. You will -find the sources for these in the respective upstream directories: - - ftp://ftp.gnu.org/gnu/autoconf - ftp://ftp.gnu.org/gnu/automake - ftp://ftp.gnu.org/gnu/libtool - ftp://ftp.gnu.org/gnu/gettext - -The required versions of the tools for this tree are - autoconf 2.64 - automake 1.11 - libtool 2.2.6 - gettext 0.14.5 - -Note - "make distclean" does not work with maintainer mode enabled. -The Makefiles in the some of the po/ subdirectories depend upon the -Makefiles in their parent directories, and distclean will delete the -Makefiles in the parent directories before running the Makefiles in -the child directories. There is no easy way around this (short of -changing the automake macros) as these dependencies need to exist in -order to correctly build the NLS files.
diff --git a/clang-tests-external/gdb/7.5/bfd/.gitignore b/clang-tests-external/gdb/7.5/bfd/.gitignore deleted file mode 100644 index 3316133..0000000 --- a/clang-tests-external/gdb/7.5/bfd/.gitignore +++ /dev/null
@@ -1,40 +0,0 @@ -/bfd-in3.h -/bfd.h -/bfd_stdint.h -/bfdver.h -/elf32-ia64.c -/elf32-target.h -/elf64-ia64.c -/elf64-target.h -/libtool-soversion -/ofiles -/peigen.c -/pepigen.c -/pex64igen.c -/stmp-bfd-h -/targmatch.h - -/doc/aoutx.texi -/doc/archive.texi -/doc/archures.texi -/doc/bfdio.texi -/doc/bfdt.texi -/doc/bfdver.texi -/doc/bfdwin.texi -/doc/cache.texi -/doc/chew -/doc/coffcode.texi -/doc/core.texi -/doc/elf.texi -/doc/elfcode.texi -/doc/format.texi -/doc/hash.texi -/doc/init.texi -/doc/libbfd.texi -/doc/linker.texi -/doc/mmo.texi -/doc/opncls.texi -/doc/reloc.texi -/doc/section.texi -/doc/syms.texi -/doc/targets.texi
diff --git a/clang-tests-external/gdb/7.5/bfd/COPYING b/clang-tests-external/gdb/7.5/bfd/COPYING deleted file mode 100644 index 94a9ed0..0000000 --- a/clang-tests-external/gdb/7.5/bfd/COPYING +++ /dev/null
@@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (C) <year> <name of author> - - This program 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 3 of the License, or - (at your option) any later version. - - 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, see <http://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (C) <year> <name of author> - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<http://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<http://www.gnu.org/philosophy/why-not-lgpl.html>.
diff --git a/clang-tests-external/gdb/7.5/bfd/ChangeLog b/clang-tests-external/gdb/7.5/bfd/ChangeLog deleted file mode 100644 index da9e6a2..0000000 --- a/clang-tests-external/gdb/7.5/bfd/ChangeLog +++ /dev/null
@@ -1,2093 +0,0 @@ -2012-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * elf64-s390.c: Include elf-s390-common.c. - (R_390_IRELATIVE): New reloc. - (elf_s390_reloc_type_lookup): Support R_390_IRELATIVE. - (RELA_ENTRY_SIZE): New macro. - (elf_s390_link_hash_entry): New fields ifunc_resolver_address and - *ifunc_resolver_section. - (struct plt_entry): New struct. - (struct elf_s390_obj_tdata): New field local_plt. - (elf_s390_local_plt): New macro. - (struct elf_s390_link_hash_table): New field irelifunc. - (ELF64): New macro. - (link_hash_newfunc): Initialize new fields. - (elf_s390_check_relocs): Handle IFUNC symbols. - (elf_s390_adjust_dynamic_symbol): Don't do anything for IFUNC - symbols. - (allocate_dynrelocs): Call s390_elf_allocate_ifunc_dyn_relocs for - IFUNC symbols. - (elf_s390_size_dynamic_sections): Handle IFUNC symbols. - (elf_s390_relocate_section): Likewise. - (elf_s390_finish_dynamic_symbol): Likewise. - (elf_s390_finish_dynamic_sections): Handle local IFUNC symbols. - (elf_s390_finish_ifunc_symbol): New function. - (elf_s390_gc_sweep_hook): Handle local plt entries. - (elf_backend_add_symbol_hook): Define. - * elf32-s390.c: See elf64-s390.c changes. - * elf-s390-common.c: New file. - * bfd-in2.h (BFD_RELOC_390_IRELATIVE): New enum field. - * libbfd.h (BFD_RELOC_390_IRELATIVE): New entry for - BFD_RELOC_390_IRELATIVE. - * reloc.c (BFD_RELOC_390_IRELATIVE): Document new relocation. - -2012-07-13 Nick Clifton <nickc@redhat.com> - - * aix386-core.c: Remove use of PTR and PARAMS macros. - * archive.c: Likewise. - * cache.c: Likewise. - * cisco-core.c: Likewise. - * coff-alpha.c: Likewise. - * coff-apollo.c: Likewise. - * coff-aux.c: Likewise. - * coff-h8300.c: Likewise. - * coff-h8500.c: Likewise. - * coff-i386.c: Likewise. - * coff-i960.c: Likewise. - * coff-ia64.c: Likewise. - * coff-m68k.c: Likewise. - * coff-m88k.c: Likewise. - * coff-mcore.c: Likewise. - * coff-mips.c: Likewise. - * coff-or32.c: Likewise. - * coff-ppc.c: Likewise. - * coff-rs6000.c: Likewise. - * coff-sh.c: Likewise. - * coff-sparc.c: Likewise. - * coff-stgo32.c: Likewise. - * coff-tic30.c: Likewise. - * coff-tic4x.c: Likewise. - * coff-tic54x.c: Likewise. - * coff-tic80.c: Likewise. - * coff-w65.c: Likewise. - * cofflink.c: Likewise. - * cpu-arc.c: Likewise. - * cpu-cris.c: Likewise. - * cpu-h8500.c: Likewise. - * cpu-i960.c: Likewise. - * cpu-msp430.c: Likewise. - * cpu-ns32k.c: Likewise. - * cpu-powerpc.c: Likewise. - * cpu-rs6000.c: Likewise. - * cpu-tic4x.c: Likewise. - * cpu-w65.c: Likewise. - * ecoff.c: Likewise. - * ecofflink.c: Likewise. - * elf-m10200.c: Likewise. - * elf32-bfin.c: Likewise. - * elf32-cris.c: Likewise. - * elf32-crx.c: Likewise. - * elf32-fr30.c: Likewise. - * elf32-frv.c: Likewise. - * elf32-h8300.c: Likewise. - * elf32-i960.c: Likewise. - * elf32-m32c.c: Likewise. - * elf32-m68hc11.c: Likewise. - * elf32-m68hc12.c: Likewise. - * elf32-m68hc1x.c: Likewise. - * elf32-m68k.c: Likewise. - * elf32-mcore.c: Likewise. - * elf32-rl78.c: Likewise. - * elf32-rx.c: Likewise. - * elf32-s390.c: Likewise. - * elf32-vax.c: Likewise. - * elf64-alpha.c: Likewise. - * elf64-mmix.c: Likewise. - * elf64-s390.c: Likewise. - * elf64-sparc.c: Likewise. - * elfnn-ia64.c: Likewise. - * elfxx-mips.c: Likewise. - * elfxx-sparc.c: Likewise. - * hash.c: Likewise. - * hp300hpux.c: Likewise. - * hppabsd-core.c: Likewise. - * hpux-core.c: Likewise. - * i386dynix.c: Likewise. - * i386linux.c: Likewise. - * i386lynx.c: Likewise. - * i386mach3.c: Likewise. - * i386msdos.c: Likewise. - * i386os9k.c: Likewise. - * irix-core.c: Likewise. - * lynx-core.c: Likewise. - * m68klinux.c: Likewise. - * mach-o.h: Likewise. - * mipsbsd.c: Likewise. - * netbsd-core.c: Likewise. - * nlm32-i386.c: Likewise. - * osf-core.c: Likewise. - * pc532-mach.c: Likewise. - * pef.c: Likewise. - * ppcboot.c: Likewise. - * ptrace-core.c: Likewise. - * reloc16.c: Likewise. - * sco5-core.c: Likewise. - * som.h: Likewise. - * sparclinux.c: Likewise. - * sparclynx.c: Likewise. - * ticoff.h: Likewise. - * trad-core.c: Likewise. - * vms-lib.c: Likewise. - * xsym.h: Likewise. - -2012-07-09 Alan Modra <amodra@gmail.com> - - PR ld/14323 - * elflink.c (elf_sort_symbol): Sort by size too. - (elf_link_add_object_symbols <weakdefs>): Simplify binary search. - Do not depend on ordering of symbol aliases. Match largest size. - -2012-07-03 H.J. Lu <hongjiu.lu@intel.com> - - * elf.c (assign_section_numbers): Check if number of sections - >= SHN_LORESERVE. - * elfcode.h (elf_object_p): Likewise. - -2012-07-03 Nick Clifton <nickc@redhat.com> - - * archive.c (bsd_write_armap): Catch attempts to create an archive - with indicies bigger than 4Gb. - (coff_write_armap): Likewise. - -2012-07-03 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/14319 - * elf.c (_bfd_elf_make_section_from_shdr): Don't compress empty - debug section. - -2012-07-03 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/3351 - * elflink.c (_bfd_elf_update_dynamic_flags): New. - (_bfd_elf_merge_symbol): Update both real and indirect symbol - dynamic flags. - (_bfd_elf_add_default_symbol): Make the real symbol dynamic if - the indirect symbol is defined in a shared library. - (elf_link_add_object_symbols): Likewise. If the indirect - symbol has been forced local, don't make the real symbol - dynamic. - (elf_link_check_versioned_symbol): Check indirect symbol. - (elf_link_output_extsym): Use real symbol definition when - reporting indirect symbol error. Check version info for - dynamic versioned symbol. - -2012-07-03 Alan Modra <amodra@gmail.com> - - PR ld/14207 - * elf.c (assign_file_positions_for_load_sections): Remove assertions - that only PT_LOAD headers include file header and section headers. - (assign_file_positions_for_non_load_sections): Similarly don't - assert PT_GNU_RELRO header does not include file and section headers. - Compare first section vma rather than PT_LOAD p_vaddr against - relro_start when looking for PT_LOAD covering PT_GNU_RELRO. Replace - abort with assertion. - -2012-07-02 Alan Modra <amodra@gmail.com> - - * elf32-m32c.c (m32c_elf_check_relocs): Use bfd_make_section - "anyway" variant when creating .plt. - (m32c_elf_relax_plt_section): Remove redundant test and unused param. - (m32c_elf_relax_section): Test SEC_LINKER_CREATED before calling - m32c_elf_relax_plt_section. - * elfxx-mips.c (mips_elf_create_got_section): Use make anyway variant - when creating .got and .got.plt. - (_bfd_mips_elf_final_link): Likewise for .rtproc, and use - bfd_get_linker_section. - * sunos.c: Similarly throughout. - -2012-07-01 Andreas Schwab <schwab@linux-m68k.org> - - * elf.c (_bfd_elf_make_section_from_shdr): Fix typo in error - message. - -2012-06-29 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf_x86_64_relocate_section): Return FALSE - on unresolvable relocation. - -2012-06-29 H.J. Lu <hongjiu.lu@intel.com> - - * archive.c (_bfd_compute_and_write_armap): Simplify global - symbol handling. - -2012-06-29 Nick Clifton <nickc@redhat.com> - - PR ld/14189 - * elf32-arm.c (elf32_arm_check_relocs): Do not increment refcount - for locally bound symbols. - -2012-06-29 Alan Modra <amodra@gmail.com> - - * section.c (bfd_get_linker_section): New function. - * elf32-arm.c: When retrieving SEC_LINKER_CREATED sections, use - the above throughout rather than bfd_get_section_by_name. Use - bfd_make_section_anyway rather than bfd_make_section when creating - them. - * elf32-bfin.c: Likewise. - * elf32-cr16.c: Likewise. - * elf32-cris.c: Likewise. - * elf32-frv.c: Likewise. - * elf32-hppa.c: Likewise. - * elf32-i370.c: Likewise. - * elf32-i386.c: Likewise. - * elf32-lm32.c: Likewise. - * elf32-m32c.c: Likewise. - * elf32-m32r.c: Likewise. - * elf32-m68k.c: Likewise. - * elf32-microblaze.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-rl78.c: Likewise. - * elf32-s390.c: Likewise. - * elf32-score.c: Likewise. - * elf32-score7.c: Likewise. - * elf32-sh.c: Likewise. - * elf32-tic6x.c: Likewise. - * elf32-tilepro.c: Likewise. - * elf32-vax.c: Likewise. - * elf32-xstormy16.c: Likewise. - * elf32-xtensa.c: Likewise. - * elf64-alpha.c: Likewise. - * elf64-hppa.c: Likewise. - * elf64-ia64-vms.c: Likewise. - * elf64-ppc.c: Likewise. - * elf64-s390.c: Likewise. - * elf64-sh64.c: Likewise. - * elf64-sparc.c: Likewise. - * elf64-x86-64.c: Likewise. - * elfnn-ia64.c: Likewise. - * elfxx-mips.c: Likewise. - * elfxx-sparc.c: Likewise. - * elfxx-tilegx.c: Likewise. - * elflink.c: Likewise. - * elf-vxworks.c: Likewise. - * elf-m10300.c: Likewise. Also make use of htab plt, got and - gotplt shortcuts. - * bfd-in2.h: Regenerate. - * elf32-lm32.c (lm32_elf_check_relocs): Use the correct bfd when - calling create_rofixup_section. - * elflink.c (bfd_elf_final_link): Simplify test for .dynstr. - -2012-06-29 Alan Modra <amodra@gmail.com> - - * elf32-sh.c (sh_elf_create_dynamic_sections): Don't create .rela - section for bss type sections, except for .rela.bss. - * elf-m10300.c (_bfd_mn10300_elf_create_dynamic_sections): Likewise. - * elf32-cr16.c (_bfd_cr16_elf_create_dynamic_sections): Likewise. - * elf32-lm32.c (lm32_elf_create_dynamic_sections): Likewise. - * elf32-m32r.c (m32r_elf_create_dynamic_sections): Likewise. - * elf64-sh64.c (sh64_elf64_create_dynamic_sections): Likewise. - -2012-06-28 Roland McGrath <mcgrathr@google.com> - - * elf32-arm.c (elf32_arm_populate_plt_entry): Use int32_t for - displacement calculation in nacl_p case. - -2012-06-28 Nick Clifton <nickc@redhat.com> - - * po/uk.po: New Ukranian translation. - * configure.in (ALL_LINGUAS): Add uk. - * configure: Regenerate. - -2012-06-26 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (ppc64_elf_next_toc_section): Don't error if input - file has multiple .got/.toc sections and all don't fit in - current toc group. - -2012-06-22 Roland McGrath <mcgrathr@google.com> - - * elf.c (assign_file_positions_for_non_load_sections): Define - __ehdr_start symbol if it's referenced and there's a PT_LOAD - segment that covers both the file and program headers. - -2012-06-22 Andreas Schwab <schwab@linux-m68k.org> - - * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Don't make - _GLOBAL_OFFSET_TABLE_ and _DYNAMIC absolute. - -2012-06-22 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't emit out-of-line - save/restore functions when relocatable. Make "funcs" static. - -2012-06-18 Hans-Peter Nilsson <hp@axis.com> - - * elf32-cris.c (cris_elf_plt_sym_val): Rewrite to work in presence - of merged .got and .got.plt entries. - -2012-06-18 John Szakmeister <john@szakmeister.net> - - * elf32-arm.c (elf32_arm_final_link_relocate): Correct return value. - -2012-06-17 Hans-Peter Nilsson <hp@axis.com> - - * elf32-cris.c (cris_elf_relocate_section): <R_CRIS_32_IE> - <R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>: Handle references to - thread common symbols. - -2012-06-13 Nick Clifton <nickc@redhat.com> - - * elf32-arm.c (bfd_arm_get_mach_from_attributes): New function. - (elf32_arm_object_p): If the machine number could not be deduced - from the notes, call bfd_arm_get_mach_from_attributes to get the - number from the attributes. - -2012-06-12 H.J. Lu <hongjiu.lu@intel.com> - - PR bfd/14207 - * elf.c (assign_file_positions_for_non_load_sections): Abort if - PT_GNU_RELRO segment doesn't fit in PT_LOAD segment. - -2012-06-12 Alan Modra <amodra@gmail.com> - - PR ld/14207 - * elf.c (_bfd_elf_map_sections_to_segments): Disregard bss type - sections at end of PT_LOAD segment when searching for segment - that contains end of relro extent. - -2012-06-11 H.J. Lu <hongjiu.lu@intel.com> - - * elf.c (assign_file_positions_for_non_load_sections): Reindent. - -2012-06-11 H.J. Lu <hongjiu.lu@intel.com> - - * elf.c (_bfd_elf_map_sections_to_segments): Reindent. - -2012-06-06 Alan Modra <amodra@gmail.com> - - * elflink.c (elf_link_input_bfd): Provide a file symbol for - each input file with local syms, if the input lacks such. - (bfd_elf_final_link): Add a file symbol to mark end of locals - for which we can associate with input files. - (struct elf_final_link_info): Add filesym_count field. - (struct elf_outext_info): Add need_second_pass and second_pass. - (elf_link_output_extsym): Detect symbols defined in the output - file, emit them on second pass over locals. - -2012-06-04 Jan Kratochvil <jan.kratochvil@redhat.com> - - * bfd-in.h (bfd_elf_bfd_from_remote_memory): Make LEN argument - of target_read_memory as bfd_size_type. - * bfd-in2.h: Regenerate. - * elf-bfd.h (elf_backend_bfd_from_remote_memory): Make LEN - argument of target_read_memory as bfd_size_type. - (_bfd_elf32_bfd_from_remote_memory): Likewise. - (_bfd_elf64_bfd_from_remote_memory): Likewise. - * elf.c (bfd_elf_bfd_from_remote_memory): Likewise. - * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): Likewise. - -2012-06-03 Alan Modra <amodra@gmail.com> - - PR binutils/13897 - * elf.c (elf_find_function): Cache last function sym info. - (_bfd_elf_maybe_function_sym): Return function size, pass in - section of interest. - * elf-bfd.h (struct elf_backend_data <maybe_function_sym>): Likewise. - (_bfd_elf_maybe_function_sym): Likewise. - * elf64-ppc.c (ppc64_elf_maybe_function_sym): Likewise. - (opd_entry_value): Add in_code_sec param. Revert caching code. - Return -1 if in_code_sec and function found in wrong section. - Update all calls. - -2012-06-01 Siddhesh Poyarekar <siddhesh@redhat.com> - - * bfd-in.h (bfd_elf_bfd_from_remote_memory): Make LEN argument - of target_read_memory as size_t. - * bfd-in2.h: Regenerate. - * elf-bfd.h (elf_backend_bfd_from_remote_memory): Make LEN - argument of target_read_memory as size_t. - (_bfd_elf32_bfd_from_remote_memory): Likewise. - (_bfd_elf64_bfd_from_remote_memory): Likewise. - * elf.c (bfd_elf_bfd_from_remote_memory): Likewise. - * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): Likewise. - -2012-06-01 Alan Modra <amodra@gmail.com> - - PR binutils/13897 - * elf64-ppc.c (opd_entry_value): Rewrite cache code. - -2012-05-29 Tom Tromey <tromey@redhat.com> - - * opncls.c (bfd_fopen): Always close fd on failure. - (bfd_fdopenr): Likewise. - -2012-05-27 Alan Modra <amodra@gmail.com> - - PR ld/14170 - * elflink.c (_bfd_elf_merge_symbol): When a symbol defined in - a dynamic library finds a new instance with non-default - visibility in a regular object, correctly handle symbols - already on the undefs list and undo dynamic symbol state when - the new symbol is hidden or internal. - -2012-05-25 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_create_dynamic_sections): Don't use - dynamic_sec_flags to create PLT .eh_frame section. - * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise. - -2012-05-25 Alan Modra <amodra@gmail.com> - - PR ld/13909 - * elf-eh-frame.c (_bfd_elf_eh_frame_present): New function. - (_bfd_elf_maybe_strip_eh_frame_hdr): Use it here. - * elf-bfd.h (_bfd_elf_eh_frame_present): Declare. - * elflink.c (bfd_elf_size_dynamic_sections): Let the backend - size dynamic sections before stripping eh_frame_hdr. - (bfd_elf_gc_sections): Handle multiple .eh_frame sections. - * elf32-ppc.c (ppc_elf_size_dynamic_sections): Drop glink_eh_frame - if no other .eh_frame sections exist. - * elf64-ppc.c (ppc64_elf_size_stubs): Likewise. - * elf32-i386.c (elf_i386_create_dynamic_sections): Don't size - or alloc plt_eh_frame here.. - (elf_i386_size_dynamic_sections): ..do it here instead. Don't - specially keep sgotplt, iplt, tgotplt, sdynbss for symbols. - (elf_i386_finish_dynamic_sections): Check plt_eh_frame->contents - before writing plt offset. - * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Don't size - or alloc plt_eh_frame here.. - (elf_x86_64_size_dynamic_sections): ..do it here instead. - (elf_x86_64_finish_dynamic_sections): Check plt_eh_frame->contents - before writing plt offset. - -2012-05-24 Alan Modra <amodra@gmail.com> - - PR ld/14158 - * elf64-ppc.c (ppc64_elf_size_stubs): Round up glink_eh_frame - size to output section alignment. - (ppc64_elf_build_stubs): Likewise, and extend last FDE to cover. - -2012-05-23 Alan Modra <amodra@gmail.com> - - * elf-eh-frame.c (_bfd_elf_maybe_strip_eh_frame_hdr): Handle - BFDs with multiple .eh_frame sections. - -2012-05-23 Alan Modra <amodra@gmail.com> - - PR ld/13909 - * elflink.c (bfd_elf_discard_info): Don't ignore dynamic BFDs. - -2012-05-22 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13909 - * elf32-i386.c (elf_i386_create_dynamic_sections): Revert the - last change. - * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise. - -2012-05-22 Alan Modra <amodra@gmail.com> - - * elflink.c (bfd_elf_discard_info): Look for next .eh_frame if - first one is zero size or discarded. - * elf32-ppc.c (ppc_elf_size_dynamic_sections): Set most of - glink_eh_frame contents here.. - (ppc_elf_finish_dynamic_sections): ..rather than here. Just set - offset to .glink. - -2012-05-22 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13909 - * elf32-i386.c (elf_i386_create_dynamic_sections): Create PLT - eh_frame section if there is an input .eh_frame section. - * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise. - -2012-05-22 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/14105 - * elf32-i386.c (elf_i386_create_dynamic_sections): Always - create PLT eh_frame section with SEC_LINKER_CREATED. - * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise. - -2012-05-22 Alan Modra <amodra@gmail.com> - - * elflink.c (bfd_elf_discard_info): Handle multiple .eh_frame - sections attached to a BFD. - * section.c (bfd_get_section_by_name): Rewrite description. - (bfd_get_next_section_by_name): New function. - * bfd-in2.h: Regenerate. - -2012-05-21 Andreas Schwab <schwab@linux-m68k.org> - - * elf32-m68k.c (elf_m68k_grok_prstatus): New function. - (elf_m68k_grok_psinfo): New function. - (elf_backend_grok_prstatus): Define. - (elf_backend_grok_psinfo): Define. - -2012-05-19 Maciej W. Rozycki <macro@linux-mips.org> - - * elf64-mips.c (elf_backend_got_header_size): Correct definition. - * elfxx-mips.c (_bfd_mips_elf_adjust_dynamic_symbol): Use the ELF - backend's GOT header size instead of hardcoding it. - -2012-05-19 Maciej W. Rozycki <macro@linux-mips.org> - - * elf32-vax.c (elf_vax_relocate_section) - <R_VAX_8, R_VAX_16, R_VAX_32>: Don't check if info->shared again. - -2012-05-19 Maciej W. Rozycki <macro@linux-mips.org> - - * elf32-vax.c (elf_vax_relocate_section) - <R_VAX_8, R_VAX_16, R_VAX_32>: Use section flags rather than - its name as the check for text sections. - -2012-05-19 Maciej W. Rozycki <macro@linux-mips.org> - - * elf64-mips.c (mips_elf64_be_swap_reloc_out): Also make sure - the third reloc offset is the same as the first. - -2012-05-19 Alan Modra <amodra@gmail.com> - - * elf32-ppc.h (has_vle_insns, is_ppc_vle): Delete. - (has_tls_reloc, has_tls_get_addr_call): Move back to.. - * elf32-ppc.c: ..here. - (ppc_elf_section_flags, elf_backend_section_flags): Delete. - (ppc_elf_modify_segment_map): Use ELF sh_flags to detect VLE sections. - -2012-05-18 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_finish_dynamic_symbol): Don't make - _DYNAMIC nor _GLOBAL_OFFSET_TABLE_ absolute. - * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise. - -2012-05-18 Roland McGrath <mcgrathr@google.com> - - * archive.c (_bfd_generic_read_ar_hdr_mag): Fix last change so as - not to clobber the ar_fmag field stored in ARED->arch_header. - -2012-05-18 Pedro Alves <palves@redhat.com> - - * mach-o.h: Don't include sysdep.h. - -2012-05-18 Nick Clifton <nickc@redhat.com> - - PR 14072 - * bfd-in.h: Check for PACKAGE or PACKAGE_VERSION before - complaining about config.h not having been included. - * bfd-in2.h: Regenerate. - -2012-05-18 Andreas Schwab <schwab@linux-m68k.org> - - * aclocal.m4: Regenerate. - * Makefile.in: Regenerate. - -2012-05-17 Daniel Richard G. <skunk@iskunk.org> - Nick Clifton <nickc@redhat.com> - - PR 14072 - * configure.in: Add check that sysdep.h has been included before - any system header files. - * configure: Regenerate. - * config.in: Regenerate. - * aclocal.m4: Regenerate. - * bfd-in.h: Generate an error if included before config.h. - * sysdep.h: Likewise. - * bfd-in2.h: Regenerate. - * compress.c: Remove #include "config.h". - * plugin.c: Likewise. - * elf32-m68hc1x.c: Include sysdep.h before alloca-conf.h. - * elf64-hppa.c: Likewise. - * som.c: Likewise. - * xsymc.c: Likewise. - -2012-05-17 Maciej W. Rozycki <macro@linux-mips.org> - Alan Modra <amodra@gmail.com> - - * elf.c (ignore_section_sym): Correct comment. Don't return - true for absolute section. - (elf_map_symbols): Move stray comment. Adjust for above change. - Don't discard global section symbols. - -2012-05-17 Alan Modra <amodra@gmail.com> - - * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make _DYNAMIC, - _GLOBAL_OFFSET_TABLE_ or _PROCEDURE_LINKAGE_TABLE_ absolute. - * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Don't make _DYNAMIC - absolute. - -2012-05-17 Alan Modra <amodra@gmail.com> - - * elf32-ppc.c (has_tls_reloc, has_tls_get_addr_call, has_vle_insns, - is_ppc_vle): Move to.. - * elf32-ppc.h: ..here, making is_ppc_vle a macro. - -2012-05-16 Sergio Durigan Junior <sergiodj@redhat.com> - - * bfd-in.h (bfd_get_section_name, bfd_get_section_vma, - bfd_get_section_lma, bfd_get_section_alignment, - bfd_get_section_flags, bfd_get_section_userdata): Rewrite macros - in order to use the `bfd' argument. - * bfd-in2.h: Regenerate. - * elf-vxworks.c (elf_vxworks_finish_dynamic_entry): Pass proper `bfd' - as the first argument for `bfd_get_section_alignment'. - * elf32-arm.c (create_ifunc_sections): Likewise, for - `bfd_set_section_alignment'. - * elf32-m32r.c (m32r_elf_relocate_section): Likewise, for - `bfd_get_section_name'. - * elf32-microblaze.c (microblaze_elf_relocate_section): Likewise. - * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. - (ppc_elf_relocate_section): Likewise. - * elf64-mmix.c (mmix_final_link_relocate): Likewise, for - `bfd_get_section_vma'. - * elf64-ppc.c (create_linkage_sections): Likewise, for - `bfd_set_section_alignment'. - -2012-05-16 Georg-Johann Lay <avr@gjlay.de> - - PR target/13503 - * reloc.c: Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenrate. - * elf32-avr.c (elf_avr_howto_table): Rename R_AVR_8_HHI8 to - R_AVR_8_HLO8. - (avr_reloc_map): Likewise. - -2012-05-16 Daniel Richard G. <skunk@iskunk.org> - - PR binutils/13558 - * bfd/aout-cris.c: Include sysdep.h before bfd.h. - * bfd/aout-ns32k.c: Likewise. - * bfd/aout-sparcle.c: Likewise. - * bfd/aout0.c: Likewise. - * bfd/bfd-in2.h: Likewise. - * bfd/coff-stgo32.c: Likewise. - * bfd/cpu-lm32.c: Likewise. - * bfd/cpu-microblaze.c: Likewise. - * bfd/cpu-score.c: Likewise. - * bfd/cpu-tilegx.c: Likewise. - * bfd/cpu-tilepro.c: Likewise. - * bfd/elf32-lm32.c: Likewise. - * bfd/elf32-microblaze.c: Likewise. - * bfd/elf32-score7.c: Likewise. - * bfd/elf32-tilepro.c: Likewise. - * bfd/elfxx-tilegx.c: Likewise. - * bfd/mach-o.h: Likewise. - * bfd/nlm32-ppc.c: Likewise. - * bfd/ns32knetbsd.c: Likewise. - * bfd/pef.h: Likewise. - * bfd/plugin.c: Likewise. - * bfd/stab-syms.c: Likewise. - * bfd/sunos.c: Likewise. - * bfd/syms.c: Likewise. - * bfd/xsym.h: Likewise. - -2012-05-16 Alan Modra <amodra@gmail.com> - - * elflink.c: Rename flaginfo to flinfo throughout, except.. - (bfd_elf_lookup_section_flags): ..here, rename finfo to flaginfo. - Formatting, style. Simplify flag match. - -2012-05-16 Alan Modra <amodra@gmail.com> - - * dwarf2.c: Formatting. - (arange_add): Pass in unit rather than bfd. Update callers. - Ignore empty ranges. Don't ask for cleared memory. - (parse_comp_unit): Only set unit->base_address if processing - DW_TAG_compile_unit. - (find_debug_info): Optimise section lookup. - (place_sections): Use bfd_alloc for stash->adjusted_sections. - (find_line): Match previously parsed comp unit addresses as we - do for newly parsed comp units. - -2012-05-16 Alan Modra <amodra@gmail.com> - - * archive.c (_bfd_generic_read_ar_hdr_mag): Ensure sscanf - stops at end of ar_size field. - -2012-05-16 Alan Modra <amodra@gmail.com> - - PR ld/13962 - PR ld/7023 - * elf.c (bfd_section_from_shdr): Fail when .dynsym sh_info is - out of range. As a special case, fix sh_info for zero sh_size. - Do the same for .symtab. - -2012-05-15 James Murray <jsm@jsm-net.demon.co.uk> - Stephane Carrez <stcarrez@nerim.fr> - - * archures.c: Add bfd_arch_m9s12x and bfd_arch_m9s12xg. - * config.bfd: Likewise. - * cpu-m9s12x.c: New. - * cpu-m9s12xg.c: New. - * elf32-m68hc12.c: Add S12X and XGATE co-processor support. - Add option to offset S12 addresses into XGATE memory space. - Fix carry bug in IMM16 (IMM8 low/high) relocate. - * Makefile.am (ALL_MACHINES): Add cpu-m9s12x and cpu-m9s12xg. - (ALL_MACHINES_CFILES): Likewise. - * reloc.c: Add S12X relocs. - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2012-05-14 James Lemke <jwlemke@codesourcery.com> - Catherine Moore <clm@codesourcery.com> - - * bfd.c (bfd_lookup_section_flags): Add section parm. - * ecoff.c (bfd_debug_section): Remove flag_info initializer. - * elf-bfd.h (bfd_elf_section_data): Move in section_flag_info. - (bfd_elf_lookup_section_flags): Add section parm. - * elf32-ppc.c (is_ppc_vle): New function. - (ppc_elf_modify_segment_map): New function. - (elf_backend_modify_segment_map): Define. - (has_vle_insns): New define. - * elf32-ppc.h (ppc_elf_modify_segment_map): Declare. - * elflink.c (bfd_elf_lookup_section_flags): Add return value & parm. - Move in logic to omit / include a section. - * libbfd-in.h (bfd_link_info): Add section parm. - (bfd_generic_lookup_section_flags): Likewise. - * reloc.c (bfd_generic_lookup_section_flags): Likewise. - * section.c (bfd_section): Move out section_flag_info. - (BFD_FAKE_SECTION): Remove flag_info initializer. - * targets.c (_bfd_lookup_section_flags): Add section parm. - -2012-05-14 Catherine Moore <clm@codesourcery.com> - - * archures.c (bfd_mach_ppc_vle): New. - * bfd-in2.h: Regenerated. - * cpu-powerpc.c (bfd_powerpc_archs): New entry for vle. - * elf32-ppc.c (split16_format_type): New enumeration. - (ppc_elf_vle_split16): New function. - (HOWTO): Add entries for R_PPC_VLE relocations. - (ppc_elf_reloc_type_lookup): Handle PPC_VLE relocations. - (ppc_elf_section_flags): New function. - (ppc_elf_lookup_section_flags): New function. - (ppc_elf_section_processing): New function. - (ppc_elf_check_relocs): Handle PPC_VLE relocations. - (ppc_elf_relocation_section): Likewise. - (elf_backend_lookup_section_flags_hook): Define. - (elf_backend_section_flags): Define. - (elf_backend_section_processing): Define. - * elf32-ppc.h (ppc_elf_section_processing): Declare. - * libbfd.h: Regenerated. - * reloc.c (BFD_RELOC_PPC_VLE_REL8, BFD_RELOC_PPC_VLE_REL15, - BFD_RELOC_PPC_VLE_REL24, BFD_RELOC_PPC_VLE_LO16A, - BFD_RELOC_PPC_VLE_LO16D, BFD_RELOC_PPC_VLE_HI16A, - BFD_RELOC_PPC_VLE_HI16D, BFD_RELOC_PPC_VLE_HA16A, - BFD_RELOC_PPC_VLE_HA16D, BFD_RELOC_PPC_VLE_SDA21, - BFD_RELOC_PPC_VLE_SDA21_LO, BFD_RELOC_PPC_VLE_SDAREL_LO16A, - BFD_RELOC_PPC_VLE_SDAREL_LO16D, BFD_RELOC_PPC_VLE_SDAREL_HI16A, - BFD_RELOC_PPC_VLE_SDAREL_HI16D, BFD_RELOC_PPC_VLE_SDAREL_HA16A, - BFD_RELOC_PPC_VLE_SDAREL_HA16D): New bfd relocations. - -2012-05-11 Georg-Johann Lay <avr@gjlay.de> - - PR target/13503 - * reloc.c: Add new ENUM for BFD_RELOC_AVR_8_LO, - BFD_RELOC_AVR_8_HI, BFD_RELOC_AVR_8_HHI. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenrate. - * elf32-avr.c (elf_avr_howto_table): Add entries for - R_AVR_8_LO8, R_AVR_8_HI8, R_AVR_8_HHI8. - (avr_reloc_map): Add RELOC mappings for R_AVR_8_LO8, R_AVR_8_HI8, - R_AVR_8_HHI8. - -2012-05-10 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf_x86_64_relocate_section): Use int in x32 - addend overflow check. - -2012-05-10 DJ Delorie <dj@redhat.com> - - * elf32-rx.c (rx_elf_object_p): Ignore empty segments. - -2012-05-10 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf_x86_64_relocate_section): Display signed - hex number in x32 addend overflow check. - -2012-05-10 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf_x86_64_reloc_type_class): Handle - R_X86_64_RELATIVE64. - -2012-05-09 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf_x86_64_relocate_section): Check addend - overflow for R_X86_64_RELATIVE64. - -2012-05-08 Ben Cheng <bccheng@google.com> - - * elf.c: Preserve the original p_align and p_flags if they are - valid. - -2012-05-07 Alan Modra <amodra@gmail.com> - - * elf64-ia64-vms.c (elf64_ia64_relocate_section): Update - RELOC_AGAINST_DISCARDED_SECTION invocation. - -2012-05-07 Hans-Peter Nilsson <hp@axis.com> - - * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Declare and use - local variable i_ instead of assuming and using a variable i. - -2012-05-07 Maciej W. Rozycki <macro@linux-mips.org> - - * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Handle compound - relocations. - * elfxx-mips.c (mips_reloc_against_discarded_section): New - function. - (_bfd_mips_elf_relocate_section): Call it, in place of - RELOC_AGAINST_DISCARDED_SECTION. - * elf-m10200.c (mn10200_elf_relocate_section): Update arguments - to RELOC_AGAINST_DISCARDED_SECTION. - * elf-m10300.c (mn10300_elf_relocate_section): Likewise. - * elf32-arm.c (elf32_arm_relocate_section): Likewise. - * elf32-avr.c (elf32_avr_relocate_section): Likewise. - * elf32-bfin.c (bfin_relocate_section): Likewise. - (bfinfdpic_relocate_section): Likewise. - * elf32-cr16.c (elf32_cr16_relocate_section): Likewise. - * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise. - * elf32-cris.c (cris_elf_relocate_section): Likewise. - * elf32-crx.c (elf32_crx_relocate_section): Likewise. - * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. - * elf32-epiphany.c (epiphany_elf_relocate_section): Likewise. - * elf32-fr30.c (fr30_elf_relocate_section): Likewise. - * elf32-frv.c (elf32_frv_relocate_section): Likewise. - * elf32-h8300.c (elf32_h8_relocate_section): Likewise. - * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. - * elf32-i370.c (i370_elf_relocate_section): Likewise. - * elf32-i386.c (elf_i386_relocate_section): Likewise. - * elf32-i860.c (elf32_i860_relocate_section): Likewise. - * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. - * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. - * elf32-lm32.c (lm32_elf_relocate_section): Likewise. - * elf32-m32c.c (m32c_elf_relocate_section): Likewise. - * elf32-m32r.c (m32r_elf_relocate_section): Likewise. - * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise. - * elf32-m68k.c (elf_m68k_relocate_section): Likewise. - * elf32-mcore.c (mcore_elf_relocate_section): Likewise. - * elf32-mep.c (mep_elf_relocate_section): Likewise. - * elf32-moxie.c (moxie_elf_relocate_section): Likewise. - * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. - * elf32-mt.c (mt_elf_relocate_section): Likewise. - * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - * elf32-rl78.c (rl78_elf_relocate_section): Likewise. - * elf32-rx.c (rx_elf_relocate_section): Likewise. - * elf32-s390.c (elf_s390_relocate_section): Likewise. - * elf32-score.c (s3_bfd_score_elf_relocate_section): Likewise. - * elf32-score7.c (s7_bfd_score_elf_relocate_section): Likewise. - * elf32-sh.c (sh_elf_relocate_section): Likewise. - * elf32-spu.c (spu_elf_relocate_section): Likewise. - * elf32-tic6x.c (elf32_tic6x_relocate_section): Likewise. - * elf32-tilepro.c (tilepro_elf_relocate_section): Likewise. - * elf32-v850.c (v850_elf_relocate_section): Likewise. - * elf32-vax.c (elf_vax_relocate_section): Likewise. - * elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise. - * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. - * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. - * elf64-alpha.c (elf64_alpha_relocate_section_r): Likewise. - (elf64_alpha_relocate_section): Likewise. - * elf64-hppa.c (elf64_hppa_relocate_section): Likewise. - * elf64-mmix.c (mmix_elf_relocate_section): Likewise. - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. - * elf64-s390.c (elf_s390_relocate_section): Likewise. - * elf64-sh64.c (sh_elf64_relocate_section): Likewise. - * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise. - * elfnn-ia64.c (elfNN_ia64_relocate_section): Likewise. - * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. - * elfxx-tilegx.c (tilegx_elf_relocate_section): Likewise. - -2012-05-05 Alan Modra <amodra@gmail.com> - - PR ld/14052 - PR ld/13621 - * linker.c (_bfd_nearby_section): Revert 2012-02-13 change. - -2012-05-05 Alan Modra <amodra@gmail.com> - - * aout-arm.c: Replace all uses of bfd_abs_section, bfd_com_section, - bfd_und_section and bfd_ind_section with their _ptr variants, or - use corresponding bfd_is_* macros. - * aout-ns32k.c: Likewise. - * aout-tic30.c: Likewise. - * coff-arm.c: Likewise. - * coff-tic54x.c: Likewise. - * cpu-ns32k.c: Likewise. - * elf-attrs.c: Likewise. - * elfcode.h: Likewise. - * peicode.h: Likewise. - * reloc.c: Likewise. - * riscix.c: Likewise. - * versados.c: Likewise. - * section.c: Likewise. - (bfd_abs_section, bfd_ind_section, bfd_com_section, - bfd_ind_section): Delete. - (std_section): New array replacing above. - (bfd_abs_section_ptr, bfd_ind_section_ptr, bfd_com_section_ptr, - bfd_ind_section_ptr, STD_SECTION): Update. - (BFD_FAKE_SECTION, GLOBAL_SYM_INIT): Remove unnecessary casts. - * bfd-in2.h: Regenerate. - -2012-05-03 Sean Keys <skeys@ipdatasys.com> - - * cpu-xgate.c: New file. Added XGATE support. - * archures.c (bfd_architecture): Add XGATE architecture. - (bfd_archures_list): Add reference to XGATE architecture info. - * elf-bfd.h (prep_headers): Handle bfd_arch_xgate. - * reloc.c: Add various XGATE relocation enums. - * targets.c (bfd_elf32_xgate_vec): Declare and add to target vector - list. - * Makefile.am: Add support for XGATE elf. - * configure.in: Ditto. - * config.bfd: Ditto. - * Makefile.in: Regenerate. - * configure: Ditto. - * bfd-in2.h: Ditto. - * libbfd.h: Ditto. - Added files for XGATE relocations. - * elf32-xgate.c: Created minimal relocation file. - * elf32-xgate.h: Created minimal header file for elf32-xgate. - -2012-05-03 Tristan Gingold <gingold@adacore.com> - - * dwarf2.c (decode_line_info): Ignore - DW_LNE_HP_source_file_correlation. - -2012-05-01 Nick Clifton <nickc@redhat.com> - - PR binutils/13121 - * aoutx.h: Rename 'finfo' to 'flaginfo' to avoid conflicts with - AIX system headers. - * coff-ppc.c: Likewise. - * cofflink.c: Likewise. - * elf32-arm.c: Likewise. - * elf64-sparc.c: Likewise. - * elflink.c: Likewise. - * pdp11.c: Likewise. - * rescoff.c: Likewise. - -2012-04-26 Mark Wielaard <mjw@redhat.com> - - * dwarf2.c (scan_unit_for_symbols): Account for DW_AT_high_pc - possibly being relative to DW_AT_low_pc. - (parse_comp_unit): Likewise. - -2012-04-26 Andreas Schwab <schwab@linux-m68k.org> - - * elf32-m68k.c (elf_m68k_check_relocs): Mark non-GOT references - also when generating PIE. - (elf_m68k_discard_copies): Mark undefined weak symbols referenced - by relocations as dynamic. - -2012-04-26 Hans-Peter Nilsson <hp@axis.com> - - Provide a way for programs to recognize BFD_ASSERT calls. - * bfd.c (bfd_assert_handler_type): New API type. - (bfd_set_assert_handler, bfd_get_assert_handler): New API functions. - (_bfd_assert_handler): New variable. - (_bfd_default_assert_handler): New function. - (bfd_assert): Call _bfd_assert_handler, not _bfd_error_handler. - * libbfd-in.h (_bfd_assert_handler): Declare. - * libbfd.h, bfd-in2.h: Regenerate. - -2012-04-24 Hans-Peter Nilsson <hp@axis.com> - - PR ld/13990 - * elf32-arm.c (elf32_arm_gc_sweep_hook): Handle a forced-local - symbol, where PLT refcount is set to -1. - -2012-04-24 Alan Modra <amodra@gmail.com> - - PR ld/13991 - * elf-bfd.h (_bfd_elf_link_just_syms): Define as - _bfd_generic_link_just_syms. - * elflink.c (_bfd_elf_link_just_syms): Delete. - * linker.c (_bfd_generic_link_just_syms): Set sec_info_type. - - * bfd-in.h (discarded_section): Renamed from elf_discarded_section. - * section.c (SEC_INFO_TYPE_NONE, SEC_INFO_TYPE_STABS, - SEC_INFO_TYPE_MERGE, SEC_INFO_TYPE_EH_FRAME, - SEC_INFO_TYPE_JUST_SYMS): Renamed from corresponding ELF_INFO_TYPE. - * elf-eh-frame.c, * elf-m10200.c, * elf-m10300.c, - * elf.c, * elf32-arm.c, * elf32-avr.c, * elf32-bfin.c, - * elf32-cr16.c, * elf32-cr16c.c, * elf32-cris.c, - * elf32-crx.c, * elf32-d10v.c, * elf32-epiphany.c, - * elf32-fr30.c, * elf32-frv.c, * elf32-h8300.c, - * elf32-hppa.c, * elf32-i370.c, * elf32-i386.c, - * elf32-i860.c, * elf32-ip2k.c, * elf32-iq2000.c, - * elf32-lm32.c, * elf32-m32c.c, * elf32-m32r.c, - * elf32-m68hc1x.c, * elf32-m68k.c, * elf32-mcore.c, - * elf32-mep.c, * elf32-moxie.c, * elf32-msp430.c, - * elf32-mt.c, * elf32-openrisc.c, * elf32-ppc.c, - * elf32-rl78.c, * elf32-rx.c, * elf32-s390.c, - * elf32-score.c, * elf32-score7.c, * elf32-sh.c, - * elf32-spu.c, * elf32-tic6x.c, * elf32-tilepro.c, - * elf32-v850.c, * elf32-vax.c, * elf32-xc16x.c, - * elf32-xstormy16.c, * elf32-xtensa.c, * elf64-alpha.c, - * elf64-hppa.c, * elf64-ia64-vms.c, * elf64-mmix.c, - * elf64-ppc.c, * elf64-s390.c, * elf64-sh64.c, - * elf64-x86-64.c, * elflink.c, * elfnn-ia64.c, - * elfxx-mips.c, * elfxx-sparc.c, * elfxx-tilegx.c, - * reloc.c: Update all references. - * bfd-in2.h: Regenerate. - -2012-04-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * elf32-s390.c (ELF_DYNAMIC_INTERPRETER): Set to the GCC default. - * elf64-s390.c (ELF_DYNAMIC_INTERPRETER): Set to the GCC default. - -2012-04-19 Thomas Schwinge <thomas@codesourcery.com> - - * elf32-sh.c (elf_sh_link_hash_entry): Specify an enum identifier for - got_type. - (allocate_dynrelocs, sh_elf_relocate_section, sh_elf_check_relocs): Use - it. - -2012-04-17 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * elf32-sh.c (allocate_dynrelocs): Don't allocate dynamic - relocations when LE conversion happens on the IE tls symbol. - -2012-04-17 Roland McGrath <mcgrathr@google.com> - - * elf64-x86-64.c (elf_x86_64_nacl_plt0_entry): Fix nop padding - so that 32-byte boundary is a proper instruction boundary. - -2012-04-17 Tristan Gingold <gingold@adacore.com> - - * vms-lib.c (_bfd_vms_lib_get_module): Append .obj extension to - member of an object archive.< - -2012-04-17 Tristan Gingold <gingold@adacore.com> - - * vms-lib.c (MAX_EKEYLEN): Define. - (MAX_KEYLEN): Fix value. - (vms_write_index): Add comments and fix indentation. - Adjust comparaison. Add assertions. Free kbn_blk. - (_bfd_vms_lib_write_archive_contents): Use MAX_EKEYLEN. - Compense MAX_KEYLEN adjustment. - -2012-04-16 Maciej W. Rozycki <macro@linux-mips.org> - - * elfxx-mips.c (mips16_stub_symndx): Handle n64 compound relocs. - (_bfd_mips_elf_check_relocs): Update accordingly. - -2012-04-13 Alan Modra <amodra@gmail.com> - - PR ld/13947 - * elflink.c (bfd_elf_final_link): Set reloc_count to 0 for - reloc sections. - -2012-04-12 David S. Miller <davem@davemloft.net> - - * reloc.c (BFD_RELOC_SPARC_H34, BFD_RELOC_SPARC_SIZE32, - BFD_RELOC_SPARC_SIZE64, BFD_RELOC_SPARC_WDISP10): New relocs. - * libbfd.h: Regenerate. - * bfd-in2.h: Likewise. - * elfxx-sparc.c (sparc_elf_wdisp10_reloc): New function. - (_bfd_sparc_elf_howto_table): Add entries for R_SPARC_H34, - R_SPARC_SIZE32, R_SPARC_64, and R_SPARC_WDISP10. - (_bfd_sparc_elf_reloc_type_lookup): Handle new relocs. - (_bfd_sparc_elf_check_relocs): Likewise. - (_bfd_sparc_elf_gc_sweep_hook): Likewise. - (_bfd_sparc_elf_relocate_section): Likewise. - -2012-04-12 Roland McGrath <mcgrathr@google.com> - - * elf32-arm.c (elf32_arm_nacl_plt0_entry, elf32_arm_nacl_plt_entry): - New variables. - (struct elf32_arm_link_hash_table): New member `nacl_p'. - (elf32_arm_link_hash_table_create): Initialize it. - (elf32_arm_nacl_link_hash_table_create): New function. - (arm_movw_immediate, arm_movt_immediate): New functions. - (elf32_arm_populate_plt_entry): Test HTAB->nacl_p. - (elf32_arm_finish_dynamic_sections): Likewise. - (elf32_arm_output_plt_map_1): Likewise. - (bfd_elf32_littlearm_nacl_vec, bfd_elf32_bigarm_nacl_vec): - New backend vector stanza. - (elf32_arm_nacl_modify_segment_map): New function. - * config.bfd: Handle arm-*-nacl*, armeb-*-nacl*. - * targets.c: Support bfd_elf32_{big,little}_nacl_vec. - * configure.in: Likewise. - (bfd_elf32_bigarm_nacl_vec): Add elf-nacl.lo here. - (bfd_elf32_littlearm_nacl_vec): Likewise. - (bfd_elf32_bigarm_vec, bfd_elf32_littlearm_vec): Likewise. - (bfd_elf32_bigarm_symbian_vec): Likewise. - (bfd_elf32_littlearm_symbian_vec): Likewise. - (bfd_elf32_bigarm_vxworks_vec): Likewise. - (bfd_elf32_littlearm_vxworks_vec): Likewise. - * configure: Regenerated. - -2012-04-12 Tristan Gingold <gingold@adacore.com> - - * elflink.c (elf_link_output_extsym): Add a guard. - (bfd_elf_final_link): Remove assertion. - (bfd_elf_final_link): Add a guard. - * elfnn-ia64.c (INCLUDE_IA64_VMS): Removed. - (elfNN_vms_section_from_shdr, elfNN_vms_object_p) - (elfNN_vms_post_process_headers, elfNN_vms_section_processing) - (elfNN_vms_final_write_processing, elfNN_vms_close_and_cleanup): - Remove. - (elfNN-ia64-vms target): Move to ... - * elf64-ia64-vms.c: New file. - * configure.in (bfd_elf64_ia64_vms_vec): Add elf64-ia64-vms.lo - * Makefile.am (BFD64_BACKENDS): Add elf64-ia64-vms.lo. - (BFD64_BACKENDS_CFILES): Ad elf64-ia64-vms.c. - * configure: Regenerate. - * Makefile.in: Regenerate. - -2012-04-11 Nick Clifton <nickc@redhat.com> - - PR binutils/13897 - * elf64-ppc.c (opd_entry_value): When dealing with sections - without relocs, keep the last section loaded in order to avoid - unnecessary reloads. - -2012-04-09 Roland McGrath <mcgrathr@google.com> - - * elf.c (_bfd_elf_map_sections_to_segments): Set INFO->user_phdrs. - * elf-nacl.c (nacl_modify_segment_map): Do nothing if INFO->user_phdrs. - (nacl_modify_program_headers): Likewise. - -2012-04-03 Roland McGrath <mcgrathr@google.com> - - * elf-nacl.c: New file. - * elf-nacl.h: New file. - * elf32-i386.c (elf_backend_modify_segment_map): Define for - bfd_elf32_i386_nacl_vec. - (elf_backend_modify_program_headers): Likewise. - * elf64-x86-64.c (elf_backend_modify_segment_map): Define for - bfd_elf64_x86_64_nacl_vec and bfd_elf32_x86_64_nacl_vec. - (elf_backend_modify_program_headers): Likewise. - * Makefile.am (BFD32_BACKENDS, BFD64_BACKENDS): Add elf-nacl.lo here. - (BFD32_BACKENDS_CFILES, BFD64_BACKENDS_CFILES): Add elf-nacl.c here. - * Makefile.in: Regenerated. - * configure.in (bfd_elf64_x86_64_nacl_vec): Add elf-nacl.o to tb here. - (bfd_elf32_x86_64_nacl_vec): Likewise. - (bfd_elf64_x86_64_vec, bfd_elf32_x86_64_vec): Likewise. - (bfd_elf64_x86_64_freebsd_vec, bfd_elf64_x86_64_sol2_vec): Likewise. - (bfd_elf64_l1om_vec, bfd_elf64_l1om_freebsd_vec): Likewise. - (bfd_elf64_k1om_vec, bfd_elf64_k1om_freebsd_vec): Likewise. - (bfd_elf32_i386_nacl_vec): Likewise. - (bfd_elf32_i386_sol2_vec, bfd_elf32_i386_freebsd_vec): Likewise. - (bfd_elf32_i386_vxworks_vec, bfd_elf32_i386_vec): Likewise. - * configure: Regenerated. - -2012-03-31 Andreas Schwab <schwab@linux-m68k.org> - - * elf32-m68k.c (elf_m68k_relocate_section): Allow - R_68K_TLS_LE{8,16,32} for PIE. - -2012-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * elf64-s390.c: Fix several comments regarding PLT entry - description. - * elf32-s390.c: Likewise. - -2012-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * elf64-s390.c: Use the section pointer shortcuts in - elf_link_hash_table and remove them from the target specific - variant. - * elf32-s390.c: Likewise. - -2012-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * elf64-s390.c (elf_s390x_plt_entry, elf_s390x_first_plt_entry): - New definitions. - (PLT_PIC_ENTRY_WORD*, PLT_PIC12_ENTRY_WORD*): Remove. - (elf_s390_finish_dynamic_symbol): Use memcpy instead of bfd_put_32. - (elf_s390_finish_dynamic_sections): Likewise. - * elf32-s390.c (elf_s390_plt_entry, elf_s390_plt_pic_entry) - (elf_s390_plt_pic12_entry, elf_s390_plt_pic16_entry) - (elf_s390_plt_first_entry, elf_s390_plt_pic_first_entry): New definitions. - (PLT_PIC16_ENTRY_WORD*, PLT_ENTRY_WORD*) - (PLT_PIC_FIRST_ENTRY_WORD*, PLT_FIRST_ENTRY_WORD*): Remove. - -2012-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * elf32-s390.c (struct elf_s390_dyn_relocs): Remove. - Rename all occurrences in the file to elf_dyn_relocs. - * elf64-s390.c: Likewise. - -2012-03-30 Alan Modra <amodra@gmail.com> - - * elflink.c (_bfd_elf_gc_mark_reloc): Don't delve into dynamic - libraries. - -2012-03-29 Alan Modra <amodra@gmail.com> - - * bfd-in.h (bfd_get_arch_size, bfd_get_sign_extend_vma): Delete. - * bfd-in2.h: Regenerate. - -2012-03-23 Alan Modra <amodra@gmail.com> - - * elf.c (assign_file_positions_for_non_load_sections): Don't warn - on empty alloc sections. - -2012-03-23 Alan Modra <amodra@gmail.com> - - * linker.c (_bfd_nearby_section): New function, split out from.. - (fix_syms): ..here. - * bfd-in.h (_bfd_nearby_section): Declare. - * bfd-in2.h: Regenerate. - * elflink.c (elf_link_input_bfd): Don't use text_index_section or - data_index_section with ld -q or ld -r output relocs against - stripped output sections. Instead use _bfd_nearby_section. - -2012-03-23 Alan Modra <amodra@gmail.com> - - PR binutils/13894 - * elf64-ppc.c (opd_entry_value): Read full symbol table when - sym hashes unavailable. - -2012-03-21 Eliot Dresselhaus <eliot@sonic.net> - - * elf32-tic6x.c (elf32_tic6x_merge_private_bfd_data): Return TRUE - for non-C6X objects. - -2012-03-20 Kai Tietz <ktietz@redhat.com> - - PR ld/12742 - * configure.in (AC_CHECK_HEADERS): Test for windows.h and dlfcn.h. - * plugin.c: Guard include of dlfcn.h if HAVE_DLFCN_H is defined. - Add windows.h header include if HAVE_WINDOWS_H is defined. - (dlerror): New static function if windows variant is used instead - of dlfcn.h. - (dlclose): Likewise. - (dlopen): Likewise. - (dlsym): Likewise. - * configure: Regenerated. - * config.in: Regenerated. - -2012-03-20 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13880 - * elf32-i386.c (elf_i386_relocate_section): Don't issue an error - for R_386_GOTOFF relocation against protected function if - SYMBOLIC_BIND is true. - - * elf64-x86-64.c (elf_x86_64_relocate_section): Don't issue an - error for R_X86_64_GOTOFF64 relocation against protected function - when building executable or SYMBOLIC_BIND is true. - -2012-03-16 Roland McGrath <mcgrathr@google.com> - - * config.bfd: Handle x86_64-*-nacl*. - * elf64-x86-64.c (bfd_elf64_x86_64_nacl_vec): New backend vector stanza. - (bfd_elf32_x86_64_nacl_vec): Likewise. - * targets.c: Support them. - * configure.in: Likewise. - * configure: Regenerated. - -2012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * elf32-arm.c (elf32_arm_attributes_accept_div): New function. - (elf32_arm_attributes_forbid_div): Likewise. - (elf32_arm_merge_eabi_attributes): Correct handling of - Tag_DIV_use. - -2012-03-15 Roland McGrath <mcgrathr@google.com> - - * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Use - elf_x86_64_backend_data parameters for plt_eh_frame. - - * elf64-x86-64.c (struct elf_x86_64_backend_data): New type. - (get_elf_x86_64_backend_data, GET_PLT_ENTRY_SIZE): New macros. - (elf_x86_64_arch_bed): New variable. - (elf_backend_arch_data): New macro. - (elf_x86_64_adjust_dynamic_symbol): Use GET_PLT_ENTRY_SIZE. - (elf_x86_64_allocate_dynrelocs): Likewise. - (elf_x86_64_relocate_section): Likewise. - (elf_x86_64_plt_sym_val): Likewise. - (elf_x86_64_finish_dynamic_symbol): Use elf_x86_64_backend_data - parameters for PLT details. - (elf_x86_64_finish_dynamic_sections): Likewise. - -2012-03-14 Roland McGrath <mcgrathr@google.com> - - * elf32-i386.c (elf_i386_nacl_pic_plt0_entry): Initialize up - to the full size, padding out with nop instructions. - -2012-03-12 Alan Modra <amodra@gmail.com> - - * elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Don't warn - on zero size dynbss symbol. - * elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise. - * elf32-cr16.c (_bfd_cr16_elf_adjust_dynamic_symbol): Likewise. - * elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise. - * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise. - * elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise. - * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise. - * elf32-lm32.c (lm32_elf_adjust_dynamic_symbol): Likewise. - * elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise. - * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise. - * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. - * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. - * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise. - * elf32-tic6x.c (elf32_tic6x_adjust_dynamic_symbol): Likewise. - * elf32-tilepro.c (tilepro_elf_adjust_dynamic_symbol): Likewise. - * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise. - * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise. - * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. - * elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise. - * elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise. - * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise. - * elfxx-tilegx.c (tilegx_elf_adjust_dynamic_symbol): Likewise. - -2012-03-10 Edmar Wienskoski <edmar@freescale.com> - - * archures.c: Add bfd_mach_ppc_e5500 and bfd_mach_ppc_e6500. - * bfd-in2.h: Regenerate. - * cpu-powerpc.c (bfd_powerpc_archs): Add entries for - bfd_mach_ppc_e5500 and bfd_mach_ppc_e6500. - -2012-03-09 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13817 - * elf32-i386.c (elf_i386_relocate_section): Restore - R_386_IRELATIVE. - - * elf64-x86-64.c (elf_x86_64_relocate_section): Restore - R_X86_64_IRELATIVE. - -2012-03-08 Tristan Gingold <gingold@adacore.com> - - * vms-lib.c (_bfd_vms_lib_write_archive_contents): Set maximum - keylen according to archive kind. Set nextvbn and nextrfa lhd - fields. Add comments. - -2012-03-07 Nick Clifton <nickc@redhat.com> - - * elf-m10300.c (elf32_mn10300_link_hash_entry): Add tls_type - field. - (elf32_mn10300_link_hash_table): Add tls_ldm_got entry; - (elf_mn10300_tdata): Define. - (elf_mn10300_local_got_tls_type): Define. - (elf_mn10300_howto_table): Add entries for R_MN10300_TLS_GD, - R_MN10300_TLS_LD, R_MN10300_TLS_LDO, R_MN10300_TLS_GOTIE, - R_MN10300_TLS_IE, R_MN10300_TLS_LE, R_MN10300_TLS_DPTMOD, - R_MN10300_TLS_DTPOFF, R_MN10300_TLS_TPOFF relocs. - (mn10300_reloc_map): Likewise. - (elf_mn10300_tls_transition): New function. - (dtpoff, tpoff, mn10300_do_tls_transition): New functions. - (mn10300_elf_check_relocs): Add TLS support. - (mn10300_elf_final_link_relocate): Likewise. - (mn10300_elf_relocate_section): Likewise. - (mn10300_elf_relax_section): Likewise. - (elf32_mn10300_link_hash_newfunc): Initialise new field. - (_bfd_mn10300_copy_indirect_symbol): New function. - (elf32_mn10300_link_hash_table_create): Initialise new fields. - (_bfd_mn10300_elf_size_dynamic_sections): Add TLS support. - (_bfd_mn10300_elf_finish_dynamic_symbol): Likewise. - (_bfd_mn10300_elf_reloc_type_class): Allocate an - elf_mn10300_obj_tdata structure. - (elf_backend_copy_indirect_symbol): Define. - * reloc.c (BFD_MN10300_TLS_GD, BFD_MN10300_TLS_LD, - BFD_MN10300_TLS_LDO, BFD_MN10300_TLS_GOTIE, BFD_MN10300_TLS_IE, - BFD_MN10300_TLS_LE, BFD_MN10300_TLS_DPTMOD, - BFD_MN10300_TLS_DTPOFF, BFD_MN10300_TLS_TPOFF): New relocations. - (BFD_RELOC_MN10300_32_PCREL, BFD_RELOC_MN10300_16_PCREL): Move to - alongside other MN10300 relocations. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2012-03-06 Jakub Jelinek <jakub@redhat.com> - - * elf64-x86-64.c (elf_x86_64_relocate_section): For R_X86_64_RELATIVE - set relocate to TRUE. - -2012-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - PR ld/12152 - * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Also ignore - overflows for R_SPARC_UA32 in .stab sections. - -2012-03-01 Alan Modra <amodra@gmail.com> - - * elfxx-tilegx.c (tilegx_elf_relocate_section): Silence bogus warning. - -2012-02-27 Alan Modra <amodra@gmail.com> - - * elf32-sh.c (sh_elf_osec_to_segment): Check for elf flavour bfd - before calling elf specific function. - (sh_elf_osec_readonly_p): Test for error return from above. - -2012-02-27 Alan Modra <amodra@gmail.com> - - * elf32-spu.c (build_stub): Fix malloc under-allocation. - -2012-02-25 Walter Lee <walt@tilera.com> - * reloc.c: Add BFD_RELOC_TILEPRO_TLS_GD_CALL, - BFD_RELOC_TILEPRO_IMM8_X0_TLS_GD_ADD, - BFD_RELOC_TILEPRO_IMM8_X1_TLS_GD_ADD, - BFD_RELOC_TILEPRO_IMM8_Y0_TLS_GD_ADD, - BFD_RELOC_TILEPRO_IMM8_Y1_TLS_GD_ADD, - BFD_RELOC_TILEPRO_TLS_IE_LOAD, BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE, - BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE, - BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_LO, - BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_LO, - BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HI, - BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HI, - BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HA, - BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HA, - BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_LE, - BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_LE, - BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_LE, - BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_LE, - BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_LE, - BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_LE, - BFD_RELOC_TILEGX_TLS_GD_CALL, BFD_RELOC_TILEGX_IMM8_X0_TLS_GD_ADD, - BFD_RELOC_TILEGX_IMM8_X1_TLS_GD_ADD, - BFD_RELOC_TILEGX_IMM8_Y0_TLS_GD_ADD, - BFD_RELOC_TILEGX_IMM8_Y1_TLS_GD_ADD, BFD_RELOC_TILEGX_TLS_IE_LOAD, - BFD_RELOC_TILEGX_IMM8_X0_TLS_ADD, - BFD_RELOC_TILEGX_IMM8_X1_TLS_ADD, - BFD_RELOC_TILEGX_IMM8_Y0_TLS_ADD, BFD_RELOC_TILEGX_IMM8_Y1_TLS_ADD. - Delete BFD_RELOC_TILEGX_IMM16_X0_HW1_GOT, - BFD_RELOC_TILEGX_IMM16_X1_HW1_GOT, - BFD_RELOC_TILEGX_IMM16_X0_HW2_GOT, - BFD_RELOC_TILEGX_IMM16_X1_HW2_GOT, - BFD_RELOC_TILEGX_IMM16_X0_HW3_GOT, - BFD_RELOC_TILEGX_IMM16_X1_HW3_GOT, - BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_GOT, - BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_GOT, - BFD_RELOC_TILEGX_IMM16_X0_HW1_TLS_GD, - BFD_RELOC_TILEGX_IMM16_X1_HW1_TLS_GD, - BFD_RELOC_TILEGX_IMM16_X0_HW2_TLS_GD, - BFD_RELOC_TILEGX_IMM16_X1_HW2_TLS_GD, - BFD_RELOC_TILEGX_IMM16_X0_HW3_TLS_GD, - BFD_RELOC_TILEGX_IMM16_X1_HW3_TLS_GD, - BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_TLS_GD, - BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_TLS_GD, - BFD_RELOC_TILEGX_IMM16_X0_HW1_TLS_IE, - BFD_RELOC_TILEGX_IMM16_X1_HW1_TLS_IE, - BFD_RELOC_TILEGX_IMM16_X0_HW2_TLS_IE, - BFD_RELOC_TILEGX_IMM16_X1_HW2_TLS_IE, - BFD_RELOC_TILEGX_IMM16_X0_HW3_TLS_IE, - BFD_RELOC_TILEGX_IMM16_X1_HW3_TLS_IE, - BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_TLS_IE, - BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_TLS_IE. - * elf32-tilepro.c (tilepro_elf_howto_table): Update tilepro - relocations. - (tilepro_reloc_map): Ditto. - (tilepro_info_to_howto_rela): Ditto. - (reloc_to_create_func): Ditto. - (tilepro_tls_translate_to_le): New. - (tilepro_tls_translate_to_ie): New. - (tilepro_elf_tls_transition): New. - (tilepro_elf_check_relocs): Handle new tls relocations. - (tilepro_elf_gc_sweep_hook): Ditto. - (allocate_dynrelocs): Ditto. - (tilepro_elf_relocate_section): Ditto. - (tilepro_replace_insn): New. - (insn_mask_X1): New. - (insn_mask_X0_no_dest_no_srca): New - (insn_mask_X1_no_dest_no_srca): New - (insn_mask_Y0_no_dest_no_srca): New - (insn_mask_Y1_no_dest_no_srca): New - (srca_mask_X0): New - (srca_mask_X1): New - (insn_tls_le_move_X1): New - (insn_tls_le_move_zero_X0X1): New - (insn_tls_ie_lw_X1): New - (insn_tls_ie_add_X0X1): New - (insn_tls_ie_add_Y0Y1): New - (insn_tls_gd_add_X0X1): New - (insn_tls_gd_add_Y0Y1): New - * elfxx-tilegx.c (tilegx_elf_howto_table): Update tilegx - relocations. - (tilegx_reloc_map): Ditto. - (tilegx_info_to_howto_rela): Ditto. - (reloc_to_create_func): Ditto. - (tilegx_elf_link_hash_table): New field disable_le_transition. - (tilegx_tls_translate_to_le): New. - (tilegx_tls_translate_to_ie): New. - (tilegx_elf_tls_transition): New. - (tilegx_elf_check_relocs): Handle new tls relocations. - (tilegx_elf_gc_sweep_hook): Ditto. - (allocate_dynrelocs): Ditto. - (tilegx_elf_relocate_section): Ditto. - (tilegx_copy_bits): New. - (tilegx_replace_insn): New. - (insn_mask_X1): New. - (insn_mask_X0_no_dest_no_srca): New. - (insn_mask_X1_no_dest_no_srca): New. - (insn_mask_Y0_no_dest_no_srca): New. - (insn_mask_Y1_no_dest_no_srca): New. - (insn_mask_X0_no_operand): New. - (insn_mask_X1_no_operand): New. - (insn_mask_Y0_no_operand): New. - (insn_mask_Y1_no_operand): New. - (insn_tls_ie_ld_X1): New. - (insn_tls_ie_ld4s_X1): New. - (insn_tls_ie_add_X0X1): New. - (insn_tls_ie_add_Y0Y1): New. - (insn_tls_ie_addx_X0X1): New. - (insn_tls_ie_addx_Y0Y1): New. - (insn_tls_gd_add_X0X1): New. - (insn_tls_gd_add_Y0Y1): New. - (insn_move_X0X1): New. - (insn_move_Y0Y1): New. - (insn_add_X0X1): New. - (insn_add_Y0Y1): New. - (insn_addx_X0X1): New. - (insn_addx_Y0Y1): New. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - -2012-02-25 Walter Lee <walt@tilera.com> - - * config.bfd (tilegx-*-*): rename little endian vector; add big - endian vector. - (tilegxbe-*-*): New case. - * configure.in (bfd_elf32_tilegx_vec): Rename... - (bfd_elf32_tilegx_le_vec): ... to this. - (bfd_elf32_tilegx_be_vec): New vector. - (bfd_elf64_tilegx_vec): Rename... - (bfd_elf64_tilegx_le_vec): ... to this. - (bfd_elf64_tilegx_be_vec): New vector. - * configure: Regenerate. - * elf32-tilegx.c (TARGET_LITTLE_SYM): Rename. - (TARGET_LITTLE_NAME): Ditto. - (TARGET_BIG_SYM): Define. - (TARGET_BIG_NAME): Define. - * elf64-tilegx.c (TARGET_LITTLE_SYM): Rename. - (TARGET_LITTLE_NAME): Ditto. - (TARGET_BIG_SYM): Define. - (TARGET_BIG_NAME): Define. - * targets.c (bfd_elf32_tilegx_vec): Rename... - (bfd_elf32_tilegx_le_vec): ... to this. - (bfd_elf32_tilegx_be_vec): Declare. - (bfd_elf64_tilegx_vec): Rename... - (bfd_elf64_tilegx_le_vec): ... to this. - (bfd_elf64_tilegx_be_vec): Declare. - (_bfd_target_vector): Add / rename above vectors. - * arctures.c (bfd_architecture): Define bfd_mach_tilegx32. - * bfd-in2.h: Regenerate. - * cpu-tilegx.c (bfd_tilegx32_arch): define. - (bfd_tilegx_arch): link to bfd_tilegx32_arch. - -2012-02-24 Nick Clifton <nickc@redhat.com> - - PR ld/13730 - * reloc.c (bfd_generic_get_relocated_section_contents): Issue an - error message instead of aborting, when an outofrange reloc is - encountered. - -2012-02-23 Iain Sandoe <idsandoe@googlemail.com> - - * mach-o.c (bfd_mach_o_swap_in_non_scattered_reloc): New. - (bfd_mach_o_canonicalize_one_reloc): Swap non-scattered reloc - bit-fields when target and host differ in endian-ness. When - PAIRs are non-scattered find the 'symbol' from the preceding - reloc. Add FIXME re. reloc symbols on section boundaries. - (bfd_mach_o_swap_out_non_scattered_reloc): New. - (bfd_mach_o_write_relocs): Use bfd_mach_o_encode_non_scattered_reloc. - -2012-02-17 Iain Sandoe <idsandoe@googlemail.com> - - * mach-o-i386.c (i386_howto_table): Add support for 16 bit - sect-diffs. - (bfd_mach_o_i386_swap_reloc_in): Handle 16bit sect-diffs. - (bfd_mach_o_i386_swap_reloc_out): Likewise. - -2012-02-17 Tristan Gingold <gingold@adacore.com> - - * reloc.c (BFD_RELOC_MACH_O_LOCAL_SECTDIFF): - * libbfd.h: Regenerated. - * bfd-in2.h: Likewise. - * mach-o-i386.c (i386_howto_table): Include local sectdiff. - (bfd_mach_o_i386_swap_reloc_in): Update for local sectdiff. - (bfd_mach_o_i386_swap_reloc_out): Likewise. - -2012-02-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * elf32-s390.c (elf_s390_relocate_section): Support basr in the - GD->LE and LD->LE optimizations. - -2012-02-16 Alan Modra <amodra@gmail.com> - - PR binutils/13355 - * elf32-rx.c (elf32_rx_relax_section): Correct width check. - -2012-02-13 Richard Henderson <rth@redhat.com> - - PR ld/13621 - * linker.c (fix_syms): Force symbols outside any section into - bfd_abs_section_ptr. - -2012-02-13 Alan Modra <amodra@gmail.com> - - * elf32-m68hc1x.c (elf32_m68hc11_merge_symbol_attribute): New function. - * elf32-m68hc1x.h (elf32_m68hc11_merge_symbol_attribute): Declare. - * elf32-m68hc11.c (elf_backend_merge_symbol_attribute): Define. - * elf32-m68hc12.c (elf_backend_merge_symbol_attribute): Define. - -2012-02-11 Jan Kratochvil <jan.kratochvil@redhat.com> - Nick Clifton <nickc@redhat.com> - - * oasys.c (oasys_write_header): Fix compilation warning on zero-sized - memset. - -2012-02-10 Iain Sandoe <idsandoe@googlemail.com> - - * mach-o.c (bfd_mach_o_build_seg_command): Count zerofill section - vma additions in their logical, rather than physical order. - -2012-02-10 Iain Sandoe <idsandoe@googlemail.com> - - * mach-o.c (mach_o_section_name_xlat): Correct eh-frame section - parameters. - * mach-o-x86-64.c (text_section_names_xlat): New. - (mach_o_x86_64_segsec_names_xlat): New. - (bfd_mach_o_tgt_seg_table): Define to mach_o_x86_64_segsec_names_xlat. - * mach-o-i386.c (text_section_names_xlat): Correct section parameters. - -2012-02-10 Tristan Gingold <gingold@adacore.com> - - * elfnn-ia64.c (elfNN_vms_object_p): Change comparison operator - to avoid infinite loop. Add comments. - -2012-02-09 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13675 - * cpu-i386.c (bfd_arch_i386_fill): Updated to support multi byte - nop instructions. - (bfd_arch_i386_short_nop_fill): New. - (bfd_arch_i386_long_nop_fill): Likewise. - Use bfd_arch_i386_short_nop_fill in 32bit bfd_arch_info - initializers. Use bfd_arch_i386_long_nop_fill on 64bit - bfd_arch_info initializers. - - * cpu-k1om.c (bfd_arch_i386_fill): Renamed to ... - (bfd_arch_i386_short_nop_fill): This. - Update bfd_arch_info initializers. - * cpu-l1om.c: Likewise. - -2012-02-08 Alan Modra <amodra@gmail.com> - - * elflink.c (_bfd_elf_gc_mark_rsec): Mark weakdef syms too. - (_bfd_elf_fix_symbol_flags): When a weakdef is def_regular, clear - the correct h->u.weakdef. - -2012-02-07 Alan Modra <amodra@gmail.com> - - * elf.c (elf_find_function): Don't use internal_elf_sym. - (_bfd_elf_maybe_function_sym): Likewise. Replace elf_symbol_type - parameter with asymbol. - * elf64-ppc.c (ppc64_elf_maybe_function_sym): Likewise. - * elf-bfd.h (_bfd_elf_maybe_function_sym): Update prototype. - (struct elf_backend_data <maybe_function_sym>): Likewise. - -2012-02-02 Vidya Praveen (vidya.praveen@atmel.com) - - PR bfd/13410 - * elf32-avr.c (elf32_avr_relax_section): Correct the - condition that qualifies the candidates for relaxation. - -2012-02-02 Tristan Gingold <gingold@adacore.com> - - * bfdio.c (real_fopen): Remove unused vms_modes variable. - -2012-02-02 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_read_header): Silent uninitialized - variable warning. - -2012-02-02 Tristan Gingold <gingold@adacore.com> - - * archive.c (bfd_slurp_armap): Fix thinko in cast. - -2012-01-31 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13616 - * archures.c (bfd_arch_info): Add fill. - (bfd_default_arch_struct): Add bfd_arch_default_fill. - (bfd_arch_default_fill): New. - - * configure.in: Set bfd version to 2.22.52. - * configure: Regenerated. - - * cpu-alpha.c: Add bfd_arch_default_fill to bfd_arch_info - initializer. - * cpu-arc.c: Likewise. - * cpu-arm.c: Likewise. - * cpu-avr.c: Likewise. - * cpu-bfin.c: Likewise. - * cpu-cr16.c: Likewise. - * cpu-cr16c.c: Likewise. - * cpu-cris.c: Likewise. - * cpu-crx.c: Likewise. - * cpu-d10v.c: Likewise. - * cpu-d30v.c: Likewise. - * cpu-dlx.c: Likewise. - * cpu-epiphany.c: Likewise. - * cpu-fr30.c: Likewise. - * cpu-frv.c: Likewise. - * cpu-h8300.c: Likewise. - * cpu-h8500.c: Likewise. - * cpu-hppa.c: Likewise. - * cpu-i370.c: Likewise. - * cpu-i860.c: Likewise. - * cpu-i960.c: Likewise. - * cpu-ia64.c: Likewise. - * cpu-ip2k.c: Likewise. - * cpu-iq2000.c: Likewise. - * cpu-lm32.c: Likewise. - * cpu-m10200.c: Likewise. - * cpu-m10300.c: Likewise. - * cpu-m32c.c: Likewise. - * cpu-m32r.c: Likewise. - * cpu-m68hc11.c: Likewise. - * cpu-m68hc12.c: Likewise. - * cpu-m68k.c: Likewise. - * cpu-m88k.c: Likewise. - * cpu-mcore.c: Likewise. - * cpu-mep.c: Likewise. - * cpu-microblaze.c: Likewise. - * cpu-mips.c: Likewise. - * cpu-mmix.c: Likewise. - * cpu-moxie.c: Likewise. - * cpu-msp430.c: Likewise. - * cpu-mt.c: Likewise. - * cpu-ns32k.c: Likewise. - * cpu-openrisc.c: Likewise. - * cpu-or32.c: Likewise. - * cpu-pdp11.c: Likewise. - * cpu-pj.c: Likewise. - * cpu-plugin.c: Likewise. - * cpu-powerpc.c: Likewise. - * cpu-rl78.c: Likewise. - * cpu-rs6000.c: Likewise. - * cpu-rx.c: Likewise. - * cpu-s390.c: Likewise. - * cpu-score.c: Likewise. - * cpu-sh.c: Likewise. - * cpu-sparc.c: Likewise. - * cpu-spu.c: Likewise. - * cpu-tic30.c: Likewise. - * cpu-tic4x.c: Likewise. - * cpu-tic54x.c: Likewise. - * cpu-tic6x.c: Likewise. - * cpu-tic80.c: Likewise. - * cpu-tilegx.c: Likewise. - * cpu-tilepro.c: Likewise. - * cpu-v850.c: Likewise. - * cpu-vax.c: Likewise. - * cpu-w65.c: Likewise. - * cpu-we32k.c: Likewise. - * cpu-xc16x.c: Likewise. - * cpu-xstormy16.c: Likewise. - * cpu-xtensa.c: Likewise. - * cpu-z80.c: Likewise. - * cpu-z8k.c: Likewise. - - * cpu-i386.c: Include "libiberty.h". - (bfd_arch_i386_fill): New. - Add bfd_arch_i386_fill to bfd_arch_info initializer. - - * cpu-k1om.c: Add bfd_arch_i386_fill to bfd_arch_info initializer. - * cpu-l1om.c: Likewise. - - * linker.c (default_data_link_order): Call abfd->arch_info->fill - if fill size is 0. - - * bfd-in2.h: Regenerated. - -2012-01-27 Michael Eager <eager@eagercon.com> - - * elf32-microblaze.c (create_got_section): - Reuse existing .rela.got section. - -2012-01-23 Alan Modra <amodra@gmail.com> - - * elf-bfd.h: Formatting. - (struct elf_backend_data): Add "maybe_function_sym". - (_bfd_elf_maybe_function_sym): Declare. - * elfxx-target.h (elf_backend_maybe_function_sym): Define. - (elfNN_bed): Init new field. - * elf.c (elf_find_function): Use maybe_function_sym. - (_bfd_elf_maybe_function_sym): New function. - * elf64-ppc.c (elf_backend_maybe_function_sym): Define. - (ppc64_elf_maybe_function_sym): New function. - -2012-01-20 Francois Gouget <fgouget@codeweavers.com> - - PR binutils/13534 - * archive.c (_bfd_ar_sizepad): New function. Correctly install and - pad the size field in an archive header. - (_bfd_generic_read_ar_hdr_mag): Use the correct type and scan - function for the archive size field. - (bfd_generic_openr_next_archived_file): Likewise. - (do_slurp_coff_armap): Likewise. - (_bfd_write_archive_contents): Likewise. - (_bfd_bsd44_write_ar_hdr): Use the new function. - (bfd_ar_hdr_from_filesystem): Likewise. - (_bfd_write_archive_contents): Likewise. - (bsd_write_armap): Likewise. - (coff_write_armap): Likewise. - * archive64.c (bfd_elf64_archive_write_armap): Likewise. - * bfdio.c (bfd_bread): Use correct type for archive element - sizes. - * ar.c (open_inarch): Likewise. - (extract_file): Likewise. - * libbfd-in.h (struct areltdata): Use correct types for - parsed_size and extra_size fields. - Prototype _bfd_ar_sizepad function. - * libbfd.h: Regenerate. - -2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org> - - * elf.c (elfcore_write_prpsinfo): Provide unconditionally. - Return NULL if core file generation is unsupported. - (elfcore_write_prstatus): Likewise. - * elf32-arm.c (elf32_arm_nabi_write_core_note): New function. - (elf_backend_write_core_note): Define. - -2012-01-19 Tristan Gingold <gingold@adacore.com> - - * pef.c: Add a comment. - * xsym.c: Likewise. - -2012-01-17 Alan Modra <amodra@gmail.com> - - * elf32-ppc.c (ppc_elf_write_core_note <NT_PRPSINFO>): Don't leave - trailing garbage in the note. - * elf64-ppc.c (ppc64_elf_write_core_note <NT_PRPSINFO>): Likewise. - -2012-01-16 Daniel Green <venix1@gmail.com> - - PR ld/13491 - * coff-i386.c (coff_i386_rtype_to_howto <R_SECREL32>): Test - h->root.type not h->type. - * coff-x86_64.c (coff_amd64_rtype_to_howto <R_AMD64_SECREL>): Likewise. - -2012-01-13 Iain Sandoe <idsandoe@googlemail.com> - - * mach-o.c (bfd_mach_o_build_dysymtab_command): Handle absolute - indirect symbols. - -2012-01-13 Iain Sandoe <idsandoe@googlemail.com> - - * mach-o.c (bfd_mach_o_write_relocs): Move computation of relocs file - position from here... to (bfd_mach_o_build_seg_command): Here. - -2012-01-12 Iain Sandoe <idsandoe@googlemail.com> - - * mach-o.c (bfd_mach_o_count_indirect_symbols): New. - (bfd_mach_o_build_dysymtab_command): Populate indirect symbol table. - * mach-o.h (bfd_mach_o_asymbol): Move declaration to start of the - file. (bfd_mach_o_section): Add indirect_syms field. - -2012-01-11 Iain Sandoe <idsandoe@googlemail.com> - - * mach-o.c (bfd_mach_o_build_seg_command): Separate computation of - vmsize from filesize. Don't compute offsets or file sizes for - zerofill sections. - -2012-01-11 Iain Sandoe <idsandoe@googlemail.com> - - * mach-o.c (bfd_mach_o_build_commands): Make the building of each - command type independent. - -2012-01-11 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c: Define more insns used in plt call stubs. - (ppc64_elf_brtaken_reloc): Assume isa version 2 or above. - (ppc64_elf_relocate_section): Likewise. - (enum ppc_stub_type): Add ppc_stub_plt_call_r2save. - (struct ppc_link_hash_table): Increase size of stub_count array. - Add plt_stub_align and plt_thread_safe. - (ALWAYS_USE_FAKE_DEP, ALWAYS_EMIT_R2SAVE): Define. - (plt_stub_size, plt_stub_pad): New functions. - (build_plt_stub): Emit barriers for power7 thread safety. Don't - emit needless save of r2. - (build_tls_get_addr_stub): Adjust params. - (ppc_build_one_stub): Handle ppc_stub_plt_call_r2save and aligning - plt stubs. Adjust build_*plt_stub calls. - (ppc_size_one_stub): Similarly. - (ppc64_elf_size_stubs): Accept plt_thread_safe and plt_stub_align - params. Choose default for plt_thread_safe based on existence of - calls to thread creation functions. Modify plt_call to - plt_call_r2save when no tocsave reloc found. Align tail of stub - sections. - (ppc64_elf_build_stubs): Align tail of stub sections. Adjust - output of stub statistics. - (ppc64_elf_relocate_section): Handle ppc_stub_plt_call_r2save. - * elf64-ppc.h (ppc64_elf_size_stubs): Update prototype. - -2012-01-10 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13581 - * elf64-x86-64.c (elf_x86_64_relocate_section): Remove ABI_64_P - check on R_X86_64_PCXX. - -2012-01-10 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_build_commands): Avoid uninitialized false - warning. - -2012-01-10 Tristan Gingold <gingold@adacore.com> - - * bfdio.c (bfd_tell): Handle nested archives. - (bfd_seek): Ditto. - * cache.c (bfd_cache_lookup_worker): Ditto. - * archive.c (_bfd_get_elt_at_filepos): Remove code dealing with - nested archives. - (bfd_generic_openr_next_archived_file): Likewise. - -2012-01-09 Iain Sandoe <idsandoe@googlemail.com> - - * mach-o.c (bfd_mach_o_bfd_copy_private_symbol_data): Implement. - (bfd_mach_o_write_symtab): Remove handling for indirect syms. - (bfd_mach_o_primary_symbol_sort_key): Likewise. - (bfd_mach_o_cf_symbols): Likewise. - (bfd_mach_o_sort_symbol_table): Remove. - (bfd_mach_o_mangle_symbols): Adjust arguments, remove handling - for indirect and dysymtab counts. Do the symbol sorting here. - (bfd_mach_o_build_dysymtab_command): Count the symbol types here. - Make the indirect symbols a TODO. - (bfd_mach_o_build_commands): Adjust call to bfd_mach_o_mangle_symbols. - (bfd_mach_o_make_empty_symbol): Specifically flag unset symbols with - a non-zero value. - (bfd_mach_o_read_symtab_symbol): Record the symbol index. - (bfd_mach_o_read_symtab_symbol): Adjust recording of global status. - * mach-o.h (mach_o_data_struct): Remove indirect and dysymtab entries. - (IS_MACHO_INDIRECT): Remove. - (SYM_MACHO_FIELDS_UNSET, SYM_MACHO_FIELDS_NOT_VALIDATED): New. - -2012-01-06 Nick Clifton <nickc@redhat.com> - - PR binutils/13121 - * reloc.c (bfd_generic_lookup_section_flags): Rename 'finfo' to - 'flaginfo' to avoid conflicts with AIX system headers. - -2012-01-06 Tristan Gingold <gingold@adacore.com> - - * bfdio.c (bfd_bread): Use arelt_size macro. - -2012-01-06 Tristan Gingold <gingold@adacore.com> - - * config.bfd (i[3-7]86-*-darwin*): Define targ64_selvecs. - -2012-01-05 Nick Clifton <nickc@redhat.com> - - PR ld/12161 - * elf32-avr.c (elf32_avr_relax_delete_bytes): Read in relocs if - necessary. - -2012-01-05 Jan Kratochvil <jan.kratochvil@redhat.com> - - Fix zero registers core files when built by gcc-4.7. - * elf64-x86-64.c (elf_x86_64_write_core_note): Remove variables p and - size. Call elfcore_write_note for the local variables. Remove the - final elfcore_write_note call. Add NOTREACHED comments. - -2012-01-04 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_fat_stat_arch_elt): New function. - (bfd_mach_o_generic_stat_arch_elt): Adjust. - -2012-01-04 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_fat_member_init): New function. - (bfd_mach_o_openr_next_archived_file): Reindent. - Adjust to call bfd_mach_o_fat_member_init. - (bfd_mach_o_fat_extract): Adjust to call bfd_mach_o_fat_member_init. - -2012-01-04 Tristan Gingold <gingold@adacore.com> - - * mach-o-x86-64.c (bfd_mach_o_x86_64_swap_reloc_out): Handle - BFD_RELOC_32, BFD_RELOC_MACH_O_X86_64_PCREL32_1, - BFD_RELOC_MACH_O_X86_64_PCREL32_2, - BFD_RELOC_MACH_O_X86_64_PCREL32_4, - BFD_RELOC_MACH_O_X86_64_BRANCH32, - BFD_RELOC_MACH_O_X86_64_SUBTRACTOR32, - BFD_RELOC_MACH_O_X86_64_GOT. - -2012-01-04 Tristan Gingold <gingold@adacore.com> - - * mach-o.h (bfd_mach_o_fvmlib_command): New structure. - (bfd_mach_o_load_command): Add fvmlib field. - - * mach-o.c (bfd_mach_o_read_fvmlib): New function. - (bfd_mach_o_read_command): Handle fvmlib. - -2012-01-04 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_convert_architecture): Reindent. - Decode msubtype for ARM. - -2012-01-04 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_get_synthetic_symtab): Add comments. - -2012-01-04 Tristan Gingold <gingold@adacore.com> - - * mach-o.h: Reindent header. - (bfd_mach_o_encryption_info_command): New structure. - (bfd_mach_o_load_command): Add encryption_info field. - - * mach-o.c (bfd_mach_o_read_encryption_info): New function. - (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO. - (bfd_mach_o_read_command): Adjust error message. - -2012-01-04 Shinichiro Hamaji <shinichiro.hamaji@gmail.com> - - * dwarf2.c (_bfd_dwarf2_slurp_debug_info): Factor out the part - which reads DWARF2 and stores in stash from find_line. - (find_line) Call _bfd_dwarf2_slurp_debug_info. - * libbfd-in.h (_bfd_dwarf2_slurp_debug_info): Add declaration. - * libbfd.h (_bfd_dwarf2_slurp_debug_info): Regenerate. - * mach-o.c (dsym_subdir): The name of subdir where debug - information may be stored. - (bfd_mach_o_lookup_uuid_command): New. Lookup a load command whose - type is UUID. - (bfd_mach_o_dsym_for_uuid_p): New. Check if the specified BFD is - corresponding to the executable. - (bfd_mach_o_find_dsym): New. Find a debug information BFD in the - specified binary file. - (bfd_mach_o_follow_dsym): New. Find a debug information BFD for - the original BFD. - (bfd_mach_o_find_nearest_line): Check dSYM files for Mach-O - executables, dylibs, and bundles. - (bfd_mach_o_close_and_cleanup): Clean up BFDs for the dSYM file. - * mach-o.h (dsym_bfd): The BFD of the dSYM file. - -2012-01-03 Iain Sandoe <idsandoe@googlemail.com> - - * mach-o.c (bfd_mach_o_mangle_symbols): Put in the section index - for stabd symbols. - (bfd_mach_o_primary_symbol_sort_key): Adjust for stabs. - (bfd_mach_o_cf_symbols): Likewise. - -2012-01-03 Iain Sandoe <idsandoe@googlemail.com> - - * mach-o.c (bfd_mach_o_mangle_symbols): Correct typo. - -2012-01-03 Iain Sandoe <idsandoe@googlemail.com> - - * mach-o.c (bfd_mach_o_write_symtab): Fill in the string table index - as the value of an indirect symbol. Keep the string table index in - non-indirect syms for reference. - (bfd_mach_o_write_dysymtab): New. - (bfd_mach_o_primary_symbol_sort_key): New. - (bfd_mach_o_cf_symbols): New. - (bfd_mach_o_sort_symbol_table): New. - (bfd_mach_o_mangle_symbols): Return early if no symbols. Sort symbols. - If we are emitting a dysymtab, process indirect symbols and count the - number of each other kind. - (bfd_mach_o_mangle_sections): New. - (bfd_mach_o_write_contents): Split out some pre-requisite code into - the command builder. Write dysymtab if the command is present. - (bfd_mach_o_count_sections_for_seg): New. - (bfd_mach_o_build_seg_command): New. - (bfd_mach_o_build_dysymtab_command): New. - (bfd_mach_o_build_commands): Reorganize to support the fact that some - commands are optional and should not be emitted if there are no - sections or symbols. - (bfd_mach_o_set_section_contents): Amend comment. - * mach-o.h: Amend and add to comments. - (mach_o_data_struct): Add fields for dysymtab symbols counts and a - pointer to the indirects, when present. - (bfd_mach_o_should_emit_dysymtab): New macro. - (IS_MACHO_INDIRECT): Likewise. - -For older changes see ChangeLog-2011 - -Local Variables: -mode: change-log -left-margin: 8 -fill-column: 74 -version-control: never -End:
diff --git a/clang-tests-external/gdb/7.5/bfd/ChangeLog-0001 b/clang-tests-external/gdb/7.5/bfd/ChangeLog-0001 deleted file mode 100644 index b5a3475..0000000 --- a/clang-tests-external/gdb/7.5/bfd/ChangeLog-0001 +++ /dev/null
@@ -1,9592 +0,0 @@ -2001-12-31 Jakub Jelinek <jakub@redhat.com> - - * elflink.h (elf_bfd_final_link): Check if dynobj is not NULL - before looking for .eh_frame_hdr section. - * elf-eh-frame.c (_bfd_elf_write_section_eh_frame_hdr): If - .eh_frame_hdr section is being stripped from output, don't do - anything. - -2001-12-27 Tom Rix <trix@redhat.com> - - * coff-rs6000.c (xcoff_generate_rtinit): Clean data_buffer alloc/free. - * coff64-rs6000.c (xcoff64_generate_rtinit): Same. - (xcoff_write_archive_contents_big): Rewrite. - (xcoff_write_armap_big): Rewrite. - (xcoff_write_one_armap_big): Delete. - * libxcoff.h : Clean up. - -2001-12-21 Tom Rix <trix@redhat.com> - - * xcofflink.c (bfd_xcoff_link_generate_rtinit): New function. - Interface to linker for generation of __rtinit. - * libxcoff.h (struct xcoff_backend_data_rec): Add new ops to xcoff - backend to generate special linker symbol __rtinit. - * coff-rs6000.c (bfd_xcoff_backend_data, bfd_pmac_xcoff_backend_data) - : Add new rtinit ops - * coff64-rs6000.c (bfd_xcoff_aix5_backend_data, - bfd_xcoff_backend_data): Same. - * bfd-in.h: Add bfd_xcoff_link_generate_rtinit. - * bfd-in2.h : Regenerate. - -2001-12-21 Jakub Jelinek <jakub@redhat.com> - - * elf32-sparc.c (_bfd_sparc_elf_howto_table): Fix dst_mask for - R_SPARC_DISP32. Support R_SPARC_PLT32. - (sparc_reloc_map): Add BFD_RELOC_16_PCREL and BFD_RELOC_SPARC_PLT32. - (elf32_sparc_check_relocs): Handle R_SPARC_PLT32. - (elf32_sparc_relocate_section): Likewise. - * elf64-sparc.c (sparc64_elf_howto_table): Fix dst_mask for - R_SPARC_DISP32. Support R_SPARC_PLT32 and R_SPARC_PLT64. - (sparc_reloc_map): Add BFD_RELOC_16_PCREL, BFD_RELOC_64_PCREL - and BFD_RELOC_SPARC_PLT32. - (sparc64_elf_check_relocs): Handle R_SPARC_PLT32 and R_SPARC_PLT64. - (sparc64_elf_relocate_section): Likewise. - * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SPARC_PLT32. - * bfd-in2.h, libbfd.h: Rebuilt. - -2001-12-20 Tom Rix <trix@redhat.com> - - * coffcode.h (coff_compute_section_file_positions): Add special AIX - loader alignment of text section. - -2001-12-20 Jason Thorpe <thorpej@wasabisystems.com> - - * config.bfd (mips-dec-netbsd*): Delete alias for mips*el-*-netbsd*. - - * config.bfd (arm-*-netbsdelf*): Add target. - * configure.in: Include netbsd-core.lo for native arm-*-netbsd*. - * configure: Regenerate. - -2001-12-20 Alan Modra <amodra@bigpond.net.au> - - * elfcode.h (elf_slurp_symbol_table): Test elf_elfsections for NULL, - as can happen with a core file, before dereferencing. - -2001-12-19 Michael Snyder <msnyder@redhat.com> - - * elf32-i386.c (elf_i386_grok_psinfo): Fix copy-and-paste error: - target is i386 (not mips), and size of descdata is 124 (not 128). - -2001-12-19 Jakub Jelinek <jakub@redhat.com> - - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): If new_size - is 0, temporarily grow it to minimal CIE size. - (_bfd_elf_write_section_eh_frame): If input .eh_frame section would - end up empty, build a fake minimal CIE. - -2001-12-19 Steve Ellcey <sje@cup.hp.com> - - * config.bfd (bfd_elf32_ia64_hpux_big_vec): New vector for - ia64*-*-hpux* target. - (bfd_elf64_ia64_hpux_big_vec): Likewise. - * targets.c: Ditto. - * configure.in: Ditto. - * configure: Regenerate - * elfxx-ia64.c (elfNN_ia64_final_write_processing): Replace use of - alloca with bfd_malloc. - (get_local_sym_hash): Likewise. - (elfNN_hpux_post_process_headers): New function. - #include elfNN-target.h again with values for IA64 HP-UX vector. - -2001-12-18 Michael Snyder <msnyder@redhat.com> - - * elf.c (assign_file_positions_for_segments): Don't sort PT_NOTE - sections of corefiles. Also it makes no sense to sort if count == 1. - -2001-12-18 H.J. Lu <hjl@gnu.org> - - * elf.c (_bfd_elf_copy_private_bfd_data): Also copy GP. - -2001-12-18 H.J. Lu <hjl@gnu.org> - - * elf.c (_bfd_elf_copy_private_bfd_data): Update comments. - -2001-12-18 H.J. Lu <hjl@gnu.org> - - * elf-bfd.h (_bfd_elf_copy_private_bfd_data): New. Prototype. - (_bfd_mips_elf_copy_private_bfd_data): Removed. - - * elf.c (_bfd_elf_copy_private_bfd_data): New. Copy e_flags in - the ELF header. - - * elf32-i370.c (??_elf_copy_private_bfd_data): Removed. - (bfd_elf??_bfd_copy_private_bfd_data): Removed. - * elf32-m32r.c: Likewise. - * elf32-m68k.c: Likewise. - * elf32-mcore.c: Likewise. - * elf32-mips.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-v850.c: Likewise. - * elf64-ppc.c: Likewise. - * elf64-sparc.c: Likewise. - * elfxx-ia64.c: Likewise. - - * elf64-mips.c (bfd_elf64_bfd_copy_private_bfd_data): Removed. - - * elfxx-target.h (bfd_elfNN_bfd_copy_private_bfd_data): Defined - to _bfd_elf_copy_private_bfd_data. - -2001-12-18 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * elf32-s390 (elf_s390_check_relocs): Pass addend to - gc_record_vtentry. - * elf64-s390 (elf_s390_check_relocs): Likewise. - Fix by Andreas Jaeger <aj@suse.de>. - -2001-12-18 Jason Thorpe <thorpej@wasabisystems.com> - - * configure.host: Correctly match all NetBSD/mips - hosts. - -2001-12-18 matthew green <mrg@eterna.com.au> - - * config.bfd (m68*-*-netbsdelf*): New target. - (m68*-*-netbsd): Also include bfd_elf32_m68k_vec. - (m68*-*-netbsdaout*): New alias for m68*-*-netbsd. - -2001-12-18 Jakub Jelinek <jakub@redhat.com> - - * elflink.h (size_dynamic_sections): Skip anonymous version tag. - (elf_link_assign_sym_version): Don't count anonymous version tag. - -2001-12-18 Jakub Jelinek <jakub@redhat.com> - - * elf-eh-frame.c (struct cie): Add make_lsda_relative. - (struct eh_cie_fde): Add lsda_encoding, lsda_offset, - make_lsda_relative. - (read_value, write_value): New. - (_bfd_elf_discard_section_eh_frame): Inicialize - lsda_encoding, lsda_offset and make_lsda_relative. - (_bfd_elf_eh_frame_section_offset): If make_lsda_relative, - request no dynamic reloc for LSDA field of FDE. - (_bfd_elf_write_section_eh_frame): Handle make_lsda_relative. - If a non-DW_EH_PE_absptr value is 0, don't adjust it by base - or pcrel. Fix address computation for DW_EH_PE_pcrel relocs. - Update LSDA field if LSDA encoding is DW_EH_PE_pcrel, because - . might have changed due to deleted FDE or CIEs. - -2001-12-18 Jakub Jelinek <jakub@redhat.com> - - * elf-strtab.c (struct elf_strtab_hash_entry): Add u.next. - (last_eq): Remove. - (_bfd_elf_strtab_finalize): Don't use a hash table for last - character chains, instead use an array. - -2001-12-18 Jason Thorpe <thorpej@wasabisystems.com> - - * elf.c (elfcore_netbsd_get_lwpid): New function. - (elfcore_grok_netbsd_procinfo): New function. - (elfcore_grok_netbsd_note): New function. - (elfcore_read_notes): Call elfcore_grok_netbsd_note to process - NetBSD ELF core file notes. - -2001-12-18 Alan Modra <amodra@bigpond.net.au> - - * elfcode.h (struct bfd_preserve): New. - (elf_object_p): Replace preserved_* vars with instance of above. - Save and restore arch_info pointer rather than arch, mach so that - more cases can be restored. Save and restore new section_tail, - section_htab structure, and init appropriately. Move "rest of - section header" code so that i_shdrp needs no NULL initialisation. - Free old section_htab on success. - * elfcore.h (elf_core_file_p): Likewise. - -2001-12-17 Tom Rix <trix@redhat.com> - - * coffcode.h (sec_to_styp_flags): Add STYP_EXCEPT and STYP_TYPCHK for - xcoff. - -2001-12-17 Jakub Jelinek <jakub@redhat.com> - - * elf-bfd.h (elf_discarded_section): Define. - * elflink.h (elf_link_input_bfd): Use it. - (elf_reloc_symbol_deleted_p): Likewise. - - * elf64-alpha.c (elf64_alpha_relocate_section): Don't warn about - overflows for pc relative relocs against discarded sections. - -2001-12-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * elf32-mips.c (_bfd_mips_elf_relocate_section): Formatting. - * elf64-mips.c: Add most of the fixes and tweaks done in elf32-mips.c - over the last months. Add some code for mips16 handling. - (mips_elf64_check_mips16_stubs): New function. - (mips_elf64_stub_section_p): Likewise. - (mips_elf64_calculate_relocation): Change interface to support mips16. - (mips_elf64_perform_relocation): Likewise. - -2001-12-17 Alan Modra <amodra@bigpond.net.au> - - Support for more than 64k ELF sections. - * elf-bfd.h (elf_size_info <swap_symbol_out>): Add shndx param. - (bfd_elf32_swap_symbol_in): Likewise. - (bfd_elf32_swap_symbol_out): Likewise. - (bfd_elf64_swap_symbol_in): Likewise. - (bfd_elf64_swap_symbol_out): Likewise. - (elf_reloc_cookie): Add locsym_shndx field. Make locsyms a PTR. - (elf_obj_tdata): Add num_elf_sections, symtab_shndx_hdr and - symtab_shndx_section. - (elf_numsections): Define. - (elf_symtab_shndx): Define. - * elf.c (setup_group): Use elf_numsections rather than header e_shnum. - (bfd_elf_find_section): Likewise. - (bfd_section_from_elf_index): Likewise. - (bfd_section_from_shdr): Likewise. Handle SHT_SYMTAB_SHNDX. - (bfd_section_from_r_symndx): Read symbol shndx extension, and - translate st_shndx for > SHN_HIRESERVE. - (assign_section_numbers): Skip reserved sections. Assign - symtab_shndx_section and elf_numsections. Exclude reserved - sections from e_shnum. Set up symtab_shndx_hdr. - (_bfd_elf_compute_section_file_positions): Handle symtab_shndx_hdr. - (map_sections_to_segments): Don't map eh_frame_hdr unless required. - (assign_file_positions_except_relocs): Use elf_numsections rather - than header e_shnum. Skip reserved sections and symtab_shndx_section. - (prep_headers): Set name for symtab_shndx_hdr. - (_bfd_elf_assign_file_positions_for_relocs): Use elf_numsections. - (_bfd_elf_write_object_contents): Likewise. Skip reserved sections. - (_bfd_elf_section_from_bfd_section): Check bfd_{abs,com,und}_section - first. Use elf_section_data if available. Use elf_numsections. - Start scan at index 1. - (copy_private_bfd_data ): Comment fixes. - (MAP_ONESYMTAB): Define above SHN_HIOS. - (MAP_DYNSYMTAB): Likewise. - (MAP_STRTAB): Likewise. - (MAP_SHSTRTAB): Likewise. - (MAP_SYM_SHNDX): New define. - (_bfd_elf_copy_private_symbol_data): Handle symtab_shndx_section. - (swap_out_syms): Swap out SHT_SYMTAB_SHNDX section too. - * elfcode.h (elf_swap_symbol_in): Add shndx param, and handle shndx - extension. - (elf_swap_symbol_out): Likewise. - (elf_object_p): Set elf_numsections, and use instead of e_shnum. - Initialialise reserved elf_elfsections to point at shdr[0]. Remove - redundant bfd_release calls. - (elf_slurp_symbol_table): Read symbol shndx extension, and use with - elf_swap_symbol_in. Translate st_shndx for > SHN_HIRESERVE too. - * elflink.h (elf_link_is_defined_archive_symbol): Read symbol shndx - extension, and use with elf_swap_symbol_in. - (elf_link_record_local_dynamic_symbol): Likewise. - (elf_link_add_object_symbols): Likewise. Also translate st_shndx - for elf sections > SHN_HIRESERVE. - (NAME(bfd_elf,size_dynamic_sections)): Adjust elf_swap_symbol_out - call. - (struct elf_final_link_info): Add locsym_shndx and symshndxbuf. - (elf_bfd_final_link): Allocate the above, and tidy code allocating - other buffers. Use elf_numsections instead of e_shnum. Adjust - elf_swap_symbol_out calls. - (elf_link_output_sym): Swap out symbol shndx extension too. - (elf_link_flush_output_syms): And flush them to disk. - (elf_link_output_extsym): Use SHN_BAD. Adjust elf_swap_symbol_out - calls. - (elf_gc_mark): Read symbol shndx extension, and use with - elf_swap_symbol_in. - (elf_link_input_bfd): Likewise, Translate st_shndx for elf sections - > SHN_HIRESERVE too. Use SHN_BAD. - (elf_reloc_symbol_deleted_p): Use symbol shndx extensions with - elf_swap_symbol_in. Translate st_shndx > SHN_HIRESERVE too. - (elf_bfd_discard_info): Read symbol shndx extension. Don't attempt - to continue after a bfd error. - * elf-m10200.c (mn10200_elf_relax_section): Only read local syms. - Stash them immediately to symtab_hdr->contents rather than later - in multiple places. Clean up afterwards. Read symbol shndx - extension, and use with swap_symbol_in. Translate SHN_UNDEF, - SHN_ABS, SHN_COMMON and elf sections > SHN_HIRESERVE to bfd - sections too. Remove dead code. - (mn10200_elf_relax_delete_bytes): Use symbol shndx extension - when swapping in symbols. Tidy code adjusting global syms. - Don't swap in global syms. - (mn10200_elf_symbol_address_p): Likewise. Remove extsyms param. - (mn10200_elf_get_relocated_section_contents): Read symbol shndx - extension, and use with swap_symbol_in. Rename "size" -> "amt" - to maximize code in common with other files. Translate st_shndx - for > SHN_HIRESERVE too. Remove dead code. - * elf-m10300.c (mn10300_elf_relax_section): Only read local syms. - Stash them immediately to symtab_hdr->contents rather than later - in multiple places. Clean up afterwards. Read symbol shndx - extension, and use with swap_symbol_in. Remove dead code. - (mn10300_elf_relax_delete_bytes): As for elf-m10200.c. - (mn10300_elf_symbol_address_p): Likewise. - (mn10300_elf_get_relocated_section_contents): Likewise. - * elf32-h8300.c (elf32_h8_relax_section): As for elf-m10300.c. - (elf32_h8_relax_delete_bytes): Likewise. - (elf32_h8_symbol_address_p): Likewise. - (elf32_h8_get_relocated_section_contents): Likewise. - * elf32-hppa.c (elf32_hppa_size_stubs): Read symbol shndx - extension, and use with swap_symbol_in. - * elf64-hppa.c (elf64_hppa_check_relocs): Likewise. - * elf32-i370.c (i370_elf_finish_dynamic_sections): Adjust call to - bfd_elf32_swap_symbol_out. - * elf32-m32r.c (m32r_elf_get_relocated_section_contents): Translate - elf sections > SHN_HIRESERVE too. - * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Only read - local syms. Read symbol shndx extension, and use with swap_symbol_in. - * elf32-mips.c (_bfd_mips_elf_final_write_processing): Use - elf_numsections rather than header e_shnum. - * elf32-sh.c (sh_elf_relax_section): As for elf-m10300.c. - (sh_elf_relax_delete_bytes): Likewise. - (sh_elf_get_relocated_section_contents): Likewise. Only read local - symbols. - * elf32-v850.c (v850_elf_symbol_processing): Use an unsigned int to - hold section index. Use elf_numsections rather than e_shnum. - Rename "index" -> "indx" to avoid shadowing warning. - (v850_elf_add_symbol_hook): Likewise. - * elf64-alpha.c (elf64_alpha_relax_section): Only read local syms. - Read symbol shndx extension, and use with swap_symbol_in. - * elf32-xstormy16.c (xstormy16_elf_relax_section): Likewise. - Translate SHN_COMMON and elf sections > SHN_HIRESERVE too. - * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. - (elfNN_ia64_aix_add_symbol_hook): Use elf_numsections. - - * elf-m10300.c (mn10300_elf_gc_mark_hook): Remove unnecessary checks - before calling bfd_section_from_elf_index on local syms. - * elf32-arm.h (elf32_arm_gc_mark_hook): Likewise. - * elf32-avr.c (elf32_avr_gc_mark_hook): Likewise. - * elf32-cris.c (cris_elf_gc_mark_hook): Likewise. - * elf32-d10v.c (elf32_d10v_gc_mark_hook): Likewise. - * elf32-fr30.c (fr30_elf_gc_mark_hook): Likewise. - * elf32-hppa.c (elf32_hppa_gc_mark_hook): Likewise. - * elf32-i386.c (elf_i386_gc_mark_hook): Likewise. - * elf32-m32r.c (m32r_elf_gc_mark_hook): Likewise. - * elf32-m68k.c (elf_m68k_gc_mark_hook): Likewise. - * elf32-mcore.c (mcore_elf_gc_mark_hook): Likewise. - * elf32-mips.c (_bfd_mips_elf_gc_mark_hook): Likewise. - * elf32-openrisc.c (openrisc_elf_gc_mark_hook): Likewise. - * elf32-ppc.c (ppc_elf_gc_mark_hook): Likewise. - * elf32-s390.c (elf_s390_gc_mark_hook): Likewise. - * elf32-sh.c (sh_elf_gc_mark_hook): Likewise. - * elf32-sparc.c (elf32_sparc_gc_mark_hook): Likewise. - * elf32-v850.c (v850_elf_gc_mark_hook): Likewise. - * elf32-xstormy16.c (xstormy16_elf_gc_mark_hook): Likewise. - * elf64-mips.c (mips_elf64_gc_mark_hook): Likewise. - * elf64-mmix.c (mmix_elf_gc_mark_hook): Likewise. - * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise. - * elf64-s390.c (elf_s390_gc_mark_hook): Likewise. - * elf64-x86-64.c (elf64_x86_64_gc_mark_hook): Likewise. - -2001-12-17 Alan Modra <amodra@bigpond.net.au> - - Hash bfd sections for fast lookup and create. - * bfd.c (struct _bfd): Add section_htab, section_tail. - * libbfd-in.h (_bfd_delete_bfd): Declare. - (bfd_section_hash_newfunc): Declare. - * opncls.c (_bfd_new_bfd): Free memory on failure. Init - section_htab and section_tail. - (_bfd_delete_bfd): New function. - (bfd_openr): Use it. - (bfd_fdopenr): Likewise. - (bfd_openstreamr): Likewise. - (bfd_openw): Likewise. - (bfd_close): Likewise. - (bfd_close_all_done): Likewise. - (bfd_release): Comment. - * section.c (struct section_hash_entry): New. - (bfd_section_hash_newfunc): New function. - (section_hash_lookup): Define. - (bfd_section_init): New function, split out from - bfd_make_section_anyway. - (bfd_get_section_by_name): Lookup via hash table. - (bfd_get_unique_section_name): Likewise. - (bfd_make_section_old_way): Rewrite to use hash table. - (bfd_make_section_anyway): Likewise. - (bfd_make_section): Likewise. Return NULL for attempts to make - BFD_{ABS,COM,UND,IND}_SECTION_NAME. - (_bfd_strip_section_from_output): Adjust section_tail if needed. - * configure.in: Bump bfd version. - * configure: Regenerate. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - -2001-12-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * elf64-mips.c (mips_elf64_link_hash_entry): New link hash. - (mips_elf64_high): New Function. - (mips_elf64_higher): Likewise. - (mips_elf64_highest): Likewise. - (mips_elf64_info_to_howto_rel): Likewise. - (mips_elf64_info_to_howto_rela): Likewise. - (mips_elf64_write_rel): Likewise. - (mips_elf64_write_rela): Likewise. - (mips_elf64_link_hash_newfunc): Likewise. - (mips_elf64_hi16_reloc): Likewise. - (mips_elf64_higher_reloc): Likewise. - (mips_elf64_highest_reloc): Likewise. - (mips_elf64_gprel16_reloc): Likewise. - (mips_elf64_gprel16_reloca): Likewise. - (mips_elf64_literal_reloc): Likewise. - (mips_elf64_gprel32_reloc): Likewise. - (mips_elf64_shift6_reloc): Likewise. - (mips_elf64_got16_reloc): Likewise. - (mips_elf64_assign_gp): Likewise. - (mips_elf64_final_gp): Likewise. - (gprel16_with_gp): Likewise. - (mips_elf64_additional_program_headers): Likewise. - (mips_elf64_link_hash_table_create): Likewise. - (mips_elf64_got_offset_from_index): Likewise. - (_mips_elf64_got_info): Likewise. - (mips_elf64_sign_extend): Likewise. - (mips_elf64_overflow_p): Likewise. - (mips_elf64_global_got_index): Likewise. - (mips_elf64_sort_hash_table_f): Likewise. - (mips_elf64_sort_hash_table): Likewise. - (mips_elf64_swap_msym_out): Likewise. - (mips_elf64_create_local_got_entry): Likewise. - (mips_elf64_local_got_index): Likewise. - (mips_elf64_got_page): Likewise. - (mips_elf64_got16_entry): Likewise. - (mips_elf64_local_relocation_p): Likewise. - (mips_elf64_next_relocation): Likewise. - (mips_elf64_create_dynamic_relocation): Likewise. - (mips_elf64_calculate_relocation): Likewise. - (mips_elf64_obtain_contents): Likewise. - (mips_elf64_perform_relocation): Likewise. - (mips_elf64_relocate_section): Likewise. - (mips_elf64_create_dynamic_sections): Likewise. - (mips_elf64_adjust_dynamic_symbol): Likewise. - (mips_elf64_always_size_sections): Likewise. - (mips_elf64_size_dynamic_sections): Likewise. - (mips_elf64_finish_dynamic_symbol): Likewise. - (mips_elf64_finish_dynamic_sections): Likewise. - (mips_elf64_gc_mark_hook): Likewise. - (mips_elf64_gc_sweep_hook): Likewise. - (mips_elf64_create_got_section): Likewise. - (mips_elf64_record_global_got_symbol): Likewise. - (mips_elf64_create_msym_section): Likewise. - (mips_elf64_allocate_dynamic_relocations): Likewise. - (mips_elf64_check_relocs): Likewise. - (mips_elf64_output_extsym): Likewise. - (mips_elf64_swap_gptab_in): Likewise. - (mips_elf64_swap_gptab_out): Likewise. - (gptab_compare): Likewise. - (mips_elf64_final_link): Likewise. - (prev_reloc_addend): Remenber addend of previous parts of a combined - reloc. - (ELF_MIPS_GP_OFFSET): New define. - (STUB_LW,STUB_MOVE,STUB_JALR,STUB_LI16): Likewise. - (MIPS_FUNCTION_STUB_SIZE): Likewise. - (mips_elf64_howto_rel): Fix HOWTO defines. - (mips_elf64_howto_rela): Likewise. - (mips_elf64_swap_reloca_out): Fix signedness. - (mips_elf64_be_swap_reloc_in): Use ELF64* instead of ELF32*. - (mips_elf64_be_swap_reloca_in): Likewise. - (mips_elf64_be_swap_reloc_out): Likewise. Preserve extended type info. - (mips_elf64_be_swap_reloca_out): Likewise. - -2001-12-15 Jakub Jelinek <jakub@redhat.com> - - * elf-bfd.h (_bfd_elf_maybe_strip_eh_frame_hdr): New prototype. - * elf-eh-frame.c (struct eh_frame_hdr_info): Add strip. - (_bfd_elf_discard_section_eh_frame): Don't create .eh_frame_hdr - sec_info here. Free ehbuf. - (_bfd_elf_discard_section_eh_frame_hdr): Don't size the section - if hdr_info->strip. - (_bfd_elf_maybe_strip_eh_frame_hdr): New. - * elflink.h (size_dynamic_sections): Call it. - -2001-12-14 Alan Modra <amodra@bigpond.net.au> - - * elflink.h (elf_bfd_discard_info): Fix segfault when dynobj NULL. - -2001-12-13 Jakub Jelinek <jakub@redhat.com> - - * elf-bfd.h (enum elf_link_info_type): New. - (struct bfd_elf_section_data): Remove stab_info and merge_info - fields, add sec_info and sec_info_type. - (struct elf_obj_tdata): Add eh_frame_hdr field. - (_bfd_elf_discard_section_eh_frame): New prototype. - (_bfd_elf_discard_section_eh_frame_hdr): Likewise. - (_bfd_elf_eh_frame_section_offset): Likewise. - (_bfd_elf_write_section_eh_frame): Likewise. - (_bfd_elf_write_section_eh_frame_hdr): Likewise. - * Makefile.am (BFD32_BACKENDS): Add elf-eh-frame.lo. - (BFD32_BACKENDS_CFILES): Add elf-eh-frame.c. - (elf-eh-frame.lo): New. - * Makefile.in: Rebuilt. - * configure.in (elf): Add elf-eh-frame.lo. - * configure: Rebuilt. - * elf.c (_bfd_elf_print_private_bfd_data): Support PT_GNU_EH_FRAME. - (map_sections_to_segments): Create PT_GNU_EH_FRAME if requested. - (get_program_header_size): Take into account PT_GNU_EH_FRAME - segment. - (_bfd_elf_rela_local_sym): Use sec_info_type and sec_info. - (_bfd_elf_rel_local_sym): Likewise. - (_bfd_elf_section_offset): Likewise. Call - _bfd_elf_eh_frame_section_offset too. - * elfxx-ia64.c (elfNN_ia64_relocate_section): Use sec_info_type and - sec_info. - * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. - * elf-eh-frame.c: New file. - * elflink.h (elf_link_add_object_symbols): Don't optimize SHF_MERGE - .stab sections. Set sec_info_type, use sec_info instead - of merge_info and stab_info. - (elf_link_create_dynamic_sections): Create .eh_frame_hdr section - if --eh-frame-hdr. - (elf_bfd_final_link): Write .eh_frame_hdr section. - (elf_link_sec_merge_syms): Use sec_info_type and sec_info. - (elf_link_input_bfd): Likewise. - Call _bfd_elf_write_section_eh_frame to write .eh_frame sections. - (elf_bfd_discard_info): Add output_bfd argument. - Call _bfd_elf_discard_section_eh_frame and - _bfd_elf_discard_section_eh_frame_hdr. - (elf_section_ignore_discarded_relocs): Use sec_info_type, not section - names. - * bfd-in.h (bfd_elf32_discard_info, bfd_elf64_discard_info): Adjust - prototypes. - * bfd-in2.h (bfd_elf32_discard_info, bfd_elf64_discard_info): Likewise. - -2001-12-12 Richard Henderson <rth@redhat.com> - - * syms.c (_bfd_generic_read_minisymbols): Early return for - no symbols. Patch from FreeBSD folk; exact origin unknown. - -2001-12-11 Alan Modra <amodra@bigpond.net.au> - - * elfcode.h (elf_swap_ehdr_out): Adjust value written for e_shnum - and e_shstrndx if out of range. - (elf_object_p): Read extended values for e_shnum and e_shstrndx - from the first section header. Allocate space in elf_elfsections - for reserved sections and set to NULLs. - (elf_write_shdrs_and_ehdr): Set overflow fields in first section - header. Skip reserved sections in elf_elfsections. Remove - duplicate size calculation. - -2001-12-07 Geoffrey Keating <geoffk@redhat.com> - Richard Henderson <rth@redhat.com> - Corinna Vinschen <vinschen@redhat.com> - - * Makefile.am: Add support for xstormy16. - * archures.c: Add support for xstormy16. - * config.bfd: Add support for xstormy16. - * configure.in: Add support for xstormy16. - * reloc.c: Add support for xstormy16. - * targets.c: Add support for xstormy16. - * cpu-xstormy16.c: New file. - * elf32-xstormy16.c: New file. - * Makefile.in: Regenerated. - * bfd-in2.h: Regenerated. - * configure: Regenerated. - * libbfd.h: Regenerated. - -2001-12-07 Nick Clifton <nickc@cambridge.redhat.com> - - * elf.c (assign_file_positions_for_segments): Combine sentance - fragments into a single sentance in order to permit better - translation into foreign languages. - -2001-12-07 Jim Blandy <jimb@redhat.com> - - * elf32-s390.c (elf32_s390_grok_prstatus): New function. - (elf_backend_grok_prstatus): Define. - -2001-12-07 Jakub Jelinek <jakub@redhat.com> - - * elf32-sparc.c (elf32_sparc_relocate_section): Revert - 2001-09-14 change. - -2001-12-07 Jakub Jelinek <jakub@redhat.com> - - * elf.c (_bfd_elf_rela_local_sym): Only call - _bfd_merged_section_offset if merge_info is non-NULL. - (_bfd_elf_rel_local_sym, _bfd_elf_section_offset): New. - * elf-bfd.h (_bfd_elf_rel_local_sym, _bfd_elf_section_offset): New - prototypes. - * elf32-arm.h (elf32_arm_final_link_relocate): Use - _bfd_elf_section_offset. - (elf32_arm_relocate_section): Use _bfd_elf_rel_local_sym. - * elf32-i386.c (elf_i386_relocate_section): Use - _bfd_elf_section_offset and _bfd_elf_rel_local_sym. - * elf32-sh.c (sh_elf_relocate_section): Likewise. - * elf32-sparc.c (elf32_sparc_relocate_section): Use - _bfd_elf_section_offset. - * elf32-cris.c (cris_elf_relocate_section): Likewise. - * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. - * elf32-i370.c (i370_elf_relocate_section): Likewise. - * elf32-m68k.c (elf_m68k_relocate_section): Likewise. - * elf32-mips.c (mips_elf_create_dynamic_relocation): Likewise. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - * elf32-s390.c (elf_s390_relocate_section): Likewise. - * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. - * elf64-s390.c (elf_s390_relocate_section): Likewise. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. - * elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Likewise. - -2001-12-07 Alan Modra <amodra@bigpond.net.au> - - * elf32-hppa.c (clobber_millicode_symbols): Don't do anything if - already forced local. - -2001-12-05 Nick Clifton <nickc@cambridge.redhat.com> - - * elf32-arm.h (elf32_arm_merge_private_bfd_data): Combine - fragmented sentence parts into a whole sentence to permit - better translation into foreign languages. - -2001-12-06 Hans-Peter Nilsson <hp@bitrange.com> - - * configure: Regenerate. - * Makefile.in: Regenerate. - -2001-12-05 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * Makefile.am: split up BFD_LIBS like statements in BFD32_LIBS and - BFD64_LIBS, make the latter depending on the availability of BFD64. - Add archive64.c source file. - * archive64.c: New file implementing bfd_elf64_archive_slurp_armap - and bfd_elf64_archive_write_armap, code from elf64-mips.c - * archive.c (bfd_slurp_armap): Add ELF64 archive support. - * config.bfd (mips*-*-irix6*): Allow with BFD64 only. - (mips64*el-*-linux*): Likewise. - (mips*el-*-linux*): Likewise. Reorder entries. - * configure.in (bfd_libs): Define in dependency of BFD64 and - AC_SUBST it. - * elf64-mips.c (mips_elf64_slurp_armap): Remove, use - bfd_elf64_archive_slurp_armap instead. - (mips_elf64_write_armap): Remove, use bfd_elf64_archive_write_armap - instead. - -2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * config.bfd: Remove trailing blanks. - * elf32-mips.c (gprel16_with_gp): Remove superfluous casts. - -2001-12-04 Alexandre Oliva <aoliva@redhat.com> - - * elf32-d10v.c (elf_d10v_howto_table): Adjust bit-size of - R_D10V_10_PCREL_L, R_D10V_10_PCREL_R, R_D10V_18, - R_D10V_18_PCREL. Check 10_PCREL relocations as signed. - Disable pointless overflow checking of NONE and 32. - -2001-12-04 Alan Modra <amodra@bigpond.net.au> - - * reloc.c (bfd_install_relocation): Correct reloc address test. - (bfd_perform_relocation): Formatting fix. - * bfd-in2.h: Regenerate for 2001-12-02 reloc.c change. - -2001-12-03 Nick Clifton <nickc@cambridge.redhat.com> - - * configure.in (LINGUAS): Add tr. - * configure: Regenerate. - * po/tr.po: Import from translation project's web site. - -2001-12-03 Alan Modra <amodra@bigpond.net.au> - - * elf32-hppa.c (hppa_get_stub_entry): Remove debug message that - happens to trigger on undefined symbols. - (final_link_relocate): Return bfd_reloc_undefined for undefined - stubs. - (elf32_hppa_relocate_section): Don't say we can't handle a reloc - if we have already warned about an undefined symbol. - -2001-12-02 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * elf32-mips.c (NEWABI_P): New define. - (USE_REL): Remove, replaced by - (elf_backend_may_use_rel_p): New define. - (elf_backend_may_use_rela_p): Likewise. - (elf_backend_default_use_rela_p): Likewise. - (elf_mips_howto_table): Rename to elf_mips_howto_table_rel. - Fix some relocation definitions. - (elf_mips_howto_table_rela): New RELA relocation definitions for - NewABI support. - (mips32_64bit_reloc): Use the renamed elf_mips_howto_table_rel. - (bfd_elf32_bfd_reloc_type_lookup): Likewise. - (mips_rtype_to_howto): Likewise. - (_bfd_mips_elf_relocate_section): Likewise. - (_bfd_mips_elf_object_p): Typo. - (elf_backend_sign_extend_vma): Reordered together with many other - defines nearby to resemble the order of declaration in the header - file. - -2001-12-02 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * coff-mips.c (mips_bfd_reloc_type_lookup): Replace - BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16. - * pe-mips.c (mips_bfd_reloc_type_lookup): Likewise. - * elf32-mips.c (mips_reloc_map): Likewise. Replace - BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32. - * elf64-mips.c (mips_reloc_map): Likewise. - * reloc.c (BFD_RELOC_MIPS_GPREL): Remove. - (BFD_RELOC_MIPS_GPREL32): Remove. - -2001-11-30 H.J. Lu <hjl@gnu.org> - - * elflink.h (elf_add_default_symbol): New. - (elf_link_add_object_symbols): Call elf_add_default_symbol () - to create an indirect symbol from the default for the symbol - with the default version if needed. - -2001-11-29 "Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de> - - * elf.c (elfcore_grok_prstatus): Do not overwite the core signal - if it has already been set by another thread. - -2001-11-28 Jakub Jelinek <jakub@redhat.com> - - * elf64-alpha.c (ALPHA_ELF_GOT_ENTRY_RELOCS_XLATED): Defined. - (elf64_alpha_relocate_section): Translate local_got_entries - for STT_SECTION symbol to SHF_MERGE section the first time - we see it. - * elfxx-ia64.c (struct elfNN_ia64_local_hash_entry): Add - sec_merge_done. - (get_local_sym_hash): New, extracted from get_dyn_sym_info. - (get_dyn_sym_info): Use it. - (elfNN_ia64_relocate_section): Translate local dyn entries - for STT_SECTION symbol to SHF_MERGE section the first time - we see it. - -2001-11-27 H.J. Lu <hjl@gnu.org> - - * elflink.h (elf_bfd_discard_info): Skip if the input bfd isn't - ELF. - -2001-11-26 Jeffrey A Law (law@cygnus.com) - - * stabs.c (_bfd_discard_section_stabs): Use PARAMS in function - prototypes. - -2001-11-24 Alan Modra <amodra@bigpond.net.au> - - * elf32-hppa.c (elf32_hppa_size_stubs): Decrease default stub - group sizes to accommodate c++. - -2001-11-23 Jakub Jelinek <jakub@redhat.com> - - * elf32-sparc.c (elf32_sparc_relocate_section): Don't clear - relocations in non-alloced sections against global symbols - defined in shared library being built. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - -2001-11-23 Jakub Jelinek <jakub@redhat.com> - - * elf.c (_bfd_elf_rela_local_sym): New. - * elflink.h (elf_link_input_bfd): Don't consider empty - merged sections as removed in relocation tests. - * elf-bfd.h (_bfd_elf_rela_local_sym): Add prototype. - * elf32-i386.c (elf_i386_relocate_section): Handle relocs - against STT_SECTION symbol of SHF_MERGE section. - * elf32-arm.h (elf32_arm_relocate_section): Likewise. - * elf32-avr.c (elf32_avr_relocate_section): Call - _bfd_elf_rela_local_sym. - * elf32-cris.c (cris_elf_relocate_section): Likewise. - * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. - * elf32-fr30.c (fr30_final_link_relocate): Likewise. - * elf32-h8300.c (elf32_h8_relocate_section): Likewise. - * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. - * elf32-i370.c (i370_elf_relocate_section): Likewise. - * elf32-i860.c (elf32_i860_relocate_section): Likewise. - * elf32-m32r.c (m32r_elf_relocate_section): Likewise. - * elf32-m68k.c (elf_m68k_relocate_section): Likewise. - * elf32-mcore.c (mcore_elf_relocate_section): Likewise. - * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - * elf32-s390.c (elf_s390_relocate_section): Likewise. - * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. - * elf32-v850.c (v850_elf_relocate_section): Likewise. - * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. - * elf64-mmix.c (mmix_elf_relocate_section): Likewise. - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. - * elf64-s390.c (elf_s390_relocate_section): Likewise. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. - * elf-hppa.h (elf_hppa_relocate_section): Likewise. - * elf-m10200.c (mn10200_elf_relocate_section): Likewise. - * elf-m10300.c (mn10300_elf_relocate_section): Likewise. - * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. - * elf32-sh.c (sh_elf_relocate_section): Likewise for - !partial_inplace relocs. Handle relocs against STT_SECTION - symbol of SHF_MERGE for partial_inplace relocs. - -2001-11-21 Nick Clifton <nickc@cambridge.redhat.com> - - * po/Make-in (distclean): Move SRC-POTFILES.in and - BLD-POTFILES.in to maintainer-clean target. - -2001-11-21 Alan Modra <amodra@bigpond.net.au> - - * elfxx-ia64.c (elfNN_ia64_relocate_section): Test r_symndx rather - than sym_sec->output_section to detect relocs against discarded - sections. - -2001-11-19 H.J. Lu <hjl@gnu.org> - - * elflink.h (elf_link_input_bfd): Assert r_symndx != 0 when - discarding relocations. - -2001-11-19 Nick Clifton <nickc@cambridge.redhat.com> - - * section.c (bfd_is_const_section): New macro. Return true if the - given seciton is one of the special, constant, sections. - * bfd-in2.h: Regenerate. - * coffgen.c (coff_count_linenumbers): Use bfd_is_const_section. - (coff_write_native_symbol): Use bfd_is_const_section. - -2001-11-19 Alan Modra <amodra@bigpond.net.au> - - * elf32-hppa.c (clobber_millicode_symbols): Dec dynstr refcount. - - * elf32-hppa.c (elf32_hppa_size_stubs): Don't consider undefined - millicode syms as candidates for import stubs. - - * elf32-hppa.c (PLABEL_PLT_ENTRY_SIZE): Delete. - (allocate_PIC_calls): Rename to allocate_plt_static. - (allocate_dynrelocs): Move most of code handling .plt entries to.. - (allocate_plt_static): ..here. Don't drop plabel entries. - -2001-11-19 Hans-Peter Nilsson <hp@bitrange.com> - - * mmo.c: Adjust documentation tags to use texinfo 4 features. - -2001-11-16 Nick Clifton <nickc@cambridge.redhat.com> - - * section.c (bfd_is_const_section): New macro. Return true if the - section pointer refers to one of the special, constant sections. - * bfd-in2.h: Regenerate. - - * coffgen.c (coff_count_linenumbers): Only update the line number - count in non-special sections. - (coff_write_native_symbol): Only update the line number file - position in non-special sections. - -2001-11-15 Daniel Jacobowitz <drow@mvista.com> - - * elflink.h (elf_reloc_symbol_deleted_p): Catch all relocs against - local syms from discarded sections. Update comment. - -2001-11-15 Alan Modra <amodra@bigpond.net.au> - - * po/SRC-POTFILES.in: Regenerate. - - * elflink.h (elf_link_input_bfd): Complain about all relocs - against local syms from discarded sections. K&R fixes. - (elf_reloc_symbol_deleted_p): Don't try to swap in external syms. - K&R fixes. - -2001-11-15 Alexandre Oliva <aoliva@redhat.com> - - * elf64-sparc.c (sparc64_elf_relocate_section): Disregard - overflows in the .stab section. - -2001-11-14 Daniel Jacobowitz <drow@mvista.com> - - * bfd-in.h (bfd_elf32_discard_info): Add prototype. - (bfd_elf64_discard_info): Likewise. - * bfd-in2.h: Regenerate. - * elf-bfd.h (struct elf_reloc_cookie): New. - (struct elf_backend_data): Add elf_backend_discard_info, - elf_backend_ignore_discarded_relocs, and elf_backend_write_section. - (_bfd_elf32_reloc_symbol_deleted_p): Add prototype. - (_bfd_elf64_reloc_symbol_deleted_p): Likewise. - * elf32-mips.c (_bfd_elf32_mips_discard_info): New. - (_bfd_elf32_mips_ignore_discarded_relocs): New. - (_bfd_elf32_mips_write_section): New. - (elf_backend_discard_info): Define. - (elf_backend_ignore_discarded_relocs): Define. - (elf_backend_write_section): Define. - * elfcode.h (elf_bfd_discard_info): Define. - (elf_reloc_symbol_deleted_p): Define. - * elflink.h (elf_link_input_bfd): Check - elf_section_ignore_discarded_relocs. Call - bed->elf_backend_write_section if available. - (elf_reloc_symbol_deleted_p): New. - (elf_bfd_discard_info): New. - (elf_section_ignore_discarded_relocs): New. - * elfxx-target.h (elf_backend_discard_info): Define. - (elf_backend_ignore_discarded_relocs): Define. - (elf_backend_write_section): Define. - (elfNN_bed): Add elf_backend_discard_info, - elf_backend_ignore_discarded_relocs, and - elf_backend_write_section. - * libbfd-in.h (_bfd_discard_section_stabs): Add prototype. - * libbfd.h: Regenerate. - * stabs.c (_bfd_discard_section_stabs): New. - -2001-11-14 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * elf32-s390.c (elf_s390_relocate_section): Use the "unresolved_reloc" - scheme to get rid of an ugly complicated test. - * elf64-s390.c (elf_s390_relocate_section): Likewise. - -2001-11-14 Andreas Jaeger <aj@suse.de> - - * cpu-i386.c (bfd_x86_64_arch_intel_syntax,bfd_x86_64_arch): Use - x86-64 for display. - -2001-11-14 Jakub Jelinek <jakub@redhat.com> - - * dwarf2.c (struct line_head) [total_length]: Change type to - bfd_vma. - (struct dwarf2_debug): Add dwarf_str_buffer and dwarf_str_size. - (struct comp_unit): Add stash and offset_size. - (read_8_bytes): Return bfd_vma. - (read_indirect_string): New. - (read_attribute): Handle DW_FORM_strp. - (decode_line_info): Support 64-bit DWARF format. - (_bfd_dwarf2_find_nearest_line): Likewise. - (parse_comp_unit): Set offset_size and stash. - -2001-11-13 Keith Walker <keith.walker@arm.com> - - * dwarf2.c (read_attribute_value): New function to handle - DW_FORM_indirect. - (read_attribute): Use it. - -2001-11-13 Geoffrey Keating <geoffk@redhat.com> - - * dwarf2.c (decode_line_info): Properly deal with unknown standard - opcodes. - -2001-11-13 John Marshall <jmarshall@acm.org> - Alan Modra <amodra@bigpond.net.au> - - * section.c (bfd_make_section_anyway): Don't increment section_id - and the BFD's section_count if adding the section failed. - * vms.c (vms_new_section_hook): Adjust for bfd_make_section_anyway - change. - -2001-11-12 Orjan Friberg <orjanf@axis.com> - - * elf32-cris.c (cris_elf_grok_prstatus): Adjust values to match new - core dump format. - -2001-11-11 H.J. Lu <hjl@gnu.org> - - * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Call - _bfd_elf_strtab_size instead of _bfd_stringtab_size. - - * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Change - dynstr type to `struct elf_strtab_hash *'. - -2001-11-11 Hans-Peter Nilsson <hp@bitrange.com> - - * elf-strtab.c (_bfd_elf_strtab_finalize): Make first variable i - size_t. Rename second i to j. - -2001-11-10 Jeffrey A Law (law@cygnus.com) - - * binary.c: Include safe-ctype.h after bfd.h and sysdep.h. - -2001-11-10 Alan Modra <amodra@bigpond.net.au> - - * elf32-arm.h (elf32_arm_final_link_relocate): Don't copy STN_UNDEF - relocs into shared libs. - * elf32-cris.c (cris_elf_relocate_section): Likewise. - * elf32-i370.c (i370_elf_relocate_section): Likewise. - * elf32-m68k.c (elf_m68k_relocate_section): Likewise. - * elf32-mips.c (mips_elf_calculate_relocation): Likewise. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - * elf32-sh.c (sh_elf_relocate_section): Likewise. - * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. - * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. - * elf64-s390.c (elf_s390_relocate_section): Likewise. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. - * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. - - * elf.c (bfd_section_from_r_symndx): New function. - * elf-bfd.h (LOCAL_SYM_CACHE_SIZE): Define. - (struct sym_sec_cache): New. - (bfd_section_from_r_symndx): Declare. - (struct bfd_elf_section_data): Change local_dynrel type to PTR. - * elflink.h (elf_link_input_bfd): Don't test for removed linkonce - relocs when relocatable. Don't zero entire reloc, just zero the - addend and sym. - * elf32-hppa.c (struct elf32_hppa_link_hash_table): Add sym_sec. - (elf32_hppa_link_hash_table_create): Init it. - (elf32_hppa_check_relocs): Track dynamic relocs needed for local - syms on a per-section basis as we do for globals. - (elf32_hppa_gc_sweep_hook): Update for local_dynrel change. - (allocate_dynrelocs): Warning fix. - (elf32_hppa_size_dynamic_sections): Don't allocate relocs when - section has been discarded. - (elf32_hppa_relocate_section): Don't copy STN_UNDEF relocs - into shared libs. - * elf32-i386.c (struct elf_i386_link_hash_table): Add sym_sec. - (elf_i386_link_hash_table_create): Init it. - (elf_i386_check_relocs): Track dynamic relocs needed for local - syms on a per-section basis as we do for globals. - (elf_i386_gc_sweep_hook): Update for local_dynrel change. - Remove dead code. - (allocate_dynrelocs): Warning fix. - (elf_i386_size_dynamic_sections): Don't allocate relocs when - section has been discarded. - (elf_i386_relocate_section): Don't copy STN_UNDEF relocs - into shared libs. - * elf32-s390.c (struct elf_s390_link_hash_table): Add sym_sec. - (elf_s390_link_hash_table_create): Init it. - (elf_s390_check_relocs): Track dynamic relocs needed for local - syms on a per-section basis as we do for globals. - (elf_s390_gc_sweep_hook): Update for local_dynrel change. - Remove dead code. - (allocate_dynrelocs): Warning fix. - (elf_s390_size_dynamic_sections): Don't allocate relocs when - section has been discarded. - (elf_s390_relocate_section): Don't copy STN_UNDEF relocs - into shared libs. - * elf64-ppc.c (struct ppc_link_hash_table): Add sym_sec. - (ppc64_link_hash_table_create): Init it. - (ppc64_elf_check_relocs): Track dynamic relocs needed for local - syms on a per-section basis as we do for globals. - (ppc64_elf_gc_sweep_hook): Update for local_dynrel change. - (allocate_dynrelocs): Call the correct record_dynamic_dymbol - function. Warning fix. - (ppc64_elf_size_dynamic_sections): Don't allocate relocs when - section has been discarded. - (ppc64_elf_relocate_section): Don't copy STN_UNDEF relocs - into shared libs. - * elf64-s390.c (struct elf_s390_link_hash_table): Add sym_sec. - (elf_s390_link_hash_table_create): Init it. - (elf_s390_check_relocs): Track dynamic relocs needed for local - syms on a per-section basis as we do for globals. - (elf_s390_gc_sweep_hook): Update for local_dynrel change. - Remove dead code. - (allocate_dynrelocs): Warning fix. - (elf_s390_size_dynamic_sections): Don't allocate relocs when - section has been discarded. - (elf_s390_relocate_section): Don't copy STN_UNDEF relocs - into shared libs. - -2001-11-08 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * elf32-s390: Major rework that introduces all recent changes to - the s390 backends. Get a closer match to elf32-i386. - (elf_s390_relocate_section): Make use of dynamic section short-cuts. - Localise vars, and delay setting. Better error reporting, replace - BFD_ASSERT with abort. Check ELF_LINK_HASH_DEF_DYNAMIC to see if a - symbol is not defined in the regular object file and tread the weak - definition as the normal one. Don't discard relocs for undefweak or - undefined symbols and check !DEF_REGULAR as well as DEF_DYNAMIC in - test for avoided copy relocs. Reinstate fudge for unresolved relocs - in debugging sections. - (elf32_s390_adjust_dynamic_symbol): Handle nocopyreloc. Don't do copy - reloc processing for weakdefs. Remove redundant casts and aborts. - Delay setting of vars until needed. Move creation of dynamic symbols - and allocation of .plt and .rela.plt to allocate_dynrelocs. Replace - BFD_ASSERT with abort. Discard .plt entries for everything with - plt.refcount <= 0. - (elf_s390_check_relocs): Don't allocate space for dynamic relocs, - .got or .relgot here but do it in allocate_dynrelocs. Reference count - possible .plt and .got entries. Don't test input section SEC_READONLY - here to try to avoid copy relocs, and keep dyn_relocs regardless of - ELF_LINK_NON_GOT_REF. Don't set DF_TEXTREL here. Delay setting of - variables until needed. Remove separate switch stmt for creating .got - section. Initialise local_got_refcounts to 0. Cache pointer to - "sreloc" section in elf_section_data. Tweak condition under which .got - created. Report files with bad relocation section names. - (elf_s390_finish_dynamic_symbol): Don't copy relocs for symbols that - have been forced local. Use same test to decide if we can use a - relative reloc for got as elf_s390_relocate_section. Expand SHN_UNDEF - comment. Move expressions out of function calls. Replace BFD_ASSERT - with abort. - (elf_s390_finish_dynamic_sections): Migrate common code out of switch - statement. Replace BFD_ASSERT with abort. - (elf_s390_size_dynamic_sections): Call readonly_dynrelocs. Rename "i" - to "ibfd". Allocate space for local dyn relocs. Use DF_TEXTREL flag - instead of looking up section names for DT_TEXTREL. Replace - BFD_ASSERT with abort. Zero out the dynamic allocated content space. - Add a comment to remind us that one day this ought to be fixed. - (struct elf_s390_link_hash_entry): Rename "root" to "elf". - (struct elf_s390_link_hash_table): Likewise. - (elf_s390_link_hash_newfunc): Rename to link_hash_newfunc and get - rid of unnecessary casts. - (struct elf_s390_dyn_relocs): Add "sec", and "pc_count" fields. - Remove "section" field. - (elf_s390_gc_sweep_hook): Sweep dyn_relocs and local_dynrel. - Reference count possible .plt entries. Don't deallocate .got and - .relgot space here. - (struct elf_s390_pcrel_relocs_copied): Rename to elf_s390_dyn_relocs. - Update comment. - (struct elf_s390_link_hash_entry): Rename pcrel_relocs_copied to - dyn_relocs. - (elf_s390_discard_copies): Delete. - (elf_s390_link_hash_traverse): Delete. - (bfd_elf32_bfd_final_link): Delete. (ie. use regular final link - rather than gc variety). - (struct elf_s390_link_hash_table): Add sgot, sgotplt, srelgot, splt, - srelplt, sdynbss, srelbss fields. - (elf_s390_link_hash_table_create): Init them. - (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. - (allocate_dynrelocs): New function. - (create_got_section): New function. - (elf_backend_can_refcount): Define. - (elf_backend_copy_indirect_symbol): Define. - (elf_s390_copy_indirect_symbol): New function. - (elf_s390_create_dynamic_sections): New function. - (readonly_dynrelocs): New function. - * elf64-s390.c: Likewise. - -2001-11-07 Jakub Jelinek <jakub@redhat.com> - - * Makefile.am (BFD32_BACKENDS): Add elf-strtab.lo. - (BFD32_BACKENDS_CFILES): Add elf-strtab.c. - (elf-strtab.lo): Add rule. - * Makefile.in: Rebuilt. - * configure.in (elf): Add elf-strtab.lo. - * configure: Rebuilt. - * elf-bfd.h (elf_strtab_hash): Forward declare. - (struct elf_link_hash_table): Change dynstr type to - struct elf_strtab_hash *. - (struct elf_obj_tdata): Change strtab_ptr type to - struct elf_strtab_hash *. - (_bfd_elf_strtab_init, _bfd_elf_strtab_free, _bfd_elf_strtab_add, - _bfd_elf_strtab_addref, _bfd_elf_strtab_delref, - _bfd_elf_strtab_clear_all_refs, _bfd_elf_strtab_size, - _bfd_elf_strtab_offset, _bfd_elf_strtab_emit, - _bfd_elf_strtab_finalize): New prototypes. - * elf-strtab.c: New file. - * elflink.h (elf_link_add_object_symbols): Use _bfd_elf_strtab_add - and _bfd_elf_strtab_size instead of _bfd_stringtab calls. - Call _bfd_elf_strtab_delref if DT_NEEDED entry is not needed or - when forcing dynamic symbol to local. - (elf_link_create_dynamic_sections): Call - _bfd_elf_strtab_init instead of elf_stringtab_init. - (elf_link_record_local_dynamic_symbol): Likewise, change - dynstr type. Use _bfd_elf_strtab functions instead of - _bfd_stringtab calls. - (size_dynamic_sections): Use _bfd_elf_strtab functions instead of - _bfd_stringtab calls. For DT_RUNPATH and Verdaux vda_name fields, - call _bfd_elf_strtab_addref. Call elf_finalize_dynstr. - (elf_adjust_dynstr_offsets, elf_finalize_dynstr): New functions. - (elf_fix_symbol_flags): Call _bfd_elf_strtab_delref when forcing - dynamic symbol to local. - (elf_link_assign_sym_version): Likewise. - (elf_bfd_final_link): Call _bfd_elf_strtab_emit instead of - _bfd_stringtab_emit. - * elflink.c (_bfd_elf_link_record_dynamic_symbol): Change dynstr - type. Call _bfd_elf_strtab functions instead of - _bfd_stringtab functions. - * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise. - * elf.c (_bfd_elf_init_reloc_shdr): Likewise. - (elf_fake_sections): Likewise. - (assign_section_numbers): Call _bfd_elf_strtab_clear_all_refs - on shstrtab hash table, call _bfd_elf_strtab_addref on each section - name in the output. Call _bfd_elf_strtab_finalize and - use _bfd_elf_strtab_offset to finalize sh_name section header fields. - (_bfd_elf_compute_section_file_positions): Use _bfd_elf_strtab_size - instead of _bfd_stringtab_size. - (prep_headers): Change shstrtab type. - Use _bfd_elf_strtab calls instead of _bfd_stringtab calls. - -2001-11-07 Alan Modra <amodra@bigpond.net.au> - - * elflink.h (elf_link_input_bfd <removed linkonce relocs>): Fix - bad symtab segfault. Formatting and warning fixes. Improve - error message for internationalisation. - -2001-11-06 H.J. Lu (hjl@gnu.org) - - * elflink.h (elf_link_input_bfd): Complain about relocs against - discarded sections. - -2001-11-03 Alan Modra <amodra@bigpond.net.au> - - * elfxx-target.h (elfNN_bed): Correct want_got_sym, want_dynbss order. - -2001-11-02 H.J. Lu <hjl@gnu.org> - - * elf32-mips.c (mips_elf_calculate_relocation): Don't create - dynamic relocation for symbols defined in regular objects when - creating executables. - -2001-11-02 Nick Clifton <nickc@cambridge.redhat.com> - - * configure.in (ALL_LINGUAS): Add "fr". - * configure: Regenerate. - * po/fr.po: New file. - - * coffgen.c (coff_object_p): Add comment to H.J.'s recent patch. - -2001-11-02 John David Anglin <dave@hiauly1.hia.nrc.ca> - - * som.c (setup_sections): Initialize subspace_sections. - -2001-11-02 H.J. Lu (hjl@gnu.org) - - * coffgen.c (coff_object_p): Return 0 if the header is too big. - -2001-11-02 Hans-Peter Nilsson <hp@axis.com> - - * elfcore.h (elf_core_file_p): Preserve and clear abfd section - information. Save bfd arch and mach values. Restore on error. - -2001-11-02 Alan Modra <amodra@bigpond.net.au> - - * elf32-hppa.c (hppa_handle_PIC_calls): Rename to mark_PIC_calls. - (allocate_PIC_calls): New function. - (allocate_dynrelocs): Don't allocate pic_call plt entries here. - (elf32_hppa_size_dynamic_sections): Call allocate_PIC_calls. - (elf32_hppa_finish_dynamic_symbol): Remove dead code. - -2001-11-02 Hans-Peter Nilsson <hp@axis.com> - - * elf32-cris.c (cris_elf_grok_prstatus): New function. - (cris_elf_grok_psinfo): New function. - (elf_backend_grok_prstatus): Define. - (elf_backend_grok_psinfo): Define. - -2001-11-01 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_relocate_section): Correct branch - prediction bits. - -2001-10-31 Chris Demetriou <cgd@demetriou.com> - - * elf32-mips.c (_bfd_mips_elf_hi16_reloc): Handle PC-relative - relocations properly. - -2001-10-31 H.J. Lu <hjl@gnu.org> - - * elflink.h (elf_link_output_extsym): Don't clear the visibility - field for relocateable. - -2001-11-01 Alan Modra <amodra@bigpond.net.au> - - * elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Don't count - .plt relocs in DT_RELASZ. - -2001-10-29 NIIBE Yutaka <gniibe@m17n.org> - - * config.bfd: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu - targets. - -2001-10-31 Nick Clifton <nickc@cambridge.redhat.com> - - * targets.c: Fix typo: bfd_mmo_mmix_vec => bfd_mmo_vec. - -2001-10-30 Hans-Peter Nilsson <hp@bitrange.com> - - * Makefile.am (ALL_MACHINES): Add cpu-mmix.lo. - (BFD64_BACKENDS): Add elf64-mmix.lo and mmo.lo. - (BFD64_BACKENDS_CFILES): Add elf64-mmix.c and mmo.c. - Regenerate dependencies. - * configure.in (bfd_elf64_mmix_vec, bfd_mmo_vec): New vectors. - * config.bfd: [BFD64] (mmix-*-*): New case. - * cpu-mmix.c, mmo.c, elf64-mmix.c: New files. - * archures.c (enum bfd_architecture): Add bfd_arch_mmix. - (bfd_mmix_arch): Declare. - (bfd_archures_list): Add bfd_mmix_arch. - * targets.c (enum bfd_flavour): Add bfd_target_mmo_flavour. - (bfd_elf64_mmix_vec, bfd_mmo_vec): Declare. - (bfd_target_vect) [BFD64]: Add bfd_elf64_mmix_vec and - bfd_mmo_mmix_vec. - * reloc.c: Add MMIX relocations. - * bfd.c (struct _bfd, tdata): Add mmo_data. - * Makefile.in: Regenerate. - * configure: Regenerate. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - * configure: Rebuild. - -2001-10-30 Richard Earnshaw (rearnsha@arm.com) - - * elf.c (_bfd_elf_make_section_from_shdr): Set the LMA based on the - p_paddr of the segment that contains it. - (copy_private_bfd_data): If the LMA for a segment is known, use it - for matching sections to segments. - (assign_file_positions_for_segments): Use the LMA when adjusting - for inter-section alignment padding. - -2001-10-29 Kazu Hirata <kazu@hxi.com> - - * README: Fix a typo. - -2001-10-24 Richard Henderson <rth@redhat.com> - - * peXXigen.c (_bfd_XX_print_private_bfd_data_common): Copy - timestamp to time_t for ctime. - -2001-10-24 Hans-Peter Nilsson <hp@axis.com> - - * elf32-cris.c (cris_reloc_type_lookup): Change loop to use - unsigned, increasing index. - -2001-10-23 H.J. Lu <hjl@gnu.org> - - * elf32-mips.c (_bfd_mips_elf_modify_segment_map): Check - m != NULL before accessing it. - -2001-10-23 Alan Modra <amodra@bigpond.net.au> - - * elflink.h (elf_link_input_bfd): Zero the reloc instead of doing - bfd_reloc_type_lookup (bfd, BFD_RELOC_NONE) as bfd_reloc_type_lookup - doesn't accept BFD_RELOC_* on some targets, eg. hppa. - - * elf32-hppa.c (elf32_hppa_link_hash_entry): Remove plt_abs. - (hppa_link_hash_newfunc): Likewise. - (elf32_hppa_finish_dynamic_symbol): Likewise. - (allocate_dynrelocs): Always allocate .got relocs if shared. - (elf32_hppa_relocate_section): Output them too. Similarly - consolidate .plt reloc code, and no longer initialise .plt - when a reloc is output. - (elf32_hppa_finish_dynamic_symbol): Only initialise .plt entries - when no reloc is output. - - From Herbert Xu <herbert@gondor.apana.org.au> - * elf32-hppa.c (final_link_relocate): Call bfd_set_error for - unreachable branches. - -2001-10-22 H.J. Lu <hjl@gnu.org> - - * configure.in (WIN32LIBADD): Use -L../libiberty for - mips*-*-linux*. - * configure: Rebuild. - -2001-10-21 H.J. Lu <hjl@gnu.org> - - * configure.in (WIN32LIBADD): Include -L../libiberty/pic -liberty - if shared library is enabled only for Linux hosts. - * configure: Rebuild. - -2001-10-21 H.J. Lu <hjl@gnu.org> - - * configure.in (WIN32LIBADD): Check if PICFLAG is defined in - ../libiberty/Makefile instead of $enable_shared. - * configure: Rebuild. - -2001-10-21 H.J. Lu <hjl@gnu.org> - - * elf32-cris.c (cris_reloc_type_lookup): Use int for index. Cover - index 0. - -2001-10-20 H.J. Lu <hjl@gnu.org> - - * configure.in (WIN32LIBADD): Include -L../libiberty/pic -liberty - if shared library is enabled. - * configure: Rebuild. - -2001-10-20 H.J. Lu <hjl@gnu.org> - - * elf32-cris.c (cris_reloc_type_lookup): Allow index 0. - -2001-10-19 H.J. Lu <hjl@gnu.org> - - * elfcode.h (elf_object_p): Don't clear D_PAGED if the section - size is empty. - -2001-10-18 H.J. Lu <hjl@gnu.org> - - * elf32-i370.c (i370_elf_relocate_section): Ignore R_XXX_NONE. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - -2001-10-18 Jakub Jelinek <jakub@redhat.com> - - * section.c (_bfd_strip_section_from_output): Don't count - SEC_EXCLUDE sections as references. Set SEC_EXCLUDE. - -2001-10-17 Alan Modra <amodra@bigpond.net.au> - - * elf-m10200.c (mn10200_elf_relax_section): Cast assignment to - Elf_Internal_Shdr.contents now that it's no longer a PTR. - * elf-m10300.c (mn10300_elf_relax_section): Likewise. - * elf32-h8300.c (elf32_h8_relax_section): Likewise. - * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Likewise. - * elf32-sh.c (sh_elf_relax_section): Likewise. - * elf64-alpha.c (elf64_alpha_relax_section): Likewise. - * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. - * elf.c (setup_group): Warning fixes. - * elflink.h (elf_link_sort_relocs): Likewise. - * pdp11.c (slurp_reloc_table): Likewise. - -2001-10-16 Jeff Holcomb <jeffh@redhat.com> - - * elflink.h (elf_link_sort_relocs): Remove unnecessary pointer - casts. - -2001-10-15 H.J. Lu <hjl@gnu.org> - - * elflink.h (elf_link_input_bfd): Set type to BFD_RELOC_NONE - for relocations against discarded link-once section. - -2001-10-15 Alan Modra <amodra@bigpond.net.au> - - * elf32-i386.c (elf_i386_relocate_section): Report some detail on - bfd_reloc_outofrange and similar errors. - - * elf.c (_bfd_elf_link_hash_copy_indirect): Test ind->root.type - rather than ind->weakdef. - * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise. - * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. - * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise. - * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. - * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise. - -2001-10-15 Alan Modra <amodra@bigpond.net.au> - H.J. Lu <hjl@gnu.org> - - * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Merge dyn_reloc - counts for aliases instead of aborting. - * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. - * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. - - * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Set plt.offset - to -1 for non-function symbols. - * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. - * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. - * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise. - * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. - * elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise. - * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Refer to - plt.offset instead of plt.refcount when setting to -1. - -2001-10-12 Nick Clifton <nickc@cambridge.redhat.com> - - * elf32-arm.h (elf32_arm_relocate_section): Treat R_ARM_THM_PC22 - like R_ARM_PC24. Include reloc number in error message about - unresolvable relocs. - -2001-10-10 Jakub Jelinek <jakub@redhat.com> - - * elflink.h (elf_link_sort_cmp2): Don't mix PLT and non-PLT - relocations against the same symbol in .rel{,a}.dyn section. - -2001-10-10 Kazu Hirata <kazu@hxi.com> - - * aout-encap.c: Fix comment typos. - * aoutx.h: Likewise. - * archive.c: Likewise. - * bout.c: Likewise. - * coff64-rs6000.c: Likewise. - * coffcode.h: Likewise. - * coffgen.c: Likewise. - * cofflink.c: Likewise. - * coff-mips.c: Likewise. - * ecoff.c: Likewise. - * elf32-m32r.c: Likewise. - * libcoff-in.h: Likewise. - * libecoff.h: Likewise. - * libxcoff.h: Likewise. - * nlm32-i386.c: Likewise. - * pdp11.c: Likewise. - * section.c: Likewise. - * som.c: Likewise. - * som.h: Likewise. - * bfd-in2.h: Regenerate. - * libcoff.h: Likewise. - -2001-10-10 Alan Modra <amodra@bigpond.net.au> - - * elf.c (elf_map_symbols): Don't create new section symbols; Use - existing section syms. Update comments. - (copy_private_bfd_data): Formatting fixes. - (elfcore_grok_win32pstatus): Likewise. - (swap_out_syms): Likewise. Remove unnecessary level of braces. - -2001-10-09 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (struct bfd_elf_section_data): Rename "group" to - "group_name". - (elf_group_name): Define. - (elf_next_in_group): Define. - * elf.c: Make use of elf_group_name and elf_next_in_group throughout. - (setup_group): Don't use sec->lineno for SHT_GROUP section to store - first member section; Instead use elf_next_in_group. - (bfd_section_from_shdr): Likewise. - (set_group_contents): Likewise. Use elf_section_syms, not sec->symbol. - -2001-10-09 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (struct bfd_elf_section_data): Add "group" and - "next_in_group". Fix gp and gp_size comments. - * elf.c (union elf_internal_group): New. - (setup_group): New function. - (_bfd_elf_make_section_from_shdr): Set BFD flags for SHT_GROUP. - Call setup_group for SHF_GROUP sections. - (bfd_section_from_shdr): Build a BFD section for SHT_GROUP. - (elf_fake_sections): Set header type for SEC_GROUP, and header - flags for sections in a group. - (set_group_contents): New function. - (_bfd_elf_compute_section_file_positions): Call it. - (assign_section_numbers): Set sh_link for SHT_GROUP. - - * elflink.h (gc_mark_hook): Handle section groups. - * elfxx-target.h: Add SEC_GROUP to applicable_flags. - * section.c (SEC_GROUP): Define. - (struct sec): Comment fixes. - * bfd-in2.h: Regenerate. - - * elf.c (bfd_elf_print_symbol): Formatting fix; migrate expression - out of function args. - (_bfd_elf_canonicalize_reloc): Similarly. - (_bfd_elf_get_symtab): Here too. - (_bfd_elf_canonicalize_dynamic_symtab): And here. - * elfcode.h (elf_slurp_symbol_table): Don't recalculate size for - bfd_bread, and remove unnecessary cast. - -2001-10-08 Aldy Hernandez <aldyh@redhat.com> - - * config.bfd (targ_cpu): Add arm9e-*-elf. - -2001-10-06 Stephane Carrez <Stephane.Carrez@worldnet.fr> - - * dwarf2.c (comp_unit_find_nearest_line): Check for end of - compilation unit. - -2001-10-06 Alan Modra <amodra@bigpond.net.au> - - * bfd.c (bfd_assert): Report bfd version. - (_bfd_abort): Likewise. - - * elflink.h (elf_link_input_bfd): Don't zero discarded link-once - section sym values. Instead replace any relocs against them with - relocs against STN_UNDEF, which has a zero value. - - * elf32-arc.c (elf_arc_howto_table): Set partial_inplace for all - relocs. - -2001-10-05 Jeff Law <law@redhat.com> - - * som.h (som_exec_data): New field "version_id". - * som.c (som_object_setup): Record the version_id if it - exists. - (som_prep_headers): Do not initialize version_id here. - (som_finish_writing): Initialize version_id here. - -2000-10-05 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * elf32-mips.c (elf_mips_howto_table): Fix some relocation howtos - according to the MIPS/SGI ELF64 ABI Draft. - (mips_elf_sort_hash_table): Typo. - -2001-10-04 Alan Modra <amodra@bigpond.net.au> - - * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): Comment typo. - - * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): Bail out after - copying flags if this is a weakdef. - -2001-10-04 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (struct elf_link_hash_entry): Reorganise for better - packing. - - * elf32-mips.c (mips_elf_record_global_got_symbol): Set got.offset - to 1 rather than 0 to avoid confusing copy_indirect_symbol. - (mips_elf_sort_hash_table_f): Compare got.offset against 1. - - * Makefile.am (BFD_H_DEPS): Add symcat.h. Ensure everything - depends on $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS), not just those - backends we configure. Run "make dep-am". - (install-data-local): Install symcat.h. - * dep-in.sed: Remove symcat.h from dependencies. - * Makefile.in: Regenerate. - -2001-10-03 Vassili Karpov <malc@pulsesoft.com> - - * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Handle nocopyreloc. - -2001-10-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * elf64-mips.c (elf_backend_may_use_rela_p): New define. - (elf_backend_default_use_rela_p): New define. - -2001-10-03 Alan Modra <amodra@bigpond.net.au> - - * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Fix typos in last - change. - - * configure.in (AC_OUTPUT <bfd-in3.h>): Remove version.h. - * configure: Regenerate. - * Makefile.am (BFD_H_FILES): Add version.h. - * Makefile.in: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - - * elflink.h (elf_fix_symbol_flags): Copy flags to weakdef using - elf_backend_copy_indirect_symbol so that backend has a chance to - copy other necessary fields. - * elf-bfd.h (struct elf_backend_data): Update description of - elf_backend_copy_indirect_symbol. - * elf.c (_bfd_elf_link_hash_copy_indirect): Bail out after - copying flags if this is a weakdef. - * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise. - (elfNN_ia64_aix_add_symbol_hook): Use elf_link_hash_lookup rather - than bfd_link_hash_lookup. - * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Don't do copy - reloc processing for weakdefs. - * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise. - * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise. - -2001-10-02 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_check_relocs): Use a local var and cast - result of ELF64_R_TYPE to enum before using in a switch. - (ppc64_elf_gc_mark_hook): Likewise. - (ppc64_elf_gc_sweep_hook): Likewise. - (ppc64_elf_reloc_type_class): Likewise. - -2001-10-02 Alan Modra <amodra@bigpond.net.au> - - * version.h: New file. - * bfd-in.h: (BFD_VERSION): Substitute bfd_version. - (BFD_VERSION_DATE): Define. - (BFD_VERSION_STRING): Define. - * configure.in: AC_SUBST bfd_version, bfd_version_date and - bfd_version_string. - (AC_OUTPUT <bfd-in3.h>): Depend on version.h. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - - * bfd-in.h: Include "symcat.h". - (CONCAT4): Redefine as for old CAT4. - * aout-arm.c: Use equivalent CONCAT* macro in place of CAT* macros. - Add warning regarding whitespace. - * aout-cris.c: Likewise. - * aout-ns32k.c: Likewise. - * aout-sparcle.c: Likewise. - * aout-tic30.c: Likewise. - * aout0.c: Likewise. - * armnetbsd.c: Likewise. - * demo64.c: Likewise. - * elf-bfd.h: Likewise. - * gen-aout.c: Likewise. - * host-aout.c: Likewise. - * hp300bsd.c: Likewise. - * hp300hpux.c: Likewise. - * i386aout.c: Likewise. - * i386bsd.c: Likewise. - * i386dynix.c: Likewise. - * i386freebsd.c: Likewise. - * i386linux.c: Likewise. - * i386lynx.c: Likewise. - * i386mach3.c: Likewise. - * i386netbsd.c: Likewise. - * libaout.h: Likewise. - * m68k4knetbsd.c: Likewise. - * m68klinux.c: Likewise. - * m68klynx.c: Likewise. - * m68knetbsd.c: Likewise. - * m88kmach3.c: Likewise. - * mipsbsd.c: Likewise. - * newsos3.c: Likewise. - * ns32knetbsd.c: Likewise. - * pc532-mach.c: Likewise. - * pdp11.c: Likewise. - * riscix.c: Likewise. - * sparclinux.c: Likewise. - * sparclynx.c: Likewise. - * sparcnetbsd.c: Likewise. - * sunos.c: Likewise. - * targets.c: Likewise. - * vaxnetbsd.c: Likewise. - * vms-hdr.c: Likewise. - -2001-10-01 Alan Modra <amodra@bigpond.net.au> - - * bfd-in.h: Remove comments regarding generated files. - * libbfd-in.h: Likewise. - * libcoff-in.h: Likewise. - * bfd-in2.h: Regenerate. - * libbfd.h: Likewise. - * libcoff.h: Likewise. - -2001-09-30 kaz Kojima <kkojima@rr.iij4u.or.jp> - Hans-Peter Nilsson <hp@bitrange.com> - - * elf32-sh.c (sh_elf_howto_table, R_SH_REL32): Make - partial_inplace, matching assembler output. Set src_mask to - all ones. - (sh_elf_relocate_section): Delete misplaced comment. - For relocatable linking against section symbol, call - _bfd_relocate_contents for partial_inplace relocs and adjust - rel->r_addend for others. - <case R_SH_DIR32, R_SH_REL32>: Fetch partial_inplace addend with - bfd_get_32, not at rel->r_addend. - -2001-09-30 Alan Modra <amodra@bigpond.net.au> - - * elf.c (_bfd_elf_link_hash_copy_indirect): Set ind refcounts to - the old dir refcount, so we indirectly set them to init_refcount. - Short-circuit asserts when we've just verified they are true. - -2001-09-29 Alan Modra <amodra@bigpond.net.au> - - * section.c (struct sec): Remove kept_section. - (STD_SECTION): Remove kept_section initialisation. - (bfd_make_section_anyway): Here too. - * ecoff.c (bfd_debug_section): Remove kept_section initialisation. - * cofflink.c (_bfd_coff_link_input_bfd): Don't test kept_section. - * elflink.h (elf_link_input_bfd): Set discarded link-once section - symbols to zero, and remove all code involved with kept_section - and tracking section symbol values. - * bfd-in2.h: Regenerate. - * configure.in: Bump version number. - * configure: Regenerate. - -2001-09-29 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (struct ppc_dyn_relocs): New. - (IS_ABSOLUTE_RELOC): Define. - (struct ppc_link_hash_entry): New. - (struct ppc_link_hash_table): New. - (ppc_hash_table): Define. - (link_hash_newfunc): New function. - (ppc64_elf_link_hash_table_create): New function. - (create_got_section): New function. - (ppc64_elf_create_dynamic_sections): Call create_got_section. Stash - pointers to our dynamic sections in hash table. - (ppc64_elf_copy_indirect_symbol): New function. - (ppc64_elf_check_relocs): Remove DEBUG code. Use short-cuts to - dynamic sections. Localise vars. Modify code for refcounts - starting from zero. Don't allocate here, or force symbols dynamic. - Don't copy all relocs if shared, select ones we need. Add code - to track possible copy relocs for non-shared link. - (ppc64_elf_gc_mark_hook): Update comment. - (ppc64_elf_gc_sweep_hook): Sweep dynrelocs too. - (ppc64_elf_adjust_dynamic_symbol): Remove DEBUG code. Rewrite .plt - code for reference counting garbage collection. Don't create .plt - entries for functions that don't comply with ABI naming convention, - and don't allocate .plt space here. Use short-cuts to dynamic - sections. If possible, keep dynamic relocations instead of using - copy relocs. Remove confused comments. - (ppc_adjust_dynindx): Delete. - (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. - (allocate_dynrelocs): New function. - (readonly_dynrelocs): New function. - (ppc64_elf_size_dynamic_sections): Rewrite. Allocate local .got - space here, and call allocate_dynrelocs to allocate space for - global .plt, .got and reloc sections. Use short-cuts to dynamic - sections. Call readonly_dynrelocs to determine whether we need - DT_TEXTREL. Don't generate section symbols here, the generic - ELF linker code does it for us. - (ppc64_elf_final_link): Call regular ELF backend linker rather than - gc variety, since we do our own .got handling. - (ppc64_elf_relocate_section): Remove DEBUG code. Make use of - dynamic section short-cuts. Localise vars, and delay setting. - Handle unknown relocs in main switch statement. Replace ugly - complicated tests for unresolvable relocs with a simple direct - scheme using "unresolved_reloc" var. Test ELF_ST_VISIBILITY - before allowing an undefined sym in a shared lib. Do R_*_DS tests - after main switch, when we've set addend. Do non-addend insn - tweaks before main swithc. Ignore input_section->vma when - calculating reloc offsets as it's always zero. Rewrite dynamic - reloc handling. Consolidate R_*_HA handling. Handle more relocs. - (ppc64_elf_finish_dynamic_symbol): Remove DEBUG code. Make use - of dynamic section short-cuts. Reorganise .plt handling code. - Remove confused comments. Take note of ELF_LINK_FORCED_LOCAL. - Move expressions out of swap_reloca_out function calls. - (ppc64_elf_reloc_type_class): New function. - (ppc64_elf_info_to_howto): Move common expression to local var. - (ppc64_elf_finish_dynamic_sections): Remove DEBUG code. Make use - of dynamic section short-cuts. Don't fiddle with section syms - here as the ELF linker does it for us. - (elf_backend_can_refcount): Define. - (bfd_elf64_bfd_link_hash_table_create): Define. - (elf_backend_copy_indirect_symbol): Define. - (elf_backend_reloc_type_class): Define. - (elf_backend_*, bfd_elf64_bfd_* defines): Sort. - -2001-09-29 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (struct elf_link_local_dynamic_entry): Add init_refcount. - (struct elf_backend_data): Add can_refcount. - * elf.c (_bfd_elf_link_hash_newfunc): Get rid of a few casts. Set - got.refcount and plt.refcount from init_refcount. - (_bfd_elf_link_hash_table_init): Set up init_refcount. - (_bfd_elf_link_hash_copy_indirect): Reference got/plt.refcount - rather than got/plt.offset, and test for <= 0 rather than -1. - * elflink.h (size_dynamic_sections): Set init_refcount to -1. - * elfxx-target.h (elf_backend_can_refcount): Define. - (elfNN_bed): Init can_refcount. - * linker.c (_bfd_link_hash_newfunc): Get rid of a few casts. - (_bfd_generic_link_hash_newfunc): Likewise. - * elf32-cris.c (cris_elf_check_relocs): Modify for refcounts - starting from zero. - (elf_backend_can_refcount): Define. - * elf32-hppa.c (elf32_hppa_check_relocs): Modify for refcounts - starting from zero. - (elf32_hppa_copy_indirect_symbol): Make static to agree with - prototype. - (elf_backend_can_refcount): Define. - * elf32-i386.c (elf_i386_check_relocs): Modify for refcounts - starting from zero. - (allocate_dynrelocs): Set plt/got.offset rather than *.refcount. - (elf_i386_finish_dynamic_symbol): Expand SHN_UNDEF comment. - (elf_i386_finish_dynamic_sections): Use local var so line < 80 chars. - (elf_backend_can_refcount): Define. - (elf_i386_copy_indirect_symbol): Make static to agree with - prototype. Formatting fix. - * elf32-m68k.c (elf_m68k_check_relocs): Modify for refcounts - starting from zero. - (elf_backend_can_refcount): Define. - * elf32-ppc.c (ppc_elf_check_relocs): Modify for refcounts - starting from zero. - (elf_backend_can_refcount): Define. - * elf32-s390.c (elf_s390_check_relocs): Modify for refcounts - starting from zero. - (elf_backend_can_refcount): Define. - * elf64-s390.c (elf_s390_check_relocs): Modify for refcounts - starting from zero. - (elf_backend_can_refcount): Define. - * elf64-x86-64.c (elf64_x86_64_check_relocs): Modify for refcounts - starting from zero. - (elf_backend_can_refcount): Define. - - * som.c (som_write_symbol_strings): Cast current_offset in - bfd_seek call to match param type. - -2001-09-28 J. Brobecker <brobecker@gnat.com> - - * som.c (som_write_symbol_strings): Fix incorrect type of - current_offset to match the function definition. Fixes a build - failure on HPUX-11.00. - -2001-09-28 Richard Henderson <rth@redhat.com> - - * elfxx-target.h [section_flags]: Add SEC_ARCH_BIT_0, SEC_SMALL_DATA, - SEC_MERGE, SEC_STRINGS. - - * section.c (SEC_ARCH_BIT_0): New; replace unused SEC_BALIGN. - * bfd-in2.h: Rebuild. - -2001-09-28 Alan Modra <amodra@bigpond.net.au> - - * elf64-x86-64.c (elf64_x86_64_reloc_type_lookup): Don't map bfd - reloc code using x86_64_reloc_map. - - * elf32-hppa.c (elf32_hppa_check_relocs): Update comment since we - no longer allocate here. Localise some vars to blocks where they - are used. - (elf32_hppa_adjust_dynamic_symbol): Correct a comment. Delay - setting of vars until needed. - (allocate_dynrelocs): Don't create a .plt entry without a reloc - when symbol visibilty makes a function local. - (elf32_hppa_finish_dynamic_symbol): Move expressions out of - swap_reloca_out function calls. - (elf32_hppa_relocate_section): Likewies. Comment typo fix. - (elf32_hppa_finish_dynamic_sections): Migrate common code out of - switch statement. - - * elf32-i386.c (elf_i386_check_relocs): Update comment since we - no longer allocate here. Localise some vars to blocks where they - are used. Remove separate switch stmt for creating .got sec. - (elf_i386_adjust_dynamic_symbol): Correct a comment. Remove - redundant casts and aborts. Delay setting of vars until needed. - (allocate_dynrelocs): Remove redundant casts and aborts. - (elf_i386_size_dynamic_sections): Move comment. - (elf_i386_finish_dynamic_symbol): Move expressions out of function - calls. - (elf_i386_relocate_section): Likewise. Comment typo fix. - (elf_i386_finish_dynamic_sections): Migrate common code out of - switch statement. - (elf_backend_* defines): Sort. - - * elf32-i386.c (allocate_dynrelocs): Don't create a .plt entry - without a reloc when symbol visibilty makes a function local. - -2001-09-27 Nick Clifton <nickc@cambridge.redhat.com> - - * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix detection of - conflicting float flags. - -2001-09-26 Alan Modra <amodra@bigpond.net.au> - - * elf32-i386 (elf_i386_copy_indirect_symbol): New function. - (elf_backend_copy_indirect_symbol): Define. - (struct elf_i386_link_hash_entry): Rename "root" to "elf". - (struct elf_i386_link_hash_table): Likewise. - (link_hash_newfunc): Get rid of unnecessary casts. - (elf_i386_link_hash_table_create): Likewise. - (elf_i386_check_relocs): Initialise local_got_refcounts to 0. - Don't test input section SEC_READONLY here to try to avoid copy - relocs, and keep dyn_relocs regardleas of ELF_LINK_NON_GOT_REF. - (elf_i386_adjust_dynamic_symbol): Check output section SEC_READONLY - here to properly test whether we need copy relocs. Do so for weak - syms too. - - * elf32-hppa (elf32_hppa_copy_indirect_symbol): New function. - (elf_backend_copy_indirect_symbol): Define. - (struct elf32_hppa_link_hash_table): Rename "root" to "elf". - (stub_hash_newfunc): Get rid of unnecessary casts. - (hppa_link_hash_newfunc): Likewise. - (elf32_hppa_check_relocs): Initialise local_got_refcounts to 0. - Don't test input section SEC_READONLY here to try to avoid copy - relocs, and keep dyn_relocs regardleas of ELF_LINK_NON_GOT_REF. - (elf32_hppa_adjust_dynamic_symbol): Check output section SEC_READONLY - here to properly test whether we need copy relocs. Do so for weak - syms too. - -2001-09-26 Alan Modra <amodra@bigpond.net.au> - - * bfd.c (_bfd_default_error_handlerl): Define using VPARAMS, - VA_OPEN, VA_FIXEDARG, VA_CLOSE. - (bfd_archive_filename): Cast bfd_malloc arg to the correct size. - -2001-09-25 Jakub Jelinek <jakub@redhat.com> - - * elf64-sparc.c (sparc64_elf_build_plt): Fix .plt[32768+] slot - computation. - -2001-09-25 H.J. Lu <hjl@gnu.org> - - * bfd-in2.h: Regenerated. - -2001-09-25 Alan Modra <amodra@bigpond.net.au> - - * elf32-i386.c: Add comment re linker function names and ordering. - (elf_i386_link_hash_newfunc): Rename to link_hash_newfunc. - (elf_i386_grok_prstatus): Move before linker functions. - (elf_i386_grok_psinfo): Likewise. - (elf_i386_fake_sections): Move so that functions are ordered. - (elf_i386_reloc_type_class): Likewise. Comment function purpose. - -2001-09-25 Alan Modra <amodra@bigpond.net.au> - - * elf32-hppa.c: Rename occurrences of "hplink" to "htab" - throughout file. - - * elf32-hppa.c: (LONG_BRANCH_PIC_IN_SHLIB): Delete. Remove all - code handling this option. - (LONG_BRANCH_VIA_PLT): Likewise. - (RELATIVE_DYNRELOCS): Define as zero. - (struct elf32_hppa_dyn_reloc_entry): Add "sec", and - "pc_count" fields. Remove "section" field. - (elf32_hppa_link_hash_entry): Rename reloc_entries to dyn_relocs. - (elf32_hppa_check_relocs): Don't allocate space for dynamic - relocs here. Instead, record all needed dynamic relocs via - dyn_relocs and local_dynrel. Cache pointer to "sreloc" section - in elf_section_data. - (elf32_hppa_gc_sweep_hook): Sweep dyn_relocs and local_dynrel. - (allocate_plt_and_got_and_discard_relocs): Rename to - allocate_dynrelocs. Allocate rather than discarding dyn relocs. - (readonly_dynrelocs): New function. - (elf32_hppa_size_dynamic_sections): Mark output_bfd unused. - Call readonly_dynrelocs to determine need for DT_TEXTREL. - Rename "i" to "ibfd". Allocate space for local dyn relocs. - (elf32_hppa_relocate_section): Make use of cached sreloc. - (elf32_hppa_reloc_type_class): New function. - (elf_backend_reloc_type_class): Define. - -2001-09-25 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (struct bfd_elf_section_data): Add "local_dynrel" - and "sreloc" fields. - * elf32-i386.c (struct elf_i386_dyn_relocs): Add "sec", and - "pc_count" fields. Remove "section" field. - (elf_i386_check_relocs): Don't set DF_TEXTREL here. Don't - allocate space for dynamic relocs here. Instead, record all - needed dynamic relocs via dyn_relocs and local_dynrel. Cache - pointer to "sreloc" section in elf_section_data. - (elf_i386_gc_sweep_hook): Sweep dyn_relocs and local_dynrel. - (allocate_plt_and_got_and_discard_relocs): Rename to - allocate_dynrelocs. Allocate rather than discarding dyn relocs. - (readonly_dynrelocs): New function. - (elf_i386_size_dynamic_sections): Call readonly_dynrelocs. - Rename "i" to "ibfd". Allocate space for local dyn relocs. - (elf_i386_relocate_section): Make use of cached sreloc. - -2001-09-24 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (elf_backend_reloc_type_class): Pass in the entire - reloc rather than just the type. - (_bfd_elf_reloc_type_class): Likewise. - * elf.c (_bfd_elf_reloc_type_class): Likewise. - * elf32-arm.h (elf32_arm_reloc_type_class): Likewise. - * elf32-cris.c (elf_cris_reloc_type_class): Likewise. - * elf32-i386.c (elf_i386_reloc_type_class): Likewise. - * elf32-m68k.c (elf32_m68k_reloc_type_class): Likewise. - * elf32-ppc.c (ppc_elf_reloc_type_class): Likewise. - * elf32-s390.c (elf_s390_reloc_type_class): Likewise. - * elf32-sh.c (sh_elf_reloc_type_class): Likewise. - * elf32-sparc.c (elf32_sparc_reloc_type_class): Likewise. - * elf64-alpha.c (elf64_alpha_reloc_type_class): Likewise. - * elf64-s390.c (elf_s390_reloc_type_class): Likewise. - * elf64-sparc.c (sparc64_elf_reloc_type_class): Likewise. - * elf64-x86-64.c (elf64_x86_64_reloc_type_class): Likewise. - * elfxx-ia64.c (elfNN_ia64_reloc_type_class): Likewise. - * elflink.h: Formatting fixes. - (elf_link_sort_relocs): Make "count" and "size" bfd_size_type. - Call bfd_zmalloc rather than calloc. Remove unnecessary cast of - o->contents to PTR. Update call to elf_backend_reloc_type_class. - -2001-09-22 John Reiser <jreiser@BitWagon.com> - - * elfcode.h (elf_object_p): Allow for no section header at all in - non-ET_REL files. Honor 0 for e_shnum, e_shstrndx, e_shoff. - -2001-09-21 Nick Clifton <nickc@cambridge.redhat.com> - - * elfxx-ia64.c: Fix compile time warning messages. - * coff-mcore.c: Fix compile time warning messages. - * coff-ppc.c: Fix compile time warning messages. - * coffcode.h: Fix compile time warning messages. - * elf32-mips.c: Fix compile time warning messages. - * elf64-alpha.c: Fix compile time warning messages. - * libbfd.c: Fix compile time warning messages. - * bfd-in2.h: Regenerate. - -2001-09-21 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - - * aoutx.h: Formatting fixes. - * merge.c (_bfd_merged_section_offset): Break line at 80 chars. - - * linker.c: Replace bfd_get_filename with bfd_archive_filename - in error message. - -2001-09-21 Alan Modra <amodra@bigpond.net.au> - - * bfd.c (bfd_archive_filename): New function. - * bfd-in2.h: Regenerate. - * aout-adobe.c: Replace bfd_get_filename with bfd_archive_filename - in error messages where the bfd is an input bfd. - * aout-cris.c: Likewise. - * coff-arm.c: Likewise. - * coff-mcore.c: Likewise. - * coff-ppc.c: Likewise. - * coff-rs6000.c: Likewise. - * coff-sh.c: Likewise. - * coff-tic54x.c: Likewise. - * coff-tic80.c: Likewise. - * coff64-rs6000.c: Likewise. - * coffcode.h: Likewise. - * coffgen.c: Likewise. - * cofflink.c: Likewise. - * ecofflink.c: Likewise. - * elf-hppa.h: Likewise. - * elf.c: Likewise. - * elf32-arm.h: Likewise. - * elf32-cris.c: Likewise. - * elf32-gen.c: Likewise. - * elf32-hppa.c: Likewise. - * elf32-i370.c: Likewise. - * elf32-i386.c: Likewise. - * elf32-m32r.c: Likewise. - * elf32-mcore.c: Likewise. - * elf32-mips.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-s390.c: Likewise. - * elf32-sh.c: Likewise. - * elf32-sparc.c: Likewise. - * elf32-v850.c: Likewise. - * elf64-alpha.c: Likewise. - * elf64-gen.c: Likewise. - * elf64-ppc.c: Likewise. - * elf64-s390.c: Likewise. - * elf64-sparc.c: Likewise. - * elf64-x86-64.c: Likewise. - * elflink.h: Likewise. - * elfxx-ia64.c: Likewise. - * ieee.c: Likewise. - * ihex.c: Likewise. - * libbfd.c: Likewise. - * pdp11.c: Likewise. - * pe-mips.c: Likewise. - * peicode.h: Likewise. - * srec.c: Likewise. - * xcofflink.c: Likewise. - - * elf32-arm.h: Make _bfd_error_handler calls K&R compatible. - - * elflink.c (_bfd_elf_create_linker_section): Better grammar for - error message. - - * coff-mcore.c (coff_mcore_relocate_section): Internalionalise - error message. - - * elf64-sparc.c (sparc64_elf_add_symbol_hook): Constify stt_types. - Consolidate error messages, and split long messages to two lines. - -2001-09-20 John Reiser <jreiser@BitWagon.com> - - * elf32-i386.c (elf_i386_relocate_section): Coordinate info->symbolic - and info->allow_shlib_undefined. - * elf32-cris.c: Likewise. - * elf32-hppa.c: Likewise. - * elf32-m68k.c: Likewise. - * elf32-mips.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-s390.c: Likewise. - * elf32-sh.c: Likewise. - * elf32-sparc.c: Likewise. - * elf64-alpha.c: Likewise. - * elf64-hppa.c: Likewise. - * elf64-ppc.c: Likewise. - * elf64-s390.c: Likewise. - * elf64-sparc.c: Likewise. - * elf64-x86-64.c: Likewise. - * elfxx-ia64.c: Likewise. - -2001-09-18 Bruno Haible <haible@clisp.cons.org> - - * aoutx.h: Include "safe-ctype.h" instead of <ctype.h>. - (aout_link_write_symbols): Use ISDIGIT instead of isdigit. - * archive.c: Include "safe-ctype.h" instead of <ctype.h>. - (_bfd_generic_read_ar_hdr_mag): Use ISDIGIT instead of isdigit. - * archures.c: Include "safe-ctype.h" instead of <ctype.h>. - (bfd_default_scan): Use ISDIGIT instead of isdigit. - * bfd.c: Include "safe-ctype.h" instead of <ctype.h>. - (bfd_scan_vma): Use ISXDIGIT/ISDIGIT/ISLOWER instead of - isxdigit/isdigit/islower. - * binary.c: Include "safe-ctype.h" instead of <ctype.h>. - (mangle_name): Use ISALNUM instead of isalnum. - * cpu-v850.c: Include "safe-ctype.h" instead of <ctype.h>. - (scan): Use ISDIGIT instead of isdigit. - * hosts/alphavms.h: Don't include <ctype.h>. - * ieee.c: Include "safe-ctype.h" instead of <ctype.h>. - (ieee_object_p): Use TOUPPER instead of toupper. - * ihex.c: Include "safe-ctype.h" instead of <ctype.h>. - (ihex_bad_byte): Use ISPRINT instead of isprint. - * merge.c: Don't include <ctype.h>. - * oasys.c: Include "safe-ctype.h" instead of <ctype.h>. - (oasys_write_sections): Use ISDIGIT instead of isdigit. - * pdp11.c: Include "safe-ctype.h" instead of <ctype.h>. - (aout_link_write_symbols): Use ISDIGIT instead of isdigit. - * ppcboot.c: Include "safe-ctype.h" instead of <ctype.h>. - (mangle_name): Use ISALNUM instead of isalnum. - * som.c: Include "safe-ctype.h" instead of <ctype.h>. - (som_set_reloc_info): Use ISUPPER/ISLOWER/ISDIGIT instead of - isupper/islower/isdigit. - (som_decode_symclass): Use TOUPPER instead of toupper. - * srec.c: Include "safe-ctype.h" instead of <ctype.h>. - (srec_bad_byte): Use ISPRINT instead of isprint. - (srec_scan): Use ISSPACE instead of isspace. - * stabs.c: Include "safe-ctype.h" instead of <ctype.h>. - (_bfd_link_section_stabs): Use ISDIGIT instead of isdigit. - * syms.c: Include "safe-ctype.h" - (islower, toupper): Remove macro definitions. - (bfd_decode_symclass): Use TOUPPER instead of toupper. - * vms-gsd.c: Don't include <ctype.h>. - * vms-hdr.c: Include "safe-ctype.h" instead of <ctype.h>. - (_bfd_vms_write_hdr): Use ISLOWER/TOUPPER instead of - islower/toupper. - * vms-tir.c: Don't include <ctype.h>. - -2001-09-18 Alan Modra <amodra@bigpond.net.au> - - * libbfd.c (bfd_bread): New function replacing bfd_read without - redundant params. Allow reads up to (size_t) -2 in length. - (bfd_bwrite): Similarly for bfd_write. - (real_read): Return a size_t. - (bfd_read): Call bfd_bread. - (bfd_write): Call bfd_bwrite. - (warn_deprecated): New function to annoy everybody. - (bfd_get_file_window): Don't call bfd_set_error unnecessarily. - * bfd-in.h (bfd_bread, bfd_bwrite, warn_deprecated): Declare. - (bfd_read, bfd_write): Define as macro. - * aix386-core.c: Replace calls to bfd_read with bfd_bread, and - likewise for bfd_write. Ensure function args are correct size by - using casts or local vars. In some cases, remove unnecessary - casts. Formatting fixes, in some cases removing a large expression - from function args by using a local var. Replace CONST with const. - Modify variable types to avoid warings. Use casts to avoid - warnings when using negative numbers in unsigned expressions. - * aout-adobe.c: Likewise. - * aout-arm.c: Likewise. - * aout-cris.c: Likewise. - * aout-encap.c: Likewise. - * aout-ns32k.c: Likewise. - * aout-target.h: Likewise. - * aout-tic30.c: Likewise. - * aoutf1.h: Likewise. - * aoutx.h: Likewise. - * archive.c: Likewise. - * archures.c: Likewise. - * bfd-in.h: Likewise. - * bfd.c: Likewise. - * binary.c: Likewise. - * bout.c: Likewise. - * cache.c: Likewise. - * cisco-core.c: Likewise. - * coff-a29k.c: Likewise. - * coff-alpha.c: Likewise. - * coff-arm.c: Likewise. - * coff-h8300.c: Likewise. - * coff-h8500.c: Likewise. - * coff-i386.c: Likewise. - * coff-i860.c: Likewise. - * coff-i960.c: Likewise. - * coff-ia64.c: Likewise. - * coff-m68k.c: Likewise. - * coff-m88k.c: Likewise. - * coff-mcore.c: Likewise. - * coff-mips.c: Likewise. - * coff-ppc.c: Likewise. - * coff-rs6000.c: Likewise. - * coff-sh.c: Likewise. - * coff-sparc.c: Likewise. - * coff-stgo32.c: Likewise. - * coff-tic30.c: Likewise. - * coff-tic54x.c: Likewise. - * coff-tic80.c: Likewise. - * coff-w65.c: Likewise. - * coff-z8k.c: Likewise. - * coff64-rs6000.c: Likewise. - * coffcode.h: Likewise. - * coffgen.c: Likewise. - * cofflink.c: Likewise. - * coffswap.h: Likewise. - * corefile.c: Likewise. - * cpu-arc.c: Likewise. - * cpu-h8300.c: Likewise. - * cpu-h8500.c: Likewise. - * cpu-i960.c: Likewise. - * cpu-ia64-opc.c: Likewise. - * cpu-ns32k.c: Likewise. - * cpu-pdp11.c: Likewise. - * cpu-pj.c: Likewise. - * cpu-sh.c: Likewise. - * cpu-w65.c: Likewise. - * cpu-z8k.c: Likewise. - * dwarf1.c: Likewise. - * dwarf2.c: Likewise. - * ecoff.c: Likewise. - * ecofflink.c: Likewise. - * ecoffswap.h: Likewise. - * elf-bfd.h: Likewise. - * elf-hppa.h: Likewise. - * elf-m10200.c: Likewise. - * elf-m10300.c: Likewise. - * elf.c: Likewise. - * elf32-arc.c: Likewise. - * elf32-arm.h: Likewise. - * elf32-avr.c: Likewise. - * elf32-cris.c: Likewise. - * elf32-fr30.c: Likewise. - * elf32-gen.c: Likewise. - * elf32-h8300.c: Likewise. - * elf32-hppa.c: Likewise. - * elf32-i370.c: Likewise. - * elf32-i386.c: Likewise. - * elf32-i860.c: Likewise. - * elf32-m32r.c: Likewise. - * elf32-m68k.c: Likewise. - * elf32-mcore.c: Likewise. - * elf32-mips.c: Likewise. - * elf32-openrisc.c: Likewise. - * elf32-pj.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-s390.c: Likewise. - * elf32-sh-lin.c: Likewise. - * elf32-sh.c: Likewise. - * elf32-sparc.c: Likewise. - * elf32-v850.c: Likewise. - * elf64-alpha.c: Likewise. - * elf64-hppa.c: Likewise. - * elf64-mips.c: Likewise. - * elf64-ppc.c: Likewise. - * elf64-s390.c: Likewise. - * elf64-sparc.c: Likewise. - * elf64-x86-64.c: Likewise. - * elfarm-nabi.c: Likewise. - * elfcode.h: Likewise. - * elfcore.h: Likewise. - * elflink.c: Likewise. - * elflink.h: Likewise. - * elfxx-ia64.c: Likewise. - * elfxx-target.h: Likewise. - * format.c: Likewise. - * hash.c: Likewise. - * hp300hpux.c: Likewise. - * hppabsd-core.c: Likewise. - * hpux-core.c: Likewise. - * i386aout.c: Likewise. - * i386dynix.c: Likewise. - * i386linux.c: Likewise. - * i386lynx.c: Likewise. - * i386mach3.c: Likewise. - * i386msdos.c: Likewise. - * i386os9k.c: Likewise. - * ieee.c: Likewise. - * ihex.c: Likewise. - * irix-core.c: Likewise. - * libaout.h: Likewise. - * libbfd-in.h: Likewise. - * libbfd.c: Likewise. - * libcoff-in.h: Likewise. - * libecoff.h: Likewise. - * libieee.h: Likewise. - * libnlm.h: Likewise. - * libpei.h: Likewise. - * libxcoff.h: Likewise. - * linker.c: Likewise. - * lynx-core.c: Likewise. - * m68klinux.c: Likewise. - * merge.c: Likewise. - * mipsbsd.c: Likewise. - * netbsd-core.c: Likewise. - * nlm.c: Likewise. - * nlm32-alpha.c: Likewise. - * nlm32-i386.c: Likewise. - * nlm32-ppc.c: Likewise. - * nlm32-sparc.c: Likewise. - * nlmcode.h: Likewise. - * nlmswap.h: Likewise. - * ns32k.h: Likewise. - * oasys.c: Likewise. - * opncls.c: Likewise. - * osf-core.c: Likewise. - * pc532-mach.c: Likewise. - * pdp11.c: Likewise. - * pe-mips.c: Likewise. - * peXXigen.c: Likewise. - * peicode.h: Likewise. - * ppcboot.c: Likewise. - * ptrace-core.c: Likewise. - * reloc.c: Likewise. - * reloc16.c: Likewise. - * riscix.c: Likewise. - * rs6000-core.c: Likewise. - * sco5-core.c: Likewise. - * section.c: Likewise. - * som.c: Likewise. - * sparclinux.c: Likewise. - * sparclynx.c: Likewise. - * srec.c: Likewise. - * stabs.c: Likewise. - * sunos.c: Likewise. - * syms.c: Likewise. - * targets.c: Likewise. - * tekhex.c: Likewise. - * trad-core.c: Likewise. - * versados.c: Likewise. - * vms-gsd.c: Likewise. - * vms-hdr.c: Likewise. - * vms-misc.c: Likewise. - * vms-tir.c: Likewise. - * vms.c: Likewise. - * vms.h: Likewise. - * xcofflink.c: Likewise. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - * libcoff.h: Regenerate. - - * bfd.c (struct _bfd): Make "where" and "origin" unsigned. - * bfd-in.h (file_ptr): Change from a long int to a bfd_signed_vma. - (ufile_ptr): Define. - (bfd_tell): Return a ufile_ptr. - * libbfd.c (bfd_tell): Likewise. - (bfd_seek): Use bfd_size_type locals. Don't call bfd_set_error - unnecessarily. - * aix386-core.c: Test != 0 for bfd_seek errors rather than < 0. - * aoutf1.h: Likewise. - * som.c: Likewise. - * cache.c (bfd_cache_lookup_worker): Guard against abfd->where - larger than unsigned long can represent. - - * libbfd.c (bfd_malloc): Take a bfd_size_type arg. Error if - size overflows size_t. - (bfd_realloc): Likewise. - (bfd_zmalloc): Likewise. - * opncls.c (bfd_alloc): Likewise. - (bfd_zalloc): Likewise. - * libbfd-in.h (bfd_malloc, bfd_realloc, bfd_zmalloc): Update. - (bfd_alloc, bfd_zalloc): Update. - - * libbfd.c (bfd_get_8): Mask with 0xff in case char is more than - 8 bits. - (bfd_get_signed_8): Likewise. - (H_PUT_64, H_PUT_32, H_PUT_16, H_PUT_8, - H_PUT_S64, H_PUT_S32, H_PUT_S16, H_PUT_S8, - H_GET_64, H_GET_32, H_GET_16, H_GET_8, - H_GET_S64, H_GET_S32, H_GET_S16, H_GET_S8): Define and use. - * libaout.h: Likewise define and use here. - * aout-adobe.c: Use H_GET_* and H_PUT_* macros. - * aout-arm.c: Likewise. - * aout-encap.c: Likewise. - * aout-ns32k.c: Likewise. - * aout-tic30.c: Likewise. - * aoutf1.h: Likewise. - * aoutx.h: Likewise. - * bout.c: Likewise. - * coff-alpha.c: Likewise. - * coff-h8300.c: Likewise. - * coff-h8500.c: Likewise. - * coff-i960.c: Likewise. - * coff-ia64.c: Likewise. - * coff-m88k.c: Likewise. - * coff-mips.c: Likewise. - * coff-ppc.c: Likewise. - * coff-rs6000.c: Likewise. - * coff-sh.c: Likewise. - * coff-sparc.c: Likewise. - * coff-stgo32.c: Likewise. - * coff-tic30.c: Likewise. - * coff-tic80.c: Likewise. - * coff-w65.c: Likewise. - * coff-z8k.c: Likewise. - * coff64-rs6000.c: Likewise. - * coffgen.c: Likewise. - * cofflink.c: Likewise. - * coffswap.h: Likewise. - * ecoff.c: Likewise. - * ecoffswap.h: Likewise. - * elf.c: Likewise. - * elf32-mips.c: Likewise. - * elf64-mips.c: Likewise. - * hp300hpux.c: Likewise. - * i386dynix.c: Likewise. - * i386lynx.c: Likewise. - * i386msdos.c: Likewise. - * i386os9k.c: Likewise. - * libpei.h: Likewise. - * nlm32-alpha.c: Likewise. - * nlm32-i386.c: Likewise. - * nlm32-ppc.c: Likewise. - * nlmcode.h: Likewise. - * nlmswap.h: Likewise. - * oasys.c: Likewise. - * pdp11.c: Likewise. - * pe-mips.c: Likewise. - * peXXigen.c: Likewise. - * peicode.h: Likewise. - * riscix.c: Likewise. - * sunos.c: Likewise. - * xcofflink.c: Likewise. - * elfcode.h: (put_word, get_word, put_signed_word, get_signed_word): - Rename to H_PUT_WORD, H_GET_WORD, H_PUT_SIGNED_WORD, H_GET_SIGNED_WORD. - * coff-rs6000.c (PUTWORD, PUTHALF, PUTBYTE): Don't define. Use - equivalent H_PUT_* macro instead. - (GETWORD, GETHALF, GETBYTE): Similarly. - * coff64-rs6000.c (PUTWORD, PUTHALF, PUTBYTE): Likewise. - (GETWORD, GETHALF, GETBYTE): Likewise. - * coffswap.h (PUTWORD, PUTHALF, PUTBYTE): Likewise. - - * bfd-in.h (struct orl): Change "pos" to a union. - * archive.c (_bfd_compute_and_write_armap): Use it instead of casts. - (bsd_write_armap): Here too. - (coff_write_armap): And here. - * coff-rs6000.c (xcoff_write_armap_old): And here. - (xcoff_write_one_armap_big): And here. - (xcoff_write_armap_big): And here. - * ecoff.c (_bfd_ecoff_write_armap): And here. - * elf64-mips.c (mips_elf64_write_armap): And here. - - * aoutf1.h (sunos_set_arch_mach): Make "mach" param an enum. - * elf-m10300.c (elf_mn10300_mach): Return an unsigned long. - * elf32-h8300.c (elf32_h8_mach): Likewise. - * elf32-mips.c (elf_mips_mach): Likewise. - * sparclynx.c (NAME(lynx,set_arch_mach)): Likewise. - - * aix386-core.c (aix386_core_file_p): Remove redundant bfd_release - calls. - (aix386_core_vec): Typo fix. - - * aout-arm.c: Include libaout.h and aout/aout64.h after N_TXTADDR - etc. to avoid redefined macro warning. - (MY(put_reloc)): Use bfd_vma for "value" rather than long. - (MY(fix_pcrel_26)): Likewise. - * aout-ns32k.c (MY(put_reloc)): Likewise. - * aout-cris.c (MY(swap_ext_reloc_out)): Likewise for r_addend. - * aoutx.h (NAME(aout,swap_ext_reloc_out)): Likewise. - * coff-arm.c (coff_arm_relocate_section): Likewise for my_offset. - - * aout-encap.c: Include "file", not <file> for binutils headers. - (encap_object_p): Half baked attempt to fix compile errors in - code dealing with "magic". - - * aout-ns32k.c: Include "file", not <file> for binutils headers. - (_bfd_ns32k_relocate_contents): get_data and put_data manipulate - bfd_vma's rather than longs. - * cpu-ns32k.c (ns32k_sign_extend): Delete. - (_bfd_ns32k_get_displacement): Return a bfd_vma, don't pass in offset. - (_bfd_ns32k_get_immediate): Likewise. Add code for 8 byte values, - remove case 3. - (_bfd_ns32k_put_displacement): Accept a bfd_vma, don't pass in offset. - Use unsigned comparisons. - (bfd_ns32k_put_immediate): Likewise, and add code for 8 byte values. - (do_ns32k_reloc): get_data and put_data operate on bfd_vma's. - (_bfd_do_ns32k_reloc_contents): Likewise. - * ns32k.h (_bfd_ns32k_get_displacement): Update prototype. - (_bfd_ns32k_get_immediate): Likewise. - (_bfd_ns32k_put_displacement): Likewise. - (_bfd_ns32k_put_immediate): Likewise. - (bfd_reloc_status_type): Likewise. - - * aoutx.h (NAME(aout,find_nearest_line)): Rename 'p' to 'colon' - to avoid shadowing. - * pdp11.c (NAME(aout,find_nearest_line)): Likewise. - * coff-h8300.c (h8300_reloc16_extra_cases): Remove shadowing "value". - * coff-ppc.c (enum ref_category): Rename "data" to "tocdata" to - avoid shadowing. - (record_toc): Use a bfd_signed_vma for our_toc_offset. - * coffcode.h (coff_write_relocs): Rename "i" to avoid shadowing. - * elf.c (bfd_elf_get_bfd_needed_list): Rename "link" var to avoid - shadow warning. - (_bfd_elfcore_strndup): Likewise for "dup". - * elf32-cris.c (cris_elf_relocate_section): "symname" instead of - "name" to avoid shadowing. - * elf32-hppa.c (elf32_hppa_relocate_section): Remove duplicate - definition of "off". - * elf32-i386.c (elf_i386_relocate_section): Likewise. - * elf32-mips.c (_bfd_mips_elf_modify_segment_map): Remove duplicate - definition of "s". - (_bfd_mips_elf_final_link): Rename "i" to "j". Remove duplicate - "secpp". - * elf64-x86-64.c (elf64_x86_64_relocate_section): Rename inner "indx" - to avoid shadowing. - * elflink.h (elf_link_add_object_symbols): Rename "link" to "shlink" - to avoid shadowing. - (elf_link_input_bfd): Likewise. - (elf_bfd_final_link): Remove duplicate innermost "off" var. - * oasys.c (oasys_write_data): Rename innermost "p" to "sym". - * reloc16.c (bfd_coff_reloc16_relax_section): Rename "i" param to - "input_section". - * som.c (som_prep_for_fixups): Rename inner "i" to "j". - * sunos.c (sunos_add_dynamic_symbols): Localise "s" var. - (sunos_write_dynamic_symbol): Remove unused vars. - * syms.c (_bfd_stab_section_find_nearest_line): Remove duplicate - innermost "directory_name" and "file_name" vars. - * tekhex.c (first_phase): Rename local var "type" to "stype". - (tekhex_write_object_contents): Rename innermost "s" to "sym". - * vms-gsd.c (vms_secflag_by_name): Change "size" param to "hassize", - doing comparison at caller. - (vms_esecflag_by_name): Likewise. - * vms-tir.c (etir_sto): Rename innermost "psect" to "psect1". - * xcofflink.c (xcoff_link_input_bfd): Delete duplicate innermost "o". - (xcoff_write_global_symbol): Rename "p" param to "inf". - - * cisco-core.c: Add missing prototypes. - (cisco_core_file_failing_command): Add ATTRIBUTE_UNUSED. - (cisco_core_file_failing_signal): Likewise. - (cisco_core_file_matches_executable_p): Likewise. - * hpux-core.c (hpux_core_core_file_failing_signal): Likewise. - * netbsd-core.c (netbsd_core_file_matches_executable_p): Likewise. - * osf-core.c (osf_core_core_file_matches_executable_p): Likewise. - * sco5-core.c (sco5_core_file_matches_executable_p): Likewise. - - * coff-arm.c (coff_arm_link_hash_table): Use bfd_size_type for - thumb_glue_size and arm_glue_size. - * elf32-arm.h (elf32_arm_link_hash_table): Likewise here. - - * coff64-rs6000.c: Group prototypes together. - - * coffcode.h (coff_set_arch_mach): Add ATTRIBUTE_UNUSED. - (buy_and_read): Remove "seek" param. Change "size" to bfd_size_type. - - * cpu-arc.c: Add missing prototypes. - * cpu-h8500.c: Likewise. - * cpu-i960.c: Likewise. - * cpu-pj.c: Likewise. - * cpu-sh.c: Likewise. - * cpu-w65.c: Likewise. - * cpu-z8k.c: Likewise. - * elf32-fr30.c: Likewise. - * elf32-h8300.c: Likewise. - * elf32-i370.c: Likewise. - * hpux-core.c: Likewise. - * versados.c: Likewise. - - * cpu-h8300.c (bfd_default_scan_num_mach): Don't declare. - * cpu-h8500.c: Likewise. - * cpu-i960.c: Likewise. - * cpu-z8k.c: Likewise. - - * cpu-ia64-opc.c: Correct comment. - - * dwarf2.c (_bfd_dwarf2_find_nearest_line): Remove unused var. - - * elf-bfd.h (elf_size_info): Change count param of write_out_phdrs - to unsigned. - (bfd_elf32_write_out_phdrs): Likewise. - (bfd_elf64_write_out_phdrs): Likewise. - (elf_linker_section_pointers): Change addend to bfd_vma. - (_bfd_elf_find_pointer_linker_section): Likewise. - (_bfd_elfcore_make_pseudosection): Change size param to size_t and - filepos to unsigned file_ptr. - (_bfd_elfcore_strndup): Change max param to size_t. - * elf.c (_bfd_elfcore_make_pseudosection): As above. - (_bfd_elfcore_strndup): Likewise. - (_bfd_elf_find_pointer_linker_section): Likewise. - - * elf-hppa.h (elf_hppa_relocate_insn): Return an int, and change - insn and sym_value to ints. - - * elf.c (elf_read): Make "offset" param a file_ptr, "size" a - bfd_size_type. - (elfcore_read_notes): Likewise. - - * elf32-arm.h (elf32_arm_final_link_relocate): Change sym_flags - param from unsigned char to int. - (elf32_arm_relocate_section): If USE_REL, cast "rel" appropriately - for info_to_howto call. - (add_dynamic_entry): Define macro. - (elf32_arm_size_dynamic_sections): Use add_dynamic_entry. - - * elf32-cris.c (add_dynamic_entry): Define macro. - (elf_cris_size_dynamic_sections): Use add_dynamic_entry. - - * elf32-h8300.c (elf32_h8_final_write_processing): Make static. - (elf32_h8_object_p): Likewise. - (elf32_h8_merge_private_bfd_data): Likewise. - (elf32_h8_relax_section): Cast gap to int so signed comparisons work. - - * elf32-hppa.c (add_dynamic_entry): Define macro. - (elf32_hppa_size_dynamic_sections): Use it. - * elf32-i370.c (add_dynamic_entry): Define macro. - (i370_elf_size_dynamic_sections): Use it. - (i370_noop): Make static. - * elf32-i386.c (add_dynamic_entry): Define macro. - (elf_i386_size_dynamic_sections): Use it. - * elf32-m68k.c (add_dynamic_entry): Define macro. - (elf_m68k_size_dynamic_sections): Use it. - * elf32-ppc.c (add_dynamic_entry): Define macro. - (ppc_elf_size_dynamic_sections): Use it. - * elf32-s390.c (add_dynamic_entry): Define macro. - (elf_s390_size_dynamic_sections): Use it. - * elf64-alpha.c (add_dynamic_entry): Define macro. - (elf64_alpha_size_dynamic_sections): Use it. - * elf64-hppa.c (add_dynamic_entry): Define macro. - (elf64_hppa_size_dynamic_sections): Use it. - * elf64-ppc.c (add_dynamic_entry): Define macro. - (ppc64_elf_size_dynamic_sections): Use it. - * elf64-s390.c (add_dynamic_entry): Define macro. - (elf_s390_size_dynamic_sections): Use it. - * elf64-sparc.c (add_dynamic_entry): Define macro. - (sparc64_elf_size_dynamic_sections): Use it. - * elf64-x86-64.c (add_dynamic_entry): Define macro. - (elf64_x86_64_size_dynamic_sections): Use it. - * elfxx-ia64.c (add_dynamic_entry): Define macro. - (elfNN_ia64_size_dynamic_sections): Use it. - - * elf32-v850.c (SEXT24): Modify to avoid signed/unsigned warning. - (v850_elf_perform_relocation): Make "r_type" param unsigned. - - * elf64-mips.c (mips_elf64_slurp_one_reloc_table): Just return - false if the first malloc fails rather than going via error_return. - - * elf64-sparc.c (sparc64_elf_plt_entry_offset): Use a bfd_vma for - "index" param. - (sparc64_elf_plt_ptr_offset): Likewise, and for "max" param too. - - * elflink.h (elf_link_input_bfd): s/ingored/ignored/ in error message. - - * elfxx-ia64.c (global_sym_index): Return a long. - - * ieee.c (get_symbol): Use int rather than char param. - (ieee_slurp_sections): Move "section" var to inner blocks. - (copy_expression): Don't init "value" to zero or worry about - clearing to zero after using. - (ieee_write_debug_part): Rename "output_buffer" to "obuff" to avoid - shadowing. - - * ihex.c (ihex_write_record): Make "count" var a size_t, "addr" an - unsigned int. - - * libbfd-in.h (BFD_ALIGN): Add cast to avoid signed/unsigned warning. - (bfd_write_bigendian_4byte_int): Pass an unsigned int value param. - - * mipsbsd.c (mips_fix_jmp_addr): Add "error_message" param. - - * pc532-mach.c (MYNSX): Delete. - (ns32kaout_bfd_reloc_type_lookup): Define prototype without MYNSX. - (write_object_contents): Correct prototype. - - * peicode.h (pe_ILF_build_a_bfd): Use an unsigned int param rather - than unsigned short. - - * section.c (bfd_set_section_contents): Remove redundant - "offset < 0" test. Check that "count" doesn't overflow size_t. - (bfd_get_section_contents): Likewise. - - * som.c (som_fixup_formats): Add missing braces. - (som_reloc_addend): Pass a bfd_vma for "addend". - - * srec.c (srec_write_record): Pass "type" as an unsigned int. - (srec_write_symbols): Remove an unnecessary var. - - * targets.c (_bfd_target_vector): Sort entries. Sort externs - to match. - * configure.in: Sort to match. Bump version number. - * configure: Regenerate. - - * tekhex.c (move_section_contents): Assert offset == 0. - - * versados.c (new_symbol_string): Constify arg. - (process_esd): Use bfd_und_section_ptr rather than &bfd_und_section. - (versados_get_symbol_info): Make static. - (versados_print_symbol): Likewise. - (versados_get_reloc_upper_bound): Likewise. - (versados_canonicalize_reloc): Likewise. - -2001-09-18 Nick Clifton <nickc@cambridge.redhat.com> - - * elflink.h (elf_link_input_bfd): Fix typo in error message. - -2001-09-17 H.J. Lu <hjl@gnu.org> - - * dwarf1.c (parse_die): Take a new arg for the end of the - section. Return false if die is beyond the section. - (parse_functions_in_unit): Pass the end of the section to - parse_die (). - (_bfd_dwarf1_find_nearest_line): Likewise. - -2001-09-14 Michael Rauch <mrauch@netbsd.org> - - * elf32-sparc.c (elf32_sparc_relocate_section): Treat R_SPARC_UA32 - just like R_SPARC_32. - -2001-09-14 Kevin Lo <kevlo@openbsd.org> - - * configure.bfd: Add arm-openbsd target. - -2001-09-14 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * config.bfd: Change machine triplets from mips*el*-* to mips*el-*. - Add support for mips64. - -2001-09-13 Alexandre Oliva <aoliva@redhat.com> - - * elf32-openrisc.c (ELF_MACHINE_ALT1): Define as EM_OPENRISC_OLD. - -2001-09-12 Alexandre Oliva <aoliva@redhat.com> - - * elf.c (prep_headers): Get the machine code from the elf - backend data. - * elf-m10200.c (ELF_MACHINE_CODE): Redefine to EM_MN10200. - (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10200. - * elf-m10300.c (ELF_MACHINE_CODE): Redefine to EM_MN10300. - (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10300. - * elf-arc.c (arc_elf_final_write_processing): Don't override - e_machine, it's now properly set in prep_headers. - * elf32-avr.c (elf32_avr_object_p): Accept both EM_AVR and - EM_AVR_OLD. - (ELF_MACHINE_ALT1): Define to EM_AVR_OLD. - * elf-d10v.c (ELF_MACHINE_CODE): Redefine to EM_D10V. - (ELF_MACHINE_ALT1): Define to EM_CYGNUS_D10V. - * elf-d30v.c (ELF_MACHINE_CODE): Redefine to EM_D30V. - (ELF_MACHINE_ALT1): Define to EM_CYGNUS_D30V. - * elf-fr30.c (ELF_MACHINE_CODE): Redefine to EM_FR30. - (ELF_MACHINE_ALT1): Define to EM_CYGNUS_FR30. - * elf-m32r.c (ELF_MACHINE_CODE): Redefine to EM_M32R. - (ELF_MACHINE_ALT1): Define to EM_CYGNUS_M32R. - * elf32-pj.c (ELF_MACHINE_ALT1): DEfine to EM_PJ_OLD. - * elf-v850.c (ELF_MACHINE_CODE): Redefine to EM_V850. - (ELF_MACHINE_ALT1): Define to EM_CYGNUS_V850. - -2001-09-11 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c (elf64_alpha_section_flags): New. - (elf64_alpha_fake_sections): Map SEC_SMALL_DATA to SHF_ALPHA_GPREL. - -2001-09-11 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c (elf64_alpha_relocate_section): Do not - apply HINT relocations against dynamic symbols. - -2001-09-11 H.J. Lu <hjl@gnu.org> - - * linker.c (link_action): Change COMMON_ROW\defw from CREF to COM. - -2001-09-09 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c: Delete all unused ERIC_neverdef and rth_notdef code. - - * elf64-alpha.c (elf64_alpha_relax_with_lituse): Nop out gpdisp - following a call to a near function. - -2001-09-08 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c (elf64_alpha_relocate_section): Soft fail - relocation errors. Fail gp-relative relocations against - dynamic symbols. - -2001-09-08 Alan Modra <amodra@bigpond.net.au> - - * elf32-i386.c (elf_i386_relocate_section): Check !DEF_REGULAR - as well as DEF_DYNAMIC in test for avoided copy relocs. - (allocate_plt_and_got_and_discard_relocs): Likewise. - * elf32-hppa.c (elf_i386_relocate_section): Likewise. - (allocate_plt_and_got_and_discard_relocs): Likewise. - -2001-09-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * elf32-mips.c (mips_elf_calculate_relocation): Fix overflow handling - of R_MIPS_PC16. - -2001-09-06 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * elf64-mips.c (mips_elf64_howto_table_rel): Fix relocation HOWTO - definitions. - (mips_elf64_howto_table_rel): Likewise. - -2001-09-05 Tom Rix <trix@redhat.com> - - * xcofflink.c (bfd_xcoff_import_symbol): Handle import file XMC_XO - and syscall symbols. - (write_global_symbol) : Same. - (bfd_xcoff_export_symbol): Remove unused syscall param. - * libxcoff.h: Change prototype of bfd_xcoff_export symbol and - bfd_xcoff_import_symbol. - * bfd-in.h: Same. - * bfd-in2.h : Regenerate. - -2001-09-04 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c (SKIP_HOWTO): New. - (elf64_alpha_howto_table): Use it to remove dead ECOFF relocs. - Fix sizes of 16-bit mem format relocs. - (elf64_alpha_reloc_map): Update to match. - (elf64_alpha_relax_with_lituse): Use GPREL16 as appropriate. - (elf64_alpha_relax_without_lituse): Likewise. - (elf64_alpha_check_relocs): Handle GPREL16. - (elf64_alpha_relocate_section): Likewise. - * reloc.c (BFD_RELOC_ALPHA_USER_*): Remove. - (BFD_RELOC_ALPHA_GPREL_HI16, BFD_RELOC_ALPHA_GPREL_LO16): New. - * bfd-in2.h, libbfd.h: Rebuild. - -2001-09-04 Jeff Law <law@redhat.com> - - * elf32-h8300.c (elf32_h8_relax_section): New function. - (elf32_h8_relax_delete_bytes): Likewise. - (elf32_h8_symbol_address_p): Likewise. - (elf32_h8_get_relocated_section_contents): Likewise. - (bfd_elf32_bfd_relax_section): Define. - (bfd_elf32_bfd_get_relocated_section_contents): Likewise. - - * elf32-h8300.c (special): New function. - (h8_elf_howto_table): Use it for SPECIAL_FUNCTION field in - all relocations. - (elf32_h8_final_link_relocate): Treat R_H8_DIR24A8 like 32bit - relocations. Fix problems with the true 24bit reloc R_H8_DIR24R8. - Fix minor problems with 8bit and 16bit PC relative relocations. - -2001-09-01 Andreas Jaeger <aj@suse.de> - - * vms-tir.c: Add missing prototypes. - * vms-hdr.c: Likewise. - * vms-gsd.c: Likewise. - * vms-misc.c: Likewise. - -2001-08-31 H.J. Lu <hjl@gnu.org> - - * elf32-mips.c (_bfd_mips_elf_check_relocs): Report filename - with bad relocation. - -2001-08-31 Eric Christopher <echristo@redhat.com> - Jason Eckhardt <jle@redhat.com> - - * archures.c: Add mipsisa32 and mipsisa64. Remove mips32, - mips32_4k and mips64. - * aoutx.h: Remove bfd_mach_mips32, bfd_mach_mips32_4k, - bfd_mach_mips64. Add bfd_mach_mipsisa32, bfd_mach_mipsisa64. - * cpu-mips.c: Ditto. - * elf32-mips.c (_bfd_mips_elf_final_write_processing): Ditto. - * bfd-in2.h: Regenerate. - -2001-08-31 Jakub Jelinek <jakub@redhat.com> - - * elf64-alpha.c (elf64_alpha_relocate_section): Duplicate memory - value into R_ALPHA_RELATIVE's addend. - (elf64_alpha_finish_dynamic_symbol): Likewise. - -2001-08-31 Nick Clifton <nickc@cambridge.redhat.com> - - * elf32-arm.h (elf32_arm_relocate_section): Do not rightshift - recomputed addend during relocatable link if not USE_REL. - - * elflink.h (elf_gc_propagate_vtable_entries_used): Fix off-by-one - error. - -2001-08-30 H.J. Lu <hjl@gnu.org> - - * elf32-mips.c (mips_elf_calculate_relocation): Revert the last - 2 changes. - (_bfd_mips_elf_adjust_dynamic_symbol): Allocate dynamic - relocations for weak definitions. - -2001-08-30 H.J. Lu <hjl@gnu.org> - - * Makefile.am (BFD32_BACKENDS): Add elf32-h8300.lo. - (BFD32_BACKENDS_CFILES): Add elf32-h8300.c. - * Makefile.in: Rebuild. - -2001-08-30 H.J. Lu <hjl@gnu.org> - - * elf32-mips.c (mips_elf_calculate_relocation): Don't create - dynamic relocation for undefined weak symbols when creating - executables. Check h->root.root.type, instead of h->root.type. - -2001-08-29 Joel Sherrill <joel@OARcorp.com> - - * config.bfd (i[3456]86-*-rtems*, m68*-*-rtems*): Change - default from coff to elf. - -2001-08-29 Jeff Law <law@redhat.com> - - * elf32-h8300.c (h8_elf_howto_table): Add new PC relative - relocations. - (h8_reloc_map): Similarly. - (elf32_h8_final_link_relocate): Remove incorrect overflow tests. - Add support for PC relative relocations. - - * elf32-h8300.c: Put all prototypes together. - (elf32_h8_info_to_howto): Parameter elf_reloc is used. - (elf32_h8_final_link_relocate): New function for linker. - (elf32_h8_relocate_section): Similarly. - (elf_backend_relocate_section): Define. - - * cpu-h8300.c (h8300_scan, compatible): Prototype. - (h8300_scan): Handle architecture:machine encodings typically - found in linker scripts. - * elf.c (prep_headers): Do not try to do H8 machine recognition - here. - * elf32-h8300.c: Add some missing prototypes. - (elf32_h8_mach, elf32_h8_final_write_processing): New functions. - (elf32_h8_object_p): Similarly. - -2001-08-29 Tom Rix <trix@redhat.com> - - * xcofflink.c (xcoff_link_add_symbols): Fix XTY_LD symbol that - does not follow a XTY_SD. - -2001-08-29 Alan Modra <amodra@bigpond.net.au> - - * targmatch.sed: Delete case statements. - * config.bfd <powerpc-*-aix* entry>: Select 64 bit xcoff for - aix4.3 and above. - -2001-08-29 J"orn Rennecke <amylaar@redhat.com> - - * Makefile.am (elf32-h8300.lo): New target. - * config.bfd (h8300*-*-elf): New case. - * configure.in (bfd_elf32_h8300_vec): New case. - * elf.c (prep_headers): Add case for bfd_arch_h8300. - * reloc.c (BFD_RELOC_H8_DIR16A8): New relocation. - (BFD_RELOC_H8_DIR16R8, BFD_RELOC_H8_DIR24A8): Likewise. - (BFD_RELOC_H8_DIR24R8, BFD_RELOC_H8_DIR32A16): Likewise. - * targets.c (bfd_target bfd_elf32_h8300_vec): New extern declaration. - * elf32-h8300.c: New file. - * Makefile.in, bfd-in2.h, libbfd.h, configure: Regenerated. - -2001-08-28 Nick Clifton <nickc@cambridge.redhat.com> - - * sparclynx.c: Add missing prototypes. - * coff-mcore.c: Add missing prototypes. - * elf32-pj.c: Add missing prototypes. - * nlm32-sparc.c: Add missing prototypes. - * oasys.c: Add missing prototypes. - * pdp11.c: Add missing prototypes. - * pe-mips.c: Add missing prototypes. - * riscix.c: Add missing prototypes. - -2001-08-27 Daniel Jacobowitz <drow@mvista.com> - - * elf32-i386.c: Add missing prototypes. - * elf32-ppc.c: Likewise. - * elf32-sh-lin.c: Likewise. - * elfarm-nabi.c: Likewise. - -2001-08-27 Daniel Jacobowitz <drow@mvista.com> - - * elf32-i386.c (elf_i386_grok_prstatus): New function. - (elf_i386_grok_psinfo): New function. - (elf_backend_grok_prstatus): Define. - (elf_backend_grok_psinfo): Likewise. - * elf32-ppc.c (ppc_elf_grok_prstatus): New function. - (ppc_elf_grok_psinfo): New function. - (elf_backend_grok_prstatus): Define. - (elf_backend_grok_psinfo): Likewise. - * elf32-sh-lin.c (elf32_shlin_grok_prstatus): New function. - (elf32_shlin_grok_psinfo): New function. - (elf_backend_grok_prstatus): Define. - (elf_backend_grok_psinfo): Likewise. - * elfarm-nabi.c (elf32_arm_nabi_grok_prstatus): New function. - (elf32_arm_nabi_grok_psinfo): New function. - (elf_backend_grok_prstatus): Define. - (elf_backend_grok_psinfo): Likewise. - -2001-08-27 H.J. Lu <hjl@gnu.org> - - * elf32-mips.c (mips_elf_create_dynamic_relocation): Add more - sanity check. - (mips_elf_calculate_relocation): Create dynamic relocation for - symbols with weak definition or the ELF_LINK_HASH_DEF_REGULAR - bit is not set. - -2001-08-27 H.J. Lu <hjl@gnu.org> - - * elf32-mips.c (_bfd_mips_elf_hide_symbol): Add prototype. - (_bfd_mips_elf_copy_indirect_symbol): Likewise. - (_bfd_elf32_mips_grok_prstatus): Likewise. - (_bfd_elf32_mips_grok_psinfo): Likewise. - (_bfd_mips_elf_hide_symbol): Make it static and cast to - `struct mips_elf_link_hash_entry *'. - (_bfd_mips_elf_copy_indirect_symbol): Make it static. - -2001-08-27 Nick Clifton <nickc@cambridge.redhat.com> - - * mipsbsd.c: Add missing prototypes. - * hp300hpux.c: Add missing prototypes. - * i386aout.c: Add missing prototypes. - * i386lynx.c: Add missing prototypes. - * i386mach3.c: Add missing prototypes. - * i386msdos.c: Add missing prototypes. - * i386os9k.c: Add missing prototypes. - -2001-08-27 Linus Nordberg <linus@swox.se> - Torbjorn Granlund <tege@swox.com> - Staffan Ulfberg <staffanu@swox.se> - Alan Modra <amodra@bigpond.net.au> - - * config.bfd: Add powerpc64 target. Add powerpc64 vectors to - targ64_selvecs for 32 bit powerpc targets. - * Makefile.am (BFD64_BACKENDS): Add elf64-ppc.lo. - (BFD64_BACKENDS_CFILES): Add elf64-ppc.c. - Run "make dep-am". - * Makefile.in: Regenerate. - * configure.in: Add elf64_powerpc vecs. - * configure: Regenerate. - * cpu-powerpc.c: Default to bfd_mach_ppc_620 entry for 64 bit. - * elf.c (prep_headers): EM_PPC64 for 64 bit ppc elf target. - * targets.c: Add bfd_elf64_powerpc_vec and bfd_elf64_powerpcle_vec. - * elf64-ppc.c: New file. - * reloc.c: Add powerpc64 relocs. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - -2001-08-27 Andreas Schwab <schwab@suse.de> - - * elf32-m68k.c (elf32_m68k_check_relocs): Set DF_TEXTREL if the - reloc is against read-only section. - (elf32_m68k_size_dynamic_sections): Use DF_TEXTREL flag instead of - looking up section names for DT_TEXTREL. - (elf32_m68k_reloc_type_class): New function. - (elf_backend_reloc_type_class): Define. - -2001-08-27 Andreas Jaeger <aj@suse.de> - - * elf64-s390.c (elf_s390_check_relocs): Set DF_TEXTREL if the - reloc is against read-only section. - (elf_s390_size_dynamic_sections): Use DF_TEXTREL flag instead of - looking up section names for DT_TEXTREL. - (elf_s390_reloc_type_class): New. - (elf_backend_reloc_type_class): Define. - - * elf32-s390.c (elf_s390_check_relocs): Set DF_TEXTREL if the - reloc is against read-only section. - (elf_s390_size_dynamic_sections): Use DF_TEXTREL flag instead of - looking up section names for DT_TEXTREL. - (elf_s390_reloc_type_class): New. - (elf_backend_reloc_type_class): Define. - - * elf32-ppc.c (ppc_elf_check_relocs): Set DF_TEXTREL if the reloc - is against read-only section. - (ppc_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of - looking up section names for DT_TEXTREL. - (ppc_elf_reloc_type_class): New. - (elf_backend_reloc_type_class): Define. - -2001-08-26 Andreas Jaeger <aj@suse.de> - - * elf32-cris.c (cris_elf_check_relocs): Set DF_TEXTREL if the - reloc is against read-only section. - (elf_cris_size_dynamic_sections): Use DF_TEXTREL flag instead of - looking up section names for DT_TEXTREL. - (elf_cris_reloc_type_class): New. - (elf_backend_reloc_type_class): Define. - - * elf32-sh.c (sh_elf_check_relocs): Set DF_TEXTREL if the reloc is - against read-only section. - (elf_backend_reloc_type_class): Define. - (sh_elf_reloc_type_class): New. - (sh_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of - looking up section names for DT_TEXTREL. - - * elf32-arm.h (elf32_arm_check_relocs): Set DF_TEXTREL if the - reloc is against read-only section. - (elf32_arm_size_dynamic_sections): Use DF_TEXTREL flag instead of - looking up section names for DT_TEXTREL. - (elf32_arm_reloc_type_class): New. - (elf_backend_reloc_type_class): Define. - -2001-08-25 Andreas Jaeger <aj@suse.de> - - * oasys.c: Add missing prototypes. - - * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Add unused - attribute for parameter. - * elf.c (_bfd_elf_reloc_type_class): Likewise. - - * versados.c (get_4): Make static. - (get_10): Make static. - Add missing prototypes. - (process_esd): Fix call to versados_new_symbol. - -2001-08-25 Nick Clifton <nickc@cambridge.redhat.com> - - * coff-a29k.c: Add missing prototypes. - * coff-apollo.c: Add missing prototypes. - * coff-arm.c: Add missing prototypes. - * coff-i860.c: Add missing prototypes. - * coff-rs6000.c: Add missing prototypes. - * coff-tic80.c: Add missing prototypes. - * elf-m10200.c: Add missing prototypes. - * elf-m10300.c: Add missing prototypes. - * elf32-arm.h: Add missing prototypes. - * elf32-d10v.c: Add missing prototypes. - * elf32-m32r.c: Add missing prototypes. - * elf32-mcore.c: Add missing prototypes. - * elf32-openrisc.c: Add missing prototypes. - * elf32-sh.c: Add missing prototypes. - * elf32-sparc.c: Add missing prototypes. - * elf32-v850.c: Add missing prototypes. - * elfarm-nabi.c: Add missing prototypes. - * elfarm-oabi.c: Add missing prototypes. - -2001-08-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * elf32-mips.c (elf_mips_abi_name): Return the right ABI string for - E_MIPS_ABI_O64 and E_MIPS_ABI_EABI64 - -2001-08-24 H.J. Lu <hjl@gnu.org> - - * elf.c (_bfd_elf_merge_sections): Fail if not using an ELF - hash structure. - -2001-08-24 Nick Clifton <nickc@cambridge.redhat.com> - - * elf-bfd.h (elf_hash_table): Revert definition. - (is_elf_hash_table): New macro. - * elflink.h (elf_link_add_object_symbols): Test - is_elf_hash_table before accessing ELF only fields in hash - structure. - (elf_link_create_dynamic_sections): Fail if not using an ELF - hash structure. - (elf_add_dynamic_entry): Fail if not using an ELF hash - structure. - (elf_link_record_local_dynamic_symbol): Fail if not using an - ELF hash structure. - (size_dynamic_sections): Fail if not using an ELF hash - structure. - (elf_adjust_dynamic_symbol): Fail if not using an ELF - hash structure. - (elf_bfd_final_link): Fail if not using an ELF hash - structure. - -2001-08-24 H.J. Lu <hjl@gnu.org> - - * elf-bfd.h (elf_hash_table): Return NULL if the linker hash - table is not an ELF linker hash table. - - * elf.c (_bfd_elf_link_hash_table_init): Set the linker hash - table type to bfd_link_elf_hash_table. - - * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_create): Revert - the last change. - - * linker.c (_bfd_link_hash_table_init): Set the linker hash - table type to bfd_link_generic_hash_table. - -2001-08-24 Alexandre Oliva <aoliva@redhat.com> - - * bfd.c (bfd_alt_mach_code): New function. - * bfd-in2.h: Rebuilt. - -2001-08-24 Alexandre Oliva <aoliva@redhat.com> - - * elf-m10300.c (mn10300_elf_relocate_section): Test the right - `type' field in the hash entry when deciding whether to follow a - link. - -2001-08-24 Jakub Jelinek <jakub@redhat.com> - - * elflink.h (elf_link_sort_cmp1): Sort RELATIVE relocs first, not - last. - (elf_link_sort_relocs): Adjust accordingly. - - * elf64-alpha.c (struct alpha_elf_link_hash_entry): Add reltext flag. - (elf64_alpha_check_relocs): Set it if section this reloc is against - is read-only. Set DF_TEXTREL if a RELATIVE reloc is needed against - read-only section. - (elf64_alpha_calc_dynrel_sizes): Set DF_TEXTREL flag if relocation - is is against read-only section. - (elf64_alpha_size_dynamic_sections): Use DF_TEXTREL flag, don't - check section names. - (elf64_alpha_reloc_type_class): New. - (elf_backend_reloc_type_class): Define. - -2001-08-24 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * linker.c (_bfd_generic_link_add_archive_symbols): Replace alloca() - by bfd_malloc(). - -2001-08-23 Andreas Jaeger <aj@suse.de> - - * elf64-x86-64.c (elf64_x86_64_check_relocs): Set DF_TEXTREL if - the reloc is against read-only section. - (elf64_x86_64_size_dynamic_sections): Use DF_TEXTREL flag instead - of looking up section names for DT_TEXTREL. - (elf64_x86_64_reloc_type_class): New. - (elf_backend_reloc_type_class): Define. - -2001-08-23 H.J. Lu <hjl@gnu.org> - - * syms.c (bfd_print_symbol_vandf): Add abfd to arg. - * bfd-in2.h (bfd_print_symbol_vandf): Regenerated. - - * aoutx.h (NAME(aout,print_symbol)): Pass abfd to - bfd_print_symbol_vandf. - * coffgen.c (coff_print_symbol): Likewise. - * elf.c (bfd_elf_print_symbol): Likewise. - * ieee.c (ieee_print_symbol): Likewise. - * nlmcode.h (nlm_print_symbol): Likewise. - * oasys.c (oasys_print_symbol): Likewise. - * pdp11.c (NAME(aout,print_symbol)): Likewise. - * som.c (som_print_symbol): Likewise. - * srec.c (srec_print_symbol): Likewise. - * tekhex.c (tekhex_print_symbol): Likewise. - * versados.c (versados_print_symbol): Likewise. - * vms.c (vms_print_symbol): Likewise. - - * elf.c (_bfd_elf_print_private_bfd_data): Replace fprintf_vma - with bfd_fprintf_vma. - (bfd_elf_print_symbol): Likewise. - * syms.c (bfd_print_symbol_vandf): Likewise. - -2001-08-23 Nick Clifton <nickc@cambridge.redhat.com> - - * aoutf1.h (sunos_write_object_contents): Silence compile time - warning. - * libaout.h (N_SET_DYNAMIC): Silence compile time warning. - - * bout.c: Add missing function prototypes. Fix formatting. - * coff-z8k.c: Add missing function prototypes. Fix formatting. - * coff-w65.c: Add missing function prototypes. Fix formatting. - * coff-h8500.c: Add missing function prototypes. Fix formatting. - * coff-h8300.c: Add missing function prototypes. Fix formatting. - * coff-tic54x.c: Add missing function prototypes. Fix formatting. - * coff-tic30.c: Add missing function prototypes. Fix formatting. - * coff-m68k.c: Add missing function prototypes. Fix formatting. - * coff-rs6000.c: Add missing function prototypes. Fix formatting. - * coff-sh.c: Add missing function prototypes. Fix formatting. - -2001-08-23 Jakub Jelinek <jakub@redhat.com> - - * elf-bfd.h (enum elf_reloc_type_class): New. - (struct elf_backend_data): Add elf_backend_reloc_type_class. - (_bfd_elf_reloc_type_class): New. - * elfxx-target.h (elf_backend_reloc_type_class): Define. - (elfNN_bed): Add elf_backend_reloc_type_class. - * elf.c (_bfd_elf_reloc_type_class): New. - * elf32-i386.c (elf_i386_check_relocs): Set DF_TEXTREL if the reloc - is against read-only section. - (elf_i386_size_dynamic_sections): Use DF_TEXTREL flag instead of - looking up section names for DT_TEXTREL. - (elf_i386_reloc_type_class): New. - (elf_backend_reloc_type_class): Define. - * elf32-sparc.c (elf32_sparc_check_relocs): Set DF_TEXTREL if the - reloc is against read-only section. - (elf32_sparc_size_dynamic_sections): Use DF_TEXTREL flag instead of - looking up section names for DT_TEXTREL. - (elf32_sparc_reloc_type_class): New. - (elf_backend_reloc_type_class): Define. - * elf64-sparc.c (sparc64_elf_check_relocs): Set DF_TEXTREL if the - reloc is against read-only section. - (sparc64_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of - looking up section names for DT_TEXTREL. - (sparc64_elf_reloc_type_class): New. - (elf_backend_reloc_type_class): Define. - * elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add reltext field. - (elfNN_ia64_hash_table_create): Clear ia64_info. - (get_reloc_section): Set DF_TEXTREL if the reloc is against read-only - section. - (elfNN_ia64_size_dynamic_sections): Use ia64_info->reltext flag - instead of looking up section names for DT_TEXTREL. - (elfNN_ia64_reloc_type_class): New. - (elf_backend_reloc_type_class): Define. - * elflink.h (size_dynamic_sections): Add spare DT_NULL tags. - (struct elf_link_sort_rela): New. - (elf_link_sort_cmp1, elf_link_sort_cmp2, elf_link_sort_relocs): New. - (elf_bfd_final_link): Call elf_link_sort_relocs. - Convert one spare DT_NULL into DT_RELCOUNT resp. DT_RELACOUNT if - necessary. - -2001-08-23 Nick Clifton <nickc@cambridge.redhat.com> - - * configure.in (x86-bsdi): No corefile support. - * configure: Regenerate. - -2001-08-22 Nick Clifton <nickc@cambridge.redhat.com> - - * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Add missing - comma. - -2001-08-21 Mark Elbrecht <snowball3@bigfoot.com> - - * coff-go32.c: Make DWARF2 sections use an alignment of 0. Set - the alignment of dwarf2 linkonce sections to 0. - * coff-sto32.c: Likewise. - -2001-08-20 Andreas Jaeger <aj@suse.de> - - * coff-sparc.c: Add missing prototypes. - * elf32-s390.c: Likewise. - * elf32-i960.c: Likewise. - * aout-target.h: Likewise. - -2001-08-20 H.J. Lu <hjl@gnu.org> - - * elf-bfd.h (elf_obj_tdata): Add num_section_syms. - (elf_num_section_syms): New for num_section_syms. - - * elf.c (elf_map_symbols): Set num_section_syms. - (_bfd_elf_symbol_from_bfd_symbol): Check num_section_syms for - the section symbol index. - -2001-08-20 Nick Clifton <nickc@cambridge.redhat.com> - - * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_create): Never - select the generic has table creator. All elf backends need elf - specific fields in the hash table. - -2001-08-20 Alan Modra <amodra@bigpond.net.au> - - * archive.c (offsetof): Remove define. - * elf.c: Likewise. - * oasys.c: Likewise - * sysdep.h (offsetof): Define. - -2001-08-17 Alan Modra <amodra@bigpond.net.au> - - * bfd.c (bfd_get_gp_size): Return an unsigned int. - (bfd_set_gp_size): Make param unsigned. - * bfd-in2.h: Regenerate. - * elf32-ppc.c (ppc_elf_add_symbol_hook): Use elf_gp_size rather - than calling bfd_get_gp_size. - * elf64-alpha.c (elf64_alpha_add_symbol_hook): Likewise. - * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Likewise. - -2001-08-17 Alan Modra <amodra@bigpond.net.au> - - * linker.c (default_fill_link_order): Handle four byte fill value. - -2001-08-17 Alan Modra <amodra@bigpond.net.au> - - * elf64-sparc.c (sparc64_elf_output_arch_syms): Add missing - prototype. - * nlm32-alpha.c (nlm_alpha_write_external): Fix warning. - - * elf64-mips.c (UNUSED_RELOC): Define. - (mips_elf64_howto_table_rel): Use it. - (mips_elf64_howto_table_rela): Here too. - (mips_elf64_write_relocs): Fix signed/unsigned warning. - - * coffcode.h (coff_write_object_contents): Add ATTRIBUTE_UNUSED to - silence warning. - * coffgen.c (coff_print_symbol): Fix warnings. - (coff_find_nearest_line): Likewise. - * cofflink.c (_bfd_coff_link_input_bfd): Likewise. - * coff-alpha.c (alpha_convert_external_reloc): Likewise. - * format.c (bfd_check_format_matches): Likewise. - (bfd_set_format): Likewise. - * coff-ia64.c: Add missing prototypes. - * elf64-alpha.c (struct alpha_elf_link_hash_entry): Make addend - signed to silence warnings. - (elf64_alpha_relocate_section): Likewise. - (elf64_alpha_find_reloc_at_ofs): Fix warnings. - (elf64_alpha_add_symbol_hook): Likewise. - (elf64_alpha_final_link): Likewise. - (elf64_alpha_relax_section): Remove redundant assign to info.gotent. - (elf64_alpha_merge_gots): Add ATTRIBUTE_UNUSED to unused args. - (elf64_alpha_size_got_sections): Likewise. - * elfxx-ia64.c: Add missing prototypes. - (elfNN_ia64_relocate_section): Fix warning. - (elfNN_ia64_unwind_entry_compare): Make params const. - -2001-08-17 Alan Modra <amodra@bigpond.net.au> - - * config.bfd (targ64_selvecs): New. - <powerpc-*-aix* entry>: Use it here instead of ineffectual #ifdef. - - * bfd-in.h (BFD_VERSION): Remove wrong comment. - (BFD_DEFAULT_TARGET_SIZE): New. - (BFD_ARCH_SIZE): Comment. - * configure.in (target_size): New. Set instead of target64 in - selvecs case statement. Set target64 from it. - (bfd_default_target_size): New. Set from taget_size. AC_SUBST. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - -2001-08-17 Alan Modra <amodra@bigpond.net.au> - - * bfd.c (enum bfd_error): Add bfd_error_wrong_object_format. - (bfd_errmsgs): Add corresponding message. - * archive.c (bfd_generic_archive_p): Don't release bfd_ardata when - finding an archive that contains different format object files. - Return bfd_error_wrong_object_format for this case. - * format.c: Formatting fixes. s/CONST/const/. - (bfd_check_format_matches): Accept archives that give - bfd_error_wrong_object_format if no full match is found. Tidy - code handling matching_vector. Don't return a pointer to freed - memory in `matching'. Handle ambiguous matches as for partial - archive matches. - * bfd-in2.h: Regenerate. - -2001-08-15 Alan Modra <amodra@bigpond.net.au> - - * libieee.h (common_header_type): Add last_byte field. - - * ieee.c: Add missing prototypes. Some format fixes. - (struct output_buffer_struct): Move for availability to prototypes. - (ieee_part_after): New function. - (ieee_slurp_debug): Use it here. - (ieee_seek): Pass in ieee_data_struct rather than bfd. Use - ieee_part_after to set last_byte to one past end of current part. - Update callers. - (ieee_pos): Pass in ieee_data_struct rather than bfd. - Update callers. - (parse_expression): Don't go beyond the end of the current part. - (ieee_slurp_external_symbols): Correct type passed to read_2bytes. - (ieee_get_symtab_upper_bound, ieee_get_symtab, - ieee_get_symbol_info, ieee_print_symbol, ieee_new_section_hook, - ieee_get_reloc_upper_bound, ieee_canonicalize_reloc, block, - ieee_set_section_contents, ieee_write_object_contents, - ieee_make_empty_symbol): Make static. - (ieee_archive_p): Correct comments regarding bfd_read. - (ieee_object_p): Similarly. - (ieee_mkobject): Move it. Clear output_ptr_start, output_ptr, - output_ptr_end, input_ptr_start, input_ptr, input_ptr_end, - input_bfd, output_bfd, output_buffer. - (do_as_repeat): Write out ieee_set_current_pc_enum value as for - do_with_relocs, ie. as a symbol for relocatable files. - (ieee_vec): Add comments showing functions referenced by macros. - -2001-08-14 Nick Clifton <nickc@cambridge.redhat.com> - - * aout-tic30.c: Add missing prototypes. Fix formatting. - * aout-ns32k.c: Add missing prototypes. Fix formatting. - * peXXigen.c: Add missining prototypes. Fix formatting. - * aout-adobe.c: Add missining prototypes. Fix formatting. - -2001-08-13 Nick Clifton <nickc@cambridge.redhat.com> - - * elf32-v850.c: Add missing function prototypes. - Fix some formatting. - - * cpu-v850.c: Add missing function prototype. - Fix some formatting. - -2001-08-11 Nick Clifton <nickc@cambridge.redhat.com> - - * elf-bfd.h (struct elf_backend_data): Add new fields - 'elf_backend_sprintf_vma' and 'elf_backend_fprintf_vma'. - (bfd_elf_sprintf_vma): Rename function prototype to - '_bfd_elf_sprintf_vma'. - (bfd_elf_fprintf_vma): Rename function prototype to - '_bfd_elf_fprintf_vma'. - * bfd.c (bfd_sprintf_vma): Do not invoke bfd_elf_sprintf_vma - directly, instead indirect via the elf_backend_data structure. - (bfd_fprintf_vma): Do not invoke bfd_elf_fprintf_vma directly, - instead indirect via the elf_backend_data structure. - * elf.c (bfd_elf_sprintf_vma): Rename to _bfd_elf_sprintf_vma. - (bfd_elf_fprintf_vma): Rename to _bfd_elf_fprintf_vma. - * elfxx-target.h (elf_backend_sprintf_vma): Initialise if not - already defined. - (elf_backend_fprintf_vma): Initialise if not already defined. - (struct elf_backend_data): Initialise the - elf_backend_sprintf_vma and elf_backend_fprintf_vma fields. - -2001-08-10 Andreas Jaeger <aj@suse.de> - - * elf64-sparc.c: Add missing prototypes. - * elf32-cris.c: Likewise. - * elf32-i370.c: Likewise. - * elf64-hppa.c: Likewise. - * elf64-s390.c: Likewise. - -2001-08-10 Andreas Jaeger <aj@suse.de> - - * elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static. - Add prototypes where needed. - -2001-08-10 H.J. Lu <hjl@gnu.org> - - * bfd.c (bfd_sprintf_vma): Fix a typo in the last change. - (bfd_fprintf_vma): Likewise. - -2001-08-10 H.J. Lu <hjl@gnu.org> - - * bfd.c (bfd_sprintf_vma): Don't return void. - (bfd_fprintf_vma): Likewise. - -2001-08-10 Andreas Jaeger <aj@suse.de> - - * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes - to build warnings. - * configure: Regenerate. - -2001-08-10 Alan Modra <amodra@bigpond.net.au> - - * elf.c (bfd_elf_sprintf_vma): Add ATTRIBUTE_UNUSED to quiet - warning if not BFD64. Add braces so emacs auto format works. - (bfd_elf_fprintf_vma): Likewise. - - * libxcoff.h (struct xcoff_backend_data_rec): Constify src param - of _xcoff_swap_ld*. - * coff-rs6000.c (xcoff_swap_ldhdr_in): Modify type of external - param to agree with libxcoff.h. - (xcoff_swap_ldhdr_out): Likewise. - (xcoff_swap_ldsym_in): Likewise. - (xcoff_swap_ldsym_out): Likewise. - (xcoff_swap_ldrel_in): Likewise. - (xcoff_swap_ldrel_out): Likewise. - (xcoff_create_csect_from_smclas): Likewise. - * coff64-rs6000.c: Add missing prototypes. - (xcoff64_swap_ldhdr_in): Modify type of external param to agree - with libxcoff.h. - (xcoff64_swap_ldhdr_out): Likewise. - (xcoff64_swap_ldsym_in): Likewise. - (xcoff64_swap_ldsym_out): Likewise. - (xcoff64_swap_ldrel_in): Likewise. - (xcoff64_swap_ldrel_out): Likewise. - (xcoff64_ppc_relocate_section): Make static. - (xcoff64_slurp_armap): Likewise. - (xcoff64_archive_p): Likewise. - (xcoff64_openr_next_archived_file): Likewise. - (xcoff64_sizeof_headers): Likewise. - (xcoff64_is_lineno_count_overflow): Likewise. - (xcoff64_is_reloc_count_overflow): Likewise. - (xcoff64_loader_symbol_offset): Likewise. - (xcoff64_loader_reloc_offset): Likewise. - * elf64-gen.c: Add missing prototypes. - -2001-08-09 H.J. Lu <hjl@gnu.org> - - * elf.c (bfd_elf_sprintf_vma): Check ELFCLASS64 only in BFD64. - (bfd_elf_fprintf_vma): Likewise. - -2001-08-09 H.J. Lu <hjl@gnu.org> - - * bfd-in.h (bfd_elf_sprintf_vma, bfd_elf_fprintf_vma): Moved - to ... - * elf-bfd.h: Here. - * bfd-in2.h: Regenerated. - -2001-08-09 H.J. Lu <hjl@gnu.org> - - * bfd-in.h (bfd_sprintf_vma): New prototype. - (bfd_fprintf_vma): Likewise. - (bfd_elf_sprintf_vma): Likewise. - (bfd_elf_fprintf_vma): Likewise. - (bfd_printf_vma): New. Defined with bfd_fprintf_vma. - * bfd-in2.h: Regenerated. - - * bfd.c (bfd_sprintf_vma): New. Defined. - (bfd_fprintf_vma): Likewise. - - * elf.c (bfd_elf_sprintf_vma): New. Defined. - (bfd_elf_fprintf_vma): Likewise. - -2001-08-09 Alan Modra <amodra@bigpond.net.au> - - * coff-rs6000.c: Add missing prototypes. - (xcoff_ppc_relocate_section, xcoff_is_lineno_count_overflow, - xcoff_is_reloc_count_overflow, xcoff_loader_symbol_offset, - xcoff_loader_reloc_offset): Make static. - * dwarf1.c: Add missing prototypes. - * dwarf2.c: Add missing prototypes. - (struct abbrev_info): Move definition. - (struct attr_abbrev, ABBREV_HASH_SIZE, ATTR_ALLOC_CHUNK): Likewise. - * elf.c: Add missing prototypes. - * elf32-gen.c: Likewise. - * elf32-i386.c: Likewise. - * elf32-ppc.c: Likewise. - (ppc_elf_sort_rela): Use PTR instead of "void *". - * elflink.h: Add missing prototypes. Formatting fixes. - * merge.c: Add missing prototypes. - (last4_eq): Use PTR instead of "void *". - (last_eq): Likewise. - * syms.c: Add missing prototypes. - -2001-08-09 Nick Clifton <nickc@cambridge.redhat.com> - - * bfd.c: Fix formatting. - * bfd-in2.h: Regenerate. - -2001-08-09 Nick Clifton <nickc@cambridge.redhat.com> - - * elf32-arc.c (R_ARC_B22_PCREL): Change 'partial_inplace' to - true (this target uses REL relocations) and 'pcrel_offset' to - false (the PC is implied, not stored in the offset). - -2001-08-08 Alan Modra <amodra@bigpond.net.au> - - 1999-10-19 Linus Nordberg <linus@swox.se> - * elf-bfd.h (struct elf_backend_data): Add want_got_sym. - * elfxx-target.h (elf_backend_want_got_sym): Define. - (elfNN_bed): Add elf_backend_want_got_sym. - * elflink.c (_bfd_elf_create_got_section): Define - _GLOBAL_OFFSET_TABLE_ only if bed->want_got_sym. - -2001-08-08 Alexandre Oliva <aoliva@redhat.com> - - * dwarf2.c (struct dwarf2_debug): Add sec, sec_info_ptr and syms. - (find_rela_addend): New function. - (parse_comp_unit): Call it to find the abbrev offset addend. - (_bfd_dwarf2_find_nearest_line): Initialize and maintain the new - members of dwarf2_debug as debugging information is read. - -2001-08-07 Nick Clifton <nickc@cambridge.redhat.com> - - * coff-sh.c (sh_coff_reloc_type_lookup): Provide for sh-coff - targets as well as sh-pe. - -2001-08-03 Ben Harris <bjh21@netbsd.org> - - * elf32-arm.h (elf32_arm_final_link_relocate): Include offset of - reloc from start of section when computing value for R_ARM_REL32 - reloc. - -2001-08-03 Alan Modra <amodra@bigpond.net.au> - - From H.J. Lu <hjl@gnu.org> - * elf32-i386.c (allocate_plt_and_got_and_discard_relocs): Don't - keep relocs for undefined syms if there are no dynamic sections in - executable. - * elf32-hppa.c (allocate_plt_and_got_and_discard_relocs): Likewise. - -2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com> - - * cofflink.c (coff_link_check_ar_symbols): also search for - __imp__symbol as well as _symbol. - * linker.c (_bfd_generic_link_add_archive_symbols): also - search for __imp__symbol as well as _symbol. - -2001-08-01 Adam Nemet <anemet@lnxw.com> - - * elf.c (elf_sort_sections): Return zero only as the last step. - -2001-08-01 Nick Clifton <nickc@cambridge.redhat.com> - - * config.bfd (arm-vxworks): Change name of define from VXWORKS to - ARM_COFF_BUGFIX. - (arm-epoc-pe): Define ARM_COFF_BUGFIX. - coff-arm.c (coff_arm_relocate_section): Replace VXWORKS with - ARM_COFF_BUGFIX. - -2001-07-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> - - * libecoff.h (_bfd_ecoff_styp_to_sec_flags): Changed return type - to match corresponding bfd_coff_backend data member. - -2001-07-24 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Update dependencies with "make dep-am". - * Makefile.in: Regenerate - -2001-07-15 H.J. Lu <hjl@gnu.org> - - * Makefile.am (po/SRC-POTFILES.in): Use tmp.src instead of tmp. - (po/BLD-POTFILES.in): Use tmp.bld instead of tmp. - * Makefile.in: Regenerate. - -2001-07-11 H.J. Lu <hjl@gnu.org> - - * elf64-alpha.c (elf64_alpha_check_relocs): Set the ALLOC|LOAD - flags when creating the reloc section if the ALLOC flag in the - source section is set. - -2001-07-11 Steve Ellcey <sje@cup.hp.com> - - * reloc.c (bfd_reloc_code_type): Add IA64 relocs - BFD_RELOC_IA64_LTOFF_FPTR32MSB and BFD_RELOC_IA64_LTOFF_FPTR32LSB - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - * elfxx-ia64.c (ia64_howto_table): Define how to handle - new relocations. - (elfNN_ia64_reloc_type_lookup): Handle new relocations. - (elfNN_ia64_check_relocs): Likewise. - (elfNN_ia64_install_value): Likewise. - (elfNN_ia64_relocate_section): Likewise. - -2001-07-11 Jakub Jelinek <jakub@redhat.com> - - * elf32-sparc.c (_bfd_sparc_elf_howto_table): Remove support for - R_SPARC_UA64. - (elf32_sparc_check_relocs): Likewise. - Only create .rela section for alloced sections in shared libraries. - (elf32_sparc_relocate_section): Likewise. - Remove redundant check. - Optimize unaligned reloc usage. - * elf64-sparc.c (sparc64_elf_relocate_section): Remove redundant - check. - -2001-07-11 H.J. Lu <hjl@gnu.org> - - * elf64-alpha.c (elf64_alpha_check_relocs): Only use the same - ALLOC|LOAD flags as the source section for debugging sections - when creating the reloc section. - -2001-07-05 Jim Wilson <wilson@redhat.com> - - * linker.c (_bfd_generic_link_add_one_symbol, case BIG): Use - the section of the bigger symbol. - - * syms.c (bfd_is_local_label): Return false if BSF_SECTION_SYM. - -2001-07-05 Nick Clifton <nickc@cambridge.redhat.com> - - * peicode.h (coff_swap_scnhdr_in): For sections containing - uninitialised data, only set their size to s_paddr if this does - not reset their size to zero. MS's latest compilers will set - s_paddr to zero. - -2001-07-04 H.J. Lu <hjl@gnu.org> - - * elf32-mips.c (_bfd_mips_elf_final_write_processing): - Handle bfd_mach_mips4400, bfd_mach_mips4600 and - bfd_mach_mips5000. - -2001-07-03 Mark Elbrecht <snowball3@softhome.net> - - * bfd.c (bfd_get_sign_extend_vma): Support DJGPP COFF targets. - - * cofflink.c (_bfd_coff_link_input_bfd): Skip section symbols from - sections being discarded. - -2001-06-30 Alan Modra <amodra@bigpond.net.au> - - * elfcore.h (elf_core_file_p): Call bfd_section_from_phdr directly - instead of _bfd_elfcore_section_from_phdr. - * elf-bfd.h (_bfd_elfcore_section_from_phdr): Remove. - * elf.c (_bfd_elfcore_section_from_phdr): Remove. - (_bfd_elfcore_make_pseudosection): Expedite tail-call. - (elfcore_grok_prstatus): Likewise. - (elfcore_grok_lwpstatus): Likewise. - (bfd_get_elf_phdr_upper_bound): Likewise. - (elfcore_make_note_pseudosection): Formatting. - (_bfd_elfcore_strndup): Formatting. - * elf32-mips.c (mips_elf_sym_is_global): Formatting. - (_bfd_elf32_mips_grok_prstatus): Expedite tail-call. - -2001-06-29 Daniel Jacobowitz <drow@mvista.com> - - * elf-bfd.h: Add prototypes for _bfd_elfcore_make_pseudosection - and _bfd_elfcore_strndup. - (struct elf_backend_data): Add elf_backend_grok_prstatus - and elf_backend_grok_psinfo. - * elf.c (_bfd_elfcore_make_pseudosection): New function. - (elfcore_grok_prstatus): Use it. - (elfcore_make_note_pseudosection): Likewise. - (elfcore_strndup): Rename to... - (_bfd_elfcore_strndup): Here, and make global. - (elfcore_grok_psinfo): Use _bfd_elfcore_strndup. - (elfcore_grok_note): Call elf_backend_grok_prstatus - and elf_backend_grok_psinfo if available. - * elf32-mips.c (_bfd_elf32_mips_grok_prstatus): New function. - (_bfd_elf32_mips_grok_psinfo): New function. - (elf_backend_grok_prstatus): Define. - (elf_backend_grok_psinfo): Define. - * elfxx-target.h (elf_backend_grok_prstatus): Default to NULL. - (elf_backend_grok_psinfo): Likewise. - (elfNN_bed): Include elf_backend_grok_prstatus and - elf_backend_grok_psinfo. - -2001-06-29 H.J. Lu <hjl@gnu.org> - - * elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Check if - hplink->sgot is NULL before filling GOT. Check if hplink->splt - is NULL before filling PLT. - -2001-06-29 Alan Modra <amodra@bigpond.net.au> - - * elflink.h (elf_link_output_extsym): Revert 1999-04-10. - -2001-06-27 Alan Modra <amodra@bigpond.net.au> - - * elf32-hppa.c (elf32_hppa_check_relocs): Don't make syms dynamic - here.. - (elf32_hppa_adjust_dynamic_symbol): ..nor here.. - (allocate_plt_and_got_and_discard_relocs): .. instead do so here - after gc has run. - - * elf32-hppa.c (RELATIVE_DYNAMIC_RELOCS): Delete. - (IS_ABSOLUTE_RELOC): Define. - (elf32_hppa_link_hash_entry): Always include reloc_entries field. - (hppa_link_hash_newfunc): Always init it. - (elf32_hppa_check_relocs): Mark symbols as ELF_LINK_NON_GOT_REF to - create COPY relocs only when the reloc is in a read-only section. - Instead, allocate space for a dynamic reloc to reference the - library symbol directly. Keep track of space we allocate using - relocs_entries. - (hppa_discard_copies): Delete, and move code to.. - (allocate_plt_and_got): ..here. Rename to - allocate_plt_and_got_and_discard_relocs. Remove unneeded dynamic - relocs for non-shared link. - (elf32_hppa_size_dynamic_sections): Update calls to above. - (elf32_hppa_relocate_section): Write out the dynamic relocs used - in lieu of COPY relocs. - - * elf32-i386.c (elf_i386_check_relocs): Don't make syms dynamic - here.. - (elf_i386_adjust_dynamic_symbol): ..nor here.. - (allocate_plt_and_got_and_discard_relocs): .. instead do so here - after gc has run. - (elf_i386_size_dynamic_sections): Fix a comment. - (elf_i386_relocate_section <R_386_32, R_386_PC32>): Rearrange code - involved in writing reloc out. - -2001-06-25 Alan Modra <amodra@bigpond.net.au> - - * elf32-i386.c (elf_i386_check_relocs <R_386_32, R_386_PC32>): - Ensure syms are dynamic if we might be emitting a reloc. - (allocate_plt_and_got_and_discard_relocs): Don't discard relocs - for undefweak or undefined syms.. - (elf_i386_relocate_section <R_386_32, R_386_PC32>): .. and emit. - - * elf32-i386.c (allocate_plt_and_got_and_discard_relocs): Discard - relocs without ELF_LINK_HASH_DEF_DYNAMIC set. - (elf_i386_relocate_section <R_386_32, R_386_PC32>): Remove - redundant bfd_link_hash_defined, bfd_link_hash_defweak test. - -2001-06-24 H.J. Lu <hjl@gnu.org> - - * cpu-i960.c (scan_960_mach): Don't modify const char *. Use - strncasecmp/strcasecmp instead of strncmp/strcmp. - -2001-06-23 H.J. Lu <hjl@gnu.org> - - * elf32-i386.c (elf_i386_relocate_section <R_386_32, R_386_PC32>): - Check ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined - in the regular object file and treat the weak definition as - the normal one. - -2001-06-23 Alan Modra <amodra@bigpond.net.au> - - * elf32-i386.c (elf_i386_relocate_section <R_386_GOT32>): Tighten - unresolved_reloc test to exclude cases where we use "relocation" - before setting it to point into the .got. Reinstate fudge for - unresolved relocs in debugging sections. - - * elf32-i386.c (elf_i386_relocate_section): Replace ugly - complicated tests for unresolvable relocs with a simple direct - scheme using "unresolved_reloc" var. - - * elf32-i386.c (struct elf_i386_pcrel_relocs_copied): Rename to - elf_i386_dyn_relocs. Update comment. - (struct elf_i386_link_hash_entry): Rename pcrel_relocs_copied to - dyn_relocs. - (elf_i386_adjust_dynamic_symbol): Remove a BFD_ASSERT, change - others to aborts. - (allocate_plt_and_got_and_discard_relocs): Replace BFD_ASSERT with - abort. - (elf_i386_size_dynamic_sections): Likewise. - (elf_i386_finish_dynamic_symbol): Likewise. - (elf_i386_finish_dynamic_sections): Likewise. - (elf_i386_relocate_section): Likewise. Tidy R_386_GOT32 and error - handling code. - - Avoid creating COPY relocs if possible. - * elf32-i386.c (elf_i386_check_relocs): Tweak condition under - which .got created. Mark symbols used by R_386_32 and R_386_PC32 - relocs as ELF_LINK_NON_GOT_REF to create COPY relocs only when the - reloc is in a read-only section. Instead, allocate space for a - dynamic reloc to reference the library symbol directly. Keep - track of space we allocate using pcrel_relocs_copied. - (discard_copies): Delete, and move code to .. - (allocate_plt_and_got): ..here. Rename to - allocate_plt_and_got_and_discard_relocs. Remove unneeded dynamic - relocs for non-shared link. - (elf_i386_size_dynamic_sections): Update calls to above functions. - (elf_i386_relocate_section): Write out the dynamic relocs. Add - more ugly logic to avoid "unresolvable relocation" error. Use - htab shortcut in place of elf_hash_table macro. - (elf_i386_finish_dynamic_sections): Allow that dynamic .got may - not always be created now. - -2001-06-20 Bo Thorsen <bo@suse.co.uk> - - * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix linking of - shared libraries. - -2001-06-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * configure.host (mips64-*-linux): Reformat. - -2001-06-21 Alan Modra <amodra@bigpond.net.au> - - * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Always - allocate local .got space. Use shortcuts from hash table for .got - and .plt rather than comparing section names. - (elf32_hppa_check_relocs): Use local_plt_refcounts var rather than - adjusting index into local_got_refcounts to document what we are - really doing. - (elf32_hppa_relocate_section): Similarly for local_plt_offsets. - Tidy .got and .plt error checking. - -2001-06-20 Catherine Moore <clm@redhat.com> - - * elf-bfd.h (struct elf_backend_data): - elf_backend_emit_relocs: New field: Function for emitting - relocs. - elf_backend_count_relocs: New field: Function for determining - the number of relocs to be emitted. - * elfxx-target.h: Provide default (NULL) values for - elf_backend_emit_relocs and elf_backend_count_relocs. - * elflink.h (elf_link_size_reloc_section): Make the hash table - big enough to hold the relocs counted by either reloc_count or - o->reloc_count. - (elf_bfd_final_link) emit_relocs: New boolean, set if relocs - should be emitted, either because of a command line option - stored in the info structure or because the target provides a - special reloc emitting function. - If the target provides a reloc counting function use it, - unless performing a relocatable link or emitting all relocs. - Also set the SEC_RELOC flag on any output section which will - contain relocs. - (elf_link_input_bfd): emit_relocs: New boolean, set if relocs - should be emitted, either because of a command line option - stored in the info structure or because the target provides a - special reloc emitting function. - If the target provides a reloc emitting function, use it, - unless performing a relocatable link or emitting all relocs. - -2001-06-20 H.J. Lu <hjl@gnu.org> - - * elf32-i386.c (elf_i386_size_dynamic_sections): Always - allocate local .got space. - -2001-06-19 Andreas Jaeger <aj@suse.de> - - * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix creation of - dynamic symbols. - -2001-06-18 Hans-Peter Nilsson <hp@axis.com> - - * elflink.h (struct elf_assign_sym_version_info): Remove member - export_dynamic. All users changed to use info member. - NAME(bfd_elf,size_dynamic_sections)): Remove parameter - export_dynamic, instead use member in parameter info. - * bfd-in.h (bfd_elf32_size_dynamic_sections, - bfd_elf64_size_dynamic_sections): Update prototype. - * bfd-in2.h: Regenerate. - -2001-06-18 H.J. Lu <hjl@gnu.org> - - * elflink.h (elf_info_failed): Add a new field, verdefs. - (NAME(bfd_elf,size_dynamic_sections): Pass verdefs to - elf_export_symbol. - (elf_export_symbol): Check eif->verdefs to decide if a symbol - should be exported. - -2001-06-17 H.J. Lu <hjl@gnu.org> - - * elf32-mips.c (mips_elf_link_hash_entry): Add a new field, - readonly_reloc, to record if a relocation in the .rel.dyn - section is against a read-only section. - (mips_elf_link_hash_newfunc): Initialize the readonly_reloc - field to false. - (_bfd_mips_elf_check_relocs): Record if there is a relocation - in the .rel.dyn section against a read-only section by setting - DF_TEXTREL or readonly_reloc. - (_bfd_mips_elf_copy_indirect_symbol): Copy readonly_reloc if - it is true. - (_bfd_mips_elf_adjust_dynamic_symbol): Record DF_TEXTREL if - there is a relocation in the .rel.dyn section against a - read-only section. - (_bfd_mips_elf_size_dynamic_sections): Set DT_TEXTREL if - DF_TEXTREL is set. - -2001-06-12 Nick Clifton <nickc@cambridge.redhat.com> - - * coffcode.h (styp_flags_to_sec_flags): Change to a boolean - function. Move flagword result into parameter list. Remove - comment about setting bfd_error_handler to intercept failure - results. - * coffgen.c (make_a_section_from_file): Examine result of - calling bfd_coff_styp_to_sec_flags and pass a failure back to - caller. - * ecoff.h (styp_flags_to_sec_flags): Change to a boolean - function. Move flagword result into parameter list. - * libcoff.h: Regenerate. - * libecoff.h: Regenerate. - -2001-06-13 Nick Clifton <nickc@cambridge.redhat.com> - - * aoutx.h (adjust_z_magic): Only pad the tesxt section if the data - section is going to follow it. - -2001-06-12 Catherine Moore <clm@redhat.com> - - * elflink.h (elf_gc_propagate_vtable_entries): Replace FILE_ALIGN - with the file_align entry from elf_backend_data. - (elf_gc_smash_unused_vtentry_relocs): Likewise. - (elf_gc_record_vtentry): Likewise. - -2001-06-10 Alan Modra <amodra@bigpond.net.au> - - * elflink.h: Whitespace changes. - (elf_link_read_relocs_from_section): Use "unsigned int" iterator - rather than "unsigned char". - (elf_link_output_relocs): Likewise. - (elf_link_input_bfd): Likewise. - (elf_reloc_link_order): LIkewise. - * elf.c: s/CONST/const/. Whitespace changes. - * elf32-mips.c: Formatting fix. - - * Makefile.am (SOURCE_HFILES): Include xcoff-target.h, remove xcoff.h. - * Makefile.in: Regenerate. - * po/Make-in: Remove trailing tab. - -2001-06-09 Philip Blundell <philb@gnu.org> - - * elf32-arm.h (elf32_arm_plt0_entry): Correct error in last - change. - (elf32_arm_plt_entry): Likewise. - -2001-06-08 H.J. Lu <hjl@gnu.org> - - * elf.c (swap_out_syms): Keep names for global section symbols. - -2001-06-07 H.J. Lu <hjl@gnu.org> - - * config.bfd: Put back ecoff for Linux/mips. Firmwares on some - MIPS-based machines need it. - -2001-06-07 H.J. Lu <hjl@gnu.org> - - * elf32-mips.c (_bfd_mips_elf_object_p): Set the bad symtab - for SGI only. - - * config.bfd: Remove ecoff from Linux/mips. - -2001-06-07 Andreas Jaeger <aj@suse.de> - - * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Add an - assertion. - (elf64_x86_64_check_relocs): Fix VTENTRY relocation; set an - alignment of 8 for .rela sections; handle further relocations. - -2001-06-06 Christian Groessler <cpg@aladdin.de> - - * coff-z8k.c: Fix formatting. - Fix howtos: howto->size was always 1. - -2001-06-05 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * configure.host (mips64*-*-linux*): Define. - -2001-06-05 Alan Modra <amodra@bigpond.net.au> - - * elf32-i386.c (elf_i386_discard_copies): Rename to - discard_copies, and use elf_link_hash_entry arg rather than - elf_i386_link_hash_entry. - (elf_i386_link_hash_traverse): Delete. - (elf_i386_size_dynamic_sections): Adjust call to discard_copies. - Tidy sizing of dynamic sections. - (elf_i386_check_relocs <R_386_32, R_386_PC32>): Reference count - possible .plt entries. - (elf_i386_gc_sweep_hook): Likewise. - (elf_i386_adjust_dynamic_symbol): Discard .plt entries for - everything with plt.refcount <= 0. - - * elf32-i386.c (elf_i386_check_relocs): Don't allocate .got and - .relgot space here. - (elf_i386_gc_sweep_hook): ..and no need to deallocate here.. - (elf_i386_adjust_dynamic_symbol): ..and don't allocate .plt and - .rel.plt here.. - (allocate_plt_and_got): ..instead do it all here. New function. - (elf_i386_size_dynamic_sections): Allocate local .got space and - call allocate_plt_and_got. No need to zap .relgot if not dynamic. - (bfd_elf32_bfd_final_link): Delete. (ie. use regular final link - rather than gc variety). - (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. - (elf_i386_relocate_section): Use it here and correct handling of - R_386_GOT32. Provide section and offset for "unresolvable - relocation" error message. - (elf_i386_finish_dynamic_symbol): Correct handling of R_386_GOT32. - - * elf32-i386.c (struct elf_i386_link_hash_table): Add sgot, - sgotplt, srelgot, splt, srelplt, sdynbss, srelbss fields. - (elf_i386_link_hash_table_create): Init them. - (create_got_section): New function. - (elf_i386_create_dynamic_sections): New function. - (elf_backend_create_dynamic_sections): Set to above. - (elf_i386_check_relocs): Use shortcuts from hash table rather than - calling bfd_get_section_by_name. - (elf_i386_gc_sweep_hook): Likewise. - (elf_i386_adjust_dynamic_symbol): Likewise. - (elf_i386_size_dynamic_sections): Likewise. - (elf_i386_relocate_section): Likewise. - (elf_i386_finish_dynamic_sections): Likewise. - - * elf32-hppa.c (allocate_plt_and_got): Skip indirect and warning syms. - -2001-06-02 H.J. Lu <hjl@gnu.org> - - * elf32-hppa.c (elf32_hppa_object_p): Check ELFOSABI_LINUX - and ELFOSABI_HPUX. - * elf64-hppa.c (elf64_hppa_object_p): Likewise. - -2001-06-02 H.J. Lu <hjl@gnu.org> - - * aout-cris.c (MACHTYPE_OK): New. Defined. - -2001-06-02 Hans-Peter Nilsson <hp@axis.com> - - * section.c (_bfd_strip_section_from_output): Handle NULL - output_section. - -2001-06-02 H.J. Lu <hjl@gnu.org> - - * config.bfd (powerpc-*-aix*, powerpc-*-beos*, rs6000-*-*): Add - rs6000coff64_vec only if BFD64 is defined. - (powerpc64-*-aix*): Enable only if BFD64 is defined. - -2001-06-02 H.J. Lu <hjl@gnu.org> - - * coff-ia64.c (ia64coff_object_p): Rewrite with - external_PEI_DOS_hdr and external_PEI_IMAGE_hdr. - -2001-06-01 Andreas Jaeger <aj@suse.de> - - * elf64-x86-64.c (elf64_x86_64_relocate_section): Add PC8 - relocation, small reformatting. - -2001-05-29 Andreas Jaeger <aj@suse.de> - - * elf64-x86-64.c (elf64_x86_64_check_relocs): Handle R_X86_64_64. - (elf64_x86_64_relocate_section): Likewise. - -2001-05-30 Alan Modra <amodra@one.net.au> - - * elf32-hppa.c (elf32_hppa_check_relocs): Don't NEED_PLT for - millicode. Don't allocate .got and .rela.got space here.. - (elf32_hppa_gc_sweep_hook): ..and no need to deallocate here.. - (elf32_hppa_adjust_dynamic_symbol): ..and don't allocate .plt and - .rela.plt here.. - (hppa_handle_PIC_calls): ..nor here.. - (allocate_plt_and_got): ..instead do it all here. New function. - (elf32_hppa_size_dynamic_sections): Allocate local .got space and - call allocate_plt_and_got. No need to zap .got if not dynamic. - (elf32_hppa_final_link): Call regular bfd_final_link instead of - gc_common_final_link. - (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. - (elf32_hppa_relocate_section): Use it here. - (elf32_hppa_finish_dynamic_symbol): Remove superfluous test of - dynamic_sections_created. - (hppa_type_of_stub): Don't LONG_BRANCH_VIA_PLT if millicode sym. - -2001-05-28 Andreas Jaeger <aj@suse.de> - - * elf64-x86-64.c (elf64_86_64_size_info): Remove, we can use the - generic version since we want a hashsize of 4. - (elf_backend_size_info): Likewise. - -2001-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * elflink.h (elf_link_size_reloc_section): Use bfd_zmalloc instead of - a zeroing loop. - (elf_link_output_relocs): Handle MIPS ELF64 relocations correctly. - (elf_link_input_bfd): Likewise. - (elf_reloc_link_order): Likewise. - (elf_finish_pointer_linker_section): Typo. Handle MIPS ELF64 - relocations correctly. - -2001-05-28 Nicolas Pitre <nico@cam.org> - - * elf32-arm.h: fix PLT generation for big endian ARM - -2001-05-28 Alan Modra <amodra@one.net.au> - - * elf32-hppa.c (elf32_hppa_relocate_section): Set up .plt entries - for symbols forced local that need plabels. - (elf32_hppa_adjust_dynamic_symbol): Don't allocate space in - .plt.rela for local syms if non-shared. - (hppa_build_one_stub): Mask lsb of plt.offset. - (elf32_hppa_finish_dynamic_symbol): Abort if lsb of plt.offset set. - (clobber_millicode_symbols): Correct comment. - (elf32_hppa_relocate_section): Likewise. - (elf32_hppa_finish_dynamic_symbol): Likewise. - -2001-05-28 Jeff Sturm <jsturm@one-point.com> - - * reloc.c: Add BFD_RELOC_SPARC_UA16 and BFD_RELOC_SPARC_UA64. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - * elf32-sparc.c: Enable BFD_RELOC_SPARC_UA16, BFD_RELOC_SPARC_UA32 - and BFD_RELOC_SPARC_UA64 mapping - * elf64-sparc.c: Likewise. - -2001-05-25 H.J. Lu <hjl@gnu.org> - - * Makefile.am (BFD32_BACKENDS): Remove coff-pmac.lo. - (BFD32_BACKENDS_CFILES): Remove coff-pmac.c. - (coff-rs6000.lo): Remove the old dependency. - * Makefile.in: Rebuild. - - * configure.in (pmac_xcoff_vec): Replace coff-pmac.lo with - coff-rs6000.lo. - -2001-05-25 H.J. Lu <hjl@gnu.org> - - * coff-rs6000.c (rs6000coff_vec): Use rs6000coff_core_p, - rs6000coff_core_file_matches_executable_p, - rs6000coff_core_file_failing_command and - rs6000coff_core_file_failing_signal only if AIX_CORE is - defined. - (pmac_xcoff_vec): Likewise. - * coff64-rs6000.c (rs6000coff64_vec): Likewise. - -2001-05-25 Timothy Wall <twall@redhat.com> - - * elfxx-ia64.c (allocate_dynrel_entries): Don't allocate an entry - for __GLOB_DATA_PTR on AIX5. Clean up some relocation bugs. - -2001-05-25 H.J. Lu <hjl@gnu.org> - - * bfd-in2.h: Regenerated. - * libcoff.h: Likewise. - -2001-05-25 Alan Modra <amodra@one.net.au> - - * elf32-hppa.c (elf32_hppa_relocate_section): Don't allow - undefined millicode syms in shared libs. - (hppa_build_one_stub): Turn BFD_ASSERTs into aborts. - (elf32_hppa_check_relocs): Likewise. - (elf32_hppa_adjust_dynamic_symbol): Likewise. - (elf32_hppa_size_dynamic_sections): Likewise. - (elf32_hppa_relocate_section): Likewise. - (elf32_hppa_finish_dynamic_symbol): Likewise. - (elf32_hppa_finish_dynamic_sections): Likewise. - -2001-05-24 Tom Rix <trix@redhat.com> - - * Makefile.am coff-pmac bfd now defined in coff-rs6000.c - xcoff-target.h not used to define rs6000 or ppc bfd. - * Makefile.in same - - * bfd-in.h : (struct lineno_cache_entry) promote element "offset" - to 64 bit. - - * coff-rs6000.c : Many changes for 64 bit support. Move common - 32/64 code to xcofflink.c. Explictly define the rs6000coff_vec - and pmac_xcoff_vec - - * coff64-rs6000.c : Many changes for 64 bit support. 64 bit - linker now supported. Explictly define the rs6000coff64_vec. - - * coffcode.h : (coff_set_arch_mach_hook) xcoff 64 bit support - (coff_print_aux) same - (coff_write_object_contents) same - (coff_slurp_line_table) same - - * coffgen.c : (coff_fix_symbol_name) formatting - (coff_mangle_symbols) xcoff 64 bit support - (coff_write_symbol) same - (coff_write_alien_symbol) same - (coff_write_native_symbol) same - (coff_write_symbols) same - (coff_get_symbol_info) same - (bfd_coff_get_syment) same - (coff_print_symbol) same - - * config.bfd : add powerpc64-*-aix* target - - * libcoff-in.h : formatting - - * libcoff.h : move xcoff extern declarations to libxcoff.h - - * libxcoff.h : New file - - * xcofflink.c : Many changes for xcoff64 support. Move common - structures to include/coff/xcoff.h. Move specific structure to - backends coff-rs6000.c and coff64-rs6000.c. Use new backend - functions, defined in libxcoff.h, to isolate 32/64 dependencies. - - (bfd_xcoff_size_dynamic_sections) : special __rtinit symbol for - aix4.2+ -binitfini. - - (xcoff_build_ldsyms) : handle special __rtinit symbol. - -2001-05-23 Alexandre Oliva <aoliva@redhat.com> - - * elf64-sparc.c (sparc64_elf_slurp_reloc_table): Fix typo - s/ENTIRES/ENTRIES/. - -2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * reloc.c (bfd_reloc_code_real): Add MIPS ELF64 relocations. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - - * aoutx.h (aout_@var{size}_machine_type): Add MIPS r12k support. - * archures.c (bfd_mach_mips12000): Define. - * cpu-mips.c (arch_info_struct): Add MIPS r12k support. - * elf32-mips.c (_bfd_mips_elf_final_write_processing): Add MIPS r12k - support. - (_bfd_mips_elf_size_dynamic_sections): Use official bfd typedef. - * bfd-in2.h: Regenerate. - * elfxx-target.h: Do not redefine bfd_elfNN_bfd_make_debug_symbol. - -2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp> - - * elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry, - elf_sh_plt_entry_be, elf_sh_plt_entry, elf_sh_pic_plt_entry_be, - elf_sh_pic_plt_entry): New PLT code, that does not use r2, since - that is used by GCC. - -2001-05-23 Nick Clifton <nickc@cambridge.redhat.com> - - * elf-bfd.h (NUM_SHDR_ENTRIES): New macro: compute the number - of entries in a structured section. - * elf.c: Use new macro. - * elf32-i386.c: Use new macro. - * elf32-mips.c: Use new macro. - * elf64-alpha.c: Use new macro. - * elf64-sparc.c: Use new macro. - * elfcode.h: Use new macro. - * elflink.h: Use new macro. - -2001-05-23 Nick Clifton <nickc@cambridge.redhat.com> - - * bfdint.texi: Replace -oformat with --oformat. - -2001-05-21 Andreas Jaeger <aj@suse.de> - - * dwarf2.c (decode_line_info): Fix error message. - (read_abbrevs): Fix test for offset as suggested by Alan Modra and - adjust error message. - -2001-05-18 H.J. Lu <hjl@gnu.org> - - * elflink.h (elf_link_add_object_symbols): Revert the last - change. - -2001-05-17 Alan Modra <amodra@one.net.au> - - * elf32-hppa.c (clobber_millicode_symbols): Temporarily set - ELF_LINK_FORCED_LOCAL to suit 2001-04-30 change. - (hppa_build_one_stub): Add an assert to check plt.offset. - -2001-05-17 H.J. Lu <hjl@gnu.org> - - * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the - version definition to basename of the output filename. - -2001-05-17 H.J. Lu <hjl@gnu.org> - - * elflink.h (elf_link_add_object_symbols): Set DT_NEEDED to - basename of the bfd filename. - -2001-05-16 Alan Modra <amodra@one.net.au> - - * section.c (asection): Add linker_has_input field. - (STD_SECTION): Adjust initialization to suit. - * ecoff.c (bfd_debug_section): Likewise. - * bfd-in2.h: Regenerate. - -2001-05-15 Alexandre Oliva <aoliva@redhat.com> - - * elf-m10300.c (mn10300_elf_relax_section): Don't relax - negative 32-bit operands to 16 operands when the operand is - going to be zero-extended by the modified opcode. - -2001-05-12 Peter Targett <peter.targett@arccores.com> - - * cpu-arc.c (arch_info_struct): Add entry 'base' representing old - name for 'arc5' core versions. - (bfd_arc_arch): Make bfd_mach_arc_6 default. - - * elf32-arc.c (arc_elf_object_p): Make E_ARC_MACH_ARC6 default - architecture. - (arc_elf_final_write_processing): Make bfd_mach_arc_6 default. - -2001-05-11 Jakub Jelinek <jakub@redhat.com> - - * elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind - sections as well. - (elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO - to .gnu.linkonce.t.FOO text section. - -2001-05-11 Jakub Jelinek <jakub@redhat.com> - - * merge.c (struct sec_merge_hash_entry): Add u.entsize and u.suffix - fields, change sec into secinfo. - (struct sec_merge_info): Add chain, remove last fields. - (struct sec_merge_sec_info): Add next, sec, psecinfo fields. - (sec_merge_hash_lookup): If lookup could not use a string only - because it has bad alignment, mark the old string for deletion. - (sec_merge_add): Add secinfo argument. Don't compute entry's - position, instead record the section. - (sec_merge_emit): Update for the sec into secinfo change in - struct sec_merge_hash_entry. - (_bfd_merge_section): Only record the section for merging, defer - putting strings into the hash table. - (cmplengthentry, last4_eq, last_eq, record_section, merge_strings, - _bfd_merge_sections): New functions. - (_bfd_merged_section_offset): Update for the sec_merge_hash_entry - changes. - * libbfd-in.h (_bfd_merge_sections): Add prototype. - (_bfd_nolink_bfd_merge_sections): Define. - * libbfd.h: Likewise. - (bfd_generic_merge_sections): Add prototype. - * targets.c (BFD_JUMP_TABLE_LINK): Add _bfd_merge_sections. - (struct bfd_target): Likewise. - * bfd.c (bfd_merge_sections): Define. - * bfd-in2.h: Rebuilt. - * elf.c (_bfd_elf_merge_sections): New function. - * elf-bfd.h (_bfd_elf_merge_sections): Add prototype. - * elfxx-target.h (bfd_elfNN_bfd_merge_sections): Define. - * reloc.c (bfd_generic_merge_sections): New function. - * vms.c (vms_bfd_merge_sections): New function. - * aout-adobe.c (aout_32_bfd_merge_sections): Define. - * aout-target.h (MY_bfd_merge_sections): Define. - * aout-tic30.c (MY_bfd_merge_sections): Define. - * binary.c (binary_bfd_merge_sections): Define. - * bout.c (b_out_bfd_merge_sections): Define. - * coff-alpha.c (_bfd_ecoff_bfd_merge_sections): Define. - * coffcode.c (coff_bfd_merge_sections): Define. - * coff-mips.c (_bfd_ecoff_bfd_merge_sections): Define. - * i386msdos.c (msdos_bfd_merge_sections): Define. - * i386os9k.c (os9k_bfd_merge_sections): Define. - * ieee.c (ieee_bfd_merge_sections): Define. - * ihex.c (ihex_bfd_merge_sections): Define. - * nlm-target.h (nlm_bfd_merge_sections): Define. - * oasys.c (oasys_bfd_merge_sections): Define. - * ppcboot.c (ppcboot_bfd_merge_sections): Define. - * som.c (som_bfd_merge_sections): Define. - * srec.c (srec_bfd_merge_sections): Define. - * tekhex.c (tekhex_bfd_merge_sections): Define. - * versados.c (versados_bfd_merge_sections): Define. - * xcoff-target.h (_bfd_xcoff_bfd_merge_sections): Define. - -2001-05-11 Nick Clifton <nickc@cambridge.redhat.com> - - * dwarf1.c (_bfd_dwarf1_find_nearest_line): Change type of 'addr' - to be unsigned long, in order to match its use. - -2001-05-10 H.J. Lu <hjl@gnu.org> - - * linker.c (_bfd_generic_link_add_one_symbol): Check loop on - indirect symbols. - -2001-05-09 H.J. Lu <hjl@gnu.org> - - * elflink.h (elf_link_add_object_symbols): Fix a typo. Allocate - versymhdr->sh_size bytes for extversym instead of hdr->sh_size. - Remove the unused veriable `dynver'. - -2001-05-08 Ian Lance Taylor <ian@zembu.com> - - * coff-i386.c (coff_i386_reloc): Don't dump core if output_bfd is - NULL or is not COFF. - (coff_i386_rtype_to_howto): Don't dump core if output section - owner is not COFF. - -2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * ecoff.c (bfd_debug_section): Fix initialization. - * elf.c (_bfd_elf_slurp_version_tables): Change maxidx to unsigned, it - is always a positive integer. Cast away sign mismatch. - * elf32-mips.c: Fix misleading comment and typo. - (_bfd_mips_elf_section_from_bfd_section): Remove unused attribute, use - correct data type. - * elflink.c: Fix typo. - (_bfd_elf_create_dynamic_sections): Remove superfluous initialization. - * ecoffswap.h (ecoff_swap_fdr_in): Cast away sign mismatch. - -2001-05-04 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c (SREL16, SREL32, SREL64): Set pcrel_offset true. - -2001-05-04 Nick Clifton <nickc@cambridge.redhat.com> - - * elf32-arm.h (elf32_arm_final_link_relocate): Set - EF_ARM_HASENTRY if the start address is set. - -2001-05-03 Nick Clifton <nickc@cambridge.redhat.com> - - * targets.c (_bfd_target_vector_entries): Compute value based on - the size of the _bfd_target_vector and not bfd_target_vector. - -2001-05-03 H.J. Lu <hjl@gnu.org> - - * elfcode.h: Include "libiberty.h". - - * elflink.h (elf_link_add_object_symbols): Set - elf_dt_name (abfd) to basename of the bfd filename. - (NAME(bfd_elf,size_dynamic_sections)): Set vn_file to basename - of the bfd filename. - -2001-05-03 Andreas Jaeger <aj@suse.de> - - * elf64-gen.c (elf_generic_info_to_howto): Add unused attribute. - (elf_generic_info_to_howto_rel): Likewise. - * coff-alpha.c (reloc_nil): Likewise. - (alpha_ecoff_bad_format_hook): Likewise. - (alpha_adjust_reloc_out): Likewise. - (alpha_bfd_reloc_type_lookup): Likewise. - (alpha_convert_external_reloc): Likewise. - * elf64-alpha.c (elf64_alpha_reloc_nil): Likewise. - (elf64_alpha_reloc_bad): Likewise. - (elf64_alpha_reloc_gpdisp): Likewise. - (elf64_alpha_bfd_reloc_type_lookup): Likewise. - (elf64_alpha_info_to_howto): Likewise. - (elf64_alpha_add_symbol_hook): Likewise. - (elf64_alpha_create_got_section): Likewise. - (elf64_alpha_is_local_label_name): Likewise. - (elf64_alpha_merge_ind_symbols): Likewise. - * elf64-mips.c (mips_elf64_reloc_type_lookup): Likewise. - (mips_elf64_get_reloc_upper_bound): Likewise. - * nlm32-alpha.c (nlm_alpha_mangle_relocs): Likewise. - (nlm_alpha_get_public_offset): Likewise. - -2001-05-02 Johan Rydberg <jrydberg@opencores.org> - - * elf32-openrisc.c (openrisc_elf_howto_table): Do not complain - about overflow in R_OPENRISC_LO_16_IN_INSN and - R_OPENRISC_HI_16_IN_INSN. - -2001-04-30 H.J. Lu <hjl@gnu.org> - - * elf.c (_bfd_elf_link_hash_hide_symbol): Set dynindx to -1 - only for ELF_LINK_FORCED_LOCAL. - * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise. - * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise. - * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise. - - * elflink.h (elf_fix_symbol_flags): Set ELF_LINK_FORCED_LOCAL - if the symbol has hidden or internal visibility. - -2001-04-30 Alan Modra <amodra@one.net.au> - - * elf32-hppa.c (final_link_relocate): Branch to .+8 for - calls to undefined weak symbols. - -2001-04-30 Andreas Jaeger <aj@suse.de>, Andreas Schwab <schwab@suse.de> - - * elf64-x86-64.c (elf64_x86_64_relocate_section): Correct test for - R_X86_64_GOTPCREL, don't use assignments instead of comparisons. - -2001-04-27 Andreas Jaeger <aj@suse.de> - - * elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Only swap - out handled entries. - (elf64_x86_64_finish_dynamic_symbol): Set up GOT entries. - (elf64_x86_64_relocate_section): Fix GOTPCREL calculation. - (elf64_x86_64_relocate_section): Merge entries for GOTPCREL and - GOT32. - -2001-04-27 Sean McNeil <sean@mcneil.com> - - * config.bfd: Add arm-vxworks target. - * coff-arm (coff_arm_relocate_section): Add in symbol value to - addend (fro VXworks targets). - -2001-04-26 H.J. Lu <hjl@gnu.org> - - * elf32-i386.c (elf_i386_check_relocs): Verify if r_symndx is - valid. - -2001-04-25 Frank Ch. Eigler <fche@redhat.com> - - * bfd-in.h (bfd_cache_close): Declare newly exported function. - * bfd-in2.h: Regenerated. - -2001-04-24 Jakub Jelinek <jakub@redhat.com> - - * merge.c (struct sec_merge_hash_entry): Add alignment field. - (struct sec_merge_hash): Remove alignment_power. - (sec_merge_hash_newfunc): Clear alignment. - (sec_merge_hash_lookup): Pass alignment as argument. - Use hashp->root.next, not hashp->next to walk the hash chain. - If a string already in the hashtable does not have required - alignment, create a new hashtable entry. - (sec_merge_init): Remove alignment_power argument. - (sec_merge_add): Add alignment argument. - (sec_merge_emit): Alignment is now a per-entity thing, not per - section. - (_bfd_merge_section): Sanity check even non-SEC_STRINGS sections - for proper alignment. - Pass alignment information to sec_merge_add. - -2001-04-24 Christian Groessler <cpg@aladdin.de> - - * coff-z8k.c (extra_case): added handler for R_DISP7, R_CALLR - and R_REL16 reloc types; accept odd values for R_REL16 type - -2001-04-24 Johan Rydberg <jrydberg@opencores.org> - - * cpu-openrisc.c: New file. - * elf32-openrisc.c: Likewise. - - * Makefile.am (ALL_MACHINES): Add cpu-openrisc.lo. - (ALL_MACHINES_CFILES): Add cpu-openrisc.c. - (BFD32_BACKENDS): Add elf32-openrisc.lo. - (BFD32_BACKENDS_CFILES): Add elf32-openrisc.c. - (cpu-openrisc.lo, elf32-openrisc.lo): New rules. - * Makefile.in: Regenerated. - * config.bfd: (openrisc-*-elf): New target. - * configure.in (bfd_elf32_openrisc_vec): New vector. - * configure: Regenerated. - * libbfd.h: Regenerated. - * bfd-in2.h: Regenerated. - * reloc.c: Add OpenRISC relocations. - * targets.c (bfd_elf32_openrisc_vec): Declare. - (bfd_target_vect): Add bfd_elf32_openrisc_vec. - * archures.c (enum bfd_architecture): Add bfd_arch_openrisc. - (bfd_openrisc_arch): Declare. - (bfd_archures_list): Add bfd_openrisc_arch. - * elf.c (prep_headers): Add bfd_arch_openrisc. - -2001-04-23 Bo Thorsen <bo@suse.de> - - * elf64-x86-64.c: Add c++ vtable hack. - Small whitespace and comment changes. - -2001-04-19 Andreas Jaeger <aj@suse.de> - - * elf64-x86-64.c (elf64_x86_64_plt0_entry): Fix instructions. - (elf64_x86_64_plt_entry): Likewise. - (elf64_x86_64_finish_dynamic_sections): Fix PLT0 generation. - (elf64_x86_64_finish_dynamic_symbol): Fix PLT generation. - -2001-04-17 Hans-Peter Nilsson <hp@axis.com> - - * elf32-cris.c: Tweak comments related to dynamic linking. - (cris_elf_relocate_section): When not creating shared object, fill - in the .got table for any symbol not in the dynamic symbol table. - (elf_cris_finish_dynamic_symbol): When not creating shared object, - only emit a .got.rela reloc if the symbol is in the dynamic symbol - table. - (cris_elf_check_relocs): Use variable r_type in all places rather - than the original expression. Add default case in switch for - reloc types. - (elf_cris_size_dynamic_sections): Iterate over - elf_cris_discard_excess_program_dynamics when not creating shared - library. - (elf_cris_discard_excess_dso_dynamics): Renamed from - elf_cris_discard_copies. Correct typo, s/Rel/Rela/. - (elf_cris_discard_excess_program_dynamics): New. - -2001-04-14 Mark Elbrecht <snowball3@bigfoot.com> - - * coffcode.h (coff_write_object_contents): Use - bfd_coff_swap_filehdr_out instead of coff_swap_filehdr_out. - -2001-04-14 H.J. Lu <hjl@gnu.org> - - * bfd-in2.h: Regenerate. - -2001-04-14 Jakub Jelinek <jakub@redhat.com> - - * section.c (STD_SECTION): Add entsize. - -2001-04-13 H.J. Lu <hjl@gnu.org> - - * section.c (SEC_MERGE): Define new flag for merging. - (SEC_STRINGS): Likewise. - (entsize): New field. - -2001-04-13 Roger Sayle <roger@metaphorics.com> - - * coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section - flag on pe-i386 targets. - -2001-04-13 Jakub Jelinek <jakub@redhat.com> - - * libbfd-in.h (_bfd_merge_section): New. - (_bfd_write_merged_section): New. - (_bfd_merged_section_offset): New. - * libbfd.h: Rebuilt. - * linker.c (_bfd_generic_link_output_symbols): Handle - discard_sec_merge. - * aoutx.h (aout_link_write_symbols): Likewise. - * pdp11.c (aout_link_write_symbols): Likewise. - * elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section. - (elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE - sections. - (elf_link_sec_merge_syms): New. - (elf_link_input_bfd): Call _bfd_merged_section_offset - and _bfd_write_merged_section. - Handle discard_sec_merge. - * elf-bfd.h (struct elf_link_hash_table): Add merge_info - field. - (struct bfd_elf_section_data): Likewise. - * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and - SEC_STRINGS section flags and entsize from their ELF counterparts. - (_bfd_elf_link_hash_table_init): Initialize merge_info. - (elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize - from their BFD counterparts. - * merge.c: New file. - * Makefile.am: Add strtab.lo. - * Makefile.in: Rebuilt. - -2001-04-09 Hans-Peter Nilsson <hp@axis.com> - - * elflink.h (elf_fix_symbol_flags): For non-default visibilities, - only hide symbols marked STV_INTERNAL or STV_HIDDEN. - -2001-04-05 Steven J. Hill <sjhill@cotw.com> - - * config.bfd (mips*el*-*-linux-gnu*): Use traditional little - endian MIPS ELF target. - * config.bfd (mips*-*-linux-gnu*): Use traditional big endian - MIPS ELF target. - - * configure.in (bfd_elf64_tradbigmips_vec): New. Traditional - 64bit big endian MIPS ELF target. - (bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little - endian MIPS ELF target. - * configure: Regenerated. - - * elf32-mips.c (IRIX_COMPAT): Handle traditional 64bit and - little endian targets. - (mips_elf_sym_is_global): Handle traditional targets. - - * elf64-mips.c (bfd_elf64_tradbigmips_vec): New. Traditional - 64bit big endian MIPS ELF target. - (bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little - endian MIPS ELF target. - - * targets.c: (_bfd_target_vector): Add bfd_elf64_tradbigmips_vec - and bfd_elf64_tradlittlemips_vec. - -2001-04-05 David Mosberger <davidm@hpl.hp.com> - - * elf32-i386.c (elf_i386_fake_sections): Treat ".reloc" as an - ordinary "progbits" section. - -2001-04-04 Alan Modra <alan@linuxcare.com.au> - - * elflink.h (elf_fix_symbol_flags): Call elf_backend_hide_symbol - when -Bsymbolic causes a symbol to no longer need a .plt entry. - -2001-04-03 David Mosberger <davidm@hpl.hp.com> - - * efi-app-ia32.c (ALIGN_SECTIONS_IN_FILE): Deleted. - -2001-03-30 H.J. Lu <hjl@gnu.org> - - * efi-app-ia32.c (PEI_TARGET_SUBSYSTEM): Rename from ... - (PEI_DEFAULT_TARGET_SUBSYSTEM): This. - -2001-03-26 H.J. Lu <hjl@gnu.org> - - * elf32-gen.c (elf32_generic_link_add_symbols): New. Check - if there are any relocations for generic ELF. - (bfd_elf32_bfd_link_add_symbols): Defined to - elf32_generic_link_add_symbols. - * elf64-gen.c (elf64_generic_link_add_symbols): New. Check - if there are any relocations for generic ELF. - (bfd_elf64_bfd_link_add_symbols): Defined to - elf64_generic_link_add_symbols. - -2001-03-23 Nick Clifton <nickc@redhat.com> - - * Makefile.am (BUILD_CFILES): New variable: List of C source - files created in build directory. - (BUILD_HFILES): New variable: List of header files created in - build directory. - (POTFILES): Delete. - (po/POTFILES.in): Replace rule with empty entry. - (po/SRC-POTFILES.in): New rule: Create a list of source files - in the source directory. - (po/BLD-POTFILES.in): New rule: Create a list of source files - in the build directory. - (MOSTLYCLEAN): Do not delete source files created in build - directory. - * Makefile.in: Regenerate. - * configure.in: Insert SRC-POTFILES.in and BLD-POTFILES.in - into po/Makefile. - * configure: Regenerate. - - * po/Make-in: Replace occurrences of POTFILES with SRC-POTFILES - and BLD_POTFILES. - Add .. to the search path when building bfd.pot. - Delete POTFILES when performing distclean. - Add comment describing why distclean is broken in maintainer mode. - * po/POTFILES.in: Delete. - * po/SRC-POTFILES.in: New file. - * po/BLD-POTFILES.in: New file. - * po/bfd.pot: Regenerate. - -2001-03-22 Hans-Peter Nilsson <hp@axis.com> - - * elf32-cris.c: Shlib and PIC support. PCREL tweaks. - (elf_cris_discard_copies, elf_cris_adjust_gotplt_to_got, - elf_cris_try_fold_plt_to_got, elf_cris_link_hash_newfunc, - elf_cris_link_hash_table_create, elf_cris_adjust_dynamic_symbol, - elf_cris_size_dynamic_sections, elf_cris_finish_dynamic_symbol, - elf_cris_finish_dynamic_sections,elf_cris_hide_symbol): New - functions. - (cris_elf_howto_table) <R_CRIS_8_PCREL, R_CRIS_16_PCREL, - R_CRIS_32_PCREL>: Correct comments. Set pcrel_offset to false. - <R_CRIS_COPY, R_CRIS_GLOB_DAT, R_CRIS_JUMP_SLOT, R_CRIS_RELATIVE, - R_CRIS_16_GOT, R_CRIS_32_GOT, R_CRIS_16_GOTPLT, R_CRIS_32_GOTPLT, - R_CRIS_32_GOTREL, R_CRIS_32_PLT_GOTREL, R_CRIS_32_PLT_PCREL>: - New HOWTO members for new relocs. - (cris_reloc_map): Map new relocs. - (ELF_DYNAMIC_INTERPRETER): Define. - (PLT_ENTRY_SIZE): Define. - (elf_cris_plt0_entry, elf_cris_plt_entry, elf_cris_pic_plt0_entry, - elf_cris_pic_plt_entry): New, PLT templates. - (struct elf_cris_pcrel_relocs_copied, struct - elf_cris_link_hash_entry, struct elf_cris_link_hash_table): New. - (elf_cris_link_hash_traverse, elf_cris_hash_table): Define. - (cris_final_link_relocate): Check that 16-bit GOT relocs have - positive values. Adjust PCREL relocs to be relative to location - after relocation. - (cris_elf_relocate_section): Handle relocations to dynamic - objects. Handle new relocations. Call error handler when seeing - non-PIC relocation for read-only sections while generating shared - object. - (cris_elf_check_relocs): Set reference counts for GOT and PLT - entries. - (bfd_elf32_bfd_link_hash_table_create, - elf_backend_adjust_dynamic_symbol, - elf_backend_size_dynamic_sections, - elf_backend_finish_dynamic_symbol, - elf_backend_finish_dynamic_sections, - elf_backend_create_dynamic_sections, bfd_elf32_bfd_final_link, - elf_backend_hide_symbol, elf_backend_want_got_plt, - elf_backend_plt_readonly, elf_backend_want_plt_sym, - elf_backend_got_header_size, elf_backend_plt_header_size): - Define. - - * reloc.c: (BFD_RELOC_CRIS_COPY, BFD_RELOC_CRIS_GLOB_DAT, - BFD_RELOC_CRIS_JUMP_SLOT, BFD_RELOC_CRIS_RELATIVE, - BFD_RELOC_CRIS_32_GOT, BFD_RELOC_CRIS_16_GOT, - BFD_RELOC_CRIS_32_GOTPLT, BFD_RELOC_CRIS_16_GOTPLT, - BFD_RELOC_CRIS_32_GOTREL, BFD_RELOC_CRIS_32_PLT_GOTREL, - BFD_RELOC_CRIS_32_PLT_PCREL): New relocs. - * bfd-in2.h, libbfd.h: Regenerate. - -2001-03-21 Diego Novillo <dnovillo@redhat.com> - - (_bfd_mips_elf_relocate_section): Give a better error message when - a relocation is not recognized. - -2001-03-21 Alan Modra <alan@linuxcare.com.au> - - * elf32-hppa.c (elf32_hppa_set_gp): Check sec->output_section - non-NULL before attempting to dereference. - -2001-03-20 H.J. Lu <hjl@gnu.org> - - * configure.in: Remove the redundent AC_ARG_PROGRAM. - * configure: Rebuild. - -2001-03-20 Andreas Schwab <schwab@suse.de> - - * elf32-m68k.c (elf_m68k_relocate_section): Don't need the - relocation value when resolving a reference from a debugging - section. - -2001-03-16 Scott Thomason <SThomaso@hii.com> - - * coff64-rs6000.c (xcoff64_swap_sym_out): Fix syntax errors. - (xcoff64_swap_sym_out): Fix syntax errors. - -2001-03-16 Richard Sandiford <rsandifo@redhat.com> - - * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix warning. - -2001-03-15 Alan Modra <alan@linuxcare.com.au> - - * elf32-hppa.c (elf32_hppa_link_hash_entry): Add maybe_pic_call. - (hppa_link_hash_newfunc): Init it. - (hppa_type_of_stub): Only use non-PIC to PIC call stub if caller - section appears to be non-PIC. - (final_link_relocate): Likewise. - (elf32_hppa_adjust_dynamic_symbol): Set maybe_pic_call for any - possible candidate function, and set pic_call for those that will - only have a .plt entry for the PIC call stub. - (hppa_handle_PIC_calls): Set maybe_pic_call. - -2001-03-12 DJ Delorie <dj@redhat.com> - - * elf32-sh.c (sh_elf_relocate_section): Only relocation - R_SH_DIR8WP* relocs if they're against external symbols, else - they're just for relaxing. Validate the reloc values. - -2001-03-12 Stefan Geuken <mail@stefan-geuken.de> - - * binary.c (bfd_external_binary_architecture): Declare. - (binary_object_p): If bfd_external_binary_architecture is defined, - set the architecture to this string. - -2001-03-11 Philip Blundell <philb@gnu.org> - - * elf32-arm.h (elf32_arm_finish_dynamic_symbol): Don't make PLT - entries that could serve as a definition for a weak symbol. - -2001-03-08 Nick Clifton <nickc@redhat.com> - - * Most files: Update copyright notices using Perl script created - by Kevin Buettner <kevinb@redhat.com>. - -2001-03-07 Nick Clifton <nickc@redhat.com> - - * elf32-arm.h (elf32_arm_final_link_relocate): Conditionalise - prior patch on ! defined OLD_ARM_ABI. - -2001-03-07 Andreas Jaeger <aj@suse.de> - - * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix handling of - some relocation values. - -2001-03-06 Nick Clifton <nickc@redhat.com> - - * elf32-arm.h (elf32_arm_final_link_relocate): Clear bit zero - of offset in BLX(1) instruction. - * coff-arm.c (coff_arm_relocate_section): Clear bit zero of - offset in BLX(1) instruction. - Fix formatting. - -2001-03-06 Nick Clifton <nickc@redhat.com> - - * coff-arm.c (coff_arm_reloc_type_lookup): Add - BFD_RELOC_THUMB_PCREL_BLX. - -2001-03-06 Igor Shevlyakov <igor@windriver.com> - - * archures.c (bfd_default_scan): Add Coldfire CPUs. - * bfd-in2.h: Regenerate. - * cpu-m68k.c: Add Coldfire CPUs for arch table. - * ieee.c (ieee_write_processor): Set proper id for - Coldfire CPUs. - -2001-03-01 D.J. Barrow <djbarrow@de.ibm.com,barrow_dj@yahoo.com> - - * configure.in: Add s390 target. - * configure: Regenerate. - -2001-02-28 Andreas Jaeger <aj@suse.de> - - * elf64-x86-64.c (elf64_x86_64_relocate_section): Add relocation - to addend. - -2001-02-28 Philip Blundell <pb@futuretv.com> - - * elf32-arm.h: Update mentions of renamed EF_xx constants. - (elf32_arm_print_private_bfd_data): Handle ARM EABI version 2. - -2001-02-27 H.J. Lu <hjl@gnu.org> - - * aoutx.h (NAME(aout,bfd_free_cached_info)): Return true if - abfd->tdata.aout_data == NULL. - -2001-02-27 Alan Modra <alan@linuxcare.com.au> - - * elf32-hppa.c: Correct field selector in stub comments. - (clobber_millicode_symbols): Formatting fix. - - * configure.in: Bump version to 2.11.90. - * configure: Regenerate. - * Makefile.am (CFILES): Rename to SOURCE_CFILES. - (CFILES): $SOURCE_CFILES + generated C files. - (POTFILES): Include $HFILES not $SOURCE_HFILES. - Run "make dep-am" - * Makefile.in: Regenerate. - * doc/Makefile.in: This too. - -2001-02-26 Timothy Wall <twall@cygnus.com> - - * elfxx-ia64.c (elfNN_ia64_aix_add_symbol_hook): Remove obsolete - comments. - -2001-02-26 Nick Clifton <nickc@redhat.com> - - * coffcode.h (styp_to_sec_flags) [COFF_WITH_PE version]: Tidy - up, replacing multiple if statements with a switch. - (handle_COMDAT): New function. - -2001-02-26 H.J. Lu <hjl@gnu.org> - - * coffcode.h (styp_to_sec_flags) [COFF_WITH_PE version]: Issue - a warning for section flags we do not handle instead of - aborting. - -2001-02-26 Andreas Jaeger <aj@suse.de> - - * elf64-x86-64.c (x86_64_elf_howto_table): Fix order of entries. - -2001-02-22 Timothy Wall <twall@cygnus.com> - - * config.bfd (targ_cpu): Add vectors for ia64-*-aix* (aka Monterey). - * configure.in: Add objects for elf64_ia64_aix vectors. - * configure: Regenerated. - * configure.host: Recognize ia64-*-aix*. - * elfxx-ia64.c: Add hooks for ELF64 on AIX5. Define new vectors - for AIX. AIX5 requires most relocations to be dynamic (*all* - binaries are somewhat similar to shared libraries). - * targets.c: Add elf64_ia64_aix vectors. - -2001-02-21 David Mosberger <davidm@hpl.hp.com> - - * cpu-ia64-opc.c (elf64_ia64_operands}: Fix typo: error string for - C8 said "1" instead of "8". Clarify error string for IMM22: - "signed integer" instead of just "integer". - -2001-02-20 Andreas Jaeger <aj@suse.de> - - * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Don't make - PLT entries that could serve as a definition for a weak symbol. - -2001-02-19 Jakub Jelinek <jakub@redhat.com> - - * elf32-sparc.c (elf32_sparc_finish_dynamic_symbol): Don't make PLT - entries that could serve as a definition for a weak symbol. - * elf64-sparc.c (sparc64_elf_finish_dynamic_symbol): Likewise. - -2001-02-18 David O'Brien <obrien@FreeBSD> - - * configure.in: Recognize FreeBSD/arm, FreeBSD/PowerPC, and treat - FreeBSD/i386-CURRENT differently until I can figure out the needed - corefile changes. - * configure: Regenerate. - * config.bfd: Recognize FreeBSD/x86-64, FreeBSD/ia64, FreeBSD/arm, - FreeBSD/PowerPC, and FreeBSD/sparc64. - -2001-02-18 lars brinkhoff <lars@nocrew.org> - - * Makefile.am: Add PDP-11 a.out target. - * config.bfd: Likewise. - * configure.in: Likewise. - * targets.c: Likewise. - * archures.c: Likewise. - * bfd-in2.h: Likewise. Add PDP-11 relocations. - * libbfd.h: Add PDP-11 relocations. - * reloc.c: Likewise. - * cpu-pdp11.c: New file. - * pdp11.c: New file. - - * libaout.h (GET_WORD) [ARCH_SIZE==16]: Define. - (GET_SWORD) [ARCH_SIZE==16]: Likewise. - (GET_SWORD) [ARCH_SIZE==16]: Likewise. - (PUT_WORD) [ARCH_SIZE==16]: Likewise. - (GET_MAGIC): New macro. - (PUT_MAGIC): Likewise. - * aout-target.h (MY(object_p)): Use GET_MAGIC to read magic word. - -2001-02-18 Jim Kingdon <jkingdon@engr.sgi.com> - - * irix-core.c (irix_core_core_file_p): Set the architecture (GDB - multiarch needs it). - -2001-02-18 H.J. Lu <hjl@gnu.org> - - * elflink.h (elf_link_input_bfd): Ignore invalid section symbol - index. - -2001-02-18 Kazu Hirata <kazu@hxi.com> - - * vms-misc.c: Fix formatting. - -2001-02-16 Kazu Hirata <kazu@hxi.com> - - * vms.c: Fix formatting. - -2001-02-14 H.J. Lu <hjl@gnu.org> - - * elf.c (elf_find_function): New function. - (_bfd_elf_find_nearest_line): Call elf_find_function () to find - the file name and function name. - -2001-02-14 Nick Clifton <nickc@redhat.com> - - * ecoff.c (bfd_debug_section): Update to initialise new fields in - asection structure. - - * Makefile.am (BFD32_BACKENDS_CFILES): Remove peigen.c - (BFD64_BACKENDS): Add pepigen.c - Add rules to create peigen.c and pepigen.c from peXXigen.c. - - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - * po/bfd.pot: Regenerate. - -2001-02-14 H.J. Lu <hjl@gnu.org> - - * libcoff-in.h (pe_tdata): Add members target_subsystem and - force_minimum_alignment. - -2001-02-14 Bo Thorsen <bo@suse.de> - - * elf64-x86-64.c: Small formatting fixes and rearrangements of code. - (elf64_86_64_size_info): Struct added to fix a problem - with the hashtable string entries. - (elf64_x86_64_adjust_dynamic_symbol): Add generation of .got.plt. - (elf64_x86_64_size_dynamic_sections): A FIXME removed. - (elf64_x86_64_size_dynamic_sections): Fix a dynamic entry and - remove the FIXME for this. - (elf64_x86_64_adjust_dynamic_symbol): Fix check for unneeded .plt - section. Also removed the FIXME for it. - (x86_64_elf_howto_table): Use bfd_elf_generic_reloc. - (ELF_DYNAMIC_INTERPRETER): Fix the name of the dynamic linker. - (elf64_x86_64_finish_dynamic_sections): Enable .got.plt writing. - -2001-02-13 Richard Henderson <rth@redhat.com> - - * elfxx-ia64.c (elfNN_ia64_final_link): Set __gp if required - and not user provided. - -2001-02-13 Kazu Hirata <kazu@hxi.com> - - * vms.c (vms_print_symbol): Remove unreachable code. - - * rs6000-core.c: Fix formatting. - -2001-02-13 David Mosberger <davidm@hpl.hp.com> - - * peicode.h (coff_swap_filehdr_out) [COFF_IMAGE_WITH_PE]: Define - as _bfd_XXi_only_swap_filehdr_out. - (pe_mkobject) [PEI_FORCE_MINIMUM_ALIGNMENT]: Set - pe->force_minimum_alignment to TRUE. - (pe_mkobject) [PEI_TARGET_SUBSYSTEM]: Set pe->target_subsystem to - PEI_TARGET_SUBSYSTEM. - (pe_print_private_bfd_data): Call - _bfd_XX_print_private_bfd_data_common() instead of - _bfd_pe_print_private_bfd_data_common(). - (pe_bfd_copy_private_bfd_data): Call - _bfd_XX_bfd_copy_private_bfd_data_common() instead of - _bfd_pe_bfd_copy_private_bfd_data_common(). - (coff_bfd_copy_private_section_data): Define as - _bfd_XX_bfd_copy_private_section_data instead of - _bfd_pe_bfd_copy_private_section_data. - (coff_get_symbol_info): Define as _bfd_XX_get_symbol_info instead - of a _bfd_pe_get_symbol_info. - - * peigen.c: Delete. - - * peXXigen.c: Renamed from peigen.c. - (COFF_WITH_XX): Define this macro (will get expanded into - COFF_WITH_pep or COFF_WITH_pe, depending on whether this is being - compiled as peigen.c or pepigen.c. - [COFF_WITH_pep]: Include "coff/ia64.h" instead of "coff/i386.h" to - define the canonical PEP structures and definitions. - (_bfd_XXi_swap_aouthdr_out): If pe->force_minimum_alignment is in - effect, enforce minimum file and section alignments. If - extra->Subsystem is IMAGE_SUBSYSTEM_UNKNOWN, set it to - pe->target_subsystem (this defaults to IMAGE_SUBSYSTEM_UNKNOWN, - so, by default, this is a no-op). - - * libpei.h: Rename COFF_WITH_PEP to COFF_WITH_pep. - (_bfd_XX_bfd_copy_private_bfd_data_common): Add macros to map - _bfd_XXfoo to _bfd_pepfoo if COFF_WIT_PEP is defined and to - _bfd_pefoo if it's not defined. Use these macros to define - coff swap macros. - - * libcoff.h (pe_tdata): Add members target_subsystem and - force_minimum_alignment. - - * efi-app-ia64.c (COFF_WITH_pep): Rename COFF_WITH_PEP to - COFF_WITH_pep. - (PEI_TARGET_SUBSYSTEM): Rename from PEI_DEFAULT_TARGET_SUBSYSTEM. - - * configure.in (bfd_efi_app_ia64_vec): Use pepigen.lo instead of - peigen.lo. - - * coff-ia64.c: Rename COFF_WITH_PEP to COFF_WITH_pep. - (AOUTSZ): Rename PEP64AOUTSZ and PEP64AOUTHDR to PEPAOUTSZ and - PEPAOUTHDR. - - * Makefile.in (BFD64_BACKENDS): Mention pepigen.lo. - (BFD64_BACKENDS_CFILES): Mention pepigen.c - (peigen.c): Add rule to generate from peXXigen.c. - (pepigen.c): Ditto. - (pepigen.lo): List dependencies for pepigen.lo. - -2001-02-13 Alan Modra <alan@linuxcare.com.au> - - * elf32-hppa.c (elf32_hppa_set_gp): Handle weak $global$. If - $global$ referenced but not defined, set its value here. - -2001-02-09 Bo Thorsen <bo@suse.de> - - * elf64-x86-64.c (elf64_x86_64_check_relocs): Set .rela.got section - alignment to 3. - (elf64_x86_64_check_relocs): Write R_X86_64_GOTPCREL GOT entry - and relocation. - (elf64_x86_64_relocate_section): Fix formatting. - (elf64_x86_64_relocate_section): Fix addend for relocation of - R_X86_64_(8|16|32|PC8|PC16|PC32). - -2001-02-12 Jan Hubicka <jh@suse.cz> - - * elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL. - -2001-02-11 H.J. Lu <hjl@gnu.org> - - * elflink.h (elf_bfd_final_link): Use file_align for SYMTAB - alignment. - -2001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * elf32-mips.c (mips_elf_create_dynamic_relocation): Undo patch - from 2000-10-13. Do not add the symbol's value for R_MIPS_REL32 - relocations against dynsym symbols. - - * elf32-mips.c (elf_mips_howto_table): Fix the comment on - the R_MIPS_26 relocation. - (mips_elf_calculate_relocation): Use (p + 4) instead of p for - the R_MIPS_26 relocation. - (mips_elf_perform_relocation): Fix the comment on the R_MIPS16_26 - relocation. - * elf64-mips.c (mips_elf64_howto_table_rel): Fix the comment on - the R_MIPS_26 relocation. - (mips_elf64_howto_table_rela): Likewise. - - * elf32-mips.c (struct mips_elf_link_hash_entry): Added no_fn_stub - member to mark symbols that have non-CALL relocations against - them. - (mips_elf_link_hash_newfunc): Initialize no_fn_stub. - (mips_elf_calculate_relocation): Handle R_MIPS_CALL16 like - R_MIPS_GOT16. - (_bfd_mips_elf_check_relocs): Set no_fn_stub for a symbol if a - non-CALL relocation against it is encountered. - (_bfd_mips_elf_copy_indirect_symbol): Merge no_fn_stub as well. - (_bfd_mips_elf_adjust_dynamic_symbol): Only create a stub if - no_fn_stub is not set. - - * elf32-mips.c (mips_elf_output_extsym): Get the output section - information from the real symbol for indirect ones. - Check no_fn_stub to find out if a symbol has a function stub - indeed. - -2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG> - - * Makefile.am (stamp-lib): ranlib the libbfd.a in the build directory. - * Makefile.in: Regenerate. - -2001-02-09 David Mosberger <davidm@hpl.hp.com> - - * elfxx-ia64.c (is_unwind_section_name): New function. Returns - true if section name is an unwind table section name. - (elfNN_ia64_additional_program_headers): Count each unwind section - separately. - (elfNN_ia64_modify_segment_map): Install one unwind program header - for each unwind separate section. Note: normally the linker - script merges the unwind sections that go into a single segment, - so this still generates at most one unwind program header per - segment. - - * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Accept any section - name for SHT_IA_64_UNWIND, not just .IA_64.unwind. - (elfNN_ia64_fake_sections): Mark sections with names that start - with .IA_64.unwind but not with .IA_64.unwind_info as an IA-64 - unwind section. - - * elfxx-ia64.c (elfNN_ia64_final_write_processing): New function. - Use it to make sh_info in unwind section point to the text section - it applies to. - -2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * Makefile.am: Add linux target for S/390. - * archures.c: Likewise. - * bfd-in2.h: Likewise. - * config.bfd: Likewise. - * configure.in: Likewise. - * elf.c: Likewise. - * libbfd.h: Likewise. - * targets.c: Likewise. - * cpu-s390.c: New file. - * elf32-s390.c: New file. - * elf64-s390.c: New file. - -2001-02-09 Nick Clifton <nickc@redhat.com> - - * peigen.c (_bfd_pe_get_symbol_info): Suppress addition of - ImageBase. This has already been done by coff_swap_hdr_in. - -2001-02-09 Jakub Jelinek <jakub@redhat.com> - - * elf64-sparc.c (sparc64_elf_copy_private_bfd_data): New function. - -2001-02-09 Jakub Jelinek <jakub@redhat.com> - - * elf64-sparc.c (sparc64_elf_check_relocs): Don't trust reloc_count. - (sparc64_elf_relocate_section): Likewise. - -2001-02-09 Mark Kettenis <kettenis@gnu.org> - - * elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32 - similar to R_SPARC_32. - * elf64-sparc.c (sparc64_elf_howto_table): Likewise. - -2001-02-08 H.J. Lu <hjl@gnu.org> - - * elf32-i386.c (elf_i386_check_relocs): Reserve R_386_PC32 - relocation entries for weak definitions when building DSO with - -Bsymbolic. - -2001-02-08 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Respect weakness - before visibility. Locally defined protected symbols are not - dynamic. - -2001-02-08 Geoffrey Keating <geoffk@redhat.com> - - * config.bfd: Enable coff64 for rs6000-*. Patch from - <hzoli@austin.ibm.com>. - -2001-02-07 Mark Elbrecht <snowball3@bigfoot.com> - - * coffgen.c (coff_find_nearest_line): If stabs info is successfully - found, do not attempt to find dwarf2 info before returning. - -2001-02-07 Jakub Jelinek <jakub@redhat.com> - - * elflink.h (is_global_symbol_definition): Rename to - is_global_data_symbol_definition and have it reject function - symbols. - (elf_link_is_defined_archive_symbol): Use renamed function. - -2001-02-07 Todd Vierling <tv@wasabisystems.com> - - * libbfd-in.h (bfd_target_vector): Change extern array to pointer. - * libbfd.h (bfd_target_vector): Likewise. - * targets.c (bfd_target_vector): Rename to _bfd_target_vector and - make static; create pointer reference named bfd_target_vector. - (_bfd_target_vector_entries): Calculate this based on the array - typed _bfd_target_vector. - -2001-02-06 H.J. Lu <hjl@gnu.org> - - * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Only hidden and - internal symbols are not dynamic. - * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise. - -2001-02-06 Nick Clifton <nickc@redhat.com> - - * Makefile.am (BFD64_BACKENDS_CFILES): Remove elf64-ia64.c, so - that it will not be pulled into the list of files that make up - po/POTFILES.in. - * Makefile.in: Regenerate. - * po/bfd.pot: Regenerate. - -2001-02-06 H.J. Lu <hjl@gnu.org> - - * peicode.h (coff_swap_filehdr_in): Remove the e_magic - checking. - (pe_bfd_object_p): Rewrite with external_PEI_DOS_hdr and - external_PEI_IMAGE_hdr. - -2001-02-06 Kazu Hirata <kazu@hxi.com> - - * elf-m10200.c: Fix formatting. - -2001-02-04 Nick Clifton <nickc@redhat.com> - - * elf32-v850.c (v850_elf_reloc): Do not convert reloc addend to PC - rel, it will be handled later on. - -2001-02-02 Fred Fish <fnf@ninemoons.com> - - * Makefile.in: Fix typo. - -2001-02-01 Kazu Hirata <kazu@hxi.com> - - * elf-m10300.c: Fix formatting. - -2001-01-30 Alan Modra <alan@linuxcare.com.au> - - * elf64-hppa.c (elf64_hppa_elf_get_symbol_type): New function. - (elf_backend_get_symbol_type): Define. - (elf64_hppa_object_p): Set architecture and machine from elf - header flags. - -2001-01-30 Curtis L. Janssen <cljanss@ca.sandia.gov> - - * elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2 - before mdebug. - -2001-01-26 Richard Henderson <rth@redhat.com> - - * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return false - for non-default visibility. - * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise, but - delete ugly macro and replace with pretty function. - -2001-01-25 Mark Elbrecht <snowball3@bigfoot.com> - - * coff-go32.c: Update copyright. - * coff-stgo32.c: Likewise. - * coff-go32.c (COFF_LONG_FILENAMES): Define. - * coff-stgo32.c (COFF_LONG_FILENAMES): Likewise. - * coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Remove .bss entry. - * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. - -2001-01-25 Kazu Hirata <kazu@hxi.com> - - * bfd-in2.h: Rebuild. - * libbfd.h: Likewise. - -2001-01-23 H.J. Lu <hjl@gnu.org> - - * bfd-in2.h: Rebuild. - -2001-01-23 H.J. Lu <hjl@gnu.org> - - * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_buf) - is NULL or PRIV(vms_rec) is outside of the buffer. - -2001-01-23 Kazu Hirata <kazu@hxi.com> - - * coff64-rs6000.c: Fix formatting. - * coff-arm.c: Likewise. - * coffgen.c: Likewise. - * cofflink.c: Likewise. - * coff-mcore.c: Likewise. - * coff-mips.c: Likewise. - * coff-pmac.c: Likewise. - * coff-ppc.c: Likewise. - * coff-rs6000.c: Likewise. - * elf32.c: Likewise. - * elf32-fr30.c: Likewise. - * elf32-i370.c: Likewise. - * elf32-i860.c: Likewise. - * elf32-m32r.c: Likewise. - * elf32-m68k.c: Likewise. - * elf32-mcore.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-sh.c: Likewise. - * elf32-v850.c: Likewise. - * elf64-alpha.c: Likewise. - * elf64-sparc.c: Likewise. - * elflink.c: Likewise. - * elflink.h: Likewise. - * elf-m10200.c: Likewise. - * elf-m10300.c: Likewise. - * elfxx-ia64.c: Likewise. - - * aoutx.h: Fix formatting. - * bfd.c: Likewise. - * bfd-in2.h: Likewise. - * bfd-in.h: Likewise. - * cpu-i386.c: Likewise. - * cpu-m68hc11.c: Likewise. - * dwarf2.c: Likewise. - * elf64-x86-64.c: Likewise. - * format.c: Likewise. - * freebsd.h: Likewise. - * hash.c: Likewise. - * hp300hpux.c: Likewise. - * hppabsd-core.c: Likewise. - * hpux-core.c: Likewise. - -2001-01-22 Bo Thorsen <bo@suse.de> - - * elf64-x86-64.c: Added PIC support for X86-64. - (elf64_x86_64_link_hash_newfunc): Function added. - (elf64_x86_64_link_hash_table_create): Likewise. - (elf64_x86_64_check_relocs): Likewise. - (elf64_x86_64_gc_mark_hook): Likewise. - (elf64_x86_64_gc_sweep_hook): Likewise. - (elf64_x86_64_adjust_dynamic_symbol): Likewise. - (elf64_x86_64_size_dynamic_sections): Likewise. - (elf64_x86_64_discard_copies): Likewise. - (elf64_x86_64_finish_dynamic_symbol): Likewise. - (elf64_x86_64_finish_dynamic_sections): Likewise. - (elf64_x86_64_relocate_section): Add relocation of PIC sections. - -2001-01-21 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * Makefile.am (install-data-local): Make use of $(DESTDIR). - * Makefile.in: Regenerate. - -2001-01-21 Kazu Hirata <kazu@hxi.com> - - * coff-a29k.c: Fix formatting. - -2001-01-19 H.J. Lu <hjl@gnu.org> - - * elf32-i386.c (elf_i386_check_relocs): Report files with bad - relocation section names. - (elf_i386_relocate_section): Report files with bad relocation - section names and return false. - -2001-01-17 Bo Thorsen <bo@suse.de> - - * targets.c: Alphabetize list of xvecs. - -2001-01-14 Alan Modra <alan@linuxcare.com.au> - - * config.bfd: Add linux target variant for elfxx-hppa. - * configure.in: Recognize bfd_elf32_hppa_linux_vec and - bfd_elf64_hppa_linux_vec. - * configure: Regenerate. - * elf64-hppa.c: Include elf64-target.h again to support linux - target variant. - (elf64_hppa_post_process_headers): Set ELFOSABI_LINUX for linux. - * elf32-hppa.c: Include elf32-target.h again to support linux - target variant. - (elf32_hppa_post_process_headers): New function. - (elf_backend_post_process_headers): Define. - * targets.c (bfd_target_vector): Add bfd_elf64_hppa_linux_vec and - bfd_elf32_hppa_linux_vec. - - * elf32-hppa.c (elf32_hppa_link_hash_table): Add text_segment_base, - and data_segment_base fields. - (elf32_hppa_link_hash_table_create ): Init them. - (elf32_hppa_check_relocs): Update comments. - (hppa_record_segment_addr): New function. - (elf32_hppa_relocate_section): Call it. - (final_link_relocate): Handle R_PARISC_SEGREL32. - (elf32_hppa_final_link): New function. - (bfd_elf32_bfd_final_link): Define to call it. - (hppa_unwind_entry_compare): New function. - * cache.c (bfd_open_file): Create files in write+read mode. - - * elf-hppa.h (elf_hppa_howto_table): Set bitsize value for - SEGREL32 and numerous other relocs. Change duplicate - R_PARISC_NONE relocs to R_PARISC_UNIMPLEMENTED. - - * opncls.c (bfd_fdopenr): Add parens like the comment says around - O_ACCMODE. - - * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Don't create - .plt entries for DT_INIT and DT_FINI. - (elf32_hppa_finish_dynamic_sections): Remove special handling of - DT_INIT and DT_FINI. - - * elf64-hppa.c (elf64_hppa_finish_dynamic_symbol): Use 16-bit - offsets for stub .plt access if wide mode. Check offset in range. - -2001-01-13 Nick Clifton <nickc@redhat.com> - - * elf32-fr30.c (fr30_elf_howto_table): Remove spurious blank - line. - - * coffcode.h (coff_canonicalize_reloc): Remove spurious blank - line. - -2001-01-12 Alan Modra <alan@linuxcare.com.au> - - * configure.in ([bfd_elf64_x86_64_vec]): Set target64. - * configure: Regenerate. - -2001-01-11 Peter Targett <peter.targett@arccores.com> - - * bfd-in2.h (bfd_architecture): Add bfd_mach_arc_5, - bfd_mach_arc_6, bfd_mach_arc_7, bfd_mach_arc_8 for ARC variants. - * cpu-arc.c (arch_info_struct): Add entries for variants. - (bfd_arc_arch) Set default to bfd_mach_arc_5. - (arc_get_mach) Don't assume machine names prefixed arc- before - testing. - * elf32-arc.c (arc_elf_object_p): Set machine number based on new - selections. - (arc_elf_final_write_processing) Likewise. - (ELF_MACHINE_CODE) Use EM_ARC. - -2001-01-10 Nick Clifton <nickc@redhat.com> - - * coff-arm.c (LOCAL_LABEL_PREFIX): Change definition to "". - -2001-01-07 Philip Blundell <philb@gnu.org> - - * README: Replace `bug-gnu-utils@gnu.org' with - `bug-binutils@gnu.org'. - -2001-01-04 Kazu Hirata <kazu@hxi.com> - - * som.c: Fix formatting. - -2001-01-03 Kazu Hirata <kazu@hxi.com> - - * ecoffswap.h: Fix formatting. - * elf-bfd.h: Likewise. - * elfarm-nabi.c: Likewise. - * elfarm-oabi.c: Likewise. - * elfcode.h: Likewise. - * elfcore.h: Likewise. - * elflink.c: Likewise. - * elflink.h: Likewise. - * elfxx-ia64.c: Likewise. - * elfxx-target.h: Likewise. - * libbfd.c: Likewise - * linker.c: Likewise. - * lynx-core.c: Likewise. - -2001-01-02 Kazu Hirata <kazu@hxi.com> - - * pc532-mach.c: Fix formatting. - * pe-arm.c: Likewise. - * pe-i386.c: Likewise. - * pe-mips.c: Likewise. - * pe-ppc.c: Likewise. - * pe-sh.c: Likewise. - * pei-mips.c: Likewise. - * pei-sh.c: Likewise. - * peicode.h: Likewise. - * ppcboot.c: Likewise. - * ptrace-core.c: Likewise. - -2001-01-01 Kazu Hirata <kazu@hxi.com> - - * reloc.c: Fix formatting. - * riscix.c: Likewise. - * rs6000-core.c: Likewise. - * xcoff-target.h: Likewise. - -2000-12-29 Hans-Peter Nilsson <hp@bitrange.com> - - * elfcode.h (elf_object_p): Also restore the bfd mach field on - error, by calling bfd_default_set_arch_mach with incoming - values. - -2000-12-26 Kazu Hirata <kazu@hxi.com> - - * vaxnetbsd.c: Fix formatting. - * versados.c: Likewise. - * vms-gsd.c: Likewise. - * vms-hdr.c: Likewise. - * vms-misc.c: Likewise. - -2000-12-25 Alexandre Oliva <aoliva@redhat.com> - - * archive.c (coff_write_armap): Don't write more than symbol_count - `archive_member_file_ptr's. - -2000-12-25 Kazu Hirata <kazu@hxi.com> - - * vms-tir.c: Fix formatting. - -2000-12-23 Kazu Hirata <kazu@hxi.com> - - * vms.c: Fix formatting. - * vms.h: Likewise. - -2000-12-21 Santeri Paavolainen <santtu@ssh.com> - - * vms-hdr.c: Include alloca.h if HAVE_ALLOCA_H is defined. - - * peicode.h (pe_ILF_object_p): Add const to import of TARGET_LITTLE_SYM. - - * elf32-m32r.c (m32r_elf_generic_reloc): Add cast to avoid (void *) - arithmetic. - - * elf32-fr30.c: Add casts to avoid (void *) arithmetic. - - * coffcode.h (styp_to_sec_flags): Add empty statement after label. - -2000-12-21 Richard Sandiford <rsandifo@redhat.com> - - * libbfd.c (bfd_get_bits): Added - (bfd_put_bits): Likewise - * bfd-in.h: Declared the above. - * bfd-in2.h: Regenerated. - -2000-12-20 Kazu Hirata <kazu@hxi.com> - - * targets.c: Fix formatting. - * tekhex.c: Likewise. - * trad-core.c: Likewise. - -2000-12-19 Kazu Hirata <kazu@hxi.com> - - * sco5-core.c: Fix formatting. - * section.c: Likewise. - * sparclinux.c: Likewise. - * sparclynx.c: Likewise. - * sparcnetbsd.c: Likewise. - * srec.c: Likewise. - * stabs.c: Likewise. - * stab-syms.c: Likewise. - * sunos.c: Likewise. - * syms.c: Likewise. - * sysdep.h: Likewise. - -2000-12-18 Nick Clifton <nickc@redhat.com> - - * coff-arm.c (EXTRA_S_FLAGS): Only define if not already - defined. - * epoc-pe-arm.c (EXTRA_S_FLAGS): Define. - * epoc-pei-arm.c (EXTRA_S_FLAGS): Define. - -2000-12-18 Nick Clifton <nickc@redhat.com> - - * vms-misc.c (_bfd_vms_get_record): Add default case to - file_format switch. - -2000-12-15 Miloslav Trmac <mitr@volny.cz> - - * elfcore.h (elf_core_file_p): Move to the start of the program - headers before attempting to read them. - -2000-12-14 Kazu Hirata <kazu@hxi.com> - - * peigen.c: Fix formatting. - * som.c: Likewise. - * som.h: Likewise. - -2000-12-13 Kazu Hirata <kazu@hxi.com> - - * peigen.c: Fix formatting. - -2000-12-12 Jim Wilson <wilson@redhat.com> - - * elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *. - -2000-12-08 Mark Salter <msalter@redhat.com> - - * binary.c (binary_set_section_contents): Ignore sections - with zero size. - -2000-12-12 Kazu Hirata <kazu@hxi.com> - - * m68klinux.c: Fix formatting. - * m68knetbsd.c: Likewise. - * mipsbsd.c: Likewise. - * netbsd-core.c: Likewise. - * netbsd.h: Likewise. - * newsos3.c: Likewise. - * nlm32-alpha.c: Likewise. - * nlm32-i386.c: Likewise. - * nlm32-ppc.c: Likewise. - * nlm32-sparc.c: Likewise. - * nlmcode.h: Likewise. - * nlmswap.h: Likewise. - * nlm-target.h: Likewise. - * ns32knetbsd.c: Likewise. - -2000-12-10 Fred Fish <fnf@be.com> - - * elflink.h (elf_link_output_extsym): Don't complain about undefined - symbols in shared objects if allow_shlib_undefined is true. - -2000-12-12 Nick Clifton <nickc@redhat.com> - - * cpu-sh.c: Fix formattng. - * elf.c: Fix formattng. - * elf32-mips.c: Fix formattng. - * elf32-sh.c: Fix formattng. - * elf64-alpha.c: Fix formattng. - -2000-12-09 Nick Clifton <nickc@redhat.com> - - * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Pass - dwarf2_find_line_info as last parameter to invocation of - _bfd_dwarf2_find_nearest_line. - * elf32-arm.h (elf32_arm_find_nearest_line): Pass - dwarf2_find_line_info as last parameter to invocation of - _bfd_dwarf2_find_nearest_line. - -2000-12-08 Mark Elbrecht <snowball3@bigfoot.com> - - * Makefile.am (BFD32_BACKENDS): Move dwarf2.lo from here... - (BFD_LIBS): ...to here. - (BFD32_BACKENDS_CFILES): Move dwarf2.c from here... - (BFD_LIBS_CFILES): ...to here. - * Makefile.in: Regenerate. - * configure.in: Remove dwarf.lo from the elf shell variable. - * configure: Regenerate. - * libcoff-in.h (coff_tdata): Add pointer dwarf2_find_line_info. - * libcoff.h: Regenerate. - * coffgen.c (coff_find_nearest_line): Call - _bfd_dwarf2_find_nearest_line. - * dwarf2.c (_bfd_dwarf2_find_nearest_line): Add parameter. Update - accordingly. - (read_abbrevs): Likewise - (decode_line_info): Likewise. - (parse_comp_unit): Likewise. - (comp_unit_find_nearest_line): Likewise. - * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Update prototype. - * libbfd.h: Regenerate. - * elf.c (_bfd_elf_find_nearest_line): Update call. - * elf-bfd.h (elf_obj_tdata): Change dwarf2_find_line_info to type PTR. - * dwarf2.c (concat_filename): Use IS_ABSOLUTE_PATH. - * coffcode.h (STYP_XCOFF_DEBUG, STYP_DEBUG_INFO): New macros. - (sec_to_styp_flags): Use them. Handle DWARF2 sections. - (styp_to_sec_flags): Handle DWARF2 sections. - * elf32-arm.h (elf32_arm_find_nearest_line): Add parameter to call - to _bfd_find_nearest_line. - * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Add parameter to - call to _bfd_find_nearest_line. - -2000-12-08 Kazu Hirata <kazu@hxi.com> - - * coffgen.c: Fix formatting. - * elf-m10300.c: Likewise. - * elf32-i386.c: Likewise. - * elf32-i960.c: Likewise. - * elf32-m68k.c: Likewise. - * elf32-mcore.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-sh.c: Likewise. - * elf32-sparc.c: Likewise. - * elf32-v850.c: Likewise. - * elf64-alpha.c: Likewise. - * elf64-hppa.c: Likewise. - * elf64-mips.c: Likewise. - * elf64-sparc.c: Likewise. - -2000-12-07 Kazu Hirata <kazu@hxi.com> - - * elf32-ppc.c: Fix formatting. - * elf64-x86-64.c: Likewise. - -2000-12-06 Ulf Carlsson <ulfc@engr.sgi.com> - - From Ralf Baechle <ralf@gnu.org> - - * elf32-mips.c (elf32_mips_merge_private_bfd_data): Always permit - BFDs containing no sections or empty .text, .data or .bss sections - to be merged, regardless of their flags. - -2000-12-06 Kazu Hirata <kazu@hxi.com> - - * elf32-m32r.c: Fix formatting. - * elf32-m68hc11.c: Likewise. - * elf32-m68hc12.c: Likewise. - * elf32-m68k.c: Likewise. - * elf32-mcore.c: Likewise. - * elf32-pj.c: Likewise. - * elf32-ppc.c: Likewise. - -2000-12-05 Kazu Hirata <kazu@hxi.com> - - * elf32-fr30.c: Fix formatting. - * elf32-hppa.c: Likewise. - * elf32-i370.c: Likewise. - * elf32-i386.c: Likewise. - * elf32-i860.c: Likewise. - * elf32-i960.c: Likewise. - -2000-12-03 Kazu Hirata <kazu@hxi.com> - - * elf32-arm.h: Fix formatting. - * elf32-avr.c: Likewise. - * elf32-cris.c: Likewise. - * elf32-d10v.c: Likewise. - * elf32-d30v.c: Likewise. - * elf-hppa.h: Likewise. - * elf-m10200.c: Likewise. - * elf-m10300.c: Likewise. - -2000-12-01 Chris Demetriou <cgd@sibyte.com> - - * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mips32 and - bfd_mach_mips32_4k. Update FIXME comment. - * archures.c (bfd_mach_mips32): New constant. - (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to - the latter, renumber it. - * bfd-in2.h (bfd_mach_mips32): New constant. - (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to - the latter, renumber it. - * cpu-mips.c (I_mips32): New constant. - (I_mips4K, I_mips32_4k): Rename the former to the latter. - (arch_info_struct): Add bfd_mach_mips32 entry, replace - bfd_mach_mips4K entry with bfd_mach_mips32_4k entry. - * elf32-mips.c (elf_mips_isa): Add E_MIPS_ARCH_32 case. - (elf_mips_mach): Likewise. Also, replace E_MIPS_MACH_MIPS32 - with E_MIPS_MACH_MIPS32_4K. - (_bfd_mips_elf_final_write_processing): Replace - bfd_mach_mips4K with bfd_mach_mips32_4k case, add - bfd_mach_mips32 case. - (_bfd_mips_elf_merge_private_bfd_data): Generalize ISA mixing - comparison with support for MIPS32. - (_bfd_mips_elf_print_private_bfd_data): Print ISA name for - MIPS32. - - * aoutx.h (NAME(aout,machine_type)): Add cases for - bfd_mach_mips5 and bfd_mach_mips64. - * archures.c (bfd_mach_mips5, bfd_mach_mips64): New constants. - * bfd-in2.h (bfd_mach_mips5, bfd_mach_mips64): Likewise. - * cpu_mips.c (I_mips5, I_mips64): New definitions. - (arch_info_struct): Add entries for bfd_mach_mips5 and - bfd_mach_mips64. - * elf32-mips.c (elf_mips_isa, elf_mips_mach, - _bfd_mips_elf_print_private_bfd_data): Add cases for - E_MIPS_ARCH_5 and E_MIPS_ARCH_64. - (_bfd_mips_elf_final_write_processing): Add cases for - bfd_mach_mips5 and bfd_mach_mips64. - - * aoutx.h (NAME(aout,machine_type)): Add a - bfd_mach_mips_sb1 case. - * archures.c (bfd_mach_mips_sb1): New constant. - * bfd-in2.h (bfd_mach_mips_sb1): New constant. - * cpu-mips.c (I_sb1): New constant. - (arch_info_struct): Add entry for bfd_mach_mips_sb1. - * elf32-mips.c (elf_mips_mach): Add case for - E_MIPS_MACH_SB1. - (_bfd_mips_elf_final_write_processing): Add case for - bfd_mach_mips_sb1. - -2000-12-01 Joel Sherrill <joel@OARcorp.com> - - * config.bfd (arm-*-rtems*, a29k-*rtems*): New targets. - (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets. - (sparc*-*-rtems*): Switched from a.out to ELF. - -2000-11-30 Jan Hubicka <jh@suse.cz> - - * Makefile.am (BFD64_BACKENDS): Add elf64-x86-64.lo - BFD64_BACKENDS_CFILES): Add elf64-x86-64.c - (elf64-x86-64.lo): Add dependencies. - * archures.c (DESCRIPTION): Add bfd_mach_x86_64, - bfd_mach_x86_64_intel_syntax. - * elf.c (prep_headers): Use EM_x86_64 for 64bit output. - * config.bfd (x86_64): Add. - * configure.in: Add support for bfd_elf64_x86_64_vec. - * cpu-i386.c (bfd_x86_64_arch_intel_syntax, bfd_x86_64_arch): Add. - (bfd_i386_arch, i8086_ar): Link in. - * elf64-x86-64.c: New file. - * reloc.c (ENUMDOC): Add BFD_RELOC_X86_64*. - * targets.c (bfd_elf64_x86_64_vec): Add. - (bfd_target_vect): Add bfd_elf64_x86_64_vec. - -2000-11-30 Kazu Hirata <kazu@hxi.com> - - * xcofflink.c: Fix formatting. - -2000-11-28 Kazu Hirata <kazu@hxi.com> - - * aoutx.h: Fix formatting. - * bfd-in.h: Likewise. - * bfd-in2.h: Likewise. - * cache.c: Likewise. - * cisco-core.c: Likewise. - * coff64-rs6000.c: Likewise. - * coffcode.h: Likewise. - * coffswap.h: Likewise. - * corefile.c: Likewise. - * elf32-mips.c: Likewise. - -2000-11-27 Kazu Hirata <kazu@hxi.com> - - * aout-adobe.c: Fix formatting. - * coff64-rs6000.c: Likewise. - * coffgen.c: Likewise. - * cofflink.c: Likewise. - -2000-11-27 Philip Blundell <pb@futuretv.com> - - * libcoff-in.h (coff_tdata): Add `strings_written' flag. - (obj_coff_strings_written): New accessor macro for above. - * libcoff.h: Regenerate. - * cofflink.c (_bfd_coff_final_link): Say that we wrote the - strings. - * coffcode.h (coff_write_object_contents): No need to write out - the string table if it's already been done. - -2000-11-22 Philip Blundell <pb@futuretv.com> - - * cofflink.c (_bfd_coff_generic_relocate_section): Don't object to - weak undefined symbols. - -2000-11-24 Nick Clifton <nickc@redhat.com> - - * archures.c (bfd_mach_arm_5TE): Define. - (bfd_mach_arm+XScale): Define. - * bfd-in2.h: Regenerate. - - * coff-arm.c (coff_arm_reloc_type_lookup): Accept - BFD_RELOC_ARM_PCREL_BLX. - - * coffcode.h (coff_set_flags): Set flags for 5t, 5te and - XScale machine numbers. - - * config.bfd (xscale-elf): Add target. - (xscale-coff): Add target. - - * cpu-arm.c: Add xscale machine name. - Add v5t, v5te and XScale machine numbers. - -2000-11-23 Kazu Hirata <kazu@hxi.com> - - * aix386-core.c: Fix formatting. - -2000-11-22 Jim Wilson <wilson@redhat.com> - - * coff-ia64.c (howto_table): Use EMPTY_HOWTO. - (in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters. - * cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise. - (ins_imms_scaled): Initialize sign_bit at function entry. - (elf64_ia64_operands): Add missing initializers. - * elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup, - elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections, - elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name, - elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff, - elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused - parameters. - (elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents, - and free_extsyms at function entry. - (elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result. - (elfNN_ia64_create_dynamic_sections): Delete unused local h. - (get_got): Delete unused local srel. - (elfNN_ia64_check_relocs): Initialize dynrel_type when declared. - (elfNN_ia64_relocate_section): Delete unused local dynindx. - -2000-11-21 Kazu Hirata <kazu@hxi.com> - - * coff-a29k.c: Fix formatting. - * coff-h8500.c: Likewise. - * coff-i960.c: Likewise. - * coff-ppc.c: Likewise. - * coff-rs6000.c: Likewise. - * coff-stgo32.c: Likewise. - * coff-tic54x.c: Likewise. - * coff-w65.c: Likewise. - * cpu-h8500.c: Likewise. - * cpu-hppa.c: Likewise. - * cpu-ns32k.c: Likewise. - * ecoff.c: Likewise. - * ecofflink.c: Likewise. - -2000-11-21 Nick Clifton <nickc@redhat.com> - - * elf32-sh.c (sh_elf_reloc_loop): Fix compile time warning, and - remove possibility of infinite loop. - -2000-11-20 Kazu Hirata <kazu@hxi.com> - - * aix386-core.c: Fix formatting. - * aout-adobe.c: Likewise. - * aout-arm.c: Likewise. - * aout-encap.c: Likewise. - * aout-ns32k.c: Likewise. - * aout-target.h: Likewise. - * aout-tic30.c: Likewise. - * aoutf1.h: Likewise. - * aoutx.h: Likewise. - * archive.c: Likewise. - * bfd-in.h: Likewise. - * bfd-in2.h: Likewise. - * bfd.c: Likewise. - * bout.c: Likewise. - -2000-11-17 H.J. Lu <hjl@gnu.org> - - * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create - pltoff entries for DT_INIT and DT_FINI. - (elfNN_ia64_final_link): Don't set DT_INIT/FINI entries. - (elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI - entries. - -2000-11-16 Richard Henderson <rth@redhat.com> - - * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs. - (allocate_dynrel_entries): Likewise. - (elfNN_ia64_relocate_section): Likewise. Set REL addends correctly. - (set_pltoff_entry): Likewise. - (ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB - (elfNN_ia64_reloc_type_lookup): Likewise. - (elfNN_ia64_install_value): Likewise. - (elfNN_ia64_relocate_section): Likewise. - * reloc.c (BFD_RELOC_IA64_SEGBASE): Remove. - (BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove. - -2000-11-16 Kazu Hirata <kazu@hxi.com> - - * cpu-a29k.c: Fix formatting. - * cpu-alpha.c: Likewise. - * cpu-arm.c: Likewise. - * cpu-avr.c: Likewise. - * cpu-d10v.c: Likewise. - * cpu-h8500.c: Likewise. - * cpu-hppa.c: Likewise. - * cpu-i370.c: Likewise. - * cpu-i386.c: Likewise. - * cpu-i960.c: Likewise. - * cpu-ia64-opc.c: Likewise. - * cpu-ia64.c: Likewise. - * cpu-m32r.c: Likewise. - * cpu-m68hc11.c: Likewise. - * cpu-m68hc12.c: Likewise. - * cpu-m68k.c: Likewise. - * cpu-m88k.c: Likewise. - * cpu-mips.c: Likewise. - * cpu-ns32k.c: Likewise. - * cpu-pj.c: Likewise. - * cpu-powerpc.c: Likewise. - * cpu-sh.c: Likewise. - * cpu-sparc.c: Likewise. - * cpu-tic54x.c: Likewise. - * cpu-v850.c: Likewise. - * cpu-vax.c: Likewise. - * cpu-w65.c: Likewise. - * cpu-we32k.c: Likewise. - * cpu-z8k.c: Likewise. - * dwarf1.c: Likewise. - * dwarf2.c: Likewise. - -2000-11-15 Kazu Hirata <kazu@hxi.com> - - * coff-arm.c: Fix formatting. - * coff-ppc.c: Likewise. - * coff-rs6000.c: Likewise. - * coff-sh.c: Likewise. - * coff-sparc.c: Likewise. - * coff-tic30.c: Likewise. - * coff-tic54x.c: Likewise. - * coff-tic80.c: Likewise. - * coff-w65.c: Likewise. - * coff-we32k.c: Likewise. - * coff-z8k.c: Likewise. - -2000-11-15 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc - section with the same ALLOC|LOAD flags as the source section. - -2000-11-14 Jakub Jelinek <jakub@redhat.com> - - * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used - by STO_ALPHA constants. - -2000-11-14 Kazu Hirata <kazu@hxi.com> - - * coff-pmac.c: Fix formatting. - * coff-ppc.c: Likewise. - -2000-11-13 H.J. Lu <hjl@gnu.org> - - * elflink.h (elf_link_add_object_symbols): Also add indirect - symbols for common symbols with the default version. - -2000-11-09 Philip Blundell <pb@futuretv.com> - - * section.c (STD_SECTION): Set gc_mark flag. - -2000-11-11 Kazu Hirata <kazu@hxi.com> - - * coff-i960.c: Likewise. - * coff-m68k.c: Likewise. - * coff-m88k.c: Likewise. - * coff-mcore.c: Likewise. - * coff-mips.c: Likewise. - -2000-11-11 Bernd Schmidt <bernds@cygnus.co.uk> - - * elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs. - -2000-11-10 Kazu Hirata <kazu@hxi.com> - - * coff-h8300.c: Fix formatting. - * coff-h8500.c: Likewise. - * coff-i386.c: Likewise. - * coff-i860.c: Likewise. - * coff-i960.c: Likewise. - * coff-ia64.c: Likewise. - -2000-11-09 Kazu Hirata <kazu@hxi.com> - - * archive.c: Fix formatting. - * archures.c: Likewise. - -2000-11-07 Richard Henderson <rth@redhat.com> - - * elfxx-ia64.c (elf64_ia64_final_link): New local unwind_output_sec. - Set it before bfd_elf64_bfd_final_link call. Use it after the call. - * section.c (bfd_set_section_contents): Call memcpy if - section->contents set and location not equal to contents plus offset. - -2000-11-08 Kazu Hirata <kazu@hxi.com> - - * bfd-in.h: Fix formatting. - * bfd-in2.h: Likewise. - * bfd.c: Likewise. - * binary.c: Likewise. - * bout.c: Likewise. - * coff-a29k.c: Likewise. - * coff-alpha.c: Likewise. - * coff-apollo.c: Likewise. - * coff-aux.c: Likewise. - -2000-11-07 Kazu Hirata <kazu@hxi.com> - - * aix386-core.c: Fix formatting. - * aoutf1.h: Likewise. - * aoutx.h: Likewise. - * archures.c: Likewise. - * armnetbsd.c: Likewise. - -2000-11-07 Alan Modra <alan@linuxcare.com.au> - - * coff-h8300.c (special): Adjust reloc address. - -2000-11-06 Steve Ellcey <sje@cup.hp.com> - - * archures.c (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32): Add defines - to differentiate elf32 and elf64 on ia64. - * bfd-in2.h: Regenerate. - * config.bfd: Add target for "ia64*-*-hpux*". - * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch. - * configure: Regenerate. - * cpu-ia64.c (bfd_ia64_elf32_arch): Add elf32 arch info structure. - * targets.c: Add bfd_target bfd_elf32_ia64_big_vec. - - * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects - from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo. - * Makefile.in: Regnerate. - * elf64-ia64.c: Deleted. - * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c. - -2000-11-06 Kazu Hirata <kazu@hxi.com> - - * aout-adobe.c: Fix formatting. - * aout-arm.c: Likewise. - * aout-cris.c: Likewise. - * aout-encap.c: Likewise. - * aout-ns32k.c: Likewise. - * aout-target.h: Likewise. - * aout-tic30.c: Likewise. - -2000-11-05 Philip Blundell <philb@gnu.org> - - * elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit - BFDs containing no sections to be merged, regardless of their flags. - -2000-11-04 Philip Blundell <philb@gnu.org> - - * elf32-arm.h (elf32_arm_relocate_section): Suppress error message - if a relocation for an undefined symbol also results in an - overflow. - -2000-11-06 Christopher Faylor <cgf@cygnus.com> - - * config.bfd: Add support for Sun Chorus. - -2000-11-05 David O'Brien <obrien@FreeBSD.org> - - * configure.in: Recognize alpha-*-freebsd*. - * configure: Regenerate. - -2000-11-02 Luciano Gemme <ishitawa@yahoo.com> - - * srec.c (CHUNK): Rename to DEFAULT_CHUNK. - (Chunk): New global variable set by a parameter in objcopy.c. - (S3Forced): New global variable set by a parameter in - objcopy.c. - (srec_set_section_contents): If S3Forced is true, always generate - S3 records. - (srec_write_section): Use 'Chunk' to limit maximum length of S - records. - -2000-11-02 Per Lundberg <plundis@chaosdev.org> - - * config.bfd: Add support for i[3456]86-chaosdev-storm-chaos. - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - * po/bfd.pot: Regenerate. - -2000-10-31 Philip Blundell <philb@gnu.org> - - * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle - EF_SOFT_FLOAT if it is defined. - -2000-10-27 Philip Blundell <philb@gnu.org> - - * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse - attempts to mix PIC code with non-PIC, just mark the output as - being position dependent. - (elf32_arm_merge_private_bfd_data): Likewise. Print an error - message for EF_SOFT_FLOAT mismatches. Display diagnostics for - all mismatches, not just the first one. - -2000-10-25 Chris Demetriou <cgd@sibyte.com> - - * ieee.c (ieee_archive_p): Plug one of many possible - memory leaks in error handling. - -2000-10-20 Jakub Jelinek <jakub@redhat.com> - - * elf32-sparc.c (elf32_sparc_merge_private_bfd_data, - elf32_sparc_object_p, elf32_sparc_final_write_processing): - Support v8plusb. - * elf64-sparc.c (sparc64_elf_merge_private_bfd_data, - sparc64_elf_object_p): Support v9b. - * archures.c: Declare v8plusb and v9b machines. - * bfd-in2.h: Ditto. - * cpu-sparc.c: Ditto. - -2000-10-16 Geoffrey Keating <geoffk@shoggoth.cygnus.com> - - * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location - of a GOT reloc. - - * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro. - (SYMBOL_CALLS_LOCAL): New macro. - (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL. - (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL. - (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL. - (ppc_elf_relocate_section): Use flag variable to determine - whether the relocation refers to a local symbol. - Test whether a PLTREL24 reloc will produce a reloc by looking - to see whether a PLT entry was made. - -2000-10-14 Geoffrey Keating <geoffk@shoggoth.cygnus.com> - - * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT - entries that could serve as a definition for a weak symbol. - -2000-10-13 Ulf Carlsson <ulfc@engr.sgi.com> - - From Ralf Baechle <ralf@gnu.org> - - * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument - local_p. Add symbol value only for non-R_MIPS_REL32 relocations - against local symbols. - (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01. - -2000-10-12 Alan Modra <alan@linuxcare.com.au> - - * section.c (struct sec): Add kept_section. - (struct bfd_comdat_info): Remove sec, we can use above. - (STD_SECTION): Add initializer. - (bfd_make_section_anyway): Init here too. - - * bfd-in2.h: Regenerate. - - * elflink.h (elf_link_add_object_symbols): Remove unnecessary - zeroing of `flags'. - (elf_link_input_bfd): Set all asection->symbol->value's here, and - fudge values for discarded link-once section symbols. - - * elf64-hppa.c: Include alloca-conf.h - -2000-10-11 Alan Modra <alan@linuxcare.com.au> - - * elf.c (swap_out_syms): Revert 2000-10-07 changes. - - * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg. - -2000-10-10 Alan Modra <alan@linuxcare.com.au> - - * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc. - -2000-10-10 Tom Rix <trix@redhat.com> - - * section.c (bfd_make_section_anyway): Release newsect ptr when - newsect->symbol fails to alloc. Use bfd_release instead of free. - -2000-10-09 Richard Henderson <rth@cygnus.com - - * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New. - (elf64_ia64_unwind_entry_compare): New. - (elf64_ia64_final_link): Sort the .IA_64.unwind section. - -2000-10-07 Alan Modra <alan@linuxcare.com.au> - - * elflink.h (size_dynamic_sections): Don't create various tags if - .dynstr is excluded from the link. Don't set first dynsym entry - if dynsymcount is zero. - (elf_bfd_final_link): Don't try to swap out dynamic syms if - .dynsym excluded from the link. Don't try to write any dynamic - sections excluded from the link. - - * elf.c (swap_out_syms): Handle global section symbols. - -2000-10-05 DJ Delorie <dj@redhat.com> - - * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs - * coffcode.h (coff_set_alignment_hook): read extended reloc count - (coff_write_relocs): write extended reloc count - (coff_write_object_contents): account for extended relocs - -2000-10-05 Jim Wilson <wilson@cygnus.com> - - * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags - field. - * elf.c (_bfd_elf_make_section_from_shdr): Call the - elf_backend_section_flags function. - * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion - code. - (elf64_ia64_section_flags): New function containing flag conversion - code. - (elf_backend_section_flags): Define to elf64_ia64_section_flags. - * elfxx-target.h (elf_backend_section_flags): Define. - (elfNN_bed): Initialize elf_backend_section_flags field. - -2000-10-02 Alan Modra <alan@linuxcare.com.au> - - * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to - _bfd_elf32_gc_record_vtable. Correct a comment. - -2000-10-01 Ulf Carlsson <ulfc@engr.sgi.com> - - From Ralf Baechle <ralf@gnu.org> - - * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld - produces binaries with got[1] = 0x80000001 to differenciate them - for the dynamic linker from the broken binaries produced by old - versions. - -2000-09-30 Petr Sorfa <petrs@sco.com> - - * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t. - (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t. - * configure.in: Add check for pxstatus_t and lwpxstatus_t. - * configure: Regenerate. - -2000-09-27 Hans-Peter Nilsson <hp@axis.com> - - Define two bfd_targets for absence and presence of leading - underscore on symbols. Make sure to only link same kind. - * elf32-cris.c (cris_elf_object_p, - cris_elf_final_write_processing, cris_elf_print_private_bfd_data, - cris_elf_merge_private_bfd_data): New. - (elf_backend_object_p, elf_backend_final_write_processing, - bfd_elf32_bfd_print_private_bfd_data, - bfd_elf32_bfd_merge_private_bfd_data): Define. - <Target vector definition>: Include elf32-target.h twice with - different macro settings: - (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as - bfd_elf32_us_cris_vec. - (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris". - (elf_symbol_leading_char): First as 0, then '_'. - (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h. - * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs. - * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector. - * configure: Regenerate. - * targets.c: Declare bfd_elf32_us_cris_vec. - * po/bfd.pot: Regenerate. - -2000-09-29 Momchil Velikov <velco@fadata.bg> - - * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for - R_ARM_THM_PC22 relocations. - -2000-09-29 NIIBE Yutaka <gniibe@chroot.org> - - * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath. - -2000-09-29 Momchil Velikov <velco@fadata.bg> - - * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if - is has the SEC_HAS_CONTENTS flag set. - -2000-09-28 Örjan Friberg <orjanf@axis.com> - Hans-Peter Nilsson <hp@axis.com> - - * aout-cris.c (N_TXTADDR): Define. - -2000-09-28 John David Anglin <dave@hiauly1.hia.nrc.ca> - - * som.c: Include alloca-conf.h. - * Makefile.am: "make dep-am" - * Makefile.in: Regenerate. - -2000-09-27 Alan Modra <alan@linuxcare.com.au> - - * elf32-hppa.c (plt_stub): New. - (PLT_STUB_ENTRY): Define. - (elf32_hppa_link_hash_table): Change multi_subspace to packed - boolean. Add need_plt_stub, has_12bit_branch and has_17bit_branch. - (elf32_hppa_link_hash_table_create): Init to suit. - (elf32_hppa_check_relocs): Set has_12bit_branch and - has_17bit_branch as appropriate. - (elf32_hppa_adjust_dynamic_symbol): Set need_plt_stub for - non-local functions. - (elf32_hppa_size_dynamic_sections): Correct setting of reltext. - Add space for plt_stub as needed. - (elf32_hppa_finish_dynamic_symbol): Point .plt entries for global - functions at plt_stub. - (elf32_hppa_finish_dynamic_sections): Write plt_stub. - (elf32_hppa_create_dynamic_sections): Leave .plt executable. - - * elf32-hppa.h (elf32_hppa_size_stubs): Add group_size param. - * elf32-hppa.c (elf32_hppa_size_stubs): Likewise. Use it instead - of fixed size, and if negative, disable handling of input sections - before stub section. Set up default stub group size depending - on detected branch relocs. - (hppa_build_one_stub): Use lrsel and rrsel for import stubs to - ensure different offsets from sym_value aren't rounded to - different 2k blocks. Use lrsel and rrsel for other stubs too for - consistency rather than necessity. - (elf32_hppa_check_relocs): Handle R_PARISC_DIR14F. - (final_link_relocate): Likewise. - (elf32_hppa_relocate_section): Likewise. - - * elf-hppa.h (elf_hppa_howto_table): Add R_PARISC_DIR14F reloc. - (_bfd_elf_hppa_gen_reloc_type): Generate them. - (elf_hppa_final_link_relocate): Handle them. - (elf_hppa_relocate_insn): Likewise. - (_bfd_elf_hppa_gen_reloc_type): Add missing e_ldsel and e_rdsel cases. - -2000-09-26 Hans-Peter Nilsson <hp@axis.com> - - * elfcode.h (elf_object_p): Preserve and clear abfd section - information. Restore at error. - -2000-09-26 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> - - * peigen.c (_bfd_pei_swap_aouthdr_in): If some DataDirectory - is empty, make sure that its rva also 0. NT loader dislikes - having otherwise. - -2000-09-26 Steve Ellcey <sje@cup.hp.com> - - * som.c (som_bfd_derive_misc_symbol_info): Make weak symbols - global by default. - -2000-09-21 Alan Modra <alan@linuxcare.com.au> - - * elf32-hppa.c (elf32_hppa_check_relocs): Fix weak sym handling in - currently unused RELATIVE_DYNAMIC_RELOCS code. - (hppa_discard_copies): Likewise. - (elf32_hppa_size_stubs): Size `input_list' array correctly. Correct - comments. Don't check non-code output sections for stub grouping. - -2000-09-20 Alan Modra <alan@linuxcare.com.au> - - * section.c (bfd_get_unique_section_name): Return NULL if - bfd_malloc fails. - -2000-09-19 Michael Sokolov <msokolov@ivan.Harhan.ORG> - - * elf32-m68k.c (elf_cpu32_plt0_entry): Change the PLT entry 0 - instruction sequence to actually work. - (elf_m68k_finish_dynamic_sections): Change the patch-in offset - accordingly. - -2000-09-18 Alexandre Oliva <aoliva@redhat.com> - - * elf32-sh.c (sh_elf_relocate_section): Use - _bfd_final_link_relocate to apply the relocation against a section - symbol, when doing relocatable links. - -2000-09-18 Alan Modra <alan@linuxcare.com.au> - - * elf32-hppa.c (elf32_hppa_stub_hash_entry): Rename input_section - to id_sec. - (stub_hash_newfunc): Here too. - (hppa_add_stub): And here. - (elf32_hppa_link_hash_table): Remove stub_section_created, - reloc_section_created, first_init_sec and first_fini_sec. Add - stub_group. - (elf32_hppa_link_hash_table_create): Init to suit. - (hppa_get_stub_entry): Add support for grouping stub sections. - (hppa_add_stub): Likewise. Remove sec_count param and init/fini - section code. Index stub vars by section->id. - (elf32_hppa_size_stubs): Likewise. Remove duplicated function - exit paths. Zap allocation of above removed vars. Refine - link-once test. - - * elf32-hppa.h (elf32_hppa_size_stubs): Add output_bfd param. - * elf32-hppa.c (elf32_hppa_size_stubs): Likewise. - (hppa_get_stub_entry): Pass in pointer to elf32_hppa_link_hash_table - rather than pointer to bfd_link_info. - (hppa_add_stub): Likewise. - (final_link_relocate): Likewise. - -2000-09-17 David Huggins-Daines <dhd@linuxcare.com> - - (elf32_hppa_size_stubs): Don't try to build stubs for discarded - link-once sections. - -2000-09-16 Alexandre Oliva <aoliva@redhat.com> - - * elf32-sh.c (ELF_MAXPAGESIZE): Define to 128, to match - ld/emulparams/shelf.sh. - -2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG> - - * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): New function. - * bfd-in.h (bfd_m68k_elf32_create_embedded_relocs): Add declaration. - * bfd-in2.h: Regenerate. - -2000-09-15 Kenneth Block <Kenneth.Block@compaq.com> - - * elf64-alpha.c (elf64_alpha_relax_with_lituse): ld performs - LITUSE relocations incorrectly if -relax is specified on the ld - command line and the displacement field of the load or store - instruction is non-zero. (Patch by paul.winalski@compaq.com) - -2000-09-15 Alan Modra <alan@linuxcare.com.au> - - * elf32-hppa.c (hppa_add_stub): Dont set first_init_sec and - first_fini_sec here. - (elf32_hppa_size_stubs): Instead correctly find the first .init - and .fini section here. - -2000-09-15 David Huggins-Daines <dhd@linuxcare.com> - - * elf32-hppa.c (clobber_millicode_symbols): New function. - (elf32_hppa_size_dynamic_sections): Call it. - -2000-09-14 Alan Modra <alan@linuxcare.com.au> - - * elf32-hppa.c (elf32_hppa_link_hash_entry): Make pic_call - packed. Add plabel, plt_abs packed booleans. - (hppa_link_hash_newfunc): Init new fields. - (PLABEL_PLT_ENTRY_SIZE): Define. - (hppa_stub_name): Use size_t len vars. - (hppa_add_stub): Likewise. - (elf32_hppa_build_stubs): Likewise. - (hppa_build_one_stub): Kill some compiler warnings. - (elf32_hppa_check_relocs): Always generate a plt entry for PLABELs - if dynamic linking. Munge the local plt offsets into - local_got_refcounts. Set h->plabel for all global PLABELs. Use - size_t len vars. Add assert for plabel addend. - (elf32_hppa_gc_sweep_hook): Sweep local plt entries too. - (elf32_hppa_hide_symbol): New function. - (elf_backend_hide_symbol): Define. - (elf32_hppa_adjust_dynamic_symbol): Don't throw away plt entries - with h->plabel set. Don't make plt entries to have dynamic syms - when they have been forced local. If plt entry is used by a - plabel, make it PLABEL_PLT_ENTRY_SIZE. - (elf32_hppa_size_dynamic_sections): Set plt_abs for init fns. - Set up .plt offsets for local syms. - (elf32_hppa_relocate_section): Initialise plt entries for local - syms. Leave weak undefined plabels zero. Make global plabel - relocs against function symbol, and leave the addend zero. - Use *ABS* DIR32 relocs instead of SEGREL32 for dynamic got relocs. - (elf32_hppa_finish_dynamic_symbol): Set up IPLT relocs for - non-dynamic syms. Init extra plt for plabels. Use *ABS* DIR32 - relocs instead of SEGREL32 for dynamic got relocs. - (elf32_hppa_finish_dynamic_sections): Reserve one more .got entry. - (elf_backend_got_header_size): Adjust. - (elf32_hppa_set_gp): Calculate an "ideal" LTP. - - * elf32-hppa.c (LONG_BRANCH_VIA_PLT): Define. - (hppa_type_of_stub): Use it instead of #if 0 - (hppa_discard_copies): Use it here too. - (elf32_hppa_size_dynamic_sections): And here. - - * elf32-hppa.c (elf32_hppa_link_hash_table): Remove `offset' field. - (elf32_hppa_link_hash_table_create): And here. - (hppa_build_one_stub): And here. Instead keep track of stub - offset using _raw_size. - (elf32_hppa_size_stubs): Likewise. - (elf32_hppa_build_stubs): Likewise. - (hppa_size_one_stub): Likewise. Resize reloc section too. - - * elf32-hppa.c (hppa_add_stub): Correct first_init_sec and - first_fini_sec handling. Don't search for reloc section or set - hplink->reloc_section_created here. - (elf32_hppa_size_stubs): Instead search for reloc sections, and - set reloc_section_created here. - (hppa_handle_PIC_calls): Set ELF_LINK_HASH_NEEDS_PLT. - (elf32_hppa_size_dynamic_sections): Make a .plt entry for DT_INIT - and DT_FINI. - (elf32_hppa_finish_dynamic_sections): Set DT_INIT and DT_FINI. - - * elf32-hppa.c (hppa_build_one_stub): Replace `elf_hash_table (info)' - with `hplink->root.'. - (elf32_hppa_check_relocs): Likewise. - (elf32_hppa_gc_sweep_hook): Likewise. - (elf32_hppa_adjust_dynamic_symbol): Likewise. - (hppa_handle_PIC_calls): Likewise. - (elf32_hppa_size_dynamic_sections): Likewise. - (elf32_hppa_set_gp): Likewise. - (elf32_hppa_relocate_section): Likewise. - (elf32_hppa_finish_dynamic_symbol): Likewise. - (elf32_hppa_finish_dynamic_sections): Likewise. - - From David Huggins-Daines <dhd@linuxcare.com> - * elf32-hppa.c (hppa_type_of_stub): Generate import stubs for - defined weak symbols in shared links. - (final_link_relocate): Calls to defined weak symbols in shared - objects must go via import stubs, as the target might not be known - at link time. - -2000-09-14 Alexandre Oliva <aoliva@redhat.com> - - * elf32-sh.c (sh_elf_howto_table): Moved R_SH_GOT32, R_SH_PLT32, - R_SH_COPY, R_SH_GLOB_DAT, R_SH_JMP_SLOT, R_SH_RELATIVE, - R_SH_GOTOFF, R_SH_GOTPC) to the range from 160 to 167. Replaced - the original entries with EMPTY_HOWTOs, and added new ones to fill - in the gap. - (sh_elf_info_to_howto): Make sure the new gap isn't used. - (sh_elf_relocate_section): Likewise. - -2000-09-13 Anders Norlander <anorland@acc.umu.se> - - * cpu-mips.c (arch_info_struct): Add mips:4K - * bfd-in2.h (bfd_mach_mips4K): New define. - * archures.c: Add bfd_mach_mips4K to comment. - * elf32-mips.c (_bfd_mips_elf_final_write_processing): Return - E_MIPS_ARCH_2 for bfd_mach_mips4K. - -2000-09-13 Marco Franzen <marcof@thyron.com> - - * som.c (som_write_symbol_strings): Do not used fixed buffers, - use size_t as a counter. - (som_write_space_strings): Similarly. - -2000-09-12 Jason Eckhardt <jle@cygnus.com> - - * elf32-i860.c (elf32_i860_relocate_pc26): New function - and prototype. - (elf32_i860_relocate_section): Invoke new function from here. - -2000-09-11 Michael Sokolov <msokolov@ivan.Harhan.ORG> - - * elf.c (_bfd_elf_make_section_from_shdr): Make debug_sec_names - static. - -2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG> - - * coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): Emit 8 NULs for - target section name instead of dumping core when the target symbol is - undefined. - -2000-09-09 Kazu Hirata <kazu@hxi.com> - - * riscix.c: Remove DEFUN. - -2000-09-08 Nick Clifton <nickc@redhat.com> - - * elf32-arm.h (elf32_arm_merge_private_bfd_data): Do not - initialise flags in output bfd if the input bfd is the default - architecture with the default flags. - -2000-09-08 Kazu Hirata <kazu@hxi.com> - - * archive.c: Fix formatting. - * coff-arm.c: Likewise. - * doc/chew.c: Likewise. - -2000-09-08 Alan Modra <alan@linuxcare.com.au> - - * section.c (bfd_get_unique_section_name): Put a dot before the - numeric suffix. - -2000-09-07 Kazu Hirata <kazu@hxi.com> - - * doc/chew.c: Remove all uses of DEFUN and DEFUN_VOID. - * elf.c: Fix formatting. - -2000-09-07 Alexandre Oliva <aoliva@redhat.com> - - * config.bfd (sh-*-linux*): Added. - * configure.in (bfd_elf32_shlin_vec, bfd_elf32_shblin_vec): New. - * targets.c: Declare them. - * elf32-sh-lin.c: New file. - * Makefile.am: Compile it. - * elf32-sh.c: Don't override defines from elf32-sh-lin.c. - * configure, Makefile.in: Rebuilt. - -2000-09-06 Geoffrey Keating <geoffk@cygnus.com> - - * xcofflink.c (xcoff_link_input_bfd): Include the .tocbss - pseduo-section when determining where the TOC ends. - - * coff-rs6000.c (_bfd_xcoff_swap_aux_out): Use bfd_h_put_16 to - output x_tvndx as it is only two bytes wide. - - * coff-rs6000.c (xcoff_howto_table): A modifiable branch-absolute - reloc is 26 or 32 bits wide. - - * coff-rs6000.c (_bfd_xcoff_rtype2howto): The bitsize is irrelevant - for relocs that don't change anything. Also look at the full - 6 bits of bitsize. - -2000-09-06 Philip Blundell <philb@gnu.org> - - * config.bfd (arm*-*-uclinux*): New target. - -2000-09-06 Alexandre Oliva <aoliva@redhat.com> - - * configure: Rebuilt with new libtool.m4. - -2000-09-06 Alan Modra <alan@linuxcare.com.au> - - * section.c (bfd_get_unique_section_name): Avoid c++ reserved - word for variable name. - * bfd-in2.h: Regenerate. - -2000-09-05 Nick Clifton <nickc@redhat.com> - - * config.in: Regenerate. - * libbfd.h: Regenerate. - * po/bfd.pot: Regenerate. - * doc/bfdint.texi: Remove CVS date string - it foils compares with - local versions. - -2000-09-05 Steven Johnson <sbjohnson@ozemail.com.au> - - * cpu-powerpc.c (arch_info_struct): Added MPC860 Family entry. - -2000-09-05 Alan Modra <alan@linuxcare.com.au> - - Shared library and PIC support. - * elf32-hppa.c (PLT_ENTRY_SIZE): New. - (GOT_ENTRY_SIZE): New. - (ELF_DYNAMIC_INTERPRETER): New. - (STUB_SUFFIX): Define. - (LONG_BRANCH_PIC_IN_SHLIB): Define. - (RELATIVE_DYNAMIC_RELOCS): Define. - (enum elf32_hppa_stub_type): New. - (struct elf32_hppa_stub_hash_entry): Rename offset to - stub_offset. Add a number of new fields. - (struct elf32_hppa_link_hash_entry): New. - (struct elf32_hppa_link_hash_table): Add numerous fields. Remove - global_value. - (elf32_hppa_hash_table): Rename to hppa_link_hash_table. - (elf32_hppa_stub_hash_lookup): Rename to hppa_stub_hash_lookup. - (elf32_hppa_stub_hash_newfunc): Rename to stub_hash_newfunc. Init - new fields. - (hppa_link_hash_newfunc): New function. - (elf32_hppa_link_hash_table_create): Use above function. Init new - fields. - (elf32_hppa_stub_name): Rename to hppa_stub_name. Pass in reloc - instead of addend, and remove sym_name from args. Don't use - symbol name for local syms, instead use sym index. - (elf32_hppa_size_of_stub): Rename to hppa_type_of_stub, and return - stub type rather than size. Pass in hash and handle import stub - case. Also pass in reloc instead of offset so we can calculate - PCREL22F and PCREL12F branches properly. - (elf32_hppa_build_one_stub): Rename to hppa_build_one_stub. Build - import and export stubs too. - (elf32_hppa_size_one_stub): Rename to hppa_size_one_stub. Handle - import and export stub sizing. - (elf32_hppa_check_relocs): New function. - (elf32_hppa_adjust_dynamic_symbol): New function. - (hppa_discard_copies): New function. - (elf32_hppa_size_dynamic_sections): New function. - (elf_backend_size_dynamic_sections): Define. - (elf32_hppa_finish_dynamic_symbol): New function. - (elf_backend_finish_dynamic_symbol): Define. - (elf32_hppa_size_stubs): Stash params in link hash table, and move - some local vars into the link hash table too. For shared links, - trundle over function syms, generating export stubs. Handle - PCREL22F branches. Break out stub creation code from here.. - (hppa_add_stub): .. to here. New function. - (elf32_hppa_final_link): Rename to elf32_hppa_set_gp, and don't - call the bfd linker. Use elf_gp to record global pointer. - Calculate a value from sections if $global$ is missing. - (bfd_elf32_bfd_final_link): Define as _bfd_elf32_gc_common_final_link. - (elf32_hppa_gc_mark_hook): New function. - (elf_backend_gc_mark_hook): Define. - (elf32_hppa_gc_sweep_hook): New function. - (elf_backend_gc_sweep_hook): Define. - (elf32_hppa_bfd_final_link_relocate): Rename to final_link_relocate. - Add rel to args, and remove howto, input_bfd, offset, addend, - sym_name as we can recalculate these locally. Handle calls to - dynamic objects, extra PIC relocs, PCREL22F branches. Change - handling of undefined weak syms. Check that stubs are in range. - Only look for import stubs on PCREL17F and PCREL22F relocs. Add - message on hitting a DPREL21L reloc that needs fixing. Subtract - off PC for PCREL14F. Break out code that does a stub lookup from - here.. - (hppa_get_stub_entry): ..to here. New function. - (elf32_hppa_relocate_insn): Merge into final_link_relocate. - (elf32_hppa_relocate_section): Handle got and plt relocs, dynamic - relocs, etc. etc. - (elf32_hppa_finish_dynamic_sections): New function. - (elf_backend_finish_dynamic_sections): Define. - (elf_backend_final_write_processing) Define. - (hppa_handle_PIC_calls): New function. - (elf32_hppa_build_stubs): Call it. Pass link_info to - hppa_build_one_stub. - (elf32_hppa_create_dynamic_sections): New function - to create .plt and .got then set .plt flags correctly. - (elf_backend_create_dynamic_sections): Define. - (elf32_hppa_object_p): New function. - (elf_backend_object_p): Define. - (elf32_hppa_elf_get_symbol_type): New function. - (elf_backend_get_symbol_type): Define. - (elf_backend_can_gc_sections): Define. - (elf_backend_want_got_plt): Define. - (elf_backend_plt_alignment): Set to 2. - (elf_backend_plt_readonly): Define. - (elf_backend_want_plt_sym): Define. - (elf_backend_got_header_size): Reserve one entry. - - * elf32-hppa.h (elf32_hppa_build_stubs): Don't pass stub bfd. - (elf32_hppa_size_stubs): Pass in multi_subspace. - (elf32_hppa_set_gp): Declare. - - * section.c (SEC_HAS_GOT_REF): Define new flag for asection. - (bfd_get_unique_section_name): New function. - * bfd-in2.h: Regenerate. - - * elf64-hppa.c (elf64_hppa_check_relocs): Handle R_PARISC_PCREL12F. - (elf64_hppa_size_dynamic_sections): Remove the FIXME at bfd_zalloc - comment. - - From David Huggins-Daines <dhd@linuxcare.com> - * elf64-hppa.c (elf64_hppa_check_relocs): Fix a warning. - (elf64_hppa_mark_exported_functions): Set dyn_h->st_shndx. - (elf64_hppa_link_output_symbol_hook): Test dyn_h->st_shndx has - been updated in finish_dynamic_symbol before modifying function - symbol. - - * elf-hppa.h (elf_hppa_howto_table): Restructure into groups of - eight entries. Replace NULL with bfd_elf_generic_reloc. Add - R_PARISC_GNU_VTENTRY, R_PARISC_GNU_VTINHERIT and R_PARISC_PCREL12F. - (_bfd_elf_hppa_gen_reloc_type): Handle R_PARISC_GNU_VT*. Add some - comments. Handle format == 12 for R_HPPA_PCREL_CALL. - (elf_hppa_final_link_relocate): Handle R_PARISC_PCREL12F. - (elf_hppa_relocate_insn): Likewise. Reformat some comments. - (elf_hppa_final_write_processing): Expose it for ARCH_SIZE == 32. - - From David Huggins-Daines <dhd@linuxcare.com> - * elf-hppa.h (elf_hppa_is_local_label_name): Accept the SysV/ELF - style of local labels as well. - -2000-09-03 Philip Blundell <philb@gnu.org> - - * elf32-arm.h (elf32_arm_relocate_section): Don't try to relocate - references to undefined symbols in debugging sections. - -2000-09-02 H.J. Lu <hjl@gnu.org> - - * reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT, - BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE, - BFD_RELOC_SH_GOTPC): Move them from the MIPS section to the SH - section. - -2000-09-02 Jason Eckhardt <jle@cygnus.com> - - * elf32-i860.c (bfd_elf32_bfd_is_local_label_name): Define macro. - (elf32_i860_is_local_label_name): New function and prototype. - -2000-09-02 Nick Clifton <nickc@redhat.com> - - * configure.in: Increase version number to 2.10.91. - * configure: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * po/bfd.pot: Regenerate. - -2000-09-02 Daniel Berlin <dberlin@redhat.com> - - * elf.c (_bfd_elf_make_section_from_shdr): Add - .gnu.linkobce.wi. to the list of debug section names. - -2000-09-02 Nick Clifton <nickc@redhat.com> - - * dwarf2.c (find_debug_info): New function: Locate a section - containing dwarf2 debug information. - (bfd_dwarf2_find_nearest_line): Find all sections containing - debug information and include them in the stash. - -2000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com> - - * elf32-sh.c (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT, - R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): New. - (sh_reloc_map): Add new relocs. - (sh_elf_check_relocs, sh_elf_link_hash_newfunc, - sh_elf_link_hash_table_create, sh_elf_adjust_dynamic_symbol, - sh_elf_size_dynamic_sections, sh_elf_finish_dynamic_symbol, - sh_elf_finishe_dynamic_sections, sh_elf_discard_copies): New - functions. - (ELF_DYNAMIC_INTERPRETER, PLT_ENTRY_SIZE): Define. - (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le, - elf_sh_plt_entry_be, elf_sh_plt_entry_le, - elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le): - New array constants. - (elf_sh_plt0_entry, elf_sh_plt_entry, elf_sh_pic_plt_entry): - New variables. - (elf_sh_sizeof_plt, elf_sh_plt_plt0_offset, - elf_sh_plt0_linker_offset, elf_sh_plt0_gotid_offset, - elf_sh_plt_temp_offset, elf_sh_plt_symbol_offset, - elf_sh_plt_reloc_offset): Define. - (elf_sh_pcrel_relocs_copied, elf_sh_link_hash_entry, - elf_sh_link_hash_table): New structs. - (sh_elf_link_hash_traverse, sh_elf_hash_table): New macros. - (sh_elf_relocate_section, sh_elf_check_relocs): Handle new - relocation types. - (elf_backend_create_dynamic_sections, - bfd_elf32_bfd_link_hash_table_create, - elf_backend_adjust_dynamic_symbol, - elf_backend_size_dynamic_sections, - elf_backend_finish_dynamic_symbol, - elf_backend_finish_dynamic_sections, elf_backend_want_got_plt, - elf_backend_plt_readonly, elf_backend_want_plt_sym, - elf_backend_got_header_size, elf_backend_plt_header_size): - Define. - * reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT, - BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE, BFD_RELOC_SH_GOTPC): - New relocs. - * bfd-in2.h, libbfd.h: Rebuilt. - -2000-09-01 Alan Modra <alan@linuxcare.com.au> - - * elf32-i386.c (elf_i386_finish_dynamic_symbol): Revert 2000-08-27 - change. - -2000-08-31 J"orn Rennecke <amylaar@cygnus.co.uk> - - * elf32-sh.c (sh_elf_merge_private_data): If ibfd's elf header flags - not initialized, set them to indicate the SH1 instruction set. - -2000-08-31 Alexandre Oliva <aoliva@redhat.com> - - * acinclude.m4: Include libtool and gettext macros from the - top level. - * aclocal.m4, configure: Rebuilt. - -2000-08-29 Michael Snyder <msnyder@seadog.cygnus.com> - - * elf.c: Eliminate references to __sparcv9 macro; replace with - autoconf variables HAVE_PSINFO32_T etc. - * configure.in: Auto-configure HAVE_PSINFO_32_T, HAVE_PRPSINFO32_T, - HAVE_PSTATUS32_T, HAVE_PRSTATUS32_T, HAVE_PRSTATUS32_T_PR_WHO. - * config.in: Ditto. - * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE) define _SYSCALL32 so it can - detect the above typedefs. (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Ditto. - * aclocal.m4: Ditto. - * configure: Regenerate. - -2000-08-27 Alan Modra <alan@linuxcare.com.au> - - * elf32-i386.c (elf_i386_check_relocs): Keep info on relocs copied - for any shared link, not just shared -Bsymbolic. - (elf_i386_size_dynamic_sections): Call elf_i386_discard_copies on - any shared link, and pass link info to it. - (elf_i386_size_dynamic_sections): Update comment. - (elf_i386_discard_copies): Modify to discard relocs for symbols - that have been forced local. - (elf_i386_finish_dynamic_symbol): Don't copy relocs for symbols - that have been forced local. - -2000-08-24 Denis Chertykov <denisc@overta.ru> & Nick Clifton <nickc@redhat.com> - - * elflink.h (elf_link_add_object_symbols): Allow common - symbols to have an alignment of 1 if explicitly requested, and - not overridden by other definitions. - -2000-08-22 Doug Kwan <dkwan@transmeta.com> - - * coff-w65.c (CREATE_LITTLE_COFF_TARGET): Fix typo. - * coffcode.h (coff_set_flags): Add detection of w65 architecture. - -2000-08-22 H.J. Lu <hjl@gnu.org> - - * elf-bfd.h (elf_link_hash_table): Add runpath. - - * bfd-in.h (bfd_elf_get_runpath_list): New prototype. - * bfd-in2.h: Rebuilt. - - * elf.c (_bfd_elf_link_hash_table_init): Initialize the - "runpath" field to NULL. - (bfd_elf_get_runpath_list): New function. - - * elflink.h (elf_link_add_object_symbols): Record DT_RPATH and - DT_RUNPATH entries. - -2000-08-22 Alexandre Oliva <aoliva@redhat.com> - - * elf32-sh.c (sh_elf_relocate_section) [R_SH_IND12W, - R_SH_DIR8WPN, R_SH_DIR8WPZ, R_SH_DIR8WPL]: Handle them - explicitly. Improve validation of r_type. - -2000-08-21 H.J. Lu <hjl@gnu.org> - - * elf32-i386.c (elf_i386_size_dynamic_sections): Zero out the - dynamic allocated content space. Add a comment to remind us that - one day this ought to be fixed. - * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise. - * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise. - * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise. - -2000-08-21 Jason Eckhardt <jle@cygnus.com> - - * elf32-i860.c (elf32_i860_relocate_pc16): Just write the immediate - field with the newly relocated value instead of adding it to the - existing immediate field. - (elf32_i860_relocate_splitn): Likewise. - (elf32_i860_relocate_highadj): Likewise. - -2000-08-16 Jason Eckhardt <jle@cygnus.com> - - * elf32-i860.c (elf32_i860_relocate_pc16): Implemented function (it - was previously just a stub). - -2000-08-16 Alexandre Oliva <aoliva@redhat.com> - - * elflink.c (_bfd_elf_create_got_section): Don't abort(). - Formatting fixes. - (_bfd_elf_create_dynamic_sections): Likewise. - -2000-08-16 Andrew Macleod <amacleod@cygnus.com> - - * elf64-sparc.c (sparc64_elf_relocate_section): Set relocation address - for undefined symbols to be the beginning of the section. - - * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Don't allocate - four extra entries at the beginning of the .rela.plt section. - (sparc64_elf_finish_dynamic_symbol): Adjust the offset in the .rela.plt - section to account for the four reserved entries in the .plt section. - -2000-08-15 Geoffrey Keating <geoffk@cygnus.com> - - * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Add ori r0,r0,0 - to the list of NOPs we recognize after a branch-and-link. - Use the ori NOP when one is needed. - - * coff-rs6000.c (_bfd_xcoff_slurp_armap): Finish implementation - for large archives. - -2000-08-14 Jim Wilson <wilson@cygnus.com> - - * elf64-ia64.c (elf64_ia64_merge_private_bfd_data): Handle - EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, and EF_IA_64_NOFUNCDESC_CONS_GP. - (elf64_ia64_print_private_bfd_data): Likewise. Also handle - EF_IA_64_ABSOLUTE. - -2000-08-11 Alexandre Oliva <aoliva@redhat.com> - - * elf32-sh.c (sh_elf_set_mach_from_flags): Make it static. - -2000-08-10 Jason Eckhardt <jle@cygnus.com> - - * elf32-i860.c (elf32_i860_relocate_section): New function. - (i860_final_link_relocate): New function. - (elf32_i860_relocate_splitn): New function. - (elf32_i860_relocate_pc16): New function. - (elf32_i860_relocate_highadj): New function. - (elf32_i860_howto): Minor adjustments to some relocations. - (elf_info_to_howto_rel): Define. - (elf_backend_relocate_section): Define. - -2000-08-10 Nick Clifton <nickc@cygnus.com> - - * elf32-arm.h: Fix formatting. - -2000-08-10 Bernd Schmidt <bernds@cygnus.co.uk> - - * elf32-sh.c (sh_elf_reloc_loop): Make LAST_SYMBOL_SECTION static. - -2000-08-08 Jason Eckhardt <jle@cygnus.com> - - * elf32-i860.c (elf32_i860_howto_table): Updated some fields. - -2000-08-07 Kazu Hirata <kazu@hxi.com> - - * ieee.c (ieee_write_debug_part): Rewrite a comment. - * elf64-ia64.c: Fix a typo. - -2000-08-05 Jason Eckhardt <jle@cygnus.com> - - * elf32-i860.c (elf32_i860_howto_table): New structure. - (lookup_howto): New function. - (elf32_i860_reloc_type_lookup): New function. - (elf32_i860_info_to_howto_rela): New function. - (elf_code_to_howto_index): New structure. - (elf_info_to_howto): Re-define as elf32_i860_info_to_howto_rela. - (bfd_elf32_bfd_reloc_type_lookup): Re-define as - elf32_i860_reloc_type_lookup. - -2000-08-04 Rodney Brown <RodneyBrown@pmsc.com> - - * som.c (struct fixup_format): Constify `format'. - (som_hppa_howto_table): Use SOM_HOWTO macro. - (try_prev_fixup, hppa_som_reloc): Decorate unused parameter. - (som_bfd_reloc_type_lookup): Likewise. - (compare_subspaces): Remove unused `count1', `count2'. - (som_begin_writing): Remove unused `total_reloc_size'. - (som_bfd_derive_misc_symbol_info): Decorate unused parameter. - (som_print_symbol, som_bfd_is_local_label_name): Likewise. - (som_set_reloc_info): Constify `cp'. Remove unused `addend'. - (som_find_nearest_line): Decorate unused parameter(s). - (som_sizeof_headers, som_get_symbol_info, som_write_armap): Likewise. - (som_bfd_link_split_section): Likewise. - -2000-08-03 Nick Clifton <nickc@cygnus.com> - - * section.c: Restore backed out code. - * elf.c: Restore backed out code. - (copy_private_bfd_data): Fix bug preventing stipped dynamic - binaries from working. - * bfd-in2.h: Regenerate. - -2000-08-03 H.J. Lu <hjl@gnu.org> - - * section.c: Back out the change made by Nick Clifton - <nickc@cygnus.com> on 2000-07-31. It breaks stripping dynamic - binaries. - * bfd-in2.h: Likewise. - * elf.c: Likewise. - -2000-08-03 Alexandre Oliva <aoliva@redhat.com> - - * elf32-sh.c (sh_elf_reloc_loop): Warning removal. - -2000-07-31 Jason Eckhardt <jle@cygnus.com> - - * reloc.c (BFD_RELOC_860_*): New bfd relocs for i860. - * bfd-in2.h, libbfd.h: Regenerate. - -2000-07-31 Nick Clifton <nickc@cygnus.com> - - * section.c (struct sec): Add new boolean field 'segment_mark'. - (STD_SECTION): Initialise new field to zero. - - * bfd-in2.h: Regenerate. - - * elf.c (copy_private_bfd_data): Reorganise section to segment - mapping to cope with moved sections requiring new segments, - and overlapping segments. - (SEGMENT_END): New macro: Return the end address of a segment. - (IS_CONTAINED_BY_VMA): New macro: Determine if a segment - contains a section by comparing their VMA addresses. - (IS_CONTAINED_BY_LMA): New macro: Determine if a segment - contains a section by comparing their LMA addresses. - (INCLUDE_SECTION_IN_SEGMENT): New macro: Determine if a - section should be included in a segment. - (SEGMENT_AFTER_SEGMENT): New macro: Determine if one segment - follows another in memory. - (SEGMENT_OVERLAPS_SEGMENT): New macro: Determine if two - segments overlap. - -2000-07-22 Jason Eckhardt <jle@cygnus.com> - - * cpu-i860.c: Added comments. - - * elf32-i860.c (TARGET_LITTLE_SYM): Defined to - bfd_elf32_i860_little_vec. - (TARGET_LITTLE_NAME): Defined to "elf32-i860-little". - (ELF_MAXPAGESIZE): Changed to 4096. - - * targets.c (bfd_elf32_i860_little_vec): Declaration of - new target. - (bfd_target_vector): Added bfd_elf32_i860_little_vec. - - * config.bfd (i860-stardent-sysv4*, i860-stardent-elf*): Added - config for little endian elf32 i860. - (targ_defvec): Define for the new config above - as "bfd_elf32_i860_little_vec". - (targ_selvecs): Define for the new config above - as "bfd_elf32_i860_vec bfd_elf32_i860_little_vec" - - * configure.in (bfd_elf32_i860_little_vec): Added recognition - of new target vec. - - * configure: Regenerated. - -2000-07-27 H.J. Lu <hjl@gnu.org> - - * elflink.h (elf_merge_symbol): Take one more argument, - dt_needed, to indicate if the symbol comes from a DT_NEEDED - entry. Don't overide the existing weak definition if dt_needed - is true. - (elf_link_add_object_symbols): Pass dt_needed to - elf_merge_symbol (). - -2000-07-27 Nick Clifton <nickc@cygnus.com> - - * elflink.h (elf_link_size_reloc_section): Zeroes the section's - allocated contents. - -2000-07-25 Geoffrey Keating <geoffk@cygnus.com> - - * configure.host (*-*-aix*): AIX has 'long long' always. - - * coff-rs6000.c (xcoff_write_one_armap_big): New procedure. - (xcoff_write_armap_big): Write both 32-bit and 64-bit armaps. - (xcoff_write_archive_contents_big): Don't update the offset - of the symbol table, xcoff_write_armap will do it. - -2000-07-23 Ulf Carlsson <ulfc@engr.sgi.com> - - * elf32-mips.c (_bfd_mips_elf_check_relocs): Use abfd instead - of dynobj for SGI_COMPAT checks. - -2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> - - * coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): New function. - * bfd-in.h (bfd_m68k_coff_create_embedded_relocs): Add declaration. - * bfd-in2.h: Regenerate. - -2000-07-21 Nick Clifton <nickc@cygnus.com> - - * elf32-mips.c (_bfd_mips_elf_check_relocs): Detect out of - range symbol indices in relocs and issue an error message. - -2000-07-20 H.J. Lu <hjl@gnu.org> - - * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't check - info->new_dtags when setting DT_FLAGS_1. It will only be set - by the new linker options. It shouldn't break anything. - -2000-07-20 H.J. Lu <hjl@gnu.org> - - * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_FLAGS_1 - only if info->new_dtags is true. - -2000-07-20 H.J. Lu <hjl@gnu.org> - - * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set - DT_RUNPATH and DT_FLAGS only if info->new_dtags is true. - -2000-07-20 Hans-Peter Nilsson <hp@axis.com> - - * Makefile.am (ALL_MACHINES): Add cpu-cris.lo. - (ALL_MACHINES_CFILES): Add cpu-cris.c. - (BFD32_BACKENDS): Add aout-cris.lo and elf32-cris.lo. - (BFD32_BACKENDS_CFILES): Add aout-cris.c and elf32-cris.c. - (cpu-cris.lo, aout-cris.lo, elf32-cris.lo): New rules. - * Makefile.in: Rebuild. - * aclocal.m4: Rebuild. - * aoutx.h (NAME(aout,machine_type)): Add case for bfd_arch_cris. - * archures.c (enum bfd_architecture): Add bfd_arch_cris. - (bfd_cris_arch): Declare. - (bfd_archures_list): Add bfd_cris_arch. - * bfd-in2.h: Rebuild. - * config.bfd: (cris-*-*): New target. - * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vectors. - * configure: Rebuild. - * elf.c (prep_headers): Add bfd_arch_cris. - * libbfd.h: Rebuild. - * libaout.h (enum machine_type): Add M_CRIS. - * reloc.c: Add CRIS relocations. - * targets.c (bfd_elf32_cris_vec, cris_aout_vec): Declare. - (bfd_target_vect): Add bfd_elf32_cris_vec and cris_aout_vec. - * cpu-cris.c, aout-cris.c, elf32-cris.c: New files. - * po/POTFILES.in, po/bfd.pot: Regenerate. - -2000-07-19 H.J. Lu <hjl@gnu.org> - - * elf32-arm.h (elf32_arm_size_dynamic_sections): Also set - DF_TEXTREL if DT_TEXTREL is set. - * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. - * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise. - * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise. - * elf32-mips.c (_bfd_mips_elf_size_dynamic_sections): Likewise. - * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. - * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise. - * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise. - * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise. - * elf64-ia64.c (elf64_ia64_size_dynamic_sections): Likewise. - * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise. - - * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also - set DF_SYMBOLIC for symbolic link. Also set DT_RUNPATH if - DT_RPATH is set. - Set the DT_FLAGS and DT_FLAGS_1 entries if necessary. - -2000-07-19 H.J. Lu <hjl@gnu.org> - - * bfd-in.h (bfd_elf_set_dt_needed_soname): New. - * bfd-in2.h: Rebuild. - - * elf-bfd.h (elf_obj_tdata): Add dt_soname. - (elf_dt_soname): New. - - * elf.c (bfd_elf_set_dt_needed_soname): New. - - * elflink.h (elf_link_add_object_symbols): Add the DT_NEEDED - entry if the shared object loaded by DT_NEEDED is used to - resolve the reference in a regular object. - -2000-07-19 H.J. Lu <hjl@gnu.org> - - * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_CONFIG, - DT_DEPAUDIT and DT_AUDIT as strings. - -2000-07-19 Nick Clifton <nickc@cygnus.com> - - * format.c: Fix formatting. - -2000-07-19 H.J. Lu <hjl@gnu.org> - - * elf.c (_bfd_elf_print_private_bfd_data): Fix DT_CHECKSUM. - -2000-07-19 H.J. Lu <hjl@gnu.org> - - * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_BIND_NOW, - DT_INIT_ARRAY, DT_FINI_ARRAY, DT_INIT_ARRAYSZ, DT_FINI_ARRAYSZ, - DT_RUNPATH, DT_FLAGS, DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ, - DT_PLTPADSZ, DT_MOVEENT, DT_MOVESZ, DT_FEATURE, DT_POSFLAG_1, - DT_SYMINSZ, DT_SYMINENT, DT_CONFIG, DT_DEPAUDIT, DT_AUDIT, - DT_PLTPAD, DT_MOVETAB, DT_SYMINFO, DT_RELACOUNT, DT_RELCOUNT, - DT_FLAGS_1, DT_USED and DT_CHECKSUM. - -2000-07-18 Andrew Cagney <cagney@b1.cygnus.com> - - * elf.c (bfd_elf_get_sign_extend_vma, bfd_elf_get_arch_size): Move - renamed functions from here... - (assign_section_numbers): Use renamed functions. - (prep_headers): Use renamed functions. - - * bfd.c (bfd_get_sign_extend_vma, bfd_get_arch_size): ...To here. - * bfd-in.h (bfd_get_sign_extend_vma, bfd_get_arch_size): Update. - * bfd-in2.h: Regenerate. - -2000-07-18 Ulf Carlsson <ulfc@engr.sgi.com> - - * elf32-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Add - parenthesis in if statement. - -2000-07-17 Koundinya K <kk@ddeorg.soft.net> - - Enable the support for Traditional MIPS. - * elf32-mips.c (IRIX_COMPAT): Recognize bfd_elf32_tradbigmips_vecand - return ict_none appropriately for traditional mips targets. - (STUB_LW): Change 0x8f998000 to 0x8f998010 for traditional mips. - (STUB_MOVE): Conditionalize for traditonal mips. - (STUB_LI16): Likewise. - (_bfd_mips_elf_modify_segment_map): Conditionalize to avoid making - room for RTPROC header. - (_bfd_mips_elf_modify_segment_map): For a normal mips executable set - the permission for the PT_DYNAMIC as read, write and execute. - (mips_elf_calculate_relocation): Check for the symbol _DYNAMIC_LINKING - for traditonal mips. - (_bfd_mips_elf_create_dynamic_sections): Add the symbol - _DYNAMIC_LINKING for traditonal mips. - (_bfd_mips_elf_create_dynamic_sections): Add the symbol __RLD_MAP - in case of traditonal mips. - (_bfd_mips_elf_adjust_dynamic_symbol): Create a stub only if a PLT - entry is required. For a function if PLT is not required then set the - corresponding hash table entry to 0. - (_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG entry for - traditonal mips. - (_bfd_mips_elf_finish_dynamic_symbol): for a undefined symbol in a - shared object set the value to 0. - (_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol - _DYNAMIC_LINKING for traditonal mips. - (_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol __RLD_MAP - for traditonal mips. - -2000-07-15 H.J. Lu <hjl@gnu.org> - - * aoutx.h (translate_to_native_sym_flags): Handle BSF_LOCAL. - -2000-07-12 Charles Wilson <cwilson@ece.gatech.edu> - - * libbfd.c (bfd_seek): fix 'seek beyond EOF' error when writing - out a structure that is BFD_IN_MEMORY. - -2000-07-11 Alan Modra <alan@linuxcare.com.au> - - * elf64-hppa.c (get_dyn_name): Pass in section pointer instead of - bfd pointer. Print section id instead of bfd pointer for local - syms. Prefix addend with `+' for global syms as well as local. - Correct calculation of name component lengths. - (elf64_hppa_check_relocs): Update call to get_dyn_name. - - From David Huggins-Daines <dhd@linuxcare.com> - * elf-hppa.h (elf_hppa_relocate_section): Update calls here too. - * elf64-hppa.c (elf64_hppa_check_relocs): Fix some warnings. - (elf64_hppa_modify_segment_map): Likewise. - -2000-07-11 Andrew Cagney <cagney@b1.cygnus.com> - - * elf.c (bfd_elf_get_sign_extend_vma): Return tendency of VMA - addresses to be "naturally" sign extended. Return -1 if unknown. - * bfd-in.h (bfd_elf_get_sign_extend_vma): Add declaration. - * bfd-in2.h: Regenerate. - -2000-07-11 Andrew Cagney <cagney@b1.cygnus.com> - - * ecoffswap.h (ecoff_get_off, ecoff_put_off): Add ECOFF_SIGNED_32 - and ECOF_SIGNED_64 to list ways to extract an offset. - (ecoff_swap_fdr_in, ecoff_swap_fdr_out, ecoff_swap_pdr_in, - ecoff_swap_pdr_out, ecoff_swap_ext_in, ecoff_swap_ext_out): - Update. - * elf64-mips.c (ECOFF_SIGNED_64): Define instead of ECOFF_64. - * elf32-mips.c (ECOFF_SIGNED_32): Define instead of ECOFF_32. - -2000-07-11 Andrew Cagney <cagney@b1.cygnus.com> - - * elfcode.h (elf_object_p): Use bfd_set_start_address and not - bfd_get_start_address. - (elf_swap_ehdr_in): Sign extend e_entry when applicable. - (elf_swap_ehdr_out): Ditto. - -2000-07-10 Alexander Aganichev <AAganichev@hypercom.com> - - * archures.c (bfd_default_scan): Add set of bfd_mach_ cases for - compatibility with older binutils. - -2000-07-10 Alan Modra <alan@linuxcare.com.au> - - * section.c (bfd_make_section_anyway): Start section_id at 0x10. - (STD_SECTION): Avoid negative ids, instead use 0 to 3. - - From Ryan Bradetich <rbradetich@uswest.net> - * dwarf1.c (parse_die): Cure signed/unsigned char warnings. - (parse_line_table): Ditto. - (_bfd_dwarf1_find_nearest_line): Ditto. - * syms.c (cmpindexentry): Remove extra `*' from params. - -2000-07-09 Koundinya K <kk@ddeorg.soft.net> - - * elf32-mips.c (sort_dynamic_relocs): New Function. - (_bfd_mips_elf_finish_dynamic_sections): Call sort_dynamic_relocs - via qsort to sort the dynamic relocations in increasing r_symndx - value. - -2000-07-09 Alan Modra <alan@linuxcare.com.au> - - * elf64-hppa.c (elf64_hppa_dyn_hash_table_init): Add - ATTRIBUTE_UNUSED to unused args. - (get_opd): Likewise. - (get_plt): Likewise. - (get_dlt): Likewise. - (get_stub): Likewise. - (elf64_hppa_adjust_dynamic_symbol): Likewise. - (elf64_hppa_link_output_symbol_hook): Likewise. - (elf64_hppa_check_relocs): Delete unused var. - (elf64_hppa_size_dynamic_sections): Likewise. - (elf64_hppa_finalize_opd): Likewise. - (elf64_hppa_finalize_dynreloc): Likewise. - (elf64_hppa_modify_segment_map): Likewise. - (elf64_hppa_finish_dynamic_sections): Likewise. - - * elf-hppa.h (elf_hppa_final_write_processing): Add - ATTRIBUTE_UNUSED to unused args. - (elf_hppa_final_link_relocate): Likewise. - (elf_hppa_record_segment_addrs): Add paretheses. - (elf_hppa_relocate_section): Constify dyn_name. - - From David Huggins-Daines <dhd@linuxcare.com> - * config.bfd: Add hppa*64*-*-linux-gnu 64-bit target, and - rearrange case statement so that it gets preferred to 32-bit ones. - - * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Use - asection->id instead of address of asection structure. - (elf32_hppa_size_stubs): Likewise. - - * elf32-hppa.c (elf32_hppa_size_stubs): Use just one stub section - for .init* and .fini*. - - * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Mask pointers - and addends used in stub names to 32 bits. - (elf32_hppa_size_stubs): Likewise. - - * elf-hppa.h (elf_hppa_final_link_relocate): Don't sum addend - twice for R_PARISC_GPREL64. Use bfd_put_32 for R_PARISC_PCREL32, - not bfd_put_64. Fix minor comment typo and formatting. - - Changes to create multiple linker stubs, positioned immediately - before the section where they are required. - * elf32-hppa.c: Don't include hppa_stubs.h. - (elf32_hppa_stub_hash_entry): Add a pointer to the stub section. - (elf32_hppa_stub_hash_table): Delete. - (elf32_hppa_link_hash_entry): Delete. - (elf32_hppa_link_hash_table): Use plain bfd_hash_table for - stub_hash_table, and store the struct here rather than a pointer. - Delete output_symbol_count. Add offset array. Change - global_value to a bfd_vma. - (elf32_hppa_stub_hash_lookup): Use table instead of table->root. - (elf32_hppa_stub_hash_traverse): Delete. - (elf32_hppa_name_of_stub): Delete. - (elf32_hppa_link_hash_lookup): Delete. - (elf32_hppa_link_hash_traverse): Delete. - (elf32_hppa_stub_hash_table_init): Delete. - (elf32_hppa_size_of_stub): Pass input section and offset rather - than location and calculate location here. Don't pass name as all - stubs are now the same size. - (elf32_hppa_stub_hash_newfunc): Init new fields. - (elf32_hppa_link_hash_table_create): Likewise, and stub_hash_table - too. - (elf32_hppa_bfd_final_link_relocate): Cast enums to int before - comparing against ints. Rewrite stub handling code. - (elf32_hppa_relocate_section): Make r_type and r_symndx unsigned. - Case enums to int before comparing against ints. Remove - bfd_reloc_dangerous case. - (elf32_hppa_build_one_stub): Rewrite. - (elf32_hppa_size_one_stub): New function. - (elf32_hppa_build_stubs): Rewrite. - (elf32_hppa_size_stubs): Pass in linker call-back functions. - Rewrite stub-handling specific code. - - * elf32-hppa.h (elf32_hppa_size_stubs): Update prototype. - - * elf64-hppa.c (elf64_hppa_dyn_hash_entry): Fix a comment typo. - - * hppa_stubs.h: Delete. - * Makefile.am (SOURCE_HFILES): Remove hppa_stubs.h - (elf32-hppa.lo): Remove hppa_stubs.h from dependencies. - * Makefile.in: Regenerate. - - * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle e_nlsel and - e_nlrsel. - - * libhppa.h (hppa_field_adjust): Correct e_nsel case. - - * elf32-hppa.c (elf32_hppa_relocate_section): Mention the offset - and section name for bfd_reloc_notsupported error message. - (elf32_hppa_bfd_final_link_relocate): Print reasons for returning - bfd_reloc_notsupported. - (elf32_hppa_relocate_section): Add ATTRIBUTE_UNUSED to output_bfd. - - * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Handle - undefined weak symbols for all relocs. - (elf32_hppa_size_of_stub): Adjust calculation by 8 since branch - offsets are relative to one past the delay slot. - (elf32_hppa_size_stubs): Account for reloc addend when calculating - branch destination. Put addend into stub name too. - (elf32_hppa_bfd_final_link_relocate): Account for reloc addend and - adjust by 8 when deciding whether a linker stub is needed. Put - addend into stub name as for above. - - * elf32-hppa.c (hppa_elf_relocate_insn): Change signed/unsigned on - various args and vars. - (elf32_hppa_bfd_final_link_relocate): Here too. - (elf32_hppa_size_stubs): Rename index -> indx. Use e_indx for - inner block var to avoid shadowing. - - * elf32-hppa.h (_bfd_elf32_hppa_gen_reloc_type): Make `field' arg - unsigned. - * elf64-hppa.h (_bfd_elf64_hppa_gen_reloc_type): Ditto. - * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Ditto. - (elf_hppa_fake_sections): Rename local var to avoid shadowing. - - * libhppa.h: Change practically all unsigned ints to plain ints. - Remove tests on gcc version. Instead use ATTRIBUTE_UNUSED for - prototypes. - - From Ryan Bradetich <rbradetich@uswest.net> - * libhppa.h (hppa_opcode_type): New enum to replace #define's. - * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Modify to - suit above. - From David Huggins-Daines <dhd@linuxcare.com> - * elf-hppa.h (elf_hppa_relocate_insn): Update the opcode constants - to the new OP_* ones. - - * elf32-hppa.c (elf32_hppa_size_stubs): Consolidate freeing on - error exit. Bail out earlier on plabel relocs that we aren't - interested in. Don't tell elf32_hppa_stub_hash_lookup to copy - string, and then don't free our copy. - (elf32_hppa_build_one_stub): Make insn unsigned int. - - * libhppa.h (bfd_hppa_insn2fmt): 22 bit branches are only - available with BL, not BE and BLE. - - * elf32-hppa.c (hppa_elf_relocate_insn): Add some more example - code for elf arg relocs. - (elf32_hppa_bfd_final_link_relocate): Replace boolean is_local - argument with elf_link_hash_entry h. Handle undefined weak - symbols. Move $global$ lookup from here... - (elf32_hppa_relocate_section): ...to here. Return correct error - message for non-handled relocs. - (elf32_hppa_size_of_stub): Correctly test branch range. Previous - wrong test was -0x3ffff to +0x40000. - - * elf-hppa.h (elf_hppa_final_link_relocate): R_PARISC_DIR17R, - R_PARISC_DIR17F, and R_PARISC_DIR21L are for absolute branches; - Handle them as such. - (elf_hppa_relocate_insn): Fix a typo. - - * libhppa.h (GET_FIELD, GET_BIT, MASK, CATENATE, ELEVEN): Delete. - (assemble_3, assemble_6, assemble_12, assemble_16, assemble_16a, - assemble_17, assemble_21): Delete. - Supply defines for all 64 possible opcodes. - (bfd_hppa_insn2fmt): Add bfd argument, and use to select wide mode - formats. Handle COMICLR. - (hppa_rebuild_insn): Delete bfd argument. Handle formats 10, -11, - -10, -16, 16, 22. - - * elf32-hppa.c (hppa_elf_relocate_insn): Complete rewrite. - (elf32_hppa_bfd_final_link_relocate): Major rewrite. - (elf32_hppa_build_one_stub): Modify hppa_elf_relocate_insn calls - to suit. - (elf32_hppa_size_stubs): Don't free stub_name twice. Read in all - the local syms - did this code get deleted accidentally? Ignore - undefined and undefweak syms. - - * elf-hppa.h (elf_hppa_final_link): Move hppa_info to outermost - block. Use it instead of elf64_hppa_hash_table (info). - (elf_hppa_final_link_relocate): Use hppa_info instead of - elf64_hppa_hash_table (info). - - * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16, - re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn. - (hppa_rebuild_insn): Mask immediate bits here instead. - * elf-hppa.h (elf_hppa_relocate_insn): Mask here too. - -2000-07-08 Alan Modra <alan@linuxcare.com.au> - - * section.c (struct sec): Add id field. Tidy comment formatting. - (bfd_make_section_anyway): Set id. - (STD_SECTION): Init id too. - Change CONST to const throughout. - * archures.c (bfd_arch_info): Tidy comment. - (bfd_arch_list): Change a CONST to const. - * libbfd-in.h: Tidy comments and replace CONST with const. - * elf-bfd.h: Likewise. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - * libcoff.h: Regenerate. - -2000-07-07 DJ Delorie <dj@redhat.com> - - * archive.c (_bfd_write_archive_contents): Add an informative - comment. - -2000-07-06 Kazu Hirata <kazu@hxi.com> - - * srec.c: Fix formatting. - -2000-06-05 DJ Delorie <dj@redhat.com> - - * MAINTAINERS: new - -2000-07-04 Alexandre Oliva <aoliva@redhat.com> - - * coff-arm.c (coff_arm_relocate_section): Do not ignore the symbol - value of PC-relative offsets. - -2000-07-03 Jim Wilson <wilson@cygnus.com> - - * elf64-alpha.c (alpha_elf_size_info): New. - (elf_backend_size_info): Define to alpha_elf_size_info. - * elfcode.h (elf_size_info): Change hash bucket size to 4. - -2000-07-03 Ulf Carlsson <ulfc@engr.sgi.com> - - * elf32-mips.c: Include elf32-target.h again for the traditional - MIPS targets. - -2000-07-03 Marek Michalkiewicz <marekm@linux.org.pl> - - * elf32-avr.c (bfd_elf32_bfd_reloc_type_lookup): - Add ATTRIBUTE_UNUSED to unused arguments to avoid warnings. - (avr_info_to_howto_rela): Likewise. - (elf32_avr_gc_mark_hook): Likewise. - (elf32_avr_gc_sweep_hook): Likewise. - (elf32_avr_relocate_section): Likewise. - -2000-07-03 Mark Elbrecht <snowball3@bigfoot.com> - - * cofflink.c (_bfd_coff_write_global_sym): Turn a weak symbol into - an external symbol for a non-shared, non-relocatable link. - -2000-07-03 Nick Clifton <nickc@redhat.com> - - * cofflink.c (IS_EXTERNAL): New macro: Return true if the symbol - is an external symbol. - (IS_WEAK_EXTERNAL): New macro: Return true if the symbol is a weak - external symbol. - -2000-07-03 Kazu Hirata <kazu@hxi.com> - - * reloc16.c: Fix formatting. - -2000-07-01 Koundinya K <kk@ddeorg.soft.net> - - * config.bfd: Change targ_defvec and targ_selvecs for mips*-*-sysv4* - to add a new target for traditional mips i.e - bfd_elf32_tradbigmips_vec and bfd_elf32_tradlittlemips_vec. - * configure.in: Likewise. - * configure: Rebuild. - * targets.c (bfd_elf32_tradbigmips_vec): Declare and put in - bfd_target_vector. - (bfd_elf32_tradlittlemips_vec): Likewise. - * elfxx-target.h: Add macro INCLUDED_TARGET_FILE which is more a test - to see that elfNN_bed does not get redefined even if the target file - is included twice for a chip. See elf32-mips.c. - -2000-07-01 Alan Modra <alan@linuxcare.com.au> - - * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed - (CLEANFILES): Add DEPA. - * Makefile.in: Regenerate. - -2000-06-30 DJ Delorie <dj@cygnus.com> - - * peicode.h (coff_swap_filehdr_in): can't use e_magic because we - can't assume the PE header is at 0x80. - -2000-06-29 Mark Elbrecht <snowball3@bigfoot.com> - - * syms.c (_bfd_stab_section_find_nearest_line): Use IS_ABSOLUTE_PATH. - -2000-06-28 Mark Elbrecht <snowball3@bigfoot.com> - - * go32stub.h: Update stub. - -2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl> - - * archures.c (bfd_mach_avr5): Define. - * bfd-in2.h (bfd_mach_avr5): Define. - * cpu-avr.c (arch_info_struct): Rename bfd_mach_avr4 to - bfd_mach_avr5, add bfd_mach_avr4. Update comments. - (compatible): Update comment. Add missing test. - * elf32-avr.c (avr_final_link_relocate): Support 8K wrap - for avr2 and avr4. Simplify 8K wrap code. - (bfd_elf_avr_final_write_processing): Recognize bfd_mach_avr5. - (elf32_avr_object_p): Recognize E_AVR_MACH_AVR5. - -2000-06-26 Kazu Hirata <kazu@hxi.com> - - * coff-h8300.c: Fix formatting. - * cpu-h8300.c: Likewise. - -2000-06-24 Alexandre Oliva <aoliva@redhat.com> - - * elf32-arm.h (elf32_arm_final_link_relocate): Print `(local)' - for local symbols whose names are unknown. - -2000-06-22 Alan Modra <alan@linuxcare.com.au> - - * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we - find one. - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - -2000-06-20 H.J. Lu <hjl@gnu.org> - - * Makefile.am: Rebuild dependency. - * Makefile.in: Rebuild. - -2000-06-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): New function. - (elf_backend_copy_indirect_symbol): Map to the new function. - -2000-06-20 Alan Modra <alan@linuxcare.com.au> - - * archive.c (normalize): Correct pointer comparison when checking - for backslashes. - (bfd_bsd_truncate_arname): Likewise. - (bfd_gnu_truncate_arname): Likewise. - -2000-06-20 Ulf Carlsson <ulfc@engr.sgi.com> - - * elf-bfd.h (struct elf_obj_tdata): Define per BFD Irix 5 virtual - sections elf_{text,data}_{section,symbol}. - * elf32-mips.c: mips_elf_{text,data}_{section,symbol}{,_ptr}: Remove. - (_bfd_mips_elf_hide_symbol): New function. - (elf_backend_hide_symbol): Map to the new function. - (_bfd_mips_elf_add_symbol_hook): Change to use new per BFD - definitions of mips_elf_{text,data}_{section,symbol}. - (mips_elf_local_relocation_p): Try to find the direct symbol - based on new check_forced argument. - (mips_elf_calculate_relocation): Use new version of - mips_elf_local_relocation_p. - (mips_elf_relocate_section): Likewise. - (_bfd_mips_elf_relocate_section): Likewise. - (mips_elf_sort_hash_table): Only assert that have enough GOT - space. - (mips_elf_got16_entry): Match all 32 bits to the existing GOT - entry if the relocation based on the new external argument. - (mips_elf_create_dynamic_relocation): Assert that we have a - section contents allocated where we can swap out the dynamic - relocations. - (mips_elf_calculate_relocation): Find the real hash-table entry - correctly by using h->root.root.type. Only create a dynamic - relocation entry if the symbol is defined in a shared library. - Create an external GOT entry for the GOT16 relocation if the - symbol was forced local. - (_bfd_mips_elf_finish_dynamic_symbol): Don't assert there is a - dynamic index if the symbol was forced local. - -2000-06-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * elf32-mips.c: Fix typos in comments. - -2000-06-19 Mark Kettenis <kettenis@gnu.org> - - * rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef - CORE_VERSION_1. - -2000-06-18 Stephane Carrez <stcarrez@worldnet.fr> - - * Makefile.in, bfd-in2.h, libbfd.h, configure: Rebuild. - * Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES, BFD32_BACKENDS, - BFD32_BACKENDS_CFILES): Add 68hc12, 68hc11 files. - * configure.in (bfd_elf32_m68hc12_vec): Recognize. - (bfd_elf32_m68hc11_vec): Likewise. - * config.bfd (targ_cpu): Recognize 68hc12 and 68hc11. - Supports 68hc11 & 68hc12 at the same time. - * targets.c (bfd_elf32_m68hc12_vec): Declare and put in - bfd_target_vector. - (bfd_elf32_m68hc11_vec): Likewise. - * elf.c (prep_headers): Recognize bfd_arch_m68hc12 and 68hc11. - * archures.c (bfd_m68hc12_arch): Define and register in global list - (bfd_m68hc11_arch): Likewise. - * reloc.c (BFD_RELOC_M68HC11_HI8, BFD_RELOC_M68HC11_LO8, - BFD_RELOC_M68HC11_3B): Define. - * cpu-m68hc12.c, elf32-m68hc12.c: New files for 68hc12 support. - * cpu-m68hc11.c, elf32-m68hc11.c: New files for 68hc11 support. - -2000-06-18 Ulf Carlsson <ulfc@engr.sgi.com> - - * elf_bfd.h (struct elf_backend_data): Add info argument to - elf_backend_hide_symbol. - (_bfd_elf_link_hash_hide_symbol): Likewise. - * elf.c (_bfd_elf_link_hash_hide_symbol): Likewise. - * elf64-ia64.c (elf64_ia64_hash_hide_symbol): Likewise. - * elflink.h (elf_link_add_object_symbols): Likewise. - (elf_link_assign_sym_version): Likewise. - -2000-06-18 H.J. Lu <hjl@gnu.org> - - * coff-i386.c (coff_i386_reloc): Don't return in case of - output_bfd == (bfd *) NULL if COFF_WITH_PE is defined. - Compensate PE relocations when linking with non-PE object - files to generate a non-PE executable. - -2000-06-17 Ulf Carlsson <ulfc@engr.sgi.com> - - * elf32-mips.c (mips_elf_calculate_relocation): Explicitly write - GOT entries if we're doing a static link or -Bsymbolic link. - -2000-06-15 Ulf Carlsson <ulfc@engr.sgi.com> - - * elflink.h (elf_link_adjust_relocs): Check for and call backend - specifific swap_reloc_{in,out} and swap_reloca_{in,out} if - available. - (elf_link_output_relocs): Likewise. - (elf_reloc_link_order): Likewise. - -2000-06-16 Nicholas Duffek <nsd@redhat.com> - - * archures.c (enum bfd_architecture): #define constants for - PowerPc and RS6000 machine numbers. - * bfd-in2.h: Regenerate. - * coffcode.h (coff_set_arch_mach_hook): #ifdef XCOFF64, set arch - to bfd_arch_powerpc instead of bfd_arch_rs6000. Refer to PowerPc - and RS6000 machine numbers using #defined constants from - archures.c. - * cpu-powerpc.c (arch_info_struct): Refer to PowerPc and RS6000 - machine numbers using #defined constants from archures.c. Add - entries for EC603e, 630, A35, RS64II, RS64III, 7400. Specify - 64-bit words in 620 entry. - * cpu-rs6000.c (arch_info_struct): Create with entries for RS1, - RSC, and RS2. - (bfd_rs6000_arch): Change default machine to 0 (bfd_mach_rs6k). - -2000-06-16 Nicholas Duffek <nsd@cygnus.com> - - * coffcode.h (coff_mkobject_hook): Set xcoff_tdata.xcoff64. - * libcoff-in.h (struct xcoff_tdata): Define xcoff64 field. - * libcoff.h (struct xcoff_tdata): Define xcoff64 field. - -2000-06-16 Nicholas Duffek <nsd@redhat.com> - - * bfd-in.h (bfd_family_coff): Define. - * bfd-in2.h: Regenerate. - * coffgen.c (coff_count_linenumbers, coff_symbol_from, - coff_find_nearest_line): Check COFFness using bfd_family_coff() - instead of bfd_target_coff_flavour. - * cofflink.c (_bfd_coff_final_link): Likewise. - * cpu-ns32k.c (do_ns32k_reloc): Don't strcmp() target name to - exclude XCOFF files. - * reloc.c (bfd_perform_relocation, bfd_install_relocation): - Likewise. - * targets.c (enum bfd_flavour): Add bfd_target_xcoff_flavour. - * xcoff-target.h (TARGET_SYM): Use bfd_target_xcoff_flavour. - * xcofflink.c (XCOFF_XVECP): Delete. - (bfd_xcoff_link_record_set, bfd_xcoff_import_symbol, - bfd_xcoff_export_symbol, bfd_xcoff_link_count_reloc, - bfd_xcoff_record_link_assignment, - bfd_xcoff_size_dynamic_sections): Replace XCOFF_XVECP() with - check for bfd_target_xcoff_flavour. - -2000-06-16 Nicholas Duffek <nsd@redhat.com> - - * rs6000-core.c: Support 64-bit core files, support pre-4.3 core - files on AIX 4.3. - (read_hdr): New function. - (rs6000coff_core_p): Store mstsave or __context64 struct instead - of trying to extract individual registers. Set abfd->arch_info - to match the architecture that created the core file. - (rs6000coff_get_section_contents): Delete. - * xcoff-target.h (rs6000coff_get_section_contents): Delete. - -2000-06-14 H.J. Lu <hjl@gnu.org> - - * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_rec) - is NULL. - -2000-06-13 H.J. Lu <hjl@gnu.org> - - * configure: Regenerate. - -2000-06-13 J"orn Rennecke <amylaar@cygnus.co.uk> - - * peicode.h (pe_ILF_object_p): Use TARGET_LITTLE_SYM instead of - armpei_little_vec. - -2000-06-08 David O'Brien <obrien@FreeBSD.org> - - * configure.in (VERSION): Update to show this is the CVS mainline. - -2000-06-07 Alan Modra <alan@linuxcare.com.au> - - * elf32-d10v.c: Include elf/d10v.h - (enum reloc_type): Delete. - * elf32-d30v.c: Include elf/d30v.h - (enum reloc_type): Delete. - - * Makefile.am: Run "make dep-am" to regenerate dependencies. - * Makefile.in: Regenerate. - - * elf32-i386.c (elf_howto_table): Remove EMPTY_HOWTOs. - (elf32_i386_vtinherit_howto, elf32_i386_vtentry_howto): Delete and - move HOWTOs into elf_howto_table. - (R_386_standard, R_386_ext_offset): Define. - (R_386_ext, R_386_vt_offset, R_386_vt): Define. - (elf_i386_reloc_type_lookup): Modify calculation of index into - elf_howto_table since we've removed the padding. - (elf_i386_info_to_howto_rel): Likewise. - (elf_i386_relocate_section): Likewise. - -2000-06-06 Michael Snyder <msnyder@seadog.cygnus.com> - - * elf.c (elf_grok_pr_status): Eliminate reference to prgregset_t. - -2000-06-05 H.J. Lu <hjl@gnu.org> - - * elflink.c (_bfd_elf_link_record_dynamic_symbol): Don't flag - an error when seeing an undefined symbol with hidden/internal - attribute. It is handled in *_relocate_section (). - -2000-06-05 H.J. Lu <hjl@gnu.org> - - * elflink.h (elf_fix_symbol_flags): Follow the link for the - indirect symbol for the ELF_LINK_NON_ELF bit. - (elf_link_output_extsym): Don't output the indirect symbol even - if the ELF_LINK_NON_ELF bit is set. - -2000-06-01 J.T. Conklin <jtc@redback.com> - - * config.bfd (i[3456]86-*-netbsdelf*): New target. - (i[3456]86-*-netbsdaout*): New target. - (i[3456]86-*-netbsd*): Add bfd_elf32_i386_vec to targ_selvecs. - (i[3456]86-*-openbsd*): Likewise. - -2000-05-30 Andrew Cagney <cagney@b1.cygnus.com> - - * trad-core.c: From hpux-core.c, include <dirent.h> or - <sys/ndir.h> when possible. - -2000-05-31 Ulrich Drepper <drepper@redhat.com> - - * elf.c (_bfd_elf_slurp_version_tables): Correct reading of version - definitions. We must not assume they are sorted in the file - according to their index numbers. - -2000-05-31 Alan Modra <alan@linuxcare.com.au> - - * elf-hppa.h: (elf_hppa_final_link_relocate): Use e_rsel field - selector for R_PARISC_PCREL17R. R_PARISC_DIR17R and - R_PARISC_DIR17F are for absolute branches; Handle them as such. - -2000-05-30 Nick Clifton <nickc@cygnus.com> - - * cpu-i960.c (scan_960_mach): Accept 80960KA, 80960KB, - 80960CA, 80960MC as valid machine names. - -2000-05-30 H.J. Lu <hjl@gnu.org> - - * elflink.c (_bfd_elf_link_record_dynamic_symbol): Clear the - visibility bits if the symbol is undefined. Correctly handle - weak undefined symbols with hidden and internal attributes. - - * elflink.h (elf_link_add_object_symbols): Always turn the - symbol into local if it has the hidden or internal attribute. - -2000-05-29 Philip Blundell <philb@gnu.org> - - * ppcboot.c: Add packed attribute if compiling with GCC. - -2000-05-29 Anatoly Vorobey <mellon@pobox.com> - - * elf.c (_bfd_elf_link_hash_table_init): Initialize dynlocal. - -2000-05-26 Michael Snyder <msnyder@seadog.cygnus.com> - - * elf.c (elfcore_grok_prstatus, elfcore_grok_pstatus, - elfcore_grok_psinfo): Add code to allow debugging a 32-bit - corefile on a 64-bit (Sparc Solaris) host. Also clean up - a few old comments. - -2000-05-26 Alan Modra <alan@linuxcare.com.au> - - * Makefile.am: Update dependencies with "make dep-am" - * Makefile.in: Regenerate. - - * sysdep.h (gettext, dgettext, dcgettext, textdomain, - bindtextdomain): Replace defines with those from intl/libgettext.h - to quieten gcc warnings. - -2000-05-26 Eli Zaretskii <eliz@is.elta.co.il> - - * aoutx.h (find_nearest_line): Use IS_ABSOLUTE_PATH. - - * archive.c (normalize, bfd_bsd_truncate_arname, - bfd_gnu_truncate_arname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support - file names with backslashes. - - * cache.c (bfd_open_file) [__MSDOS__]: Don't unlink the file - before opening it. - - * sysdep.h: Include filenames.h. - -2000-05-26 Alan Modra <alan@linuxcare.com.au> - - * opncls.c (bfd_close_all_done): Mask file perms with 0777 not 0x777. - -2000-05-26 Jakub Jelinek <jakub@redhat.com> - - * elf64-sparc.c (sparc64_elf_relax_section): New. - (sparc64_elf_relocate_section): Optimize tail call into branch always - if possible. - * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. - (elf32_sparc_relax_section): New. - -2000-05-26 Jakub Jelinek <jakub@redhat.com> - - * elf64-sparc.c: Add ATTRIBUTE_UNUSED to unused function parameters. - Remove unusued variables. - (sparc64_elf_relocate_section): Change r_symndx type to unsigned long. - (sparc64_elf_merge_private_bfd_data): Fix shared library case from - previous fix, so that shared libs really don't influence targets - extension mask and memory model. - -2000-05-23 H.J. Lu <hjl@gnu.org> - - * elf64-alpha.c (elf64_alpha_relocate_section): Check - h->root.other not h->other. - * elf32-mips.c (mips_elf_calculate_relocation): Likewise. - - * elf32-ppc.c (ppc_elf_relocate_section): Fix a typo. - -2000-05-23 H.J. Lu <hjl@gnu.org> - - * elf32-i386.c (elf_i386_relocate_section): Don't allow the - undefined symbol with the non-default visibility attributes. - * elf-hppa.h (elf_hppa_relocate_section): Likewise. - * elf32-arm.h (elf32_arm_relocate_section): Likewise. - * elf32-i370.c (i370_elf_relocate_section): Likewise. - * elf32-m68k.c (elf_m68k_relocate_section): Likewise. - * elf32-mcore.c (mcore_elf_relocate_section): Likewise. - * elf32-mips.c (mips_elf_calculate_relocation): Likewise. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. - * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. - * elf64-ia64.c (elf64_ia64_relocate_section): Likewise. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - -2000-05-22 Richard Henderson <rth@cygnus.com> - - * elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI, - PCREL22, PCREL64I. Zero size of special relocs. - (elf64_ia64_reloc_type_lookup): Likewise. - (USE_BRL, oor_brl, oor_ip): New. - (elf64_ia64_relax_section): New. - (elf64_ia64_check_relocs): Handle PCREL60B, PCREL22, PCREL64I. - (elf64_ia64_install_value): Likewise, plus PCREL21BI. - (elf64_ia64_relocate_section): Likewise. - (bfd_elf64_bfd_relax_section): New. - * reloc.c (BFD_RELOC_IA64_PCREL21BI): New. - (BFD_RELOC_IA64_{PCREL22,PCREL60B,PCREL64I}): New. - * bfd-in2.h, libbfd.h: Regenerate. - -2000-05-22 Nick Clifton <nickc@cygnus.com> - - * configure.in : Add peigen.lo to MIPS PE targets. - * configure: Regenerate. - -2000-05-22 Momchil Velikov <velco@fadata.bg> - - * libbfd.c (_bfd_generic_verify_endian_match): Compare endianess - only if it is known for both input and output bfds. Separate - error message strings as in some languages, it may be necessary - to change more than one place in the string to change between - 'big' and 'little'. - - * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Remove inline - endianess checks, call _bfd_generic_verify_endian_match() instead. - - * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Likewise. - - * elf32-mcore.c (mcore_elf_merge_private_bfd_data): Likewise. - - * elf32-arm.h (elf32_arm_merge_private_bfd_data): Likewise. Verify - endianess before checking bfd flavours. - -2000-05-22 H.J. Lu <hjl@gnu.org> - - * elflink.h (elf_link_output_extsym): Clear the visibility - field for symbols not defined locally. - -2000-05-18 Alan Modra <alan@linuxcare.com.au> - - * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16, - re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn. - (hppa_rebuild_insn): Mask immediate bits here instead. - * elf-hppa.h (elf_hppa_relocate_insn): Mask here too. - -2000-05-18 Momchil Velikov <velco@fadata.bg> - - * elflink.h (elf_bfd_final_link, elf_link_input_bfd): When emiting - relocs for an executable, ensure that they are virtual addresses. - -2000-05-18 Jeffrey A Law (law@cygnus.com) - - * config.bfd (hppa*64*-*-hpux11*): New target triplet. - -2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com> - Rick Gorton <gorton@scrugs.lkg.dec.com> - - * elflink.h: Add emitrelocations support: when enabled, relocation - information and relocation sections are put into final output - executables. If the emitrelocations flag is set, do the following: - (elf_bfd_final_link): Emit relocation sections. - (elf_link_input_bfd): Compute relocation section contents. - (elf_gc_sections): Don't clean relocation sections. - -2000-05-16 Catherine Moore <clm@cygnus.com> - - * som.c (som_decode_symclass): Recognize weak symbols. - -2000-05-16 Szabolcs Szakacsits <szaka@F-Secure.com> - - * peigen.c (pe_print_idata): Undo part of 2000-05-12 change that - read idata section only from dataoff. - (pe_print_edata): Correctly check for valid eat_member. - -2000-05-16 J"orn Rennecke <amylaar@cygnus.co.uk> - - * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8. - -2000-05-14 Philip Blundell <philb@gnu.org> - - * config.bfd (armeb-*-elf, arm*b-*-linux-gnu*): New targets. - -2000-05-12 Alan Modra <alan@linuxcare.com.au> - - * targets.c (bfd_target_vector): #ifdef BFD64 rs6000coff64_vec - - * peigen.c (pe_print_idata): Look for .idata section and print - info even if data directory has zero entries. Read idata section - starting from dataoff, and adjust all data offsets to suit. Cast - all bfd_vma vars to unsigned long before passing to fprintf. - * peigen.c (pe_print_edata): Similarly, look for .edata section - and print info even if data directory has zero entries. Cast - all bfd_vma vars to unsigned long before passing to fprintf. - - From Szabolcs Szakacsits <szaka@F-Secure.com> - * peigen.c (pe_print_idata): Use bfd_section_size rather than data - directory size which may be bogus. - * peigen.c (pe_print_edata): Similarly. - -2000-05-09 Alan Modra <alan@linuxcare.com.au> - - * elf.c (bfd_section_from_shdr): Don't set use_rela_p if rela - section is empty. - (copy_private_bfd_data): Allow for space possibly taken up by elf - headers when calculating segment physical address from lma. - -2000-05-08 Alan Modra <alan@linuxcare.com.au> - - * versados.c (versados_scan): Init stringlen and pass_2_done. - - * trad-core.c (trad_unix_core_file_p): Return - bfd_error_wrong_format rather than bfd_error_file_truncated. - - * peigen.c (_bfd_pei_swap_aouthdr_out): Pass ImageBase to - add_data_entry. DataDirectory virtual address is relative. - (pe_print_idata): Account for relative DataDirectory virtual - addresses. Don't trash datasize inside POWERPC_LE_PE code. - (pe_print_edata): Similarly. - - From Szabolcs Szakacsits <szaka@F-Secure.com> - * peigen.c (dir_names): Add Delay Import Directory. - (pe_print_idata): Always search for bfd section containing - idata address rather than looking up section name. Print this - section name rather than .idata. - (pe_print_edata): Similarly. Also print some fields as %08lx. - (_bfd_pe_print_private_bfd_data_common): Print Reserved1 field as - Win32Version. - -2000-05-05 Clinton Popetz <cpopetz@cygnus.com> - - * xcoff.h: Rename to xcoff-target.h - * Makefile.am: Change all instances of xcoff.h to xcoff-target.h - * coff-rs6000.c: Ditto. - * coff64-rs6000.c: Ditto. - * coff-pmac.c: Ditto. - * Makefile.in: Regenerate. - -2000-05-05 Clinton Popetz <cpopetz@cygnus.com> - - * coffcode.h (coff_set_arch_mach_hook, coff_set_flags): - Change U802TOC64MAGIC to U803XTOCMAGIC. - -2000-05-04 Michael Snyder <msnyder@seadog.cygnus.com> - - * elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1. - * bfd-in.h: Prototype bfd_elf_get_arch_size. - * bfd-in2.h: Prototype bfd_elf_get_arch_size. - -2000-05-04 Alan Modra <alan@linuxcare.com.au> - - * libhppa.h (HPPA_R_CONSTANT): Cast argument to bfd_signed_vma. - -2000-05-03 Martin v. Löwis <loewis@informatik.hu-berlin.de> - - * elflink.h (elf_link_add_object_symbols): Reset dynindx for - hidden and internal symbols. - (elf_fix_symbol_flags): Clear NEEDS_PLT for symbols with - visibility. - * elflink.c (_bfd_elf_link_record_dynamic_symbol): Do not - assign a PLT or GOT entry to symbols with hidden and - internal visibility. - -2000-05-03 Mark Elbrecht <snowball3@bigfoot.com> - - * coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Add entry for - the .bss section. - * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. - -2000-05-02 H.J. Lu <hjl@gnu.org> - - * elf.c (prep_headers): Use ELFOSABI_NONE instead of - ELFOSABI_SYSV. - -2000-05-02 Alan Modra <alan@linuxcare.com.au> - - * targets.c (bfd_target_vector): Restore bfd_elf32_hppa_vec. - * Makefile.am (BFD32_BACKENDS): Restore elf32-hppa.lo. Regenerate - dependencies. - * Makefile.in: Regenerate. - -2000-05-01 Jim Wilson <wilson@cygnus.com> - - * Makefile.am (BFD32_BACKENDS): Add efi-app-ia32.lo. - (BFD32_BACKENDS_CFILES): Add efi-app-ia32.c. - (BFD64_BACKENDS): Delete coff-ia64.lo. Add efi-app-ia64.lo. - (BFD64_BACKENDS_CFILES): Delete coff-ia64.c. Add efi-app-ia64.c. - * Makefile.in: Rebuild. - -2000-05-02 Alan Modra <alan@linuxcare.com.au> - - * config.bfd: Re-enable elf32-hppa. It now compiles, even if it - doesn't work very well. - - * elf-hppa.h (elf_hppa_internal_shdr): Define. - (elf_hppa_fake_sections): hdr is elf_hppa_internal_shdr. - Set hdr->s_type to 1 if ARCH_SIZE == 32. - (_bfd_elf_hppa_gen_reloc_type): Add prototype. - (elf_hppa_info_to_howto): Likewise. - (elf_hppa_info_to_howto_rel): Likewise. - (elf_hppa_reloc_type_lookup): Likewise. - (elf_hppa_is_local_label_name): Likewise. - (elf_hppa_fake_sections): Likewise. - (elf_hppa_final_write_processing): Likewise. - (elf_hppa_howto_table): Fully initialise all entries. - (_bfd_elf_hppa_gen_reloc_type): Add ATTRIBUTE_UNUSED to args. - (elf_hppa_info_to_howto): Likewise. - (elf_hppa_info_to_howto_rel): Likewise. - (elf_hppa_reloc_type_lookup): Likewise. - (elf_hppa_final_write_processing, elf_hppa_add_symbol_hook, - elf_hppa_unmark_useless_dynamic_symbols, - elf_hppa_remark_useless_dynamic_symbols, - elf_hppa_record_segment_addrs, elf_hppa_final_link, - elf_hppa_relocate_section, elf_hppa_final_link_relocate, - elf_hppa_relocate_insn): Compile only if ARCH_SIZE == 64 until - elf32-hppa.c mess is cleaned up. - (elf_hppa_final_link_relocate): Make insn and r_type unsigned - int. Delete r_field. In case R_PARISC_PCREL21L, don't set - r_field then call hppa_field_adjust inline func with variable - r_field arg, instead call hppa_field_adjust with fixed arg. - In case R_PARISC_PCREL22F, don't set r_field. - (elf_hppa_relocate_insn): Change args and return type to unsigned - int. Call re_assemble_* funcs to do the work. - - * elf32-hppa.c (hppa_elf_relocate_insn): Don't assume 32 bit when - sign extending. - - * libhppa.h (HPPA_R_CONSTANT): Don't assume 32 bit when sign - extending. - (sign_extend): Mask first before sign extending. - (low_sign_extend): Rewrite without condition expression. - (ones, dis_assemble_3, dis_assemble_12, dis_assemble_16, - dis_assemble_17, dis_assemble_21, dis_assemble_22): Delete. - (assemble_3, assemble_6, assemble_12, assemble_16, assemble_16a, - assemble_17, assemble_21, sign_unext, low_sign_unext): Return - result as function return value rather than through pointer arg. - Accept unsigned int args, and return unsigned int. - (re_assemble_3): New. Combines function of dis_assemble_3 with - re-assembly of opcode and immediate. - (re_assemble_12): Likewise. - (re_assemble_16): Likewise. - (re_assemble_17): Likewise. - (re_assemble_21): Likewise. - (re_assemble_22): Likewise. - (hppa_field_adjust): Rewrite and document, paying attention to - size of types and signed/unsigned issues. - (get_opcode): Shift before masking. - (FDLW): Rename to FLDW. - (bfd_hppa_insn2fmt): Change arg to unsigned int. Delete fmt. - (hppa_rebuild_insn): Change args and return value to unsigned - int. Make use of re_assemble_*. Correct case 11. - - * dep-in.sed: Handle ../opcodes/. - * Makefile.am (SOURCE_HFILES): Add elf-hppa.h, elf32-hppa.h, - elf64-hppa.h, hppa_stubs.h, xcoff.h. - (BFD32_BACKENDS_CFILES): Restore elf32-hppa.c. - Remove elf64-hppa.lo, cpu-ia64.lo, elf64-ia64.lo, elfarm-oabi.lo, - elfarm-nabi.lo dependencies outside of auto-dependency area. - Regenerate dependencies. - * Makefile.in: Regenerate. - - * configure.in (TRAD_HEADER): Test non-null before - AC_DEFINE_UNQUOTED. - * configure: Regenerate. - - * reloc.c: Fix mis-spelling in comment. - -2000-05-01 Alan Modra <alan@linuxcare.com.au> - - * coff-sh.c (bfd_coff_small_swap_table): Fix Fri Apr 28 change. - * vms.c (vms_openr_next_archived_file): Return NULL. - -2000-04-28 Clinton Popetz <cpopetz@cygnus.com> - - * coffcode.h Copy changes mistakenly done to libcoff.h in - 4/24/2000 patch. - -2000-04-29 Andreas Jaeger <aj@suse.de> - - * libbfd-in.h: Correctly check GCC version. - * bfd-in.h: Likewise. - * libhppa.h: Likewise. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - -2000-04-28 Clinton Popetz <cpopetz@cygnus.com> - - * Makefile.am (BFD64_BACKENDS, BFD64_BACKENDS_CFILES): Add - coffdu-rs6000.{lo,c}. - (coff-pmac.lo, coff-rs6000.lo, coff64-rs6000.lo): Add dependency - on xcoff.h - * Makefile.in: Regenerate. - * xcoff.h: New file. - * coff-pmac.c: Use xcoff.h instead of coff-rs6000.c. - * coff-rs6000.c: Move all declarations and defines that are - common to the xcoff backends into xcoff.h - * coff64-rs6000.c: Ditto, - -2000-04-28 Clinton Popetz <cpopetz@cygnus.com> - - * coff-mips.c (mips_ecoff_backend_data): Add initialization of - _bfd_coff_force_symnames in strings and - _bfd_coff_debug_string_prefix_length to their default values. - * coff-sh.c: (bfd_coff_small_swap_table): Ditto. - -2000-04-28 Clinton Popetz <cpopetz@cygnus.com> - - * coff-alpha.c (alpha_ecoff_backend_data): Add initialization of - _bfd_coff_force_symnames in strings and - _bfd_coff_debug_string_prefix_length to their default values. - -2000-04-27 Alan Modra <alan@linuxcare.com.au> - - * elf32-m68k.c (elf_m68k_gc_sweep_hook): Return if dynobj NULL. - Check local_got_refcounts before dereferencing. - - * elf32-ppc.c (ppc_elf_relocate_section): Check splt != NULL - before deciding we don't need R_PPC_PLT32 relocation. - (ppc_elf_gc_sweep_hook): Check local_got_refcounts before - dereferencing. - - * elflink.h (elf_gc_common_finalize_got_offsets): Fix comment. - - * elf32-i386.c (elf_i386_check_relocs): Reference count .got and - .plt entries. - (elf_i386_gc_sweep_hook): Garbage collect .got and .plt entries. - (elf_i386_adjust_dynamic_symbol): Recognize unused .plt entries. - (elf_i386_relocate_section): Allow for .plt to go missing. - (elf_i386_finish_dynamic_symbol): Use same test to decide if we - can use a relative reloc for got as elf_i386_relocate_section. - (bfd_elf32_bfd_final_link): Define to use gc form of final link. - -2000-04-26 Clinton Popetz <cpopetz@cygnus.com> - - * config.bfd: Remove extraneous bfd_powerpc_64_arch. - -2000-04-24 Clinton Popetz <cpopetz@cygnus.com> - - * Makefile.am (coff64-rs6000.lo): New rule. - * Makefile.in: Regenerate. - * coff-rs6000.c (xcoff_mkobject, xcoff_copy_private_bfd_data, - xcoff_is_local_label_name, xcoff_rtype2howto, - xcoff_reloc_type_lookup, xcoff_slurp_armap, xcoff_archive_p, - xcoff_read_ar_hdr, xcoff_openr_next_archived_file, xcoff_write_armap, - xcoff_write_archive_contents): No longer static, and prefix with _bfd_. - (NO_COFF_SYMBOLS): Define. - (xcoff64_swap_sym_in, xcoff64_swap_sym_out, xcoff64_swap_aux_in, - xcoff64_swap_aux_out): New functions; handle xcoff symbol tables - internally. - (MINUS_ONE): New macro. - (xcoff_howto_tabl, xcoff_reloc_type_lookup): Add 64 bit POS - relocation. - (coff_SWAP_sym_in, coff_SWAP_sym_out, coff_SWAP_aux_in, - coff_SWAP_aux_out): Map to the new functions. - * coff64-rs6000.c: New file. - * libcoff.h (bfd_coff_backend_data): Add new fields - _bfd_coff_force_symnames_in_strings and - _bfd_coff_debug_string_prefix_length. - (bfd_coff_force_symnames_in_strings, - bfd_coff_debug_string_prefix_length): New macros for above fields. - * coffcode.h (coff_set_arch_mach_hook): Handle XCOFF64 magic. - Set machine to 620 for XCOFF64. Use bfd_coff_swap_sym_in instead - of using coff_swap_sym_in directly. - (FORCE_SYMNAMES_IN_STRINGS): New macro, defined for XCOFF64. - (coff_set_flags) Set magic for XCOFF64. - (coff_compute_section_file_positions): Add symbol name length to - string section length if bfd_coff_debug_string_prefix_length is - true. - (coff_write_object_contents): Don't do reloc overflow for XCOFF64. - (coff_slurp_line_table): Use bfd_coff_swap_lineno_in instead of - using coff_swap_lineno_in directly. - (bfd_coff_backend_data): Add _bfd_coff_force_symnames_in_strings - and _bfd_coff_debug_string_prefix_length fields. - * coffgen.c (coff_fix_symbol_name, coff_write_symbols): Force - symbol names into strings table when - bfd_coff_force_symnames_in_strings is true. - * coffswap.h (MAX_SCNHDR_NRELOC, MAX_SCNHDR_NLNNO, GET_RELOC_VADDR, - SET_RELOC_VADDR): New macros. - (coff_swap_reloc_in, coff_swap_reloc_out): Use above macros. - (coff_swap_aux_in, coff_swap_aux_out): Remove RS6000COFF_C - code. - (coff_swap_aouthdr_in, coff_swap_aouthdr_out): Handle XCOFF64 - changes within RS6000COFF_C specific code. - (coff_swap_scnhdr_out): Use PUT_SCNHDR_NLNNO, PUT_SCNHDR_NRELOC, - MAX_SCNHDR_NRELOC, and MAX_SCNHDR_NLNNO. - * reloc.c (bfd_perform_relocation, bfd_install_relocation): - Extend existing hack on target name. - * xcofflink.c (XCOFF_XVECP): Extend existing hack on - target name. - * coff-tic54x.c (ticof): Keep up to date with new fields - in bfd_coff_backend_data. - * config.bfd: Add bfd_powerpc_64_arch to targ_arch and define - targ_selvecs to include rs6000coff64_vec for rs6000. - * configure.in: Add rs6000coff64_vec case. - * cpu-powerpc.c: New bfd_arch_info_type. - -2000-04-24 Jeffrey A Law (law@cygnus.com) - - * config.bfd: Only disable elf32-hppa vectors, not all of the - BSD and OSF configuration support. Provide (disabled) clauses - for PA64 support. - * configure.in: Add clause for PA64 support. - * configure: Rebuilt. - - * targets.c (bfd_target_vector): Add bfd_elf64_hppa_vec. - (bfd_elf64_hppa_vec): Declare. - - * Makefile.am (BFD64_BACKENDS): Add elf64-hppa.lo - (BFD64_BACKENDS_CFILES): Add elf64-hppa.c - (elf64-hppa.lo): Add dependencies. - * Makefile.in: Rebuilt. - - * elf64-hppa.c, elf64-hppa.h: New files with PA64 support. - -2000-04-24 Jason Eckhardt <jle@cygnus.com> - - * libhppa.h (dis_assemble_16): New function. - (pa_arch): Added pa20w element. - -2000-04-24 Ulrich Drepper <drepper@cygnus.com> - - * elf-bfd.h: Add prototypes for bfd_elf32_write_relocs, - bfd_elf32_slurp_reloc_table, bfd_elf64_write_relocs, and - bfd_elf64_slurp_reloc_table. - - * elfcode.h (elf_write_relocs, elf_slurp_reloc_table): New - definitions to get external names. - (elf_write_relocs): Renamed from write_relocs and make global. - (elf_slurp_reloc_table): Make global. - (_bfd_elf,size_info): Use elf_write_relocs instead of write_relocs. - - * archive.c (hpux_uid_gid_encode): New function. - (bfd_ar_hdr_from_filesystem): Use it if HPUX_LARGE_AR_IDS is - defined and the ID is greater than 99999. - (bfd_generic_stat_arch_elt): If HPUX_LARGE_AR_IDS is defined decode - special uid/gid fields into 32 bit values. - -2000-04-21 Matthew Green <mrg@cygnus.com> - - * config.bfd: Add NetBSD/sparc64 support. - -2000-04-21 Richard Henderson <rth@cygnus.com> - David Mosberger <davidm@hpl.hp.com> - Timothy Wall <twall@cygnus.com> - Jim Wilson <wilson@cygnus.com> - - * Makefile.am (ALL_MACHINES): Add cpu-ia64.lo. - (ALL_MACHINES_CFILES): Add cpu-ia64.c. - (BFD64_BACKENDS): Add elf64-ia64.lo. - (BFD64_BACKENDS_CFILES): Add elf64-ia64.c. - (cpu-ia64.lo, elf64-ia64.lo): New rules. - * Makefile.in: Rebuild. - * archures.c (enum bfd_architecture): Add bfd_arch_ia64. - (bfd_ia64_arch): Declare. - (bfd_archures_list): Add bfd_ia64_arch. - * bfd-in2.h: Rebuild. - * config.bfd: (ia64*-*-linux-gnu*, ia64*-*-elf*): New targets. - * configure: Rebuild. - * configure.host: (ia64-*-linux*): New host. - * configure.in (bfd_elf64_ia64_little_vec, bfd_elf64_ia64_big_vec, - bfd_efi_app_ia64_vec, bfd_efi_app_ia64_vec): New vectors. - * elf.c (prep_headers): Add bfd_arch_ia64. - * libbfd.h: Rebuild. - * reloc.c: Add IA-64 relocations. - * targets.c (bfd_elf64_ia64_little_vec, bfd_elf64_ia64_big_vec): - Declare. - (bfd_target_vect): Add bfd_elf64_ia64_little_vec. - * cpu-ia64-opc.c, cpu-ia64.c, elf64-ia64.c: New files. - -2000-04-21 Richard Henderson <rth@cygnus.com> - - * elf32-d30v.c (bfd_elf_d30v_reloc): Don't modify section - contents when performing a partial link. - (bfd_elf_d30v_reloc_21): Likewise. - -2000-04-20 H.J. Lu <hjl@gnu.org> - - * elf32-i386.c (elf_i386_relocate_section): Restrict 1998-12-10 - patch to symbols defined by a shared object. - * elf32-ppc.c (ppc_elf_relocate_section): Similarly. - -2000-04-19 Michael Sokolov <msokolov@ivan.Harhan.ORG> - - K&R compiler fixes. - * dwarf2.c (concat_filename): Avoid string literal concatenation. - * ieee.c (ieee_get_symtab): Don't initialise union in struct. - -2000-04-11 David Mosberger <davidm@hpl.hp.com> - - * Makefile.am (BFD64_BACKENDS): Mention coff-ia64.lo. - (BFD64_BACKENDS_CFILES): Mention coff-ia64.c - (coff-ia64.lo): Add dependency. - * Makefile.in: Regenerate. - * coff-ia64.c: New file. - * efi-app-ia32.c: Ditto. - * efi-app-ia64.c: Ditto. - * coffcode.h (coff_set_arch_mach_hook): Handle IA64MAGIC. - (coff_set_flags): Ditto. - (coff_write_object_contents) [IA64]: Set magic number to ZMAGIC. - * config.bfd (i[3456]86-*-linux-gnu*): Mention bfd_efi_app_ia32_vec. - * configure.in (elf): Handle bfd_efi_app_ia32 and bfd_efi_app_ia64_vec. - * configure: Regenerate. - * libpei.h (GET_OPTHDR_IMAGE_BASE): New macro. - (PUT_OPTHDR_IMAGE_BASE): Ditto. - (GET_OPTHDR_SIZE_OF_STACK_RESERVE): Ditto. - (PUT_OPTHDR_SIZE_OF_STACK_RESERVE): Ditto. - (GET_OPTHDR_SIZE_OF_STACK_COMMIT): Ditto. - (PUT_OPTHDR_SIZE_OF_STACK_COMMIT): Ditto. - (GET_OPTHDR_SIZE_OF_HEAP_RESERVE): Ditto. - (PUT_OPTHDR_SIZE_OF_HEAP_RESERVE): Ditto. - (GET_OPTHDR_SIZE_OF_HEAP_COMMIT): Ditto. - (PUT_OPTHDR_SIZE_OF_HEAP_COMMIT): Ditto. - (GET_PDATA_ENTRY): Ditto. - * peigen.c (_bfd_pei_swap_aouthdr_in) [COFF_WITH_PEP64]: Don't read - data_start. Use above macros to read fields that are 64 bit wide for - COFF_WITH_PEP64. Don't truncate entry and text_start to 32 bits. - (_bfd_pei_swap_aouthdr_out) [PEI_FORCE_MINIMUM_ALIGNMENT]: Force - FileAlignment and SectionAlignment to minimum alignment if they - are zero. - (_bfd_pei_swap_aouthdr_out) [PEI_DEFAULT_TARGET_SUBSYSTEM]: Set - Subsystem to default PEI_DEFAULT_TARGET_SUBSYSTEM. - (_bfd_pei_swap_aouthdr_out) [COFF_WITH_PEP64]: Don't set data_start. - Use above macros to write fields that are 64 bit wide for - COFF_WITH_PEP64. - (pe_print_pdata): Set PDATA_ROW_SIZE to 3*8 for COFF_WITH_PEP64, - 5*4 otherwise. This should be right for IA-32 and IA-64, but may - be wrong for platforms. Use PDATA_ROW_SIZE instead of hardcoded - value of 20 bytes. Modify printing for COFF_WITH_PEP64 to print - begin address, end address, and unwind info address only. Use - GET_PDATA_ENTRY() to read .pdata entries. Use fprintf_vma() to - print addresses. - (tbl): Add SECTION, REL32, RESERVED1, MIPS_JMPADDR16, DIR64, and - HIGH3ADJ relocation names. - (_bfd_pe_print_private_bfd_data): Print Subsystem name in legible form. - * targets.c: Declare bfd_efi_app_ia32_vec and - bfd_efi_app_ia64_vec. - (bfd_target_vector): Mention bfd_efi_app_ia32_vec and - bfd_efi_app_ia64_vec. - -2000-04-17 Timothy Wall <twall@cygnus.com> - - * bfd-in2.h: Add prototypes for tic54x load page access. - * bfd-in.h: Regenerate. - * coff-tic54x.c: Add load page functions; allow bfd_arch_unknown - in customized _set_arch_mach function. - * coffcode.h (coff_set_alignment_hook): Set section load page if - the appropriate macro is defined. - (write_object_contents): Read section load page. - -2000-04-13 Alan Modra <alan@linuxcare.com.au> - - * elf32-hppa.h: Update copyright date. - - * elf32-fr30.c (fr30_elf_i20_reloc): Don't use U suffix. - * elf32-mips.c (_bfd_mips_elf_relocate_section): And here. - - * elf32-d30v.c (MAX32): Don't use LL suffix. - (MIN32): Define in terms of MAX32. - (bfd_elf_d30v_reloc): Make relocation a bfd_signed_vma. - - * coff-a29k.c (SIGN_EXTEND_HWORD): Replace with more concise - expression. - - * peicode.h (pe_ILF_build_a_bfd): Remove UL from hex constants. - -2000-04-12 Alan Modra <alan@linuxcare.com.au> - - * dep-in.sed: Match space before file name, not after. - * Makefile.am: Regenerate dependencies. - * Makefile.in: Regenerate. - - * reloc.c (_bfd_relocate_contents): In complain_overflow_bitfield - case, allow address wrap-around stupidly removed 2000-03-17. Sign - extend without an if statement. - -2000-04-11 Alan Modra <alan@linuxcare.com.au> - - * coff-mips.c (mips_gprel_reloc): Test for 16 bit range using - signed quantites. - * elf32-mips.c (gprel16_with_gp): Likewise. - * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Test range - here using -0x40000, not (int)0xfffc0000. - (elf32_hppa_size_of_stub): Likewise. - -2000-04-11 Timothy Wall <twall@cygnus.com> - - * coff-tic54x.c: Now builds with all targets. - * Makefile.am: Add coff/tic54x.h to coff-tic54x.o dependencies. - * Makefile.in: Regenerate. - * coffcode.h (coff_set_arch_mach_hook): Eliminate warning on - unitialized variable. - -2000-04-07 Andrew Cagney <cagney@b1.cygnus.com> - - * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add - --enable-build-warnings option. - * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. - * Makefile.in, configure: Re-generate. - -2000-04-07 Nick Clifton <nickc@cygnus.com> - - * reloc.c: Add BFD_RELOC_ARM_PCREL_BLX and - BFD_RELOC_THUMB_PCREL_BLX. - - * elf32-arm.h (elf32_arm_final_link_relocate): Handle - R_ARM_XPC25 and R_ARM_THM_PC22. - - * elfarm-nabi.c (elf32_arm_howto_): Fix definitions of - R_ARM_XPC25 and R_ARM_THM_XPC22. - (elf32_arm_reloc_map): Make BFD_RELOC_{ARM|THUMB}_PCREL_BLX to - R_ARM_[XPC25|THM_XPC22]. - - * elfarm-oabi.c: Define OLD_ARM_ABI and change include from - elf/arm-oabi.h to elf/arm.h - - * Makefile.am: Fix dependency for elfarm-oabi.c - * Makefile.in: Regenerate. - - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2000-04-06 Michael Snyder <msnyder@seadog.cygnus.com> - - * elfcore.h (elf_core_file_p): preserve value of tdata at entry, - and restore it on failure. Release newly allocated tdata on - failure. - -2000-04-07 Jim Wilson <wilson@cygnus.com> - - * dwarf2.c (struct dwarf2_debug): New field dwarf_line_size. - (decode_line_info): Set it. Report error if unit->line_offset is - equal to or larger than it. - -2000-04-07 Timothy Wall <twall@cygnus.com> - - * targets.c: Added vecs for tic54x. - * reloc.c: Added relocs for tic54x. - * libbfd.h: Regenerated. - * configure: Add TI COFF vecs for tic54x. - * configure.in: Ditto. - * config.bfd (targ_cpu): Recognize new tic54x target. - * coffcode.h (coff_slurp_symbol_table): Additions for TI COFF handling. - * bfd-in2.h: Add tic54x target and relocations. - * Makefile.am, Makefile.in: Add tic54x target. - * archures.c (bfd_archures_list): Add tic54x target. - * coff-tic54x.c: New. - * cpu-tic54x.c: New. - -2000-04-06 Michael Snyder <msnyder@seadog.cygnus.com> - - * elfcore.h (elf_core_file_p): call backend_object_p which - thereby gets an opportunity to update the arch/machine type. - -2000-04-06 Timothy Wall <twall@cygnus.com> - - * coffcode.h (coff_slurp_symbol_table): Handle C_STATLAB storage - class. Handle SEC_CLINK and SEC_BLOCK flags. - * section.c: Add SEC_CLINK and SEC_BLOCK flags. - * bfd-in2.h: Add SEC_CLINK and SEC_BLOCK flags. - -2000-04-06 Nick Clifton <nickc@cygnus.com> - - * elf32-arm.h (elf32_arm_set_private_flags): Only check for - EF_INTERWORK if this is an unknown EABI. - (elf32_arm_merge_private_bfd_data): Check EABI version - numbers. Only check EF_xxx flags if the EABI version number - is unknown. - (elf32_arm_check_private_bfd_data): Only check EF_xxx flags - if the EABI version number is unknown. - (elf32_arm_print_private_bfd_data): Only decode EF_xxx flags - if the EABI version number is unknown. - -2000-04-05 J"orn Rennecke <amylaar@cygnus.co.uk> - - * reloc.c (_bfd_relocate_contents): Add BFD_RELOC_SH_LOOP_START and - BFD_RELOC_SH_LOOP_END. - * elf32-sh.c (sh_elf_howto_tab): Change special_func to - sh_elf_ignore_reloc for all entries that sh_elf_reloc used to ignore. - Add entries for R_SH_LOOP_START and R_SH_LOOP_END. - (sh_elf_reloc_loop): New function. - (sh_elf_reloc): No need to test for always-to-be-ignored relocs - any more. - (sh_rel): Add entries for BFD_RELOC_SH_LOOP_{START,END}. - (sh_elf_relocate_section): Handle BFD_RELOC_SH_LOOP_{START,END}. - * bfd-in2.h, libbfd.h: Regenerate. - -2000-04-04 Alan Modra <alan@linuxcare.com.au> - - * po/bfd.pot: Regenerate. - - * Makefile.am: Remove extraneous mkdep comment. - (MKDEP): Use gcc -MM rather than mkdep. - (DEP): Quote when passing vars to sub-make. Add warning - message to end. - (DEP1): Rewrite for "gcc -MM". - (CLEANFILES): Add DEP2. - Update dependencies. - * Makefile.in: Regenerate. - -2000-04-03 Kevin Buettner <kevinb@redhat.com> - - * configure.in: Added corefile support for AIX 4.3. In particular, - AIX_CORE_DUMPX_CORE will be defined in addition to AIX_CORE when - compiling rs6000-core.c. - * configure: Regenerated. - -2000-04-03 H.J. Lu <hjl@gnu.org> - - * cache.c (bfd_open_file): Unlink the output file only if - it has non-zero size. - -2000-04-01 Ken Block USG <block@zk3.dec.com> - - * elf64-alpha.c (elf64_alpha_relocate_section): Don't emit - relative relocations for non-loaded sections in shared objects. - (elf64_alpha_check_relocs): Similarly. - -2000-04-03 Hans-Peter Nilsson <hp@axis.com> - - * aoutx.h (NAME(aout,reloc_type_lookup)): Add BFD_RELOC_8 and - BFD_RELOC_16 to switch for extended relocs. - (MY_swap_ext_reloc_in): New. - (MY_swap_ext_reloc_out): New. - (NAME(aout,slurp_reloc_table)): Use MY_swap_ext_reloc_in rather - than NAME(aout,swap_ext_reloc_in) for extended relocs. - (NAME(aout,squirt_out_relocs)): Similarly use - MY_swap_ext_reloc_out. - (aout_link_reloc_link_order): Use MY_put_ext_reloc if defined. - -2000-04-03 Kazu Hirata <kazu@hxi.com> - - * coff-h8300.c (h8300_reloc16_extra_cases): Add bsr:16 -> bsr:8 to - the R_PCRWORD_B case. - -2000-03-31 Thomas de Lellis <tdel@wrs.com> - - * srec.c : Set CHUNK size to 16 bytes to prevent download failures - on some targets. - * ihex.c : Ditto. - -2000-03-30 Donald Lindsay <dlindsay@cygnus.com> - - * elf32-m32r.c (m32r_elf_generic_reloc): new function. All - HOWTO references to bfd_elf_generic_reloc, that have - partial_inplace == true, now use the new function. The function - is based on the recent rewrite of m32r_elf_lo16_reloc(), and - extends its fixes to the R_M32R_{16,24,32} relocs. - The new logic in m32r_elf_lo16_reloc() has been removed, and - it instead calls the new routine to obtain that functionality. - -2000-03-27 Alan Modra <alan@linuxcare.com.au> - - * elf32-avr.c (elf32_avr_gc_mark_hook, elf32_avr_gc_sweep_hook, - elf32_avr_check_relocs, avr_final_link_relocate, - elf32_avr_relocate_section, bfd_elf_avr_final_write_processing, - elf32_avr_object_p): Add prototypes. - (elf32_avr_gc_mark_hook): Add default for h->root.type. - (bfd_elf_avr_final_write_processing): Make static. - -2000-03-27 Denis Chertykov <denisc@overta.ru> - - * cpu-avr.c: New file. BFD support routines for AVR architecture. - * archures.c (bfd_architecture): Add AVR architecture. - (bfd_archures_list): Add reference to AVR architecture info. - * elf.c (prep_headers): Handle bfd_arch_avr. - * reloc.c: Add various AVR relocation enums. - * targets.c (bfd_elf32_avr_vec): Declare and add to target vector - list. - * Makefile.am: Add support for AVR elf. - * configure.in: Likewise. - * config.bfd: Likewise. - * Makefile.in: Regenerate. - * configure: This too. - * bfd-in2.h: And this. - * libbfd.h: And this. - -2000-03-24 H.J. Lu <hjl@gnu.org> - - * elf64-alpha.c (elf64_alpha_merge_ind_symbols): Add prototype. - (elf64_alpha_find_reloc_at_ofs): Likewise. - -2000-03-17 Alan Modra <alan@linuxcare.com.au> - - * reloc.c (bfd_check_overflow): In case complain_overflow_bitfield, - flag an overflow if the bitfield is outside -2**n to 2**n-1. The - allowable range used to be -2**(n-1) to 2**n-1. - * reloc.c (_bfd_relocate_contents): Same here. Also replace - "boolean overflow" with "bfd_reloc_status_type flag". - -2000-03-14 Doug Evans <dje@casey.transmeta.com> - - * elf32-m32r.c (m32r_elf_lo16_reloc): Rewrite. - -2000-03-14 Kazu Hirata <kazu@hxi.com> - - * reloc16.c (bfd_coff_reloc16_relax_section): Count the total number - of shrinks properly, including the last reloc. - -2000-03-13 Kazu Hirata <kazu@hxi.com> - - * coff-h8300.c (h8300_reloc16_extra_cases): Fix the sanity - check for R_MOVL2. - -2000-03-11 Alan Modra <alan@linuxcare.com.au> - - * ieee.c (ieee_archive_p): Return bfd_error_wrong_format on - a format mismatch rather than an "error" from bfd_read such as - bfd_error_file_truncated. - -2000-03-10 Geoff Keating <geoffk@cygnus.com> - - * elf32-mips.c (_bfd_mips_elf_relocate_section): Do proper - sign-extension and big-endian compensation for - R_MIPS_64 even in ld -r. - -2000-03-10 Geoffrey Keating <geoffk@cygnus.com> - - * elf32-mips.c (mips_elf_next_relocation): Rename from - mips_elf_next_lo16_relocation, and generalize to look - for any relocation type. - (elf_mips_howto_table): Make R_MIPS_PC16 pcrel_offset. - (elf_mips_gnu_rel_hi16): Howto for R_MIPS_GNU_REL_HI16. - (elf_mips_gnu_rel_lo16): Howto for R_MIPS_GNU_REL_LO16. - (elf_mips_gnu_rel16_s2): Howto for R_MIPS_GNU_REL16_S2. - (elf_mips_gnu_pcrel64): Howto for R_MIPS_PC64. - (elf_mips_gnu_pcrel32): Howto for R_MIPS_PC32. - (bfd_elf32_bfd_reloc_type_lookup): Add new relocs. - (mips_rtype_to_howto): Likewise. - (mips_elf_calculate_relocation): Handle new relocs. - (_bfd_mips_elf_relocate_section): REL_HI16/REL_LO16 relocs - are paired. The addend for R_MIPS_GNU_REL16_S2 - is shifted right two bits. - -2000-03-10 Alan Modra <alan@linuxcare.com.au> - - * reloc.c (bfd_perform_relocation): Undo emacs formatting of - comment, and ensure it doesn't happen again. - (bfd_install_relocation): Same here. - (_bfd_relocate_contents): Don't bother assigning unused signmask - shift result. Fix typos in comments. - Remove trailing whitespace throughout file. - -2000-03-07 Doug Evans <dje@casey.transmeta.com> - - * reloc.c (reloc_howto_struct): Fix partial_inplace comment. - * bfd-in2.h: Rebuild. - -2000-03-06 Nick Clifton <nickc@cygnus.com> - - * peicode.h (struct pe_ILF_vars): Add sym_ptr_table and - sym_ptr_ptr fields. - (SIZEOF_ILF_SYM_PTR_TABLE): Define. - (SIZEOF_ILF_STRINGS): Redefine. - (pe_ILF_make_a_symbol-reloc): New function. Creates a symbol - relative reloc, as opposed to a section relative reloc. - (pe_ILF_make_a_symbol): Set the class of local symbols to C_STAT - not C_LABEL. - Add length of symbol's prefix to string pointer. - Store a pointer to the symbol in the symbol pointer table. - (pe_ILF_build_a_bfd): Do not build .idata$2 or .idata$7. - Initialise the symbol pointer table. - Store the hint in the Hint/Name table. - Make the jump reloc be symbol realtive, not section relative. - Create an import symbol for imported code. - -2000-03-06 Catherine Moore <clm@cygnus.com> - - * elf.c (swap_out_syms): Check for null type_ptr. - -2000-03-01 Hans-Peter Nilsson <hp@axis.com> - - * aout-target.h (MY(write_object_contents)): Remove unused - and unusable "#if CHOOSE_RELOC_SIZE". - * pc532-mach.c (MY(write_object_contents)): Ditto. - * netbsd.h (MY(write_object_contents)): Ditto. - * hp300hpux.c (MY(write_object_contents)): Ditto. - * freebsd.h (MY(write_object_contents)): Ditto. - * aout-tic30.c (tic30_aout_write_object_contents): Ditto. - -2000-02-29 H.J. Lu <hjl@gnu.org> - - * peicode.h (jtab): Make it static. - - * coff-sh.c (sh_align_load_span): Declared if COFF_WITH_PE is - defined and COFF_IMAGE_WITH_PE is not defined. - (_bfd_sh_align_load_span): Defined as sh_align_load_span if - COFF_WITH_PE is defined and COFF_IMAGE_WITH_PE is not defined. - -2000-03-01 Nick Clifton <nickc@cygnus.com> - - * coff-arm.c (bfd_arm_process_before_allocation): Make - 'symndx' signed to prevent compile time warning. - - * coff-mcore.c: Remove unused prototype for pe_object_p. - - * coff-sh.c: Add "#ifndef COFF_IMAGE_WITH_PE" around static - functions that are not used when COFF_IMAGE_WITH_PE is - defined. - (struct sh_opcode): Change type of 'flags' field to unsigned - long so that it can hold the USESAS flag. - - * coffcode.h (styp_to_sec_flags): Initialise 'target_name'. - - * elf-m10300.c (mn10300_elf_relax_section): Initialise - 'sym_sec'. - - * elf32-i370.c: Add ATTRIBUTE_UNUSED to unused function - parameters. - Remove unusued variables and code. - (elf_backend_add_symbol_hook): Fix prototype. - - * elf32-m68k.c (elf_m68k_gc_sweep_hook): Initialise 'sgot' and - 'srelgot'. - - * elf32-mcore.c (mcore_elf_relocate_section): Initialise - 'oldinst'. - - * elf32-mips.c: Add ATTRIBUTE_UNUSED to unused function - parameters. - Remove unusued variables and code. - (elf_backend_add_symbol_hook): Fix prototype. - - * elf32-sh.c (sh_elf_set_mach_from_flags): Use 'flags'. - - * elflink.h (elf_bfd_link_add_symbols): Add ATTRIBUTE_UNUSED - to unused function parameter. - - * pe-mips.c: Add ATTRIBUTE_UNUSED to unused function - parameters. - Use EMPTY_HOWTO to initialise empty howto slots. - Remove unused variables. - - * peicode.h (pe_ILF_build_a_bfd): Initialise id6. - -2000-03-01 H.J. Lu <hjl@gnu.org> - - * aoutx.h (aout_link_input_section_std): Pass "true" to - the undefined_symbol callback. - (aout_link_input_section_ext): Likewise. - * bout.c (get_value): Likewise. - * coff-a29k.c (coff_a29k_relocate_section): Likewise. - * coff-alpha.c (alpha_ecoff_get_relocated_section_conten): - Likewise. - (alpha_relocate_section): Likewise. - * coff-arm.c (coff_arm_relocate_section): Likewise. - * coff-i960.c (coff_i960_relocate_section): Likewise. - * coff-mcore.c (coff_mcore_relocate_section): Likewise. - * coff-mips.c (mips_relocate_section): Likewise. - * coff-ppc.c (coff_ppc_relocate_section): Likewise. - * coff-sh.c (sh_relocate_section): Likewise. - * coff-tic80.c (coff_tic80_relocate_section): Likewise. - * cofflink.c (_bfd_coff_generic_relocate_section): Likewise. - * elf-m10200.c (mn10200_elf_relocate_section): Likewise. - * elf-m10300.c (mn10300_elf_relocate_section): Likewise. - * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. - * elf32-fr30.c (fr30_elf_relocate_section): Likewise. - * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. - * elf32-i370.c (i370_elf_relocate_section): Likewise. - * elf32-m32r.c (m32r_elf_relocate_section): Likewise. - * elf32-mcore.c (mcore_elf_relocate_section): Likewise. - * elf32-sh.c (sh_elf_relocate_section): Likewise. - * elf32-v850.c (v850_elf_relocate_section): Likewise. - * elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise. - * elflink.h (elf_link_output_extsym): Likewise. - * pe-mips.c (coff_pe_mips_relocate_section): Likewise. - * reloc.c (bfd_generic_get_relocated_section_conten): Likewise. - * reloc16.c (_bfd_ppc_xcoff_relocate_section): Likewise. - - * elf-hppa.h (elf_hppa_relocate_section): Pass "false" to the - undefined_symbol callback when building shared library with - -Bsymbolic and undefined symbols are allowed. Otherwise, pass - "true". - * elf32-arm.h (elf32_arm_relocate_section): Likewise. - * elf32-i386.c (elf_i386_relocate_section): Likewise. - * elf32-m68k.c (elf_m68k_relocate_section): Likewise. - * elf32-mips.c (mips_elf_calculate_relocation): Likewise. - (elf32_mips_get_relocated_section_content): Likewise. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. - * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - -2000-02-28 Nick Clifton <nickc@cygnus.com> - - * Makefile.am: Add rules to build pe[i]-{sh|mips}.lo objects. - * Makefile.in: Regenerate. - - * configure.in: Add support for mips and sh pe vectors. - * configure: regenerate. - - * config.bfd: Add support for arm-wince, mips-pe and sh-pe - targets. - - * targets.c: Add mips and sh pe vectors. - - * libpei.h (coff_final_link_postscript): Only define if not - already defined. - - * coffcode.h: Add support for WinCE magic numbers. - - * peigen.c (pe_print_reloc): Update comment and rearrange - appending of newline character. - - * peicode.h: Add support for Image Library Format. - (pe_ILF_vars): Structure containing data used by ILF code. - (pe_ILF_make_a_section): New function. Create a section based - on ILF data. - (pe_ILF_make_a_reloc): New function. Create a reloc based on - ILF data. - (pe_ILF_make_a_symbol): New function. Create a symbol based - on ILF data. - (pe_ILF_save_relocs): New function. Store the relocs created - by pe_ILF_make_a_reloc in a section. - (pe_ILF_build_a_bfd): New function. Create a BFD describing - an ILF object. - (pe_ILF_object_p): New function. Return a bfd_target pointer - for an ILF object. - (pe_bfd_object_p): If an ILF object is detected call - pe_ILF_object_p on it. - - * coff-arm.c: Add support for WinCE relocs which are different - from normal ARM COFF relocs. - * pe-arm.c: Unset TARGET_UNDERSCORE for a WinCE target. - - * coff-sh.c: Add support for sh-pe target. - * pe-sh.c: New file. Support code for sh-pe target. - * pei-sh.c: New file. Support code for sh-pe target. - - * pe-mips.c: New file. Support code for mips-pe target. - * pei-mips.c: New file. Support code for mips-pe target. - -2000-02-27 Jakub Jelinek <jakub@redhat.com> - - * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Don't bump - architecture if the object causing the bump is dynamic. - * elf64-sparc.c (sparc64_elf_merge_private_bfd_data): Likewise, - and also don't it for memory ordering. - (sparc64_elf_write_relocs): Take src_rela out of the loop. - -2000-02-27 Ian Lance Taylor <ian@zembu.com> - - * dwarf2.c (read_abbrevs): Use _raw_size directly rather than - calling bfd_get_section_size_before_reloc. - (decode_line_info): Likewise. - (_bfd_dwarf2_find_nearest_line): Likewise. - -2000-02-27 Eli Zaretskii <eliz@is.elta.co.il> - - * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the - name of the libtool directory. - * Makefile.in: Rebuild. - -2000-02-25 Rodney Brown (RodneyBrown@pmsc.com) - - * som.c (SOM_HOWTO): Define. - (som_hppa_howto_table): Use it. - -2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br> - - * config.bfd: Enable 64 bit support for GNU/Linux/sparc. - - * config.bfd: Enable 64 bit support for Solaris7+/sparc. - -2000-02-24 Catherine Moore <clm@cygnus.com> - - * som.c (som_misc_symbol_info): Add field - secondary_def. - (som_bfd_derive_misc_symbol_info): Initialize - secondary_def. - (som_build_and_write_symbol_table): Keep track - of secondary_def field. - (som_slurp_symbol_table): Set BSF_WEAK symbol flag - if secondary_def field is set. - (som_bfd_ar_write_symbol_stuff): Initialize - secondary_def. - -2000-02-23 Stephane Carrez <stcarrez@worldnet.fr> - - * dwarf2.c (read_address): Read 16-bits addresses. - (parse_comp_unit): Accept addr_size == 2. - -2000-02-23 Alan Modra <alan@spri.levels.unisa.edu.au> - - * bfd-in.h: Update copyright date. - -2000-02-23 Linas Vepstas <linas@linas.org> - - * cpu-i370.c: New file. - * elf32-i370.c: New file. - * archures.c (enum bfd_architecture): Add bfd_arch_i370. - (bfd_i370_arch): New. - (bfd_archures_list): Add bfd_i370_arch. - * elf.c (prep_headers): Add bfd_arch_i370. - * Makefile.am: Add support for IBM 370 elf. - * config.bfd: Likewise. - * configure.in: Likewise. - * libbfd.h (bfd_reloc_code_real_names): Likewise. - * reloc.c (bfd_reloc_code_type): Likewise. - * targets.c: Likewise. - - * Makefile.in: Regenerate. - * configure: Regenerate. - * bfd-in2.h: Regenerate. - -2000-02-22 Ian Lance Taylor <ian@zembu.com> - - * elf32-i386.c (elf_i386_info_to_howto_rel): Give a warning for - invalid relocation types, and change them to R_386_NONE. - -2000-02-22 H.J. Lu <hjl@gnu.org> - - * elflink.h (elf_link_add_object_symbols): If a version symbol is - not defined, don't add a second ELF_VER_CHR. - - * elflink.h (elf_bfd_final_link): Call output_extsym for global - symbols converted to local symbols even when stripping all - symbols. - (elf_link_output_extsym): Process global symbols converted to - local symbols even if they are being stripped. - -2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au> - - * archures.c (bfd_octets_per_byte): Return unsigned int. - (bfd_arch_mach_octets_per_byte): Ditto. - * libbfd.c (bfd_read, bfd_seek): Quell signed vs. unsigned - comparison warning. - * section.c (bfd_get_section_size_before_reloc): Quell signed - vs. unsigned comparison warning. - (bfd_get_section_size_after_reloc): Same here. Fix parentheses too. - * trad-core.c (trad_unix_core_file_p): Correct 2000-01-27 - change. What was I thinking? - * bfd-in2.h: Regenerate. - - * elflink.h (elf_gc_sweep): Skip non-elf input bfds. - (elf_gc_sections): Same here. - (elf_gc_common_finalize_got_offsets): And here. - -2000-02-21 Ian Lance Taylor <ian@zembu.com> - - ELF HPPA doesn't work at present; remove it until it does. - * config.bfd: Comment out setting targ_defvec to - bfd_elf32_hppa_vec. - * Makefile.am: Rebuild dependencies. - (BFD32_BACKENDS): Remove elf32-hppa.lo. - (BFD32_BACKENDS_CFILES): Remove elf32-hppa.c. - (SOURCE_HFILES): Remove elf32-hppa.h and hppa_stubs.h. - * Makefile.in: Rebuild. - * targets.c (bfd_target_vector): Comment out bfd_elf32_hppa_vec. - -2000-02-18 Geoff Keating <geoffk@cygnus.com> - - * coffcode.h (coff_set_arch_mach_hook): Use free(), because there - is no bfd_free(). Revert bfd_free part of previous change. - -2000-02-18 Geoff Keating <geoffk@cygnus.com> - - * coffcode.h (coff_set_arch_mach_hook): Don't use variable-size - arrays. - (coff_compute_section_file_positions): Use bfd_free to pair - bfd_malloc. - (coff_write_object_contents): Likewise. - - * coff-rs6000.c (xcoff_howto_table_16): New variable. - (xcoff_rtype2howto): Handle 16-bit variants of 32-bit relocs. - -2000-02-18 Ulrich Drepper <drepper@cygnus.com> - - * coff-rs6000.c (XCOFFARMAGBIG): New macro. - (xcoff_ar_file_hdr_big): New structure. - (SIZEOF_AR_FILE_HDR_BIG): New macro. - (xcoff_ar_hdr_big): New structure. - (SIZEOF_AR_HDR_BIG): New macro. - (xcoff_big_format_p): New macro. - (xcoff_ardata_big): New macro. - (arch_xhdr_big): New macro. - (xcoff_slurp_armap): Handle large archives. - (xcoff_archive_p): Detect large archives. - (xcoff_read_ar_hdr): Handle large archives. - (xcoff_openr_next_archived_file): Handle large archives. - (xcoff_generic_stat_arch_elt): Handle large archives. - (xcoff_write_armap_old): Rename from xcoff_write_armap. - (xcoff_write_armap_big): New function. - (xcoff_write_armap): New function, dispatch to _old or _big. - (xcoff_write_archive_contents_old): Rename from - xcoff_write_archive_contents. - (xcoff_write_archive_contents_big): New function. - (xcoff_write_archive_contents): New function, dispatch to _old or - _big. - -2000-02-18 Richard Henderson <rth@cygnus.com> - - * elf-bfd.h (struct elf_link_hash_table): Remove copy_indirect - and hide_symbol members. - (elf_link_hash_copy_indirect): Remove. - (elf_link_hash_hide_symbol): Remove. - (struct elf_backend_data): Add elf_backend_copy_indirect_symbol - and elf_backend_hide_symbol. - (_bfd_elf_link_hash_copy_indirect): Declare. - (_bfd_elf_link_hash_hide_symbol): Declare. - * elf.c (_bfd_elf_link_hash_copy_indirect): Remove table argument. - (_bfd_elf_link_hash_hide_symbol): Likewise. - (_bfd_elf_link_hash_table_init): Don't init killed members. - * elflink.h (elf_link_add_object_symbols): Use the bed function - pointers not elf_link_hash_{copy_indirect,hide_symbol}. - (elf_link_assign_sym_version): Likewise. - * elfxx-target.h (elf_backend_copy_indirect_symbol): Default. - (elf_backend_hide_symbol): Likewise. - (elfNN_bed): Update for new members. - -2000-02-17 Kevin Buettner <kevinb@redhat.com> - - * rs6000-core.c (CORE_DATA_SIZE_FIELD, CORE_COMM_FIELD, SAVE_FIELD, - STACK_END_ADDR): Define for new core file format. - (LOADER_OFFSET_FIELD, LOADER_REGION_SIZE, CORE_DUMP): New defines - for handling the vagaries of the various core file structures used - by AIX over the years. - (rs6000coff_core_p, rs6000coff_core_file_matches_executable, - Rs6kCorData): Use above defines to adapt code to use AIX 4.3's - core_dumpx structure. - -2000-02-17 J"orn Rennecke <amylaar@cygnus.co.uk> - - * archures.c (bfd_mach_sh2, bfd_mach_sh_dsp): New macros. - (bfd_mach_sh3_dsp): Likewise. - (bfd_mach_sh4): Reinstate. - (bfd_default_scan): Recognize 7410, 7708, 7729 and 7750. - * bfd-in2.h: Regenerate. - * coff-sh.c (struct sh_opcode): flags is no longer short. - (USESAS, USESAS_REG, USESR8, SETSAS, SETSAS_REG): New macros. - (sh_opcode41, sh_opcode42): Integrate as sh_opcode41. - (sh_opcode01, sh_opcode02, sh_opcode40): Add sh-dsp opcodes. - (sh_opcode41, sh_opcode4, sh_opcode80): Likewise. - (sh_opcodes): No longer const. - (sh_dsp_opcodef0, sh_dsp_opcodef): New arrays. - (sh_insn_uses_reg): Check for USESAS and USESR8. - (sh_insn_sets_reg, sh_insns_conflict): Check for SETSAS. - (_bfd_sh_align_load_span): Return early for SH4. - Modify sh_opcodes lookup table for sh-dsp / sh3-dsp. - Take into account that field b of a parallel processing insn - could be mistaken for a separate insn. - * cpu-sh.c (arch_info_struct): New array elements for - sh2, sh-dsp and sh3-dsp. - Reinstate element for sh4. - (SH2_NEXT, SH_DSP_NEXT, SH3_DSP_NEXT): New macros. - (SH4_NEXT): Reinstate. - (SH3_NEXT, SH3E_NEXT): Adjust. - * elf-bfd.h (_sh_elf_set_mach_from_flags): Declare. - * elf32-sh.c (sh_elf_set_private_flags): New function. - (sh_elf_copy_private_data, sh_elf_set_mach_from_flags): Likewise. - (sh_elf_merge_private_data): New function. - (elf_backend_object_p, bfd_elf32_bfd_set_private_bfd_flags): Define. - (bfd_elf32_bfd_copy_private_bfd_data): Define. - (bfd_elf32_bfd_merge_private_bfd_data): Change to - sh_elf_merge_private_data. - -2000-02-13 Richard Henderson <rth@cygnus.com> - - * elf-bfd.h (struct elf_link_hash_table): Add copy_indirect and - hide_symbol members. - (elf_link_hash_copy_indirect): New. - (elf_link_hash_hide_symbol): New. - * elflink.h (elf_link_add_object_symbols): Break out copy from - indirect new new symbol to elf.c. - (elf_link_assign_sym_version): Break out privatization of - non-exported symbol to elf.c. - * elf.c (_bfd_elf_link_hash_copy_indirect): New. - (_bfd_elf_link_hash_hide_symbol): New. - (_bfd_elf_link_hash_table_init): Init copy_indirect and hide_symbol. - -2000-02-13 Ian Lance Taylor <ian@zembu.com> - - * section.c (_bfd_strip_section_from_output): Add info parameter. - If it passed as non-NULL, use it to check whether any input BFD - has an input section which uses this output section. Change all - callers. - * bfd-in2.h: Rebuild. - - * bfd-in.h: Move declarations of bfd_get_elf_phdr_upper_bound and - bfd_get_elf_phdrs in from bfd-in2.h, correcting patch of - 1999-11-29. - * bfd-in2.h: Rebuild. - -2000-02-10 Timothy Wall <twall@cygnus.com> - - * coffswap.h (coff_swap_sym_in): Add hook SWAP_SYM_IN_POST to - allow final modifications of swapped-in symbol. - (coff_swap_sym_out): Ditto with SWAP_SYM_OUT_POST. - * coffcode.h (coff_write_relocs): Use macro - SECTION_RELATIVE_ABSOLUTE_SYMBOL_P if defined to determine whether - symbol index should be set to -1. - -2000-02-10 Toshiyasu Morita (toshi.morita@sega.com) - - * coff-sh.c (USES1_REG, USES2_REG, SETS1_REG, SETS2_REG, - USESF1_REG, USESF2_REG, SETSF1_REG, SETSF2_REG): New macros. - * (sh_insn_sets_reg, sh_insn_sets_freg): New prototypes. - * (sh_insn_sets_reg, sh_insn_uses_or_sets_reg, sh_insns_sets_freg, - sh_insns_uses_or_sets_freg): New functions. - * (sh_insn_uses_reg, sh_insn_uses_freg): Use new macros. - * (sh_insns_conflict): Use new functions and new macros to - detect conflicts when two instructions both set same integer registers, - both set same fp register, and both set special register. - -2000-02-09 Timothy Wall <twall@cygnus.com> - - * coffgen.c (coff_real_object_p): Set arch/mach info prior to - swapping in sections, so that the swapping routines have access to - the arch/mach info. - -2000-02-08 Mark Elbrecht <snowball3@bigfoot.com> - - * coff-go32.c: Update comment. Update copyright. - -2000-01-27 Thomas de Lellis <tdel@windriver.com> - - * syms.c (bfd_decode_symclass) - Two new class characters were added - 'V' and 'v'. The - meaning of 'W' is now restricted to just weak non-object - symbols. This allows differentiation between, for example, - weak functions vs weak objects. nm for example now dumps: - 'W' = weak global - 'w' = weak unresolved - 'V' = weak global object - 'v' = weak unresolved object - - (bfd_is_undefined_symclass): New function. Return true if the - given symbol class represents and undefined/unresolved symbol. - - (bfd_symbol_info): Use bfd_is_undefined_symclass to check for - unresolved symbols. - - * bfd-in2.h: Add prototype for bfd_is_undefined_symbol(). - - * elf32-arm.h (elf32_arm_get_symbol_type): If a symbol has the - STT_ARM_16BIT flag set, but it is not attached to a data object - return STT_ARM_16BIT so that it will be treated as code by the - disassembler. - -2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au> - - * coff-i386.c (i3coff_object_p): Remove prototype. - Update copyright. - - * elflink.c (_bfd_elf_link_record_dynamic_symbol): Add const - to name. Update copyright. - - * trad-core.c (trad_unix_core_file_p): Cast core_regsec - assignment to avoid warning. Update copyright. - -2000-01-24 Robert Lipe (robertl@sco.com) - - * coffcode.h (coff_write_object_contents): Get buff via bfd_malloc - instead of using GNU C extension. - -2000-01-21 Nick Clifton <nickc@cygnus.com> - - * libbfd.c (bfd_read): Do not attempt to get a negativly sized - amount from a bfd_in_memory structure. - (bfd_seek): Do not allow seeks past the end of a bfd_in_memory - structure. - -2000-01-14 Nick Clifton <nickc@cygnus.com> - - * linker.c (default_indirect_link_order): oops - fix incorrectly - applied patch from Tim Wall. - -2000-01-13 Timothy Wall (twall@tiac.net> - - * coffcode.h: Use bfd_coff_xxx instead of the macro XXX (where xxx - = scnhsz, filhsz, relsz, aoutsz, etc) - - * coffswap.h: Ditto. - -2000-01-13 Nick Clifton <nickc@cygnus.com> - - * elf32-arm.h (elf32_thumb_to_arm_stub): Fix offset in branch to - interwork thumb to arm stub. - -2000-01-13 Timothy Wall (twall@tiac.net> - - * archures.c (bfd_octets_per_byte): New function: Return - target byte size. - (bfd_arch_mach_octets_per_byte): New function: Return target - byte size. - - * section.c: Distinguish between octets and bytes for usage of - _cooked_size, _raw_size, and output_offset. Clarify - description of bfd_set_section_contents. - - * bfd-in2.h: Regenerate. - - * coffgen.c: Indicate that the offset parameter is in bytes, not - octets. - - * cofflink.c (bfd_coff_link_input_bfd): Use bfd_octets_per_byte - where appropriate to get the octet offset when calling - bfd_set_section_contents. - (bfd_coff_reloc_link_order): Ditto. - - * linker.c (bfd_generic_reloc_link_order): Ditto. - (_bfd_default_link_order): Ditto. - - * reloc.c (bfd_perform_relocation): Distinguish between octets - and bytes. Use octets when indexing into octet data; use bytes - when calculating target addresses. - (bfd_install_relocation): Ditto. - - * srec.c (srec_write_section): Ditto. - -2000-01-13 Nick Clifton <nickc@cygnus.com> - - * coff-mcore.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Change from - 3 to 2. This allows 4 byte sized sections, which is necessary for - dlltool to build functioning DLLs. - -2000-01-10 Philip Blundell <pb@futuretv.com> - - * config.bfd (arm*-*-linux-gnu*): Match instead of arm*-*-linux-gnu. - (arm*-*-conix*): New target. - -2000-01-10 Egor Duda <deo@logos-m.ru> - - * config.bfd: Include elf32_i386 vector to target list for cygwin - and mingw. - - * config.in: Undefine HAVE_WIN32_PSTATUS_T. - * configure.in: Test for structure win32_pstatus_t in - <sys/procfs.h> - * configure: Regenerate. - - * elf.c (elfcore_grok_win32pstatus): New function: process - win32_pstatus_t notes in elf core file. - (elfcore_grok_note): Detect win32_pstatus notes. - -2000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de> - - * elflink.c (_bfd_elf_link_record_dynamic_symbol): Process symbol - visibility. - * elflink.h (elf_link_add_object_symbols): Combine visibilities. - * elf.c (bfd_elf_print_symbol): Interpret st_other as visibility. - -For older changes see ChangeLog-9899 - -Local Variables: -mode: change-log -left-margin: 8 -fill-column: 74 -version-control: never -End:
diff --git a/clang-tests-external/gdb/7.5/bfd/ChangeLog-0203 b/clang-tests-external/gdb/7.5/bfd/ChangeLog-0203 deleted file mode 100644 index 1b1abb1..0000000 --- a/clang-tests-external/gdb/7.5/bfd/ChangeLog-0203 +++ /dev/null
@@ -1,11405 +0,0 @@ -2003-12-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - Adfd m32r-linux and PIC support. Add new ABI that uses RELA. - * config.bfd (m32r*-*-linux*, m32r*le-*-linux*, m32r*le-*-*): Added. - * configure.in (bfd_elf32_m32rlin_vec, bfd_elf32_m32rlelin_vec, - bfd_elf32_m32rle_vec): Added - * configure: Regenerated. - * elf32-m32r.c (m32r_info_to_howto, m32r_elf_adjust_dynamic_symbol, - m32r_elf_size_dynamic_sections, m32r_elf_create_dynamic_sections, - m32r_elf_finish_dynamic_sections, m32r_elf_finish_dynamic_symbol, - allocate_dynrelocs, readonly_dynrelocs, m32r_elf_reloc_type_class, - m32r_elf_fake_sections): Added. - (m32r_elf_howto_table): Added - R_M32R_16_RELA, R_M32R_32_RELA, R_M32R_24_RELA, - R_M32R_10_PCREL_RELA, R_M32R_18_PCREL_RELA, - R_M32R_26_PCREL_RELA, R_M32R_HI16_ULO_RELA, - R_M32R_HI16_SLO_RELA, R_M32R_LO16_RELA, - R_M32R_SDA16_RELA, R_M32R_RELA_GNU_VTINHERIT, - R_M32R_RELA_GNU_VTENTRY, R_M32R_GOT24, - R_M32R_26_PLTREL, R_M32R_COPY, R_M32R_GLOB_DAT, - R_M32R_JMP_SLOT, R_M32R_RELATIVE, R_M32R_GOTOFF, - R_M32R_GOTPC24, R_M32R_GOT16_HI_ULO, - R_M32R_GOT16_HI_SLO, R_M32R_GOT16_LO, - R_M32R_GOTPC_HI_ULO, R_M32R_GOTPC_HI_SLO, - R_M32R_GOTPC_LO. - (m32r_elf_relocate_section, m32r_elf_check_relocs): Changed for - New ABI. - * reloc.c: Add BFD_RELOC_M32R_GOT24, BFD_RELOC_M32R_26_PLTREL, - BFD_RELOC_M32R_COPY, BFD_RELOC_M32R_GLOB_DAT, - BFD_RELOC_M32R_JMP_SLOT, BFD_RELOC_M32R_RELATIVE, - BFD_RELOC_M32R_GOTOFF, BFD_RELOC_M32R_GOTPC24, - BFD_RELOC_M32R_GOT16_HI_ULO, BFD_RELOC_M32R_GOT16_HI_SLO, - BFD_RELOC_M32R_GOT16_LO, BFD_RELOC_M32R_GOTPC_HI_ULO, - BFD_RELOC_M32R_GOTPC_HI_SLO, BFD_RELOC_M32R_GOTPC_LO. - * targets.c (bfd_elf32_m32rlin_vec, bfd_elf32_m32rlelin_vec, - bfd_elf32_m32rle_vec): Added. - * bfd-in2.h: Regenerated. - * libbfd.h: Regenerated. - -2003-12-19 Danny Smith <dannysmith@users.sourceforge.net> - - * coffcode.h (styp_to_sec_flags): Don't treat .reloc section - as SEC_DEBUGGING. - -2003-12-18 Richard Sandiford <rsandifo@redhat.com> - - * elf32-mips.c (elf_mips_howto_table_rel): Replace all uses of - mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use - _bfd_mips_elf_hi16_reloc for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16, - _bfd_mips_elf_lo16_reloc for R_MIPS_LO16 and R_MIPS_GNU_REL_LO16, - and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16. Change rightshift - to 16 for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16. - (mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc) - (mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete. - (_bfd_mips_elf32_gprel16_reloc): Remove special case. - (mips_elf_gprel32_reloc, mips32_64bit_reloc): Likewise. - - * elf64-mips.c (mips_elf64_howto_table_rel): Replace all uses of - mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use - _bfd_mips_elf_hi16_reloc for R_MIPS_HI16, _bfd_mips_elf_lo16_reloc - for R_MIPS_LO16 and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16. - Change R_MIPS_HI16's rightshift to 16. - (mips_elf64_howto_table_rela): Replace all uses of - mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. - Use _bfd_mips_elf_generic_reloc for R_MIPS_GOT16 as well. - (mips_elf64_hi16_reloc, mips_elf64_got16_reloc): Delete. - (mips_elf64_shift6_reloc): Remove special case. Use - _bfd_mips_elf_generic_reloc instead of returning bfd_reloc_continue. - - * elfn32-mips.c (prev_reloc_section): Delete. - (prev_reloc_address, prev_reloc_addend): Delete. - (elf_mips_howto_table_rel, elf_mips_howto_table_rela): As for - elf64-mips.c - (GET_RELOC_ADDEND, SET_RELOC_ADDEND): Delete. - (mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc) - (mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete. - (mips_elf