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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
diff --git a/GNUmakefile.in b/GNUmakefile.in
index 16f9057..0f6cee7 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -11,19 +11,16 @@ include $(top_builddir)/src/Makefile.global
all:
$(MAKE) -C doc all
$(MAKE) -C src all
- $(MAKE) -C config all
@echo "All of PostgreSQL successfully made. Ready to install."
install:
$(MAKE) -C doc $@
$(MAKE) -C src $@
- $(MAKE) -C config $@
@echo "PostgreSQL installation complete."
installdirs uninstall:
$(MAKE) -C doc $@
$(MAKE) -C src $@
- $(MAKE) -C config $@
distprep:
$(MAKE) -C doc $@
diff --git a/contrib/Makefile b/contrib/Makefile
index 1787a1b..26610d8 100644
--- a/contrib/Makefile
+++ b/contrib/Makefile
@@ -5,37 +5,10 @@ top_builddir = ..
include $(top_builddir)/src/Makefile.global
WANTED_DIRS = \
- adminpack \
- btree_gist \
- chkpass \
- cube \
- dblink \
- earthdistance \
- fuzzystrmatch \
- hstore \
- intagg \
- intarray \
- isn \
- lo \
- ltree \
oid2name \
- pg_buffercache \
- pg_freespacemap \
- pg_trgm \
pgbench \
- pgcrypto \
- pgrowlocks \
- pgstattuple \
- seg \
- spi \
- tablefunc \
- tsearch2 \
vacuumlo
-ifeq ($(with_openssl),yes)
-WANTED_DIRS += sslinfo
-endif
-
# Missing:
# start-scripts \ (does not have a makefile)
# xml2 \ (requires libxml installed)
diff --git a/src/Makefile b/src/Makefile
index 6d9043a..5099025 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -14,18 +14,9 @@ include Makefile.global
all install installdirs uninstall dep depend distprep:
- $(MAKE) -C port $@
- $(MAKE) -C timezone $@
- $(MAKE) -C backend $@
- $(MAKE) -C backend/utils/mb/conversion_procs $@
- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
$(MAKE) -C bin $@
- $(MAKE) -C pl $@
- $(MAKE) -C makefiles $@
- $(MAKE) -C test/regress $@
-install: install-local
+install:
install-local: installdirs-local
$(INSTALL_DATA) Makefile.global '$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.global'
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index 820dfd5..2619acd 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -365,10 +365,10 @@ endif
submake-libpq:
- $(MAKE) -C $(libpq_builddir) all
+ @true $(MAKE) -C $(libpq_builddir) all
submake-libpgport:
- $(MAKE) -C $(top_builddir)/src/port all
+ @true $(MAKE) -C $(top_builddir)/src/port all
.PHONY: submake-libpq submake-libpgport
diff --git a/src/bin/Makefile b/src/bin/Makefile
index 0d86213..5dba7c8 100644
--- a/src/bin/Makefile
+++ b/src/bin/Makefile
@@ -13,8 +13,8 @@ subdir = src/bin
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
-DIRS := initdb ipcclean pg_ctl pg_dump \
- psql scripts pg_config pg_controldata pg_resetxlog
+DIRS := pg_dump \
+ psql scripts
ifeq ($(PORTNAME), win32)
DIRS+=pgevent
endif
|