Skip to content

Commit fa11e5e

Browse files
committed
i
Improvements to Makefiles to compensate for errors in compiling From: bryanh@giraffe.netgate.net (Bryan Henderson)
1 parent 7e7f0c4 commit fa11e5e

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

src/bin/Makefile

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,33 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/bin/Makefile,v 1.3 1996/07/25 06:54:26 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/bin/Makefile,v 1.3.2.1 1996/08/20 04:16:20 scrappy Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

1414
MKDIR=../mk
1515
-include $(MKDIR)/../Makefile.global
1616

17+
.DEFAULT all:
1718
#
1819
# C programs
1920
#
20-
SUBDIR= pg_id pg_version psql pg_dump
21-
21+
$(MAKE) -C pg_id $@
22+
$(MAKE) -C pg_version $@
23+
$(MAKE) -C psql $@
24+
$(MAKE) -C pg_dump $@
2225
#
2326
# Shell scripts
2427
#
25-
SUBDIR+= cleardbdir createdb createuser destroydb destroyuser initdb
26-
28+
$(MAKE) -C cleardbdir $@
29+
$(MAKE) -C createdb $@
30+
$(MAKE) -C createuser $@
31+
$(MAKE) -C destroydb $@
32+
$(MAKE) -C destroyuser $@
33+
$(MAKE) -C initdb $@
2734
#
2835
# TCL/TK programs
2936
#
3037
ifeq ($(USE_TCL), true)
31-
SUBDIR += pgtclsh
38+
$(MAKE) -C pgtclsh $@
3239
endif
33-
34-
include $(MKDIR)/postgres.subdir.mk
35-

0 commit comments

Comments
 (0)