97516ef4941acf90a8e7988a19a3775edefc9ad3
[platform/upstream/automake.git] / lib / am / header-vars.am
1 ## automake - create Makefile.in from Makefile.am
2 ## Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2003, 2005,
3 ## 2006 Free Software Foundation, Inc.
4
5 ## This program is free software; you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation; either version 2, or (at your option)
8 ## any later version.
9
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 ## GNU General Public License for more details.
14
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
18 VPATH = @srcdir@
19
20 @SET_MAKE@
21
22 ## We used to define this.  However, we don't because vendor makes
23 ## (e.g., Solaris, Irix) won't correctly propagate variables that are
24 ## defined in Makefile.  This particular variable can't be correctly
25 ## defined by configure (at least, not the current configure), so we
26 ## simply avoid defining it to allow the user to use this feature with
27 ## a vendor make.
28 ## DESTDIR =
29
30 ## Shell code that determines whether make is running in "dry mode"
31 ## ("make -n") or not.  Useful in rules that invoke make recursively,
32 ## and are thus executed also with "make -n" -- either because they
33 ## are declared as dependencies to '.MAKE' (NetBSD make), or because
34 ## their recipes contain the "$(MAKE)" string (GNU and Solari make).
35
36 ## The case statement has [:] in order to not tickle makefile-deps.test
37 ## which greps for '^ *:'.
38 am__make_dryrun = \
39   { \
40     am__dry=no; \
41     for am__flg in : $(MAKEFLAGS); do \
42       case $$am__flg in \
43         [:]) ;; \
44         *=*|--*) ;; \
45         *n*) am__dry=yes; break;; \
46       esac; \
47     done; \
48     test $$am__dry = yes; \
49   }
50
51 ## Some derived variables that have been found to be useful.
52 pkgdatadir = $(datadir)/@PACKAGE@
53 pkgincludedir = $(includedir)/@PACKAGE@
54 pkglibdir = $(libdir)/@PACKAGE@
55 pkglibexecdir = $(libexecdir)/@PACKAGE@
56
57 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
58 install_sh_DATA = $(install_sh) -c -m 644
59 install_sh_PROGRAM = $(install_sh) -c
60 install_sh_SCRIPT = $(install_sh) -c
61 INSTALL_HEADER = $(INSTALL_DATA)
62 transform = $(program_transform_name)
63
64 ## These are defined because otherwise make on NetBSD V1.1 will print
65 ## (eg): $(NORMAL_INSTALL) expands to empty string.
66 NORMAL_INSTALL = :
67 PRE_INSTALL = :
68 POST_INSTALL = :
69 NORMAL_UNINSTALL = :
70 PRE_UNINSTALL = :
71 POST_UNINSTALL = :
72
73 ## dejagnu.am uses these variables.  Some users might rely on them too.
74 ?BUILD?build_triplet = @build@
75 ?HOST?host_triplet = @host@
76 ?TARGET?target_triplet = @target@