#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.5 1997/02/04 09:13:56 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.6 1997/02/19 14:03:28 scrappy Exp $
#
#-------------------------------------------------------------------------
ETAGS = @etags@
XARGS = @xargs@
+clean:
+ @if test $(PORTNAME) = UNDEFINED; then \
+ echo You must set the PORTNAME value in Makefile.global before \
+ you can build Postgres. ;\
+ false ;\
+ else true;\
+ fi
+ $(MAKE) -C utils clean
+ $(MAKE) -C backend clean
+ $(MAKE) -C libpq clean
+ifeq ($(HAVE_Cplusplus), true)
+ $(MAKE) -C libpq++ clean
+endif
+ifeq ($(USE_TCL), true)
+ $(MAKE) -C libpgtcl clean
+endif
+ $(MAKE) -C bin clean
+ifneq ($(wildcard man), )
+ $(MAKE) -C man clean
+endif
+ rm -f Makefile.global include/config.h GNUmakefile
+
.DEFAULT all:
@if test $(PORTNAME) = UNDEFINED; then \
echo You must set the PORTNAME value in Makefile.global before \
.PHONY: TAGS
.PHONY: BACKUP
+