This is dvnixload 0.1.0 (http://www.hugovil.com/repository/dvnixload/dvnixload-0.1.0.tar.gz)
commit
f041330b60
@ -0,0 +1,6 @@ |
||||
|
||||
2008-12-03 Hugo Villeneuve <hugo@hugovil.com> |
||||
|
||||
* First version. |
||||
|
||||
|
@ -0,0 +1,229 @@ |
||||
Copyright 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software |
||||
Foundation, Inc. |
||||
|
||||
This file is free documentation; the Free Software Foundation gives |
||||
unlimited permission to copy, distribute and modify it. |
||||
|
||||
Basic Installation |
||||
================== |
||||
|
||||
These are generic installation instructions. |
||||
|
||||
The `configure' shell script attempts to guess correct values for |
||||
various system-dependent variables used during compilation. It uses |
||||
those values to create a `Makefile' in each directory of the package. |
||||
It may also create one or more `.h' files containing system-dependent |
||||
definitions. Finally, it creates a shell script `config.status' that |
||||
you can run in the future to recreate the current configuration, and a |
||||
file `config.log' containing compiler output (useful mainly for |
||||
debugging `configure'). |
||||
|
||||
It can also use an optional file (typically called `config.cache' |
||||
and enabled with `--cache-file=config.cache' or simply `-C') that saves |
||||
the results of its tests to speed up reconfiguring. (Caching is |
||||
disabled by default to prevent problems with accidental use of stale |
||||
cache files.) |
||||
|
||||
If you need to do unusual things to compile the package, please try |
||||
to figure out how `configure' could check whether to do them, and mail |
||||
diffs or instructions to the address given in the `README' so they can |
||||
be considered for the next release. If you are using the cache, and at |
||||
some point `config.cache' contains results you don't want to keep, you |
||||
may remove or edit it. |
||||
|
||||
The file `configure.ac' (or `configure.in') is used to create |
||||
`configure' by a program called `autoconf'. You only need |
||||
`configure.ac' if you want to change it or regenerate `configure' using |
||||
a newer version of `autoconf'. |
||||
|
||||
The simplest way to compile this package is: |
||||
|
||||
1. `cd' to the directory containing the package's source code and type |
||||
`./configure' to configure the package for your system. If you're |
||||
using `csh' on an old version of System V, you might need to type |
||||
`sh ./configure' instead to prevent `csh' from trying to execute |
||||
`configure' itself. |
||||
|
||||
Running `configure' takes awhile. While running, it prints some |
||||
messages telling which features it is checking for. |
||||
|
||||
2. Type `make' to compile the package. |
||||
|
||||
3. Optionally, type `make check' to run any self-tests that come with |
||||
the package. |
||||
|
||||
4. Type `make install' to install the programs and any data files and |
||||
documentation. |
||||
|
||||
5. You can remove the program binaries and object files from the |
||||
source code directory by typing `make clean'. To also remove the |
||||
files that `configure' created (so you can compile the package for |
||||
a different kind of computer), type `make distclean'. There is |
||||
also a `make maintainer-clean' target, but that is intended mainly |
||||
for the package's developers. If you use it, you may have to get |
||||
all sorts of other programs in order to regenerate files that came |
||||
with the distribution. |
||||
|
||||
Compilers and Options |
||||
===================== |
||||
|
||||
Some systems require unusual options for compilation or linking that |
||||
the `configure' script does not know about. Run `./configure --help' |
||||
for details on some of the pertinent environment variables. |
||||
|
||||
You can give `configure' initial values for configuration parameters |
||||
by setting variables in the command line or in the environment. Here |
||||
is an example: |
||||
|
||||
./configure CC=c89 CFLAGS=-O2 LIBS=-lposix |
||||
|
||||
*Note Defining Variables::, for more details. |
||||
|
||||
Compiling For Multiple Architectures |
||||
==================================== |
||||
|
||||
You can compile the package for more than one kind of computer at the |
||||
same time, by placing the object files for each architecture in their |
||||
own directory. To do this, you must use a version of `make' that |
||||
supports the `VPATH' variable, such as GNU `make'. `cd' to the |
||||
directory where you want the object files and executables to go and run |
||||
the `configure' script. `configure' automatically checks for the |
||||
source code in the directory that `configure' is in and in `..'. |
||||
|
||||
If you have to use a `make' that does not support the `VPATH' |
||||
variable, you have to compile the package for one architecture at a |
||||
time in the source code directory. After you have installed the |
||||
package for one architecture, use `make distclean' before reconfiguring |
||||
for another architecture. |
||||
|
||||
Installation Names |
||||
================== |
||||
|
||||
By default, `make install' will install the package's files in |
||||
`/usr/local/bin', `/usr/local/man', etc. You can specify an |
||||
installation prefix other than `/usr/local' by giving `configure' the |
||||
option `--prefix=PATH'. |
||||
|
||||
You can specify separate installation prefixes for |
||||
architecture-specific files and architecture-independent files. If you |
||||
give `configure' the option `--exec-prefix=PATH', the package will use |
||||
PATH as the prefix for installing programs and libraries. |
||||
Documentation and other data files will still use the regular prefix. |
||||
|
||||
In addition, if you use an unusual directory layout you can give |
||||
options like `--bindir=PATH' to specify different values for particular |
||||
kinds of files. Run `configure --help' for a list of the directories |
||||
you can set and what kinds of files go in them. |
||||
|
||||
If the package supports it, you can cause programs to be installed |
||||
with an extra prefix or suffix on their names by giving `configure' the |
||||
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. |
||||
|
||||
Optional Features |
||||
================= |
||||
|
||||
Some packages pay attention to `--enable-FEATURE' options to |
||||
`configure', where FEATURE indicates an optional part of the package. |
||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE |
||||
is something like `gnu-as' or `x' (for the X Window System). The |
||||
`README' should mention any `--enable-' and `--with-' options that the |
||||
package recognizes. |
||||
|
||||
For packages that use the X Window System, `configure' can usually |
||||
find the X include and library files automatically, but if it doesn't, |
||||
you can use the `configure' options `--x-includes=DIR' and |
||||
`--x-libraries=DIR' to specify their locations. |
||||
|
||||
Specifying the System Type |
||||
========================== |
||||
|
||||
There may be some features `configure' cannot figure out |
||||
automatically, but needs to determine by the type of machine the package |
||||
will run on. Usually, assuming the package is built to be run on the |
||||
_same_ architectures, `configure' can figure that out, but if it prints |
||||
a message saying it cannot guess the machine type, give it the |
||||
`--build=TYPE' option. TYPE can either be a short name for the system |
||||
type, such as `sun4', or a canonical name which has the form: |
||||
|
||||
CPU-COMPANY-SYSTEM |
||||
|
||||
where SYSTEM can have one of these forms: |
||||
|
||||
OS KERNEL-OS |
||||
|
||||
See the file `config.sub' for the possible values of each field. If |
||||
`config.sub' isn't included in this package, then this package doesn't |
||||
need to know the machine type. |
||||
|
||||
If you are _building_ compiler tools for cross-compiling, you should |
||||
use the `--target=TYPE' option to select the type of system they will |
||||
produce code for. |
||||
|
||||
If you want to _use_ a cross compiler, that generates code for a |
||||
platform different from the build platform, you should specify the |
||||
"host" platform (i.e., that on which the generated programs will |
||||
eventually be run) with `--host=TYPE'. |
||||
|
||||
Sharing Defaults |
||||
================ |
||||
|
||||
If you want to set default values for `configure' scripts to share, |
||||
you can create a site shell script called `config.site' that gives |
||||
default values for variables like `CC', `cache_file', and `prefix'. |
||||
`configure' looks for `PREFIX/share/config.site' if it exists, then |
||||
`PREFIX/etc/config.site' if it exists. Or, you can set the |
||||
`CONFIG_SITE' environment variable to the location of the site script. |
||||
A warning: not all `configure' scripts look for a site script. |
||||
|
||||
Defining Variables |
||||
================== |
||||
|
||||
Variables not defined in a site shell script can be set in the |
||||
environment passed to `configure'. However, some packages may run |
||||
configure again during the build, and the customized values of these |
||||
variables may be lost. In order to avoid this problem, you should set |
||||
them in the `configure' command line, using `VAR=value'. For example: |
||||
|
||||
./configure CC=/usr/local2/bin/gcc |
||||
|
||||
will cause the specified gcc to be used as the C compiler (unless it is |
||||
overridden in the site shell script). |
||||
|
||||
`configure' Invocation |
||||
====================== |
||||
|
||||
`configure' recognizes the following options to control how it |
||||
operates. |
||||
|
||||
`--help' |
||||
`-h' |
||||
Print a summary of the options to `configure', and exit. |
||||
|
||||
`--version' |
||||
`-V' |
||||
Print the version of Autoconf used to generate the `configure' |
||||
script, and exit. |
||||
|
||||
`--cache-file=FILE' |
||||
Enable the cache: use and save the results of the tests in FILE, |
||||
traditionally `config.cache'. FILE defaults to `/dev/null' to |
||||
disable caching. |
||||
|
||||
`--config-cache' |
||||
`-C' |
||||
Alias for `--cache-file=config.cache'. |
||||
|
||||
`--quiet' |
||||
`--silent' |
||||
`-q' |
||||
Do not print messages saying which checks are being made. To |
||||
suppress all normal output, redirect it to `/dev/null' (any error |
||||
messages will still be shown). |
||||
|
||||
`--srcdir=DIR' |
||||
Look for the package's source code in directory DIR. Usually |
||||
`configure' can determine that directory automatically. |
||||
|
||||
`configure' also accepts some other, not widely useful, options. Run |
||||
`configure --help' for more details. |
||||
|
@ -0,0 +1,20 @@ |
||||
## Makefile.am -- Process this file with automake to produce Makefile.in
|
||||
|
||||
AUTOMAKE_OPTIONS = gnu
|
||||
|
||||
SUBDIRS = doc src
|
||||
|
||||
EXTRA_DIST = \
|
||||
autogen.sh
|
||||
|
||||
ACLOCAL = aclocal -I $(ac_aux_dir)
|
||||
|
||||
CLEANFILES = *~
|
||||
|
||||
DISTCLEANFILES = .deps/*.P
|
||||
|
||||
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config.h.in \
|
||||
stamp-h.in $(ac_aux_dir)/depcomp \
|
||||
$(ac_aux_dir)/install-sh $(ac_aux_dir)/missing \
|
||||
$(ac_aux_dir)/mkinstalldirs $(ac_aux_dir)/config.guess \
|
||||
$(ac_aux_dir)/config.sub $(ac_aux_dir)/ltmain.sh
|
@ -0,0 +1,613 @@ |
||||
# 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 = :
|
||||
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 depcomp install-sh 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); }; }
|
||||
DIST_ARCHIVES = $(distdir).tar.gz
|
||||
GZIP_ENV = --best
|
||||
distuninstallcheck_listfiles = find . -type f -print
|
||||
distcleancheck_listfiles = find . -type f -print
|
||||
ACLOCAL = aclocal -I $(ac_aux_dir)
|
||||
AMTAR = @AMTAR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
GREP = @GREP@
|
||||
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@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
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_aux_dir = @ac_aux_dir@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build_alias = @build_alias@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host_alias = @host_alias@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
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@
|
||||
AUTOMAKE_OPTIONS = gnu
|
||||
SUBDIRS = doc src
|
||||
EXTRA_DIST = \
|
||||
autogen.sh
|
||||
|
||||
CLEANFILES = *~
|
||||
DISTCLEANFILES = .deps/*.P
|
||||
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config.h.in \
|
||||
stamp-h.in $(ac_aux_dir)/depcomp \
|
||||
$(ac_aux_dir)/install-sh $(ac_aux_dir)/missing \
|
||||
$(ac_aux_dir)/mkinstalldirs $(ac_aux_dir)/config.guess \
|
||||
$(ac_aux_dir)/config.sub $(ac_aux_dir)/ltmain.sh
|
||||
|
||||
all: config.h |
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
|
||||
.SUFFIXES: |
||||
am--refresh: |
||||
@:
|
||||
$(srcdir)/Makefile.in: $(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: $(am__configure_deps) |
||||
cd $(srcdir) && $(AUTOCONF)
|
||||
$(ACLOCAL_M4): $(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: $(am__configure_deps) |
||||
cd $(top_srcdir) && $(AUTOHEADER)
|
||||
rm -f stamp-h1
|
||||
touch $@
|
||||
|
||||
distclean-hdr: |
||||
-rm -f config.h stamp-h1
|
||||
|
||||
# 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) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(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: |
||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||
|
||||
distclean-generic: |
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
||||
|
||||
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 mostlyclean-am |
||||
|
||||
distclean: distclean-recursive |
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-hdr 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 |
||||
|
||||
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 \
|
||||
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-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 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,3 @@ |
||||
|
||||
2008-12-03: dvnixload-0.1 has been released. |
||||
Initial release |
@ -0,0 +1,18 @@ |
||||
|
||||
dvnixload |
||||
|
||||
Utility to program a UBL (first stage bootloader) and an application |
||||
(2nd stage bootloader, ex. U-Boot) in NAND flash memory over the serial port. |
||||
|
||||
Project website: |
||||
http://www.hugovil.com/en/dvnixload |
||||
|
||||
UBL project website: |
||||
http://trac.geekisp.com/opensdr/browser/HW_tools/sff_sdr/serial_loader/trunk/DVFlasher/ubl |
||||
|
||||
This program was tested on the following systems: |
||||
"Linux From Scratch 4.0" |
||||
|
||||
For installation instructions, see the INSTALL file. |
||||
|
||||
For recent project news, see the NEWS file. |
@ -0,0 +1,10 @@ |
||||
TODO |
||||
|
||||
-Implement timeout in wait_for_message. |
||||
-Add support for erasing NAND. |
||||
-Add support for erasing and programming NOR. |
||||
-Display external commands error messages when failing. |
||||
-If we detect BOOTPSP, can we send a command to reboot? |
||||
(just to make sure to send a fresh UBL). |
||||
-Add support to send UBL and APP in binary form with a |
||||
CRC like the RBL does it. |
@ -0,0 +1,868 @@ |
||||
# generated automatically by aclocal 1.10.1 -*- Autoconf -*- |
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
||||
# 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
||||
# This file 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. |
||||
|
||||
m4_ifndef([AC_AUTOCONF_VERSION], |
||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
||||
m4_if(AC_AUTOCONF_VERSION, [2.63],, |
||||
[m4_warning([this file was generated for autoconf 2.63. |
||||
You have another version of autoconf. It may work, but is not guaranteed to. |
||||
If you have problems, you may need to regenerate the build system entirely. |
||||
To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
||||
|
||||
# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. |
||||
# |
||||
# This file 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. |
||||
|
||||
# AM_AUTOMAKE_VERSION(VERSION) |
||||
# ---------------------------- |
||||
# Automake X.Y traces this macro to ensure aclocal.m4 has been |
||||
# generated from the m4 files accompanying Automake X.Y. |
||||
# (This private macro should not be called outside this file.) |
||||
AC_DEFUN([AM_AUTOMAKE_VERSION], |
||||
[am__api_version='1.10' |
||||
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
||||
dnl require some minimum version. Point them to the right macro. |
||||
m4_if([$1], [1.10.1], [], |
||||
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
||||
]) |
||||
|
||||
# _AM_AUTOCONF_VERSION(VERSION) |
||||
# ----------------------------- |
||||
# aclocal traces this macro to find the Autoconf version. |
||||
# This is a private macro too. Using m4_define simplifies |
||||
# the logic in aclocal, which can simply ignore this definition. |
||||
m4_define([_AM_AUTOCONF_VERSION], []) |
||||
|
||||
# AM_SET_CURRENT_AUTOMAKE_VERSION |
||||
# ------------------------------- |
||||
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
||||
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. |
||||
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
||||
[AM_AUTOMAKE_VERSION([1.10.1])dnl |
||||
m4_ifndef([AC_AUTOCONF_VERSION], |
||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
||||
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) |
||||
|
||||
# AM_AUX_DIR_EXPAND -*- Autoconf -*- |
||||
|
||||
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
||||
# |
||||
# This file 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. |
||||
|
||||
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
||||
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to |
||||
# `$srcdir', `$srcdir/..', or `$srcdir/../..'. |
||||
# |
||||
# Of course, Automake must honor this variable whenever it calls a |
||||
# tool from the auxiliary directory. The problem is that $srcdir (and |
||||
# therefore $ac_aux_dir as well) can be either absolute or relative, |
||||
# depending on how configure is run. This is pretty annoying, since |
||||
# it makes $ac_aux_dir quite unusable in subdirectories: in the top |
||||
# source directory, any form will work fine, but in subdirectories a |
||||
# relative path needs to be adjusted first. |
||||
# |
||||
# $ac_aux_dir/missing |
||||
# fails when called from a subdirectory if $ac_aux_dir is relative |
||||
# $top_srcdir/$ac_aux_dir/missing |
||||
# fails if $ac_aux_dir is absolute, |
||||
# fails when called from a subdirectory in a VPATH build with |
||||
# a relative $ac_aux_dir |
||||
# |
||||
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir |
||||
# are both prefixed by $srcdir. In an in-source build this is usually |
||||
# harmless because $srcdir is `.', but things will broke when you |
||||
# start a VPATH build or use an absolute $srcdir. |
||||
# |
||||
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |
||||
# iff we strip the leading $srcdir from $ac_aux_dir. That would be: |
||||
# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` |
||||
# and then we would define $MISSING as |
||||
# MISSING="\${SHELL} $am_aux_dir/missing" |
||||
# This will work as long as MISSING is not called from configure, because |
||||
# unfortunately $(top_srcdir) has no meaning in configure. |
||||
# However there are other variables, like CC, which are often used in |
||||
# configure, and could therefore not use this "fixed" $ac_aux_dir. |
||||
# |
||||
# Another solution, used here, is to always expand $ac_aux_dir to an |
||||
# absolute PATH. The drawback is that using absolute paths prevent a |
||||
# configured tree to be moved without reconfiguration. |
||||
|
||||
AC_DEFUN([AM_AUX_DIR_EXPAND], |
||||
[dnl Rely on autoconf to set up CDPATH properly. |
||||
AC_PREREQ([2.50])dnl |
||||
# expand $ac_aux_dir to an absolute path |
||||
am_aux_dir=`cd $ac_aux_dir && pwd` |
||||
]) |
||||
|
||||
# AM_CONDITIONAL -*- Autoconf -*- |
||||
|
||||
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 |
||||
# Free Software Foundation, Inc. |
||||
# |
||||
# This file 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. |
||||
|
||||
# serial 8 |
||||
|
||||
# AM_CONDITIONAL(NAME, SHELL-CONDITION) |
||||
# ------------------------------------- |
||||
# Define a conditional. |
||||
AC_DEFUN([AM_CONDITIONAL], |
||||
[AC_PREREQ(2.52)dnl |
||||
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], |
||||
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl |
||||
AC_SUBST([$1_TRUE])dnl |
||||
AC_SUBST([$1_FALSE])dnl |
||||
_AM_SUBST_NOTMAKE([$1_TRUE])dnl |
||||
_AM_SUBST_NOTMAKE([$1_FALSE])dnl |
||||
if $2; then |
||||
$1_TRUE= |
||||
$1_FALSE='#' |
||||
else |
||||
$1_TRUE='#' |
||||
$1_FALSE= |
||||
fi |
||||
AC_CONFIG_COMMANDS_PRE( |
||||
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
||||
AC_MSG_ERROR([[conditional "$1" was never defined. |
||||
Usually this means the macro was only invoked conditionally.]]) |
||||
fi])]) |
||||
|
||||
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 |
||||
# Free Software Foundation, Inc. |
||||
# |
||||
# This file 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. |
||||
|
||||
# serial 9 |
||||
|
||||
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be |
||||
# written in clear, in which case automake, when reading aclocal.m4, |
||||
# will think it sees a *use*, and therefore will trigger all it's |
||||
# C support machinery. Also note that it means that autoscan, seeing |
||||
# CC etc. in the Makefile, will ask for an AC_PROG_CC use... |
||||
|
||||
|
||||
# _AM_DEPENDENCIES(NAME) |
||||
# ---------------------- |
||||
# See how the compiler implements dependency checking. |
||||
# NAME is "CC", "CXX", "GCJ", or "OBJC". |
||||
# We try a few techniques and use that to set a single cache variable. |
||||
# |
||||
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
||||
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular |
||||
# dependency, and given that the user is not expected to run this macro, |
||||
# just rely on AC_PROG_CC. |
||||
AC_DEFUN([_AM_DEPENDENCIES], |
||||
[AC_REQUIRE([AM_SET_DEPDIR])dnl |
||||
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl |
||||
AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
||||
AC_REQUIRE([AM_DEP_TRACK])dnl |
||||
|
||||
ifelse([$1], CC, [depcc="$CC" am_compiler_list=], |
||||
[$1], CXX, [depcc="$CXX" am_compiler_list=], |
||||
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], |
||||
[$1], UPC, [depcc="$UPC" am_compiler_list=], |
||||
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], |
||||
[depcc="$$1" am_compiler_list=]) |
||||
|
||||
AC_CACHE_CHECK([dependency style of $depcc], |
||||
[am_cv_$1_dependencies_compiler_type], |
||||
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
||||
# We make a subdir and do the tests there. Otherwise we can end up |
||||
# making bogus files that we don't know about and never remove. For |
||||
# instance it was reported that on HP-UX the gcc test will end up |
||||
# making a dummy file named `D' -- because `-MD' means `put the output |
||||
# in D'. |
||||
mkdir conftest.dir |
||||
# Copy depcomp to subdir because otherwise we won't find it if we're |
||||
# using a relative directory. |
||||
cp "$am_depcomp" conftest.dir |
||||
cd conftest.dir |
||||
# We will build objects and dependencies in a subdirectory because |
||||
# it helps to detect inapplicable dependency modes. For instance |
||||
# both Tru64's cc and ICC support -MD to output dependencies as a |
||||
# side effect of compilation, but ICC will put the dependencies in |
||||
# the current directory while Tru64 will put them in the object |
||||
# directory. |
||||
mkdir sub |
||||
|
||||
am_cv_$1_dependencies_compiler_type=none |
||||
if test "$am_compiler_list" = ""; then |
||||
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` |
||||
fi |
||||
for depmode in $am_compiler_list; do |
||||
# Setup a source with many dependencies, because some compilers |
||||
# like to wrap large dependency lists on column 80 (with \), and |
||||
# we should not choose a depcomp mode which is confused by this. |
||||
# |
||||
# We need to recreate these files for each test, as the compiler may |
||||
# overwrite some of them when testing with obscure command lines. |
||||
# This happens at least with the AIX C compiler. |
||||
: > sub/conftest.c |
||||
for i in 1 2 3 4 5 6; do |
||||
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
||||
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
||||
# Solaris 8's {/usr,}/bin/sh. |
||||
touch sub/conftst$i.h |
||||
done |
||||
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
||||
|
||||
case $depmode in |
||||
nosideeffect) |
||||
# after this tag, mechanisms are not by side-effect, so they'll |
||||
# only be used when explicitly requested |
||||
if test "x$enable_dependency_tracking" = xyes; then |
||||
continue |
||||
else |
||||
break |
||||
fi |
||||
;; |
||||
none) break ;; |
||||
esac |
||||
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
||||
# mode. It turns out that the SunPro C++ compiler does not properly |
||||
# handle `-M -o', and we need to detect this. |
||||
if depmode=$depmode \ |
||||
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
||||
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
||||
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
||||
>/dev/null 2>conftest.err && |
||||
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
||||
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
||||
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
||||
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
||||
# icc doesn't choke on unknown options, it will just issue warnings |
||||
# or remarks (even with -Werror). So we grep stderr for any message |
||||
# that says an option was ignored or not supported. |
||||
# When given -MP, icc 7.0 and 7.1 complain thusly: |
||||
# icc: Command line warning: ignoring option '-M'; no argument required |
||||
# The diagnosis changed in icc 8.0: |
||||
# icc: Command line remark: option '-MP' not supported |
||||
if (grep 'ignoring option' conftest.err || |
||||
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
||||
am_cv_$1_dependencies_compiler_type=$depmode |
||||
break |
||||
fi |
||||
fi |
||||
done |
||||
|
||||
cd .. |
||||
rm -rf conftest.dir |
||||
else |
||||
am_cv_$1_dependencies_compiler_type=none |
||||
fi |
||||
]) |
||||
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) |
||||
AM_CONDITIONAL([am__fastdep$1], [ |
||||
test "x$enable_dependency_tracking" != xno \ |
||||
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3]) |
||||
]) |
||||
|
||||
|
||||
# AM_SET_DEPDIR |
||||
# ------------- |
||||
# Choose a directory name for dependency files. |
||||
# This macro is AC_REQUIREd in _AM_DEPENDENCIES |
||||
AC_DEFUN([AM_SET_DEPDIR], |
||||
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
||||
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
||||
]) |
||||
|
||||
|
||||
# AM_DEP_TRACK |
||||
# ------------ |
||||
AC_DEFUN([AM_DEP_TRACK], |
||||
[AC_ARG_ENABLE(dependency-tracking, |
||||
[ --disable-dependency-tracking speeds up one-time build |
||||
--enable-dependency-tracking do not reject slow dependency extractors]) |
||||
if test "x$enable_dependency_tracking" != xno; then |
||||
am_depcomp="$ac_aux_dir/depcomp" |
||||
AMDEPBACKSLASH='\' |
||||
fi |
||||
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
||||
AC_SUBST([AMDEPBACKSLASH])dnl |
||||
|