head	1.4;
access;
symbols
	PG95_1_01:1.4
	PG95_1_0:1.3
	PG95_beta_03:1.3
	PG95_beta_02:1.3
	PG95_beta:1.3
	REL_0_4:1.1.1.1
	ANDREW_JOLLY:1.1.1;
locks; strict;
comment	@# @;


1.4
date	96.02.24.01.31.41;	author jolly;	state Exp;
branches;
next	1.3;

1.3
date	95.04.28.23.16.33;	author andrew;	state Exp;
branches;
next	1.2;

1.2
date	95.03.21.06.45.59;	author andrew;	state Exp;
branches;
next	1.1;

1.1
date	94.11.07.05.19.15;	author andrew;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	94.11.07.05.19.16;	author andrew;	state Exp;
branches;
next	;


desc
@@


1.4
log
@*** empty log message ***
@
text
@#-------------------------------------------------------------------------
#
# Makefile.inc--
#    Build and install postgres.
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
#    $Header: /home/jolly/POSTGRES_MASTER_CVS/src/Makefile,v 1.3 1995/04/28 23:16:33 andrew Exp $
#
# NOTES
#	objdir	- location of the objects and generated files (eg. obj)
#
#-------------------------------------------------------------------------

SUBDIR= backend libpq bin

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

ETAGS = etags
XARGS = xargs

ifeq ($(USE_TCL), true)
SUBDIR += libpgtcl
endif

include mk/postgres.subdir.mk

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
@exclude test in SUBDIR so that gmake before gmake install works (stuff in
test requires headers to be installed first).
@
text
@d10 1
a10 1
#    $Header: /usr/local/devel/pglite/cvs/src/Makefile,v 1.2 1995/03/21 06:45:59 andrew Exp $
d19 12
d36 1
a36 2
	  find $$i \( -name '*.[chy]' -o -name '*.lex' \) \
	    -print | xargs etags -a ; \
d39 8
d48 1
@


1.2
log
@switch over to gmake
@
text
@d10 1
a10 1
#    $Header: /usr/local/devel/pglite/cvs/src/Makefile,v 1.1.1.1 1994/11/07 05:19:16 andrew Exp $
d17 1
a17 1
SUBDIR= backend libpq bin test
@


1.1
log
@Initial revision
@
text
@d10 1
a10 1
#    $Header: $
d12 3
d19 1
a19 1
.include <postgres.subdir.mk>
d21 1
a21 2
bigtags:
	cd ${.CURDIR}; \
d24 1
a24 1
	  find $$i \( -name '*.[chy]' -o -name '*.gen' -o -name '*.lex' \) \
d27 2
@


1.1.1.1
log
@Copyright (c) 1994, POSTGRES Lite   Andrew Yu and Jolly Chen
@
text
@@
