1 #-------------------------------------------------------------------------
4 # Build and install postgres.
6 # Copyright (c) 1994, Regents of the University of California
10 # $Header: /cvsroot/pgsql/src/Makefile,v 1.1.1.1 1996/07/09 06:21:07 scrappy Exp $
13 # objdir - location of the objects and generated files (eg. obj)
15 #-------------------------------------------------------------------------
17 SUBDIR= backend libpq bin
20 # assuming gnu tar and split here
27 ifeq ($(USE_TCL), true)
31 include mk/postgres.subdir.mk
35 for i in backend libpq bin; do \
36 $(FIND) $$i -name '*.[chyl]' -print | $(XARGS) $(ETAGS) -a ; \
39 # target to generate a backup tar file and split files that can be
40 # saved to 1.44M floppy
42 rm -f BACKUP.filelist BACKUP.tgz; \
43 $(FIND) . -not -path '*obj/*' -not -path '*data/*' -type f -print > BACKUP.filelist; \
44 $(TAR) --files-from BACKUP.filelist -c -z -v -f BACKUP.tgz
45 $(SPLIT) --bytes=1400k BACKUP.tgz pgBACKUP.