aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2006-08-02 14:19:14 +0000
committerMichael Meskes <meskes@postgresql.org>2006-08-02 14:19:14 +0000
commitefc861a842f8dca98c52affd0c75ee6cac1f3093 (patch)
tree465be43a7a28a98d0ff7115de88b7ed84c5ffddd
parente79aed7cba7ee610a4f96d42fcff3bc22b732dbc (diff)
downloadpostgresql-efc861a842f8dca98c52affd0c75ee6cac1f3093.tar.gz
postgresql-efc861a842f8dca98c52affd0c75ee6cac1f3093.zip
And finally the Makefiles
-rw-r--r--src/interfaces/ecpg/Makefile4
-rw-r--r--src/interfaces/ecpg/test/pgtypeslib/Makefile11
-rw-r--r--src/interfaces/ecpg/test/sql/Makefile20
-rw-r--r--src/interfaces/ecpg/test/thread/Makefile11
4 files changed, 46 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/Makefile b/src/interfaces/ecpg/Makefile
index 35fe094adfa..4b2694335e9 100644
--- a/src/interfaces/ecpg/Makefile
+++ b/src/interfaces/ecpg/Makefile
@@ -8,6 +8,7 @@ all install installdirs uninstall dep depend distprep:
$(MAKE) -C ecpglib $@
$(MAKE) -C compatlib $@
$(MAKE) -C preproc $@
+ $(MAKE) -C test $@
clean distclean maintainer-clean:
-$(MAKE) -C include $@
@@ -16,3 +17,6 @@ clean distclean maintainer-clean:
-$(MAKE) -C compatlib $@
-$(MAKE) -C preproc $@
-$(MAKE) -C test clean
+
+check: all
+ $(MAKE) -C test $@
diff --git a/src/interfaces/ecpg/test/pgtypeslib/Makefile b/src/interfaces/ecpg/test/pgtypeslib/Makefile
new file mode 100644
index 00000000000..d019a35d88c
--- /dev/null
+++ b/src/interfaces/ecpg/test/pgtypeslib/Makefile
@@ -0,0 +1,11 @@
+subdir = src/interfaces/ecpg/test/pgtypeslib
+top_builddir = ../../../../..
+include $(top_builddir)/src/Makefile.global
+include ../Makefile.regress
+
+TESTS = dt_test dt_test.c \
+ dt_test2 dt_test2.c \
+ num_test num_test.c
+
+all: $(TESTS)
+
diff --git a/src/interfaces/ecpg/test/sql/Makefile b/src/interfaces/ecpg/test/sql/Makefile
new file mode 100644
index 00000000000..0be0fa0870f
--- /dev/null
+++ b/src/interfaces/ecpg/test/sql/Makefile
@@ -0,0 +1,20 @@
+subdir = src/interfaces/ecpg/test/sql
+top_builddir = ../../../../..
+include $(top_builddir)/src/Makefile.global
+include ../Makefile.regress
+
+TESTS = define define.c \
+ dyntest dyntest.c \
+ dyntest2 dyntest2.c \
+ code100 code100.c \
+ desc desc.c \
+ dynalloc dynalloc.c \
+ dynalloc2 dynalloc2.c \
+ func func.c \
+ indicators indicators.c \
+ quote quote.c \
+ show show.c \
+ copystdout copystdout.c
+
+all: $(TESTS)
+
diff --git a/src/interfaces/ecpg/test/thread/Makefile b/src/interfaces/ecpg/test/thread/Makefile
new file mode 100644
index 00000000000..5b25c4a74a2
--- /dev/null
+++ b/src/interfaces/ecpg/test/thread/Makefile
@@ -0,0 +1,11 @@
+subdir = src/interfaces/ecpg/test/thread
+top_builddir = ../../../../..
+include $(top_builddir)/src/Makefile.global
+include ../Makefile.regress
+
+
+TESTS = thread_implicit thread_implicit.c \
+ thread thread.c
+
+all: $(TESTS)
+