OSDN Git Service

Remove overenthusiastic use of dependencies to control autoconf.
[pg-rex/syncrep.git] / GNUmakefile.in
1 #
2 # PostgreSQL top level makefile
3 #
4 # $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.4 2000/06/11 18:43:52 tgl Exp $
5 #
6
7 srcdir = @srcdir@
8 VPATH = @srcdir@
9
10 top_srcdir = @top_srcdir@
11 top_builddir = .
12
13
14 all:
15         $(MAKE) -C src all
16         @echo "All of PostgreSQL successfully made. Ready to install."
17
18 install:
19         $(MAKE) -C src install
20         @cat $(srcdir)/register.txt
21
22 clean:
23         $(MAKE) -C src clean
24
25 distclean:
26         -$(MAKE) -C src distclean
27         -rm -f config.cache config.log config.status GNUmakefile
28
29
30 .PHONY: all install clean distclean
31
32
33 AUTOCONF = @AUTOCONF@
34 ACLOCAL = @ACLOCAL@
35
36 GNUmakefile: GNUmakefile.in $(top_builddir)/config.status
37         CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
38
39 # This rule does not work --- what if config.status doesn't exist?
40
41 # $(top_builddir)/config.status: $(top_srcdir)/configure
42 #       cd $(top_builddir) && ./config.status --recheck
43
44 # These dependencies are evil and dangerous, because they can cause make
45 # to re-run autoconf and then re-run configure due to configure not
46 # having a newer timestamp than configure.in after a CVS pull.  Same
47 # problem for aclocal timestamp skew.  This solution is considerably
48 # worse than the problem it was intended to solve.
49 # Do not put it back or I will take it right out again --- tgl
50
51 # $(top_srcdir)/configure: $(top_srcdir)/configure.in $(top_srcdir)/aclocal.m4
52 #       cd $(top_srcdir) && $(AUTOCONF)
53
54 # $(top_srcdir)/aclocal.m4: $(wildcard $(top_srcdir)/config/*.m4)
55 #       cd $(top_srcdir) && $(ACLOCAL) -I config