]> granicus.if.org Git - postgresql/commitdiff
i
authorMarc G. Fournier <scrappy@hub.org>
Tue, 20 Aug 1996 04:10:35 +0000 (04:10 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Tue, 20 Aug 1996 04:10:35 +0000 (04:10 +0000)
Improvements to Makefiles to compensate for errors in compiling

From: bryanh@giraffe.netgate.net (Bryan Henderson)

src/Makefile

index 0648ccc014fbae7e810befe51ee15e3a76953a5b..fdf944df964b266883c95300dbcf1418e0f4757d 100644 (file)
@@ -7,7 +7,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/Makefile,v 1.3.2.1 1996/08/19 18:35:17 scrappy Exp $
+#    $Header: /cvsroot/pgsql/src/Makefile,v 1.3.2.2 1996/08/20 04:10:35 scrappy Exp $
 #
 # NOTES
 #      objdir  - location of the objects and generated files (eg. obj)
 MKDIR=./mk
 -include $(MKDIR)/../Makefile.global
 
-SUBDIR= backend libpq 
-
-ifeq ($(USE_TCL), true)
-SUBDIR += libpgtcl
-endif
-
-SUBDIR+= bin 
-
-DOC= $(shell ls -ld ../doc)
-ifeq ($(DOC), ../doc)
-SUBDIR+= ../doc
-endif
-
 FIND = find
 # assuming gnu tar and split here
 TAR  = tar
@@ -38,7 +25,17 @@ SPLIT = split
 ETAGS = etags
 XARGS = xargs
 
-include mk/postgres.subdir.mk
+.DEFAULT all:
+       $(MAKE) -C backend $@
+       $(MAKE) -C libpq $@
+ifeq ($(USE_TCL), true)
+       $(MAKE) -C libpgtcl $@
+endif
+       $(MAKE) -C bin $@
+ifeq (../doc, $(wildcard ../doc))
+       $(MAKE) -C ../doc $@
+endif
+       @echo All of Postgres95 is successfully made.  Ready to install.
 
 TAGS:
        rm -f TAGS; \