Skip to content

Commit 7e7f0c4

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

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

src/Makefile

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Makefile,v 1.3.2.1 1996/08/19 18:35:17 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/Makefile,v 1.3.2.2 1996/08/20 04:10:35 scrappy Exp $
1111
#
1212
# NOTES
1313
# objdir - location of the objects and generated files (eg. obj)
@@ -17,19 +17,6 @@
1717
MKDIR=./mk
1818
-include $(MKDIR)/../Makefile.global
1919

20-
SUBDIR= backend libpq
21-
22-
ifeq ($(USE_TCL), true)
23-
SUBDIR += libpgtcl
24-
endif
25-
26-
SUBDIR+= bin
27-
28-
DOC= $(shell ls -ld ../doc)
29-
ifeq ($(DOC), ../doc)
30-
SUBDIR+= ../doc
31-
endif
32-
3320
FIND = find
3421
# assuming gnu tar and split here
3522
TAR = tar
@@ -38,7 +25,17 @@ SPLIT = split
3825
ETAGS = etags
3926
XARGS = xargs
4027

41-
include mk/postgres.subdir.mk
28+
.DEFAULT all:
29+
$(MAKE) -C backend $@
30+
$(MAKE) -C libpq $@
31+
ifeq ($(USE_TCL), true)
32+
$(MAKE) -C libpgtcl $@
33+
endif
34+
$(MAKE) -C bin $@
35+
ifeq (../doc, $(wildcard ../doc))
36+
$(MAKE) -C ../doc $@
37+
endif
38+
@echo All of Postgres95 is successfully made. Ready to install.
4239

4340
TAGS:
4441
rm -f TAGS; \

0 commit comments

Comments
 (0)