summaryrefslogtreecommitdiff
path: root/src/test/locale/Makefile
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-06-16 06:42:02 +0000
committerBruce Momjian <bruce@momjian.us>1998-06-16 06:42:02 +0000
commit8d8bcda2531bbae665c2cbe57dade4271b0eb087 (patch)
tree1cb88a3b8fc135e89d6a070dff2244656696c90a /src/test/locale/Makefile
parent67a636918a85fb29333d6b3c8d576ffe62f7df9a (diff)
downloadpostgresql-8d8bcda2531bbae665c2cbe57dade4271b0eb087.tar.gz
Hello!
Attached to the mail is locale-patch.tar.gz. In the archive there are: file README.locale short description directory src/test/locale test suite; currently only koi8-r tests, but the suite can be easily extended file locale.patch the very patch; to apply: patch < locale.patch; should be applied to postgres-6.3.2 (at least I created it with 6.3.2 without any additional patches) Files touched by the patch: src/include/utils/builtins.h src/backend/utils/adt/char.c src/backend/utils/adt/varchar.c src/backend/utils/adt/varlena.c Oleg
Diffstat (limited to 'src/test/locale/Makefile')
-rw-r--r--src/test/locale/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/test/locale/Makefile b/src/test/locale/Makefile
new file mode 100644
index 0000000000..36c951c5d0
--- /dev/null
+++ b/src/test/locale/Makefile
@@ -0,0 +1,33 @@
+#
+# Makefile for example programs
+#
+
+SRCDIR= ../..
+include ../../Makefile.global
+
+#
+# And where libpq goes, so goes the authentication stuff...
+#
+ifdef KRBVERS
+LDFLAGS+= $(KRBLIBS)
+CFLAGS+= $(KRBFLAGS)
+endif
+
+PROGS = test-pgsql-locale test-ctype
+DIRS = koi8-r
+
+all: $(PROGS)
+
+$(PROGS): % : %.c
+ $(CC) $(CFLAGS) -o $@ $@.c $(LDFLAGS)
+
+clean:
+ rm -f $(PROGS) *.out
+ for d in $(DIRS); do \
+ cd $$d; \
+ $(MAKE) clean; \
+ cd ..; \
+ done
+
+test-%: all
+ @cd `echo $@ | sed s/^test-//` && $(MAKE) test