summaryrefslogtreecommitdiff
path: root/GNUmakefile.in
blob: f3e33fb2788d48b509b8df9e5b9f9c2d12b6d465 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#
# PostgreSQL top level makefile
#
# $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.3 2000/06/10 18:01:34 petere Exp $
#

srcdir = @srcdir@
VPATH = @srcdir@

top_srcdir = @top_srcdir@
top_builddir = .


all:
	$(MAKE) -C src all
	@echo "All of PostgreSQL successfully made. Ready to install."

install:
	$(MAKE) -C src install
	@cat $(srcdir)/register.txt

clean:
	$(MAKE) -C src clean

distclean:
	-$(MAKE) -C src distclean
	-rm -f config.cache config.log config.status GNUmakefile


.PHONY: all install clean distclean


AUTOCONF = @AUTOCONF@
ACLOCAL = @ACLOCAL@

GNUmakefile: GNUmakefile.in $(top_builddir)/config.status
	CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status

$(top_builddir)/config.status: $(top_srcdir)/configure
	cd $(top_builddir) && ./config.status --recheck

$(top_srcdir)/configure: $(top_srcdir)/configure.in $(top_srcdir)/aclocal.m4
	cd $(top_srcdir) && $(AUTOCONF)

$(top_srcdir)/aclocal.m4: $(wildcard $(top_srcdir)/config/*.m4)
	cd $(top_srcdir) && $(ACLOCAL) -I config