# Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999-2013 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_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each '.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ])
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
internal | Folder | 0755 |
|
|
amversion.m4 | File | 1.58 KB | 0644 |
|
ar-lib.m4 | File | 1.98 KB | 0644 |
|
as.m4 | File | 767 B | 0644 |
|
auxdir.m4 | File | 2.37 KB | 0644 |
|
cond-if.m4 | File | 1.01 KB | 0644 |
|
cond.m4 | File | 1.01 KB | 0644 |
|
depend.m4 | File | 7.11 KB | 0644 |
|
depout.m4 | File | 2.93 KB | 0644 |
|
dmalloc.m4 | File | 906 B | 0644 |
|
extra-recurs.m4 | File | 738 B | 0644 |
|
gcj.m4 | File | 649 B | 0644 |
|
init.m4 | File | 5.78 KB | 0644 |
|
install-sh.m4 | File | 677 B | 0644 |
|
lead-dot.m4 | File | 641 B | 0644 |
|
lex.m4 | File | 689 B | 0644 |
|
lispdir.m4 | File | 2.1 KB | 0644 |
|
maintainer.m4 | File | 1.62 KB | 0644 |
|
make.m4 | File | 1.3 KB | 0644 |
|
minuso.m4 | File | 1.25 KB | 0644 |
|
missing.m4 | File | 1.13 KB | 0644 |
|
mkdirp.m4 | File | 1.32 KB | 0644 |
|
obsolete.m4 | File | 1008 B | 0644 |
|
options.m4 | File | 1.06 KB | 0644 |
|
python.m4 | File | 8.87 KB | 0644 |
|
runlog.m4 | File | 718 B | 0644 |
|
sanity.m4 | File | 2.58 KB | 0644 |
|
silent.m4 | File | 1.87 KB | 0644 |
|
strip.m4 | File | 1.36 KB | 0644 |
|
substnot.m4 | File | 675 B | 0644 |
|
tar.m4 | File | 4.37 KB | 0644 |
|
upc.m4 | File | 836 B | 0644 |
|
vala.m4 | File | 1.62 KB | 0644 |
|