# Makefile for access/rtree
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/Makefile,v 1.2 1996/10/31 08:52:50 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/Makefile,v 1.3 1996/11/05 10:54:15 scrappy Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
-INCLUDE_OPT = -I../../port/$(PORTNAME) \
+INCLUDE_OPT = -I../.. \
+ -I../../port/$(PORTNAME) \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtget.c,v 1.5 1996/11/03 22:58:03 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtget.c,v 1.6 1996/11/05 10:54:16 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
-#include <string.h>
-#include <time.h>
-
-#include "postgres.h"
-
-#include "storage/bufmgr.h"
-
-#include "access/sdir.h"
-
-#include "access/htup.h"
-#include "utils/palloc.h"
-#include "access/relscan.h"
-#include "access/itup.h"
-#include "access/iqual.h"
+#include <postgres.h>
-#include "access/rtree.h"
+#include <storage/bufmgr.h>
+#include <access/sdir.h>
+#include <access/relscan.h>
+#include <access/iqual.h>
+#include <access/rtree.h>
+#include <storage/bufpage.h>
+#ifndef HAVE_MEMMOVE
+# include <regex/utils.h>
+#else
+# include <string.h>
+#endif
-#include "storage/bufpage.h"
static OffsetNumber findnext(IndexScanDesc s, Page p, OffsetNumber n,
ScanDirection dir);
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtproc.c,v 1.3 1996/10/23 07:39:23 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtproc.c,v 1.4 1996/11/05 10:54:17 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
-#include <string.h>
+#include <postgres.h>
-#include "postgres.h"
-
-#include "utils/geo-decls.h"
-#include "utils/palloc.h"
+#include <utils/geo-decls.h>
+#ifndef HAVE_MEMMOVE
+# include <regex/utils.h>
+#else
+# include <string.h>
+#endif
BOX
*rt_box_union(BOX *a, BOX *b)
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtree.c,v 1.8 1996/11/03 22:58:06 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtree.c,v 1.9 1996/11/05 10:54:18 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
-#include <stdio.h>
-
-#include "postgres.h"
-#include "access/genam.h"
-
-#include "utils/palloc.h"
-#include "catalog/index.h"
-
-#include "access/rtscan.h"
-
-#include "storage/lmgr.h"
-
-#include "access/rtree.h"
-
-#include "storage/bufmgr.h"
-
-#include "utils/geo-decls.h"
-
-#include "executor/executor.h"
-
-#include "access/heapam.h"
-
-#include "storage/bufpage.h"
+#include <postgres.h>
+
+#include <access/genam.h>
+#include <catalog/index.h>
+#include <access/rtscan.h>
+#include <storage/lmgr.h>
+#include <access/rtree.h>
+#include <storage/bufmgr.h>
+#include <utils/geo-decls.h>
+#include <executor/executor.h>
+#include <access/heapam.h>
+#include <fmgr.h>
+#include <storage/bufpage.h>
+
+#ifndef HAVE_MEMMOVE
+# include <regex/utils.h>
+#else
+# include <string.h>
+#endif
typedef struct SPLITVEC {
OffsetNumber *spl_left;
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtscan.c,v 1.7 1996/11/03 22:58:09 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtscan.c,v 1.8 1996/11/05 10:54:19 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
-#include <string.h>
-
-#include "postgres.h"
-
-#include "storage/bufmgr.h"
-#include "access/genam.h"
+#include <postgres.h>
-#include "utils/palloc.h"
-#include "access/htup.h"
-#include "storage/lmgr.h"
-#include "storage/bufpage.h"
-#include <stdio.h>
+#include <storage/bufmgr.h>
+#include <access/genam.h>
+#include <storage/lmgr.h>
+#include <storage/bufpage.h>
+#include <access/rtree.h>
+#include <access/rtstrat.h>
+#ifndef HAVE_MEMMOVE
+# include <regex/utils.h>
+#else
+# include <string.h>
+#endif
-#include "access/rtree.h"
-#include "access/rtstrat.h"
/* routines defined and used here */
static void rtregscan(IndexScanDesc s);
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtstrat.c,v 1.4 1996/11/03 22:58:10 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtstrat.c,v 1.5 1996/11/05 10:54:20 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
-#include "postgres.h"
+#include <postgres.h>
-#include "utils/rel.h"
-
-#include "storage/off.h"
-#include "storage/block.h"
-#include "access/rtree.h"
-
-#include "access/istrat.h"
+#include <utils/rel.h>
+#include <access/rtree.h>
+#include <access/istrat.h>
/*
* Note: negate, commute, and negatecommute all assume that operators are