# For a list of targets use make help.
#
+# Default target. Dependencies for this are further defined in the
+# included makefiles for SUBDIRS below.
all:
-SUBDIRS = src regress docs demo
-include $(SUBDIRS:%=%/Makefile)
-
BUILD_DIR = $(shell pwd)
MODULE_big = veil
OBJS = $(SOURCES:%.c=%.o)
VEIL_CONTROL = veil--$(VEIL_VERSION).sql
+SUBDIRS = src regress docs demo
+include $(SUBDIRS:%=%/Makefile)
+
+
DATA = $(wildcard veil--*.sql)
ALLDOCS = $(wildcard docs/html/*)
# Only define DOCS (for the install target) if there are some.
include $(PGXS)
include $(DEPS)
-
# Build per-source dependency files for inclusion
# This ignores header files and any other non-local files (such as
# postgres include files). Since I don't know if this will work
rm -f $(DEPS)
$(MAKE) MAKEFLAGS="$(MAKEFLAGS)" make_deps
-# Recursive make is used to cope with pgxs' inability to build more than
-# one library per makefile. We recursively use this makefile to build
-# the veil_trial shared library.
-all: $(DATA)
-
# Define some variables for the following tarball targets.
tarball tarball_clean: VEIL_DIR=veil_$(VEIL_VERSION)
# Ensure that tarball tmp files and dirs are removed by the clean target
clean: tarball_clean
-ifndef VARIANT
-# Explicit target for veil_trial library. Only required for non-variant
-# builds as the target is otherwise defined automatically.
-$(addsuffix $(DLSUFFIX), veil_trial): $(TRIAL_SOURCES)
- @if [ "x$(VARIANT)" = "x" ]; then \
- $(MAKE) MAKEFLAGS="$(MAKEFLAGS)" VARIANT=veil_trial $@; \
- fi
-endif
-
# Install veil_demo as well as veil
install: demo_install
demo_install:
/* ----------
* veil_interface.sqs (or a file derived from it)
*
- * Source file from which veil_interface_trial.sql and
- * veil--<version>.sql is generated using sed.
+ * Source file from which veil--<version>.sql is generated using
+ * sed.
*
* Copyright (c) 2005 - 2011 Marc Munro
* Author: Marc Munro
* ----------
*/
+create schema veil;
+comment on schema veil is
+'Schema containing all veil components.';
+
+
+
create type veil_range_t as (
min int4,
max int4
/* ----------
* veil_interface.sqs (or a file derived from it)
*
- * Source file from which veil_interface_trial.sql and
- * veil--<version>.sql is generated using sed.
+ * Source file from which veil--<version>.sql is generated using
+ * sed.
*
* Copyright (c) 2005 - 2011 Marc Munro
* Author: Marc Munro