1 ## automake - create Makefile.in from Makefile.am
2 ## Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
4 ## This program is free software; you can redistribute it and/or modify
5 ## it under the terms of the GNU General Public License as published by
6 ## the Free Software Foundation; either version 2, or (at your option)
9 ## This program is distributed in the hope that it will be useful,
10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 ## GNU General Public License for more details.
14 ## You should have received a copy of the GNU General Public License
15 ## along with this program; if not, write to the Free Software
16 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18 @CONFIG_HEADER@: @STAMP@
19 ## Recover from removal of CONFIG_HEADER
20 @if test ! -f $@; then \
24 ## Explicitly look in srcdir for benefit of non-GNU makes.
25 @STAMP@: $(srcdir)/@CONFIG_HEADER_IN@ $(top_builddir)/config.status
26 @rm -f @STAMP@ @STAMP@T
27 ## We used to try to get a real timestamp here. But the fear is that
28 ## that will cause unnecessary cvs conflicts
29 @echo timestamp > @STAMP@T 2> /dev/null
31 && CONFIG_FILES= CONFIG_HEADERS=@CONFIG_HEADER_FULL@ \
32 $(SHELL) ./config.status
33 ## Creating the timestamp first, and moving it later, helps ensure that
34 ## it will be older than the header file, avoiding needless triggering
35 ## of the rebuild rule.
37 ## Explicitly look in srcdir for benefit of non-GNU makes.
38 ## SRC_STAMP takes into account a possible subdir where CONFIG_HEADER_IN is
39 $(srcdir)/@CONFIG_HEADER_IN@: @MAINTAINER_MODE_TRUE@$(srcdir)/@SRC_STAMP@.in
40 ## Recover from removal of CONFIG_HEADER_IN
41 @if test ! -f $@; then \
42 rm -f $(srcdir)/@SRC_STAMP@.in; \
43 $(MAKE) $(srcdir)/@SRC_STAMP@.in; \
45 $(srcdir)/@SRC_STAMP@.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) @FILES@
46 @rm -f $(srcdir)/@SRC_STAMP@.in $(srcdir)/@SRC_STAMP@.inT
47 ## We used to try to get a real timestamp here. But the fear is that
48 ## that will cause unnecessary cvs conflicts
49 @echo timestamp > $(srcdir)/@SRC_STAMP@.inT 2> /dev/null
50 cd $(top_srcdir) && $(AUTOHEADER)
51 ## Creating the timestamp first, and moving it later, helps ensure that
52 ## it will be older than the header file, avoiding needless triggering
53 ## of the rebuild rule.
54 @mv $(srcdir)/@SRC_STAMP@.inT $(srcdir)/@SRC_STAMP@.in