
commit
27ea065f6d
187 changed files with 77816 additions and 0 deletions
@ -0,0 +1,3 @@ |
|||
Kristian Hรธgsberg <krh@redhat.com> |
|||
Ray Strode <halfline@gmail.com> |
|||
Peter Jones <pjones@redhat.com> |
@ -0,0 +1,340 @@ |
|||
GNU GENERAL PUBLIC LICENSE |
|||
Version 2, June 1991 |
|||
|
|||
Copyright (C) 1989, 1991 Free Software Foundation, Inc. |
|||
59 Temple Place, Suite 330, Boston, MA 02111-1307 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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. |
@ -0,0 +1 @@ |
|||
Don't use this file. Write detailed commited messages instead. |
@ -0,0 +1,12 @@ |
|||
SUBDIRS = src images scripts |
|||
DISTCHECK_CONFIGURE_FLAGS = --disable-tests --without-system-root-install |
|||
|
|||
EXTRA_DIST = ChangeLog \
|
|||
README |
|||
|
|||
MAINTAINERCLEANFILES = aclocal.m4 \
|
|||
config.h.in \
|
|||
config.h.in~ \
|
|||
config.sub \
|
|||
configure \
|
|||
Makefile.in |
@ -0,0 +1,667 @@ |
|||
# Makefile.in generated by automake 1.10.1 from Makefile.am.
|
|||
# @configure_input@
|
|||
|
|||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
|||
# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|||
# This Makefile.in is free software; the Free Software Foundation
|
|||
# gives unlimited permission to copy and/or distribute it,
|
|||
# with or without modifications, as long as this notice is preserved.
|
|||
|
|||
# This program is distributed in the hope that it will be useful,
|
|||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|||
# PARTICULAR PURPOSE.
|
|||
|
|||
@SET_MAKE@ |
|||
VPATH = @srcdir@ |
|||
pkgdatadir = $(datadir)/@PACKAGE@ |
|||
pkglibdir = $(libdir)/@PACKAGE@ |
|||
pkgincludedir = $(includedir)/@PACKAGE@ |
|||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
|||
install_sh_DATA = $(install_sh) -c -m 644 |
|||
install_sh_PROGRAM = $(install_sh) -c |
|||
install_sh_SCRIPT = $(install_sh) -c |
|||
INSTALL_HEADER = $(INSTALL_DATA) |
|||
transform = $(program_transform_name) |
|||
NORMAL_INSTALL = : |
|||
PRE_INSTALL = : |
|||
POST_INSTALL = : |
|||
NORMAL_UNINSTALL = : |
|||
PRE_UNINSTALL = : |
|||
POST_UNINSTALL = : |
|||
build_triplet = @build@ |
|||
host_triplet = @host@ |
|||
subdir = . |
|||
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
|
|||
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
|
|||
$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
|
|||
TODO build-tools/compile build-tools/config.guess \
|
|||
build-tools/config.sub build-tools/depcomp \
|
|||
build-tools/install-sh build-tools/ltmain.sh \
|
|||
build-tools/missing |
|||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
|||
am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
|||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|||
$(ACLOCAL_M4) |
|||
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
|||
configure.lineno config.status.lineno |
|||
mkinstalldirs = $(install_sh) -d |
|||
CONFIG_HEADER = config.h |
|||
CONFIG_CLEAN_FILES = |
|||
SOURCES = |
|||
DIST_SOURCES = |
|||
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
|||
html-recursive info-recursive install-data-recursive \
|
|||
install-dvi-recursive install-exec-recursive \
|
|||
install-html-recursive install-info-recursive \
|
|||
install-pdf-recursive install-ps-recursive install-recursive \
|
|||
installcheck-recursive installdirs-recursive pdf-recursive \
|
|||
ps-recursive uninstall-recursive |
|||
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
|||
distclean-recursive maintainer-clean-recursive |
|||
ETAGS = etags |
|||
CTAGS = ctags |
|||
DIST_SUBDIRS = $(SUBDIRS) |
|||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
|||
distdir = $(PACKAGE)-$(VERSION) |
|||
top_distdir = $(distdir) |
|||
am__remove_distdir = \
|
|||
{ test ! -d $(distdir) \
|
|||
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
|
|||
&& rm -fr $(distdir); }; } |
|||
GZIP_ENV = --best |
|||
DIST_ARCHIVES = $(distdir).tar.bz2 |
|||
distuninstallcheck_listfiles = find . -type f -print |
|||
distcleancheck_listfiles = find . -type f -print |
|||
ACLOCAL = @ACLOCAL@ |
|||
AMTAR = @AMTAR@ |
|||
AR = @AR@ |
|||
AUTOCONF = @AUTOCONF@ |
|||
AUTOHEADER = @AUTOHEADER@ |
|||
AUTOMAKE = @AUTOMAKE@ |
|||
AWK = @AWK@ |
|||
CC = @CC@ |
|||
CCDEPMODE = @CCDEPMODE@ |
|||
CFLAGS = @CFLAGS@ |
|||
CPP = @CPP@ |
|||
CPPFLAGS = @CPPFLAGS@ |
|||
CXX = @CXX@ |
|||
CXXCPP = @CXXCPP@ |
|||
CXXDEPMODE = @CXXDEPMODE@ |
|||
CXXFLAGS = @CXXFLAGS@ |
|||
CYGPATH_W = @CYGPATH_W@ |
|||
DEFS = @DEFS@ |
|||
DEPDIR = @DEPDIR@ |
|||
DSYMUTIL = @DSYMUTIL@ |
|||
ECHO = @ECHO@ |
|||
ECHO_C = @ECHO_C@ |
|||
ECHO_N = @ECHO_N@ |
|||
ECHO_T = @ECHO_T@ |
|||
EGREP = @EGREP@ |
|||
EXEEXT = @EXEEXT@ |
|||
F77 = @F77@ |
|||
FFLAGS = @FFLAGS@ |
|||
GREP = @GREP@ |
|||
GTK_CFLAGS = @GTK_CFLAGS@ |
|||
GTK_LIBS = @GTK_LIBS@ |
|||
IMAGE_CFLAGS = @IMAGE_CFLAGS@ |
|||
IMAGE_LIBS = @IMAGE_LIBS@ |
|||
INSTALL = @INSTALL@ |
|||
INSTALL_DATA = @INSTALL_DATA@ |
|||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|||
INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
|||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
|||
LDFLAGS = @LDFLAGS@ |
|||
LIBOBJS = @LIBOBJS@ |
|||
LIBS = @LIBS@ |
|||
LIBTOOL = @LIBTOOL@ |
|||
LN_S = @LN_S@ |
|||
LTLIBOBJS = @LTLIBOBJS@ |
|||
LT_AGE = @LT_AGE@ |
|||
LT_CURRENT = @LT_CURRENT@ |
|||
LT_REVISION = @LT_REVISION@ |
|||
MAINT = @MAINT@ |
|||
MAKEINFO = @MAKEINFO@ |
|||
MKDIR_P = @MKDIR_P@ |
|||
NMEDIT = @NMEDIT@ |
|||
OBJEXT = @OBJEXT@ |
|||
PACKAGE = @PACKAGE@ |
|||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
|||
PACKAGE_NAME = @PACKAGE_NAME@ |
|||
PACKAGE_STRING = @PACKAGE_STRING@ |
|||
PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
|||
PACKAGE_VERSION = @PACKAGE_VERSION@ |
|||
PANGO_CFLAGS = @PANGO_CFLAGS@ |
|||
PANGO_LIBS = @PANGO_LIBS@ |
|||
PATH_SEPARATOR = @PATH_SEPARATOR@ |
|||
PKG_CONFIG = @PKG_CONFIG@ |
|||
PLYMOUTH_CFLAGS = @PLYMOUTH_CFLAGS@ |
|||
PLYMOUTH_LIBS = @PLYMOUTH_LIBS@ |
|||
RANLIB = @RANLIB@ |
|||
SED = @SED@ |
|||
SET_MAKE = @SET_MAKE@ |
|||
SHELL = @SHELL@ |
|||
STRIP = @STRIP@ |
|||
VERSION = @VERSION@ |
|||
abs_builddir = @abs_builddir@ |
|||
abs_srcdir = @abs_srcdir@ |
|||
abs_top_builddir = @abs_top_builddir@ |
|||
abs_top_srcdir = @abs_top_srcdir@ |
|||
ac_ct_CC = @ac_ct_CC@ |
|||
ac_ct_CXX = @ac_ct_CXX@ |
|||
ac_ct_F77 = @ac_ct_F77@ |
|||
am__include = @am__include@ |
|||
am__leading_dot = @am__leading_dot@ |
|||
am__quote = @am__quote@ |
|||
am__tar = @am__tar@ |
|||
am__untar = @am__untar@ |
|||
background_color = @background_color@ |
|||
background_end_color = @background_end_color@ |
|||
background_start_color = @background_start_color@ |
|||
bindir = @bindir@ |
|||
build = @build@ |
|||
build_alias = @build_alias@ |
|||
build_cpu = @build_cpu@ |
|||
build_os = @build_os@ |
|||
build_vendor = @build_vendor@ |
|||
builddir = @builddir@ |
|||
datadir = @datadir@ |
|||
datarootdir = @datarootdir@ |
|||
default_plugin_name = @default_plugin_name@ |
|||
docdir = @docdir@ |
|||
dvidir = @dvidir@ |
|||
exec_prefix = @exec_prefix@ |
|||
host = @host@ |
|||
host_alias = @host_alias@ |
|||
host_cpu = @host_cpu@ |
|||
host_os = @host_os@ |
|||
host_vendor = @host_vendor@ |
|||
htmldir = @htmldir@ |
|||
includedir = @includedir@ |
|||
infodir = @infodir@ |
|||
install_sh = @install_sh@ |
|||
libdir = @libdir@ |
|||
libexecdir = @libexecdir@ |
|||
localedir = @localedir@ |
|||
localstatedir = @localstatedir@ |
|||
logofile = @logofile@ |
|||
mandir = @mandir@ |
|||
mkdir_p = @mkdir_p@ |
|||
oldincludedir = @oldincludedir@ |
|||
pdfdir = @pdfdir@ |
|||
plymouthclientdir = @plymouthclientdir@ |
|||
plymouthdaemondir = @plymouthdaemondir@ |
|||
prefix = @prefix@ |
|||
program_transform_name = @program_transform_name@ |
|||
psdir = @psdir@ |
|||
sbindir = @sbindir@ |
|||
sharedstatedir = @sharedstatedir@ |
|||
srcdir = @srcdir@ |
|||
sysconfdir = @sysconfdir@ |
|||
target_alias = @target_alias@ |
|||
top_build_prefix = @top_build_prefix@ |
|||
top_builddir = @top_builddir@ |
|||
top_srcdir = @top_srcdir@ |
|||
SUBDIRS = src images scripts |
|||
DISTCHECK_CONFIGURE_FLAGS = --disable-tests --without-system-root-install |
|||
EXTRA_DIST = ChangeLog \
|
|||
README |
|||
|
|||
MAINTAINERCLEANFILES = aclocal.m4 \
|
|||
config.h.in \
|
|||
config.h.in~ \
|
|||
config.sub \
|
|||
configure \
|
|||
Makefile.in |
|||
|
|||
all: config.h |
|||
$(MAKE) $(AM_MAKEFLAGS) all-recursive |
|||
|
|||
.SUFFIXES: |
|||
am--refresh: |
|||
@: |
|||
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) |
|||
@for dep in $?; do \
|
|||
case '$(am__configure_deps)' in \
|
|||
*$$dep*) \
|
|||
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
|
|||
cd $(srcdir) && $(AUTOMAKE) --gnu \
|
|||
&& exit 0; \
|
|||
exit 1;; \
|
|||
esac; \
|
|||
done; \
|
|||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
|
|||
cd $(top_srcdir) && \
|
|||
$(AUTOMAKE) --gnu Makefile |
|||
.PRECIOUS: Makefile |
|||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
|||
@case '$?' in \
|
|||
*config.status*) \
|
|||
echo ' $(SHELL) ./config.status'; \
|
|||
$(SHELL) ./config.status;; \
|
|||
*) \
|
|||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
|||
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
|||
esac; |
|||
|
|||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
|||
$(SHELL) ./config.status --recheck |
|||
|
|||
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) |
|||
cd $(srcdir) && $(AUTOCONF) |
|||
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) |
|||
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
|||
|
|||
config.h: stamp-h1 |
|||
@if test ! -f $@; then \
|
|||
rm -f stamp-h1; \
|
|||
$(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
|
|||
else :; fi |
|||
|
|||
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
|||
@rm -f stamp-h1 |
|||
cd $(top_builddir) && $(SHELL) ./config.status config.h |
|||
$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) |
|||
cd $(top_srcdir) && $(AUTOHEADER) |
|||
rm -f stamp-h1 |
|||
touch $@ |
|||
|
|||
distclean-hdr: |
|||
-rm -f config.h stamp-h1 |
|||
|
|||
mostlyclean-libtool: |
|||
-rm -f *.lo |
|||
|
|||
clean-libtool: |
|||
-rm -rf .libs _libs |
|||
|
|||
distclean-libtool: |
|||
-rm -f libtool |
|||
|
|||
# This directory's subdirectories are mostly independent; you can cd
|
|||
# into them and run `make' without going through this Makefile.
|
|||
# To change the values of `make' variables: instead of editing Makefiles,
|
|||
# (1) if the variable is set in `config.status', edit `config.status'
|
|||
# (which will cause the Makefiles to be regenerated when you run `make');
|
|||
# (2) otherwise, pass the desired values on the `make' command line.
|
|||
$(RECURSIVE_TARGETS): |
|||
@failcom='exit 1'; \
|
|||
for f in x $$MAKEFLAGS; do \
|
|||
case $$f in \
|
|||
*=* | --[!k]*);; \
|
|||
*k*) failcom='fail=yes';; \
|
|||
esac; \
|
|||
done; \
|
|||
dot_seen=no; \
|
|||
target=`echo $@ | sed s/-recursive//`; \
|
|||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|||
echo "Making $$target in $$subdir"; \
|
|||
if test "$$subdir" = "."; then \
|
|||
dot_seen=yes; \
|
|||
local_target="$$target-am"; \
|
|||
else \
|
|||
local_target="$$target"; \
|
|||
fi; \
|
|||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|||
|| eval $$failcom; \
|
|||
done; \
|
|||
if test "$$dot_seen" = "no"; then \
|
|||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
|||
fi; test -z "$$fail" |
|||
|
|||
$(RECURSIVE_CLEAN_TARGETS): |
|||
@failcom='exit 1'; \
|
|||
for f in x $$MAKEFLAGS; do \
|
|||
case $$f in \
|
|||
*=* | --[!k]*);; \
|
|||
*k*) failcom='fail=yes';; \
|
|||
esac; \
|
|||
done; \
|
|||
dot_seen=no; \
|
|||
case "$@" in \
|
|||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
|||
*) list='$(SUBDIRS)' ;; \
|
|||
esac; \
|
|||
rev=''; for subdir in $$list; do \
|
|||
if test "$$subdir" = "."; then :; else \
|
|||
rev="$$subdir $$rev"; \
|
|||
fi; \
|
|||
done; \
|
|||
rev="$$rev ."; \
|
|||
target=`echo $@ | sed s/-recursive//`; \
|
|||
for subdir in $$rev; do \
|
|||
echo "Making $$target in $$subdir"; \
|
|||
if test "$$subdir" = "."; then \
|
|||
local_target="$$target-am"; \
|
|||
else \
|
|||
local_target="$$target"; \
|
|||
fi; \
|
|||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|||
|| eval $$failcom; \
|
|||
done && test -z "$$fail" |
|||
tags-recursive: |
|||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
|||
done |
|||
ctags-recursive: |
|||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
|||
done |
|||
|
|||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
|||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
|||
unique=`for i in $$list; do \
|
|||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|||
done | \
|
|||
$(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
|
|||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
|||
mkid -fID $$unique |
|||
tags: TAGS |
|||
|
|||
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
|||
$(TAGS_FILES) $(LISP) |
|||
tags=; \
|
|||
here=`pwd`; \
|
|||
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
|||
include_option=--etags-include; \
|
|||
empty_fix=.; \
|
|||
else \
|
|||
include_option=--include; \
|
|||
empty_fix=; \
|
|||
fi; \
|
|||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|||
if test "$$subdir" = .; then :; else \
|
|||
test ! -f $$subdir/TAGS || \
|
|||
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
|
|||
fi; \
|
|||
done; \
|
|||
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
|||
unique=`for i in $$list; do \
|
|||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|||
done | \
|
|||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
|||
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
|||
test -n "$$unique" || unique=$$empty_fix; \
|
|||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|||
$$tags $$unique; \
|
|||
fi |
|||
ctags: CTAGS |
|||
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
|||
$(TAGS_FILES) $(LISP) |
|||
tags=; \
|
|||
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
|||
unique=`for i in $$list; do \
|
|||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|||
done | \
|
|||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
|||
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
|||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
|||
$$tags $$unique |
|||
|
|||
GTAGS: |
|||
here=`$(am__cd) $(top_builddir) && pwd` \
|
|||
&& cd $(top_srcdir) \
|
|||
&& gtags -i $(GTAGS_ARGS) $$here |
|||
|
|||
distclean-tags: |
|||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
|||
|
|||
distdir: $(DISTFILES) |
|||
$(am__remove_distdir) |
|||
test -d $(distdir) || mkdir $(distdir) |
|||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
|||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
|||
list='$(DISTFILES)'; \
|
|||
dist_files=`for file in $$list; do echo $$file; done | \
|
|||
sed -e "s|^$$srcdirstrip/||;t" \
|
|||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
|||
case $$dist_files in \
|
|||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
|||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
|||
sort -u` ;; \
|
|||
esac; \
|
|||
for file in $$dist_files; do \
|
|||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
|||
if test -d $$d/$$file; then \
|
|||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
|||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
|||
fi; \
|
|||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
|||
else \
|
|||
test -f $(distdir)/$$file \
|
|||
|| cp -p $$d/$$file $(distdir)/$$file \
|
|||
|| exit 1; \
|
|||
fi; \
|
|||
done |
|||
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
|||
if test "$$subdir" = .; then :; else \
|
|||
test -d "$(distdir)/$$subdir" \
|
|||
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
|||
|| exit 1; \
|
|||
distdir=`$(am__cd) $(distdir) && pwd`; \
|
|||
top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
|
|||
(cd $$subdir && \
|
|||
$(MAKE) $(AM_MAKEFLAGS) \
|
|||
top_distdir="$$top_distdir" \
|
|||
distdir="$$distdir/$$subdir" \
|
|||
am__remove_distdir=: \
|
|||
am__skip_length_check=: \
|
|||
distdir) \
|
|||
|| exit 1; \
|
|||
fi; \
|
|||
done |
|||
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
|||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
|||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
|||
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
|||
|| chmod -R a+r $(distdir) |
|||
dist-gzip: distdir |
|||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
|||
$(am__remove_distdir) |
|||
dist-bzip2: distdir |
|||
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 |
|||
$(am__remove_distdir) |
|||
|
|||
dist-lzma: distdir |
|||
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma |
|||
$(am__remove_distdir) |
|||
|
|||
dist-tarZ: distdir |
|||
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
|||
$(am__remove_distdir) |
|||
|
|||
dist-shar: distdir |
|||
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
|||
$(am__remove_distdir) |
|||
|
|||
dist-zip: distdir |
|||
-rm -f $(distdir).zip |
|||
zip -rq $(distdir).zip $(distdir) |
|||
$(am__remove_distdir) |
|||
|
|||
dist dist-all: distdir |
|||
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 |
|||
$(am__remove_distdir) |
|||
|
|||
# This target untars the dist file and tries a VPATH configuration. Then
|
|||
# it guarantees that the distribution is self-contained by making another
|
|||
# tarfile.
|
|||
distcheck: dist |
|||
case '$(DIST_ARCHIVES)' in \
|
|||
*.tar.gz*) \
|
|||
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
|
|||
*.tar.bz2*) \
|
|||
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
|
|||
*.tar.lzma*) \
|
|||
unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
|
|||
*.tar.Z*) \
|
|||
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
|||
*.shar.gz*) \
|
|||
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
|
|||
*.zip*) \
|
|||
unzip $(distdir).zip ;;\
|
|||
esac |
|||
chmod -R a-w $(distdir); chmod a+w $(distdir) |
|||
mkdir $(distdir)/_build |
|||
mkdir $(distdir)/_inst |
|||
chmod a-w $(distdir) |
|||
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
|||
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
|||
&& cd $(distdir)/_build \
|
|||
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
|||
$(DISTCHECK_CONFIGURE_FLAGS) \
|
|||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
|||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
|||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
|||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
|||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
|||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
|||
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
|||
distuninstallcheck \
|
|||
&& chmod -R a-w "$$dc_install_base" \
|
|||
&& ({ \
|
|||
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
|||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
|||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
|||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
|||
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
|||
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
|||
&& rm -rf "$$dc_destdir" \
|
|||
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
|||
&& rm -rf $(DIST_ARCHIVES) \
|
|||
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck |
|||
$(am__remove_distdir) |
|||
@(echo "$(distdir) archives ready for distribution: "; \
|
|||
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
|||
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
|||
distuninstallcheck: |
|||
@cd $(distuninstallcheck_dir) \
|
|||
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
|||
|| { echo "ERROR: files left after uninstall:" ; \
|
|||
if test -n "$(DESTDIR)"; then \
|
|||
echo " (check DESTDIR support)"; \
|
|||
fi ; \
|
|||
$(distuninstallcheck_listfiles) ; \
|
|||
exit 1; } >&2 |
|||
distcleancheck: distclean |
|||
@if test '$(srcdir)' = . ; then \
|
|||
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
|||
exit 1 ; \
|
|||
fi |
|||
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
|||
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
|||
$(distcleancheck_listfiles) ; \
|
|||
exit 1; } >&2 |
|||
check-am: all-am |
|||
check: check-recursive |
|||
all-am: Makefile config.h |
|||
installdirs: installdirs-recursive |
|||
installdirs-am: |
|||
install: install-recursive |
|||
install-exec: install-exec-recursive |
|||
install-data: install-data-recursive |
|||
uninstall: uninstall-recursive |
|||
|
|||
install-am: all-am |
|||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
|||
|
|||
installcheck: installcheck-recursive |
|||
install-strip: |
|||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
|||
`test -z '$(STRIP)' || \
|
|||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
|||
mostlyclean-generic: |
|||
|
|||
clean-generic: |
|||
|
|||
distclean-generic: |
|||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
|||
|
|||
maintainer-clean-generic: |
|||
@echo "This command is intended for maintainers to use" |
|||
@echo "it deletes files that may require special tools to rebuild." |
|||
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) |
|||
clean: clean-recursive |
|||
|
|||
clean-am: clean-generic clean-libtool mostlyclean-am |
|||
|
|||
distclean: distclean-recursive |
|||
-rm -f $(am__CONFIG_DISTCLEAN_FILES) |
|||
-rm -f Makefile |
|||
distclean-am: clean-am distclean-generic distclean-hdr \ |
|||
distclean-libtool distclean-tags |
|||
|
|||
dvi: dvi-recursive |
|||
|
|||
dvi-am: |
|||
|
|||
html: html-recursive |
|||
|
|||
info: info-recursive |
|||
|
|||
info-am: |
|||
|
|||
install-data-am: |
|||
|
|||
install-dvi: install-dvi-recursive |
|||
|
|||
install-exec-am: |
|||
|
|||
install-html: install-html-recursive |
|||
|
|||
install-info: install-info-recursive |
|||
|
|||
install-man: |
|||
|
|||
install-pdf: install-pdf-recursive |
|||
|
|||
install-ps: install-ps-recursive |
|||
|
|||
installcheck-am: |
|||
|
|||
maintainer-clean: maintainer-clean-recursive |
|||
-rm -f $(am__CONFIG_DISTCLEAN_FILES) |
|||
-rm -rf $(top_srcdir)/autom4te.cache |
|||
-rm -f Makefile |
|||
maintainer-clean-am: distclean-am maintainer-clean-generic |
|||
|
|||
mostlyclean: mostlyclean-recursive |
|||
|
|||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool |
|||
|
|||
pdf: pdf-recursive |
|||
|
|||
pdf-am: |
|||
|
|||
ps: ps-recursive |
|||
|
|||
ps-am: |
|||
|
|||
uninstall-am: |
|||
|
|||
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ |
|||
install-strip |
|||
|
|||
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ |
|||
all all-am am--refresh check check-am clean clean-generic \
|
|||
clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
|
|||
dist-gzip dist-lzma dist-shar dist-tarZ dist-zip distcheck \
|
|||
distclean distclean-generic distclean-hdr distclean-libtool \
|
|||
distclean-tags distcleancheck distdir distuninstallcheck dvi \
|
|||
dvi-am html html-am info info-am install install-am \
|
|||
install-data install-data-am install-dvi install-dvi-am \
|
|||
install-exec install-exec-am install-html install-html-am \
|
|||
install-info install-info-am install-man install-pdf \
|
|||
install-pdf-am install-ps install-ps-am install-strip \
|
|||
installcheck installcheck-am installdirs installdirs-am \
|
|||
maintainer-clean maintainer-clean-generic mostlyclean \
|
|||
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
|||
tags tags-recursive uninstall uninstall-am |
|||
|
|||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|||
.NOEXPORT: |
@ -0,0 +1 @@ |
|||
|
@ -0,0 +1,49 @@ |
|||
plymouth - graphical boot animation and logger |
|||
|
|||
Plymouth is an application that runs very early in the boot process |
|||
(even before the root filesystem is mounted!) that provides a graphical |
|||
boot animation while the boot process happens in the background. |
|||
|
|||
It is designed to work on systems with DRM modesetting drivers. The |
|||
idea is that early on in the boot process the native mode for the |
|||
computer is set, plymouth uses that mode, and that mode stays throughout |
|||
the entire boot process up to and after X starts. Ideally, the goal is |
|||
to get rid of all flicker during startup. |
|||
|
|||
For systems that don't have DRM mode settings drivers, plymouth falls |
|||
back to text mode. |
|||
|
|||
In either text or graphics mode, the boot messages are completely |
|||
occluded. After the root file system is mounted read-write, the |
|||
messages are dumped to /var/log/boot.log. Also, the user can see the |
|||
messages at any time during boot up by hitting the escape key. |
|||
|
|||
Plymouth isn't really designed to be built from source by end users. |
|||
For it to work correctly, it needs integration with the distribution. |
|||
Because it starts so early, it needs to be packed into the |
|||
distribution's initial ram disk, and the distribution needs to poke |
|||
plymouth to tell it how boot is progressing. |
|||
|
|||
plymouth ships with two binaries: /sbin/plymouthd and /bin/plymouth |
|||
|
|||
The first one, plymouthd, does all the heavy lifting. It logs the |
|||
session and shows the splash screen. The second one, /bin/plymouth, is |
|||
the control interface to plymouthd. |
|||
|
|||
It supports things like plymouth --show-splash, or plymouth |
|||
--ask-for-password, which trigger the associated action in plymouthd. |
|||
|
|||
plymouth supports various "splash" plugins which are analagous to |
|||
screensavers, but happen at boot time. Currently there are three |
|||
graphical splash plugins: solar, fade-in, and spinfinity. There are |
|||
also three non-graphical plugins which are for text mode and the |
|||
detailed view. |
|||
|
|||
The graphical plugins need a logo image and background color to |
|||
function. Distributions are expected to set these up in their packages |
|||
at ./configure time, but there are some placeholder values set up if |
|||
./configure doesn't get those options. |
|||
|
|||
Plymouth isn't done yet. It's still under active development and isn't |
|||
ready for distros to use as-is. That should change in the near future |
|||
though. |
@ -0,0 +1,12 @@ |
|||
- fix the tests so that they work better with "make check" |
|||
- allow longer than 255 byte replies from server to client |
|||
- make server send immediate ACK for password request and then ANSWER later with a link back to original request in ANSWER |
|||
- Make --ask-for-password take a prompt message |
|||
- add expose handler for plugins to draw from. We need to reset some state every frame of the animation, so better to hide that. |
|||
- rotate boot.log per boot cycle (might be easiest to just fork/exec out to logrotate directly) |
|||
- fix error handling. In particular, ply_open_module gets it completely wrong (replies on errno instead of dlerror()) |
|||
- consider moving text code from ply-window to a ply-text-buffer analog of ply-frame-buffer |
|||
- maybe watch for VT switches and do things like restoring text color palette and stopping drawing the framebuffer |
|||
- clean up the event loop watch api to always be in terms of watch objects instead of function/user_data pairs. |
|||
- Fix --hide-splash to properly unredirect console until next --show-splash or event better make attach-to-session |
|||
a client command, with detach-from-session a separate one |
File diff suppressed because it is too large
@ -0,0 +1,142 @@ |
|||
#! /bin/sh |
|||
# Wrapper for compilers which do not understand `-c -o'. |
|||
|
|||
scriptversion=2005-05-14.22 |
|||
|
|||
# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. |
|||
# Written by Tom Tromey <tromey@cygnus.com>. |
|||
# |
|||
# 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, 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. |
|||
|
|||
# As a special exception to the GNU General Public License, if you |
|||
# distribute this file as part of a program that contains a |
|||
# configuration script generated by Autoconf, you may include it under |
|||
# the same distribution terms that you use for the rest of that program. |
|||
|
|||
# This file is maintained in Automake, please report |
|||
# bugs to <bug-automake@gnu.org> or send patches to |
|||
# <automake-patches@gnu.org>. |
|||
|
|||
case $1 in |
|||
'') |
|||
echo "$0: No command. Try \`$0 --help' for more information." 1>&2 |
|||
exit 1; |
|||
;; |
|||
-h | --h*) |
|||
cat <<\EOF |
|||
Usage: compile [--help] [--version] PROGRAM [ARGS] |
|||
|
|||
Wrapper for compilers which do not understand `-c -o'. |
|||
Remove `-o dest.o' from ARGS, run PROGRAM with the remaining |
|||
arguments, and rename the output as expected. |
|||
|
|||
If you are trying to build a whole package this is not the |
|||
right script to run: please start by reading the file `INSTALL'. |
|||
|
|||
Report bugs to <bug-automake@gnu.org>. |
|||
EOF |
|||
exit $? |
|||
;; |
|||
-v | --v*) |
|||
echo "compile $scriptversion" |
|||
exit $? |
|||
;; |
|||
esac |
|||
|
|||
ofile= |
|||
cfile= |
|||
eat= |
|||
|
|||
for arg |
|||
do |
|||
if test -n "$eat"; then |
|||
eat= |
|||
else |
|||
case $1 in |
|||
-o) |
|||
# configure might choose to run compile as `compile cc -o foo foo.c'. |
|||
# So we strip `-o arg' only if arg is an object. |
|||
eat=1 |
|||
case $2 in |
|||
*.o | *.obj) |
|||
ofile=$2 |
|||
;; |
|||
*) |
|||
set x "$@" -o "$2" |
|||
shift |
|||
;; |
|||
esac |
|||
;; |
|||
*.c) |
|||
cfile=$1 |
|||
set x "$@" "$1" |
|||
shift |
|||
;; |
|||
*) |
|||
set x "$@" "$1" |
|||
shift |
|||
;; |
|||
esac |
|||
fi |
|||
shift |
|||
done |
|||
|
|||
if test -z "$ofile" || test -z "$cfile"; then |
|||
# If no `-o' option was seen then we might have been invoked from a |
|||
# pattern rule where we don't need one. That is ok -- this is a |
|||
# normal compilation that the losing compiler can handle. If no |
|||
# `.c' file was seen then we are probably linking. That is also |
|||
# ok. |
|||
exec "$@" |
|||
fi |
|||
|
|||
# Name of file we expect compiler to create. |
|||
cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'` |
|||
|
|||
# Create the lock directory. |
|||
# Note: use `[/.-]' here to ensure that we don't use the same name |
|||
# that we are using for the .o file. Also, base the name on the expected |
|||
# object file name, since that is what matters with a parallel build. |
|||
lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d |
|||
while true; do |
|||
if mkdir "$lockdir" >/dev/null 2>&1; then |
|||
break |
|||
fi |
|||
sleep 1 |
|||
done |
|||
# FIXME: race condition here if user kills between mkdir and trap. |
|||
trap "rmdir '$lockdir'; exit 1" 1 2 15 |
|||
|
|||
# Run the compile. |
|||
"$@" |
|||
ret=$? |
|||
|
|||
if test -f "$cofile"; then |
|||
mv "$cofile" "$ofile" |
|||
elif test -f "${cofile}bj"; then |
|||
mv "${cofile}bj" "$ofile" |
|||
fi |
|||
|
|||
rmdir "$lockdir" |
|||
exit $ret |
|||
|
|||
# Local Variables: |
|||
# mode: shell-script |
|||
# sh-indentation: 2 |
|||
# eval: (add-hook 'write-file-hooks 'time-stamp) |
|||
# time-stamp-start: "scriptversion=" |
|||
# time-stamp-format: "%:y-%02m-%02d.%02H" |
|||
# time-stamp-end: "$" |
|||
# End: |
File diff suppressed because it is too large
File diff suppressed because it is too large
@ -0,0 +1,589 @@ |
|||
#! /bin/sh |
|||
# depcomp - compile a program generating dependencies as side-effects |
|||
|
|||
scriptversion=2007-03-29.01 |
|||
|
|||
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software |
|||
# Foundation, Inc. |
|||
|
|||
# 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, 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. |
|||
|
|||
# As a special exception to the GNU General Public License, if you |
|||
# distribute this file as part of a program that contains a |
|||
# configuration script generated by Autoconf, you may include it under |
|||
# the same distribution terms that you use for the rest of that program. |
|||
|
|||
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>. |
|||
|
|||
case $1 in |
|||
'') |
|||
echo "$0: No command. Try \`$0 --help' for more information." 1>&2 |
|||
exit 1; |
|||
;; |
|||
-h | --h*) |
|||
cat <<\EOF |
|||
Usage: depcomp [--help] [--version] PROGRAM [ARGS] |
|||
|
|||
Run PROGRAMS ARGS to compile a file, generating dependencies |
|||
as side-effects. |
|||
|
|||
Environment variables: |
|||
depmode Dependency tracking mode. |
|||
source Source file read by `PROGRAMS ARGS'. |
|||
object Object file output by `PROGRAMS ARGS'. |
|||
DEPDIR directory where to store dependencies. |
|||
depfile Dependency file to output. |
|||
tmpdepfile Temporary file to use when outputing dependencies. |
|||
libtool Whether libtool is used (yes/no). |
|||
|
|||
Report bugs to <bug-automake@gnu.org>. |
|||
EOF |
|||
exit $? |
|||
;; |
|||
-v | --v*) |
|||
echo "depcomp $scriptversion" |
|||
exit $? |
|||
;; |
|||
esac |
|||
|
|||
if test -z "$depmode" || test -z "$source" || test -z "$object"; then |
|||
echo "depcomp: Variables source, object and depmode must be set" 1>&2 |
|||
exit 1 |
|||
fi |
|||
|
|||
# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. |
|||
depfile=${depfile-`echo "$object" | |
|||
sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} |
|||
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} |
|||
|
|||
rm -f "$tmpdepfile" |
|||
|
|||
# Some modes work just like other modes, but use different flags. We |
|||
# parameterize here, but still list the modes in the big case below, |
|||
# to make depend.m4 easier to write. Note that we *cannot* use a case |
|||
# here, because this file can only contain one case statement. |
|||
if test "$depmode" = hp; then |
|||
# HP compiler uses -M and no extra arg. |
|||
gccflag=-M |
|||
depmode=gcc |
|||
fi |
|||
|
|||
if test "$depmode" = dashXmstdout; then |
|||
# This is just like dashmstdout with a different argument. |
|||
dashmflag=-xM |
|||
depmode=dashmstdout |
|||
fi |
|||
|
|||
case "$depmode" in |
|||
gcc3) |
|||
## gcc 3 implements dependency tracking that does exactly what |
|||
## we want. Yay! Note: for some reason libtool 1.4 doesn't like |
|||
## it if -MD -MP comes after the -MF stuff. Hmm. |
|||
## Unfortunately, FreeBSD c89 acceptance of flags depends upon |
|||
## the command line argument order; so add the flags where they |
|||
## appear in depend2.am. Note that the slowdown incurred here |
|||
## affects only configure: in makefiles, %FASTDEP% shortcuts this. |
|||
for arg |
|||
do |
|||
case $arg in |
|||
-c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; |
|||
*) set fnord "$@" "$arg" ;; |
|||
esac |
|||
shift # fnord |
|||
shift # $arg |
|||
done |
|||
"$@" |
|||
stat=$? |
|||
if test $stat -eq 0; then : |
|||
else |
|||
rm -f "$tmpdepfile" |
|||
exit $stat |
|||
fi |
|||
mv "$tmpdepfile" "$depfile" |
|||
;; |
|||
|
|||
gcc) |
|||
## There are various ways to get dependency output from gcc. Here's |
|||
## why we pick this rather obscure method: |
|||
## - Don't want to use -MD because we'd like the dependencies to end |
|||
## up in a subdir. Having to rename by hand is ugly. |
|||
## (We might end up doing this anyway to support other compilers.) |
|||
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like |
|||
## -MM, not -M (despite what the docs say). |
|||
## - Using -M directly means running the compiler twice (even worse |
|||
## than renaming). |
|||
if test -z "$gccflag"; then |
|||
gccflag=-MD, |
|||
fi |
|||
"$@" -Wp,"$gccflag$tmpdepfile" |
|||
stat=$? |
|||
if test $stat -eq 0; then : |
|||
else |
|||
rm -f "$tmpdepfile" |
|||
exit $stat |
|||
fi |
|||
rm -f "$depfile" |
|||
echo "$object : \\" > "$depfile" |
|||
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz |
|||
## The second -e expression handles DOS-style file names with drive letters. |
|||
sed -e 's/^[^:]*: / /' \ |
|||
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" |
|||
## This next piece of magic avoids the `deleted header file' problem. |
|||
## The problem is that when a header file which appears in a .P file |
|||
## is deleted, the dependency causes make to die (because there is |
|||
## typically no way to rebuild the header). We avoid this by adding |
|||
## dummy dependencies for each header file. Too bad gcc doesn't do |
|||
## this for us directly. |
|||
tr ' ' ' |
|||
' < "$tmpdepfile" | |
|||
## Some versions of gcc put a space before the `:'. On the theory |
|||
## that the space means something, we add a space to the output as |
|||
## well. |
|||
## Some versions of the HPUX 10.20 sed can't process this invocation |
|||
## correctly. Breaking it into two sed invocations is a workaround. |
|||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" |
|||
rm -f "$tmpdepfile" |
|||
;; |
|||
|
|||
hp) |
|||
# This case exists only to let depend.m4 do its work. It works by |
|||
# looking at the text of this script. This case will never be run, |
|||
# since it is checked for above. |
|||
exit 1 |
|||
;; |
|||
|
|||
sgi) |
|||
if test "$libtool" = yes; then |
|||
"$@" "-Wp,-MDupdate,$tmpdepfile" |
|||
else |
|||
"$@" -MDupdate "$tmpdepfile" |
|||
fi |
|||
stat=$? |
|||
if test $stat -eq 0; then : |
|||
else |
|||
rm -f "$tmpdepfile" |
|||
exit $stat |
|||
fi |
|||
rm -f "$depfile" |
|||
|
|||
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files |
|||
echo "$object : \\" > "$depfile" |
|||
|
|||
# Clip off the initial element (the dependent). Don't try to be |
|||
# clever and replace this with sed code, as IRIX sed won't handle |
|||
# lines with more than a fixed number of characters (4096 in |
|||
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; |
|||
# the IRIX cc adds comments like `#:fec' to the end of the |
|||
# dependency line. |
|||
tr ' ' ' |
|||
' < "$tmpdepfile" \ |
|||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ |
|||
tr ' |
|||
' ' ' >> $depfile |
|||
echo >> $depfile |
|||
|
|||
# The second pass generates a dummy entry for each header file. |
|||
tr ' ' ' |
|||
' < "$tmpdepfile" \ |
|||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ |
|||
>> $depfile |
|||
else |
|||
# The sourcefile does not contain any dependencies, so just |
|||
# store a dummy comment line, to avoid errors with the Makefile |
|||
# "include basename.Plo" scheme. |
|||
echo "#dummy" > "$depfile" |
|||
fi |
|||
rm -f "$tmpdepfile" |
|||
;; |
|||
|
|||
aix) |
|||
# The C for AIX Compiler uses -M and outputs the dependencies |
|||
# in a .u file. In older versions, this file always lives in the |
|||
# current directory. Also, the AIX compiler puts `$object:' at the |
|||
# start of each line; $object doesn't have directory information. |
|||
# Version 6 uses the directory in both cases. |
|||
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` |
|||
test "x$dir" = "x$object" && dir= |
|||
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` |
|||
if test "$libtool" = yes; then |
|||
tmpdepfile1=$dir$base.u |
|||
tmpdepfile2=$base.u |
|||
tmpdepfile3=$dir.libs/$base.u |
|||
"$@" -Wc,-M |
|||
else |
|||
tmpdepfile1=$dir$base.u |
|||
tmpdepfile2=$dir$base.u |
|||
tmpdepfile3=$dir$base.u |
|||
"$@" -M |
|||
fi |
|||
stat=$? |
|||
|
|||
if test $stat -eq 0; then : |
|||
else |
|||
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" |
|||
exit $stat |
|||
fi |
|||
|
|||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" |
|||
do |
|||
test -f "$tmpdepfile" && break |
|||
done |
|||
if test -f "$tmpdepfile"; then |
|||
# Each line is of the form `foo.o: dependent.h'. |
|||
# Do two passes, one to just change these to |
|||
# `$object: dependent.h' and one to simply `dependent.h:'. |
|||
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" |
|||
# That's a tab and a space in the []. |
|||
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" |
|||
else |
|||
# The sourcefile does not contain any dependencies, so just |
|||
# store a dummy comment line, to avoid errors with the Makefile |
|||
# "include basename.Plo" scheme. |
|||
echo "#dummy" > "$depfile" |
|||
fi |
|||
rm -f "$tmpdepfile" |
|||
;; |
|||
|
|||
icc) |
|||
# Intel's C compiler understands `-MD -MF file'. However on |
|||
# icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c |
|||
# ICC 7.0 will fill foo.d with something like |
|||
# foo.o: sub/foo.c |
|||
# foo.o: sub/foo.h |
|||
# which is wrong. We want: |
|||
# sub/foo.o: sub/foo.c |
|||
# sub/foo.o: sub/foo.h |
|||
# sub/foo.c: |
|||
# sub/foo.h: |
|||
# ICC 7.1 will output |
|||
# foo.o: sub/foo.c sub/foo.h |
|||
# and will wrap long lines using \ : |
|||
# foo.o: sub/foo.c ... \ |
|||
# sub/foo.h ... \ |
|||
# ... |
|||
|
|||
"$@" -MD -MF "$tmpdepfile" |
|||
stat=$? |
|||
if test $stat -eq 0; then : |
|||
else |
|||
rm -f "$tmpdepfile" |
|||
exit $stat |
|||
fi |
|||
rm -f "$depfile" |
|||
# Each line is of the form `foo.o: dependent.h', |
|||
# or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. |
|||
# Do two passes, one to just change these to |
|||
# `$object: dependent.h' and one to simply `dependent.h:'. |
|||
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" |
|||
# Some versions of the HPUX 10.20 sed can't process this invocation |
|||
# correctly. Breaking it into two sed invocations is a workaround. |
|||
sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | |
|||
sed -e 's/$/ :/' >> "$depfile" |
|||
rm -f "$tmpdepfile" |
|||
;; |
|||
|
|||
hp2) |
|||
# The "hp" stanza above does not work with aCC (C++) and HP's ia64 |
|||
# compilers, which have integrated preprocessors. The correct option |
|||
# to use with these is +Maked; it writes dependencies to a file named |
|||
# 'foo.d', which lands next to the object file, wherever that |
|||
# happens to be. |
|||
# Much of this is similar to the tru64 case; see comments there. |
|||
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` |
|||
test "x$dir" = "x$object" && dir= |
|||
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` |
|||
if test "$libtool" = yes; then |
|||
tmpdepfile1=$dir$base.d |
|||
tmpdepfile2=$dir.libs/$base.d |
|||
"$@" -Wc,+Maked |
|||
else |
|||
tmpdepfile1=$dir$base.d |
|||
tmpdepfile2=$dir$base.d |
|||
"$@" +Maked |
|||
fi |
|||
stat=$? |
|||
if test $stat -eq 0; then : |
|||
else |
|||
rm -f "$tmpdepfile1" "$tmpdepfile2" |
|||
exit $stat |
|||
fi |
|||
|
|||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" |
|||
do |
|||
test -f "$tmpdepfile" && break |
|||
done |
|||
if test -f "$tmpdepfile"; then |
|||
sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" |
|||
# Add `dependent.h:' lines. |
|||
sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" |
|||
else |
|||
echo "#dummy" > "$depfile" |
|||
fi |
|||
rm -f "$tmpdepfile" "$tmpdepfile2" |
|||
;; |
|||
|
|||
tru64) |
|||
# The Tru64 compiler uses -MD to generate dependencies as a side |
|||
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. |
|||
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put |
|||
# dependencies in `foo.d' instead, so we check for that too. |
|||
# Subdirectories are respected. |
|||
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` |
|||
test "x$dir" = "x$object" && dir= |
|||
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` |
|||
|
|||
if test "$libtool" = yes; then |
|||
# With Tru64 cc, shared objects can also be used to make a |
|||
# static library. This mechanism is used in libtool 1.4 series to |
|||
# handle both shared and static libraries in a single compilation. |
|||
# With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. |
|||
# |
|||
# With libtool 1.5 this exception was removed, and libtool now |
|||
# generates 2 separate objects for the 2 libraries. These two |
|||
# compilations output dependencies in $dir.libs/$base.o.d and |
|||
# in $dir$base.o.d. We have to check for both files, because |
|||
# one of the two compilations can be disabled. We should prefer |
|||
# $dir$base.o.d over $dir.libs/$base.o.d because the latter is |
|||
# automatically cleaned when .libs/ is deleted, while ignoring |
|||
# the former would cause a distcleancheck panic. |
|||
tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 |
|||
tmpdepfile2=$dir$base.o.d # libtool 1.5 |
|||
tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 |
|||
tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 |
|||
"$@" -Wc,-MD |
|||
else |
|||
tmpdepfile1=$dir$base.o.d |
|||
tmpdepfile2=$dir$base.d |
|||
tmpdepfile3=$dir$base.d |
|||
tmpdepfile4=$dir$base.d |
|||
"$@" -MD |
|||
fi |
|||
|
|||
stat=$? |
|||
if test $stat -eq 0; then : |
|||
else |
|||
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" |
|||
exit $stat |
|||
fi |
|||
|
|||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" |
|||
do |
|||
test -f "$tmpdepfile" && break |
|||
done |
|||
if test -f "$tmpdepfile"; then |
|||
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" |
|||
# That's a tab and a space in the []. |
|||
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" |
|||
else |
|||
echo "#dummy" > "$depfile" |
|||
fi |
|||
rm -f "$tmpdepfile" |
|||
;; |
|||
|
|||
#nosideeffect) |
|||
# This comment above is used by automake to tell side-effect |
|||
# dependency tracking mechanisms from slower ones. |
|||
|
|||
dashmstdout) |
|||
# Important note: in order to support this mode, a compiler *must* |
|||
# always write the preprocessed file to stdout, regardless of -o. |
|||
"$@" || exit $? |
|||
|
|||
# Remove the call to Libtool. |
|||
if test "$libtool" = yes; then |
|||
while test $1 != '--mode=compile'; do |
|||
shift |
|||
done |
|||
shift |
|||
fi |
|||
|
|||
# Remove `-o $object'. |
|||
IFS=" " |
|||
for arg |
|||
do |
|||
case $arg in |
|||
-o) |
|||
shift |
|||
;; |
|||
$object) |
|||
shift |
|||
;; |
|||
*) |
|||
set fnord "$@" "$arg" |
|||
shift # fnord |
|||
shift # $arg |
|||
;; |
|||
esac |
|||
done |
|||
|
|||
test -z "$dashmflag" && dashmflag=-M |
|||
# Require at least two characters before searching for `:' |
|||
# in the target name. This is to cope with DOS-style filenames: |
|||
# a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. |
|||
"$@" $dashmflag | |
|||
sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" |
|||
rm -f "$depfile" |
|||
cat < "$tmpdepfile" > "$depfile" |
|||
tr ' ' ' |
|||
' < "$tmpdepfile" | \ |
|||
## Some versions of the HPUX 10.20 sed can't process this invocation |
|||
## correctly. Breaking it into two sed invocations is a workaround. |
|||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" |
|||
rm -f "$tmpdepfile" |
|||
;; |
|||
|
|||
dashXmstdout) |
|||
# This case only exists to satisfy depend.m4. It is never actually |
|||
# run, as this mode is specially recognized in the preamble. |
|||
exit 1 |
|||
;; |
|||
|
|||
makedepend) |
|||
"$@" || exit $? |
|||
# Remove any Libtool call |
|||
if test "$libtool" = yes; then |
|||
while test $1 != '--mode=compile'; do |
|||
shift |
|||
done |
|||
shift |
|||
fi |
|||
# X makedepend |
|||
shift |
|||
cleared=no |
|||
for arg in "$@"; do |
|||
case $cleared in |
|||
no) |
|||
set ""; shift |
|||
cleared=yes ;; |
|||
esac |
|||
case "$arg" in |
|||
-D*|-I*) |
|||
set fnord "$@" "$arg"; shift ;; |
|||
# Strip any option that makedepend may not understand. Remove |
|||
# the object too, otherwise makedepend will parse it as a source file. |
|||
-*|$object) |
|||
;; |
|||
*) |
|||
set fnord "$@" "$arg"; shift ;; |
|||
esac |
|||
done |
|||
obj_suffix="`echo $object | sed 's/^.*\././'`" |
|||
touch "$tmpdepfile" |
|||
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" |
|||
rm -f "$depfile" |
|||
cat < "$tmpdepfile" > "$depfile" |
|||