summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/Makefile
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2003-06-25 10:44:21 +0000
committerMichael Meskes <meskes@postgresql.org>2003-06-25 10:44:21 +0000
commitfd3ca524ebb12acaf582e60366fe39a58b4bd0a4 (patch)
treecdcfc49d8ba45a4cd88fe14f0de8441679ffe6e3 /src/interfaces/ecpg/test/Makefile
parentff4c69e02183e5330529990871f2c4dfb745a838 (diff)
downloadpostgresql-fd3ca524ebb12acaf582e60366fe39a58b4bd0a4.tar.gz
Implemented Informix special way to treat NULLs, removed warnings, synced.
Diffstat (limited to 'src/interfaces/ecpg/test/Makefile')
-rw-r--r--src/interfaces/ecpg/test/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/test/Makefile b/src/interfaces/ecpg/test/Makefile
index eb3860128f..78bbcbe286 100644
--- a/src/interfaces/ecpg/test/Makefile
+++ b/src/interfaces/ecpg/test/Makefile
@@ -1,4 +1,4 @@
-# $Header: /cvsroot/pgsql/src/interfaces/ecpg/test/Makefile,v 1.36 2003/04/08 17:09:51 tgl Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/ecpg/test/Makefile,v 1.37 2003/06/25 10:44:21 meskes Exp $
subdir = src/interfaces/ecpg/test
top_builddir = ../../../..
@@ -8,15 +8,21 @@ override CPPFLAGS := -I$(srcdir)/../include $(CPPFLAGS)
ECPG = ../preproc/ecpg -I$(srcdir)/../include
-TESTS = test1 test2 test3 test4 perftest dyntest dyntest2 test_notice test_code100 test_init testdynalloc num_test dt_test
+TESTS = test1 test2 test3 test4 perftest dyntest dyntest2 test_notice test_code100 test_init testdynalloc num_test dt_test test_informix
all: $(TESTS)
%: %.o
$(CC) $(CFLAGS) $(LDFLAGS) -L../ecpglib -L ../pgtypeslib -L../../libpq $^ $(LIBS) -lpgtypes -lecpg -lpq -o $@
+test_informix: test_informix.o
+ $(CC) $(CFLAGS) $(LDFLAGS) -L../compatlib -L../ecpglib -L ../pgtypeslib -L../../libpq $^ $(LIBS) -lpgtypes -lecpg -lecpg_compat -lpq -o $@
+
%.c: %.pgc
$(ECPG) $<
+test_informix.c: test_informix.pgc
+ $(ECPG) -C INFORMIX $<
clean:
rm -f $(TESTS) $(TESTS:%=%.o) $(TESTS:%=%.c) log
+