head	1.4;
access;
symbols;
locks; strict;
comment	@# @;


1.4
date	97.02.04.09.13.55;	author scrappy;	state dead;
branches;
next	1.3;

1.3
date	97.01.23.05.16.13;	author bryanh;	state Exp;
branches;
next	1.2;

1.2
date	97.01.08.07.32.15;	author scrappy;	state Exp;
branches;
next	1.1;

1.1
date	96.12.31.07.26.26;	author bryanh;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Remove default GNUmakefile and Makefile.global

Change reference to Postgres95 to PostgreSQL in GNUmakefile
@
text
@#-------------------------------------------------------------------------
#
# Makefile.inc--
#    Build and install postgres.
#
# Copyright (c) 1994, Regents of the University of California
#
# IDENTIFICATION
#    $Header: /usr/local/cvsroot/postgres95/src/GNUmakefile,v 1.3 1997/01/23 05:16:13 bryanh Exp scrappy $
#
#-------------------------------------------------------------------------

SRCDIR= .
include Makefile.global

FIND = find
# assuming gnu tar and split here
TAR  = tar
SPLIT = split

ETAGS = etags
XARGS = xargs

.DEFAULT all:
	@@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 $@@
	$(MAKE) -C backend $@@
	$(MAKE) -C libpq $@@
ifeq ($(HAVE_Cplusplus), true)
	$(MAKE) -C libpq++ $@@
endif
ifeq ($(USE_TCL), true)
	$(MAKE) -C libpgtcl $@@
endif
	$(MAKE) -C bin $@@
ifneq ($(wildcard man), )
	$(MAKE) -C man $@@
endif
	@@if test $@@. = all. -o $@@. = .; then \
	echo All of PostgreSQL is successfully made.  Ready to install. ;\
        fi

TAGS:
	rm -f TAGS; \
	for i in backend libpq bin; do \
	  $(FIND) $$i -name '*.[chyl]' -print | $(XARGS) $(ETAGS) -a ; \
	done

# target to generate a backup tar file and split files that can be 
# saved to 1.44M floppy
BACKUP:
	rm -f BACKUP.filelist BACKUP.tgz; \
	$(FIND) . -not -path '*obj/*' -not -path '*data/*' -type f -print > BACKUP.filelist; \
	$(TAR) --files-from BACKUP.filelist -c -z -v -f BACKUP.tgz
	$(SPLIT) --bytes=1400k BACKUP.tgz pgBACKUP.	

.PHONY: TAGS
.PHONY: BACKUP
@


1.3
log
@Add "else true" to make it magically work on Ultrix.
@
text
@d9 1
a9 1
#    $Header: /usr/local/cvsroot/postgres95/src/GNUmakefile,v 1.2 1997/01/08 07:32:15 scrappy Exp $
@


1.2
log
@Typo: Change Postgres95 to PostgreSQL

By: tgl@@mythos.jpl.nasa.gov
@
text
@d9 1
a9 1
#    $Header: /usr/local/cvsroot/postgres95/src/GNUmakefile,v 1.1 1996/12/31 07:26:26 bryanh Exp $
d29 1
@


1.1
log
@Rename Makefile to GNUmakefile to catch people using other makes.
@
text
@d9 1
a9 1
#    $Header: /usr/local/cvsroot/postgres95/src/Makefile,v 1.12 1996/11/19 02:43:46 bryanh Exp $
d44 1
a44 1
	echo All of Postgres95 is successfully made.  Ready to install. ;\
@
