diff options
| author | Michael Meskes <meskes@postgresql.org> | 2006-01-24 11:01:38 +0000 |
|---|---|---|
| committer | Michael Meskes <meskes@postgresql.org> | 2006-01-24 11:01:38 +0000 |
| commit | 69f9fab1979b1733f2bb068c6f38cd744d80cb7a (patch) | |
| tree | 181932f3a4c4f1b1c728abb5fa11051c8cf7ebc9 /src/interfaces/ecpg/test/Makefile | |
| parent | 7ccaf13a06b8e1f70b26ab049fdb4f8c8dece3f8 (diff) | |
| download | postgresql-69f9fab1979b1733f2bb068c6f38cd744d80cb7a.tar.gz | |
- Synced parser and keyword list.
- Added another test case.
Diffstat (limited to 'src/interfaces/ecpg/test/Makefile')
| -rw-r--r-- | src/interfaces/ecpg/test/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/test/Makefile b/src/interfaces/ecpg/test/Makefile index 79ac9049d6..ad14654921 100644 --- a/src/interfaces/ecpg/test/Makefile +++ b/src/interfaces/ecpg/test/Makefile @@ -1,4 +1,4 @@ -# $PostgreSQL: pgsql/src/interfaces/ecpg/test/Makefile,v 1.50 2005/06/30 07:01:57 neilc Exp $ +# $PostgreSQL: pgsql/src/interfaces/ecpg/test/Makefile,v 1.51 2006/01/24 11:01:38 meskes Exp $ subdir = src/interfaces/ecpg/test top_builddir = ../../../.. @@ -11,7 +11,7 @@ ECPG = ../preproc/ecpg -I$(srcdir)/../include TESTS = test1 test2 test3 test4 test5 perftest dyntest dyntest2 test_notice \ test_code100 test_init testdynalloc num_test dt_test test_informix \ - test_desc + test_informix2 test_desc ifeq ($(enable_thread_safety), yes) TESTS += test_thread test_thread_implicit endif @@ -24,11 +24,17 @@ all: $(TESTS) test_informix: test_informix.o $(CC) $(CFLAGS) $(LDFLAGS) -L../compatlib -L../ecpglib -L ../pgtypeslib -L../../libpq $^ $(LIBS) -lpgtypes -lecpg -lecpg_compat -lpq $(PTHREAD_LIBS) -o $@ +test_informix2: test_informix2.o + $(CC) $(CFLAGS) $(LDFLAGS) -L../compatlib -L../ecpglib -L ../pgtypeslib -L../../libpq $^ $(LIBS) -lpgtypes -lecpg -lecpg_compat -lpq $(PTHREAD_LIBS) -o $@ + %.c: %.pgc $(ECPG) -o $@ -I$(srcdir) $< test_informix.c: test_informix.pgc $(ECPG) -o $@ -C INFORMIX -r no_indicator $< +test_informix2.c: test_informix2.pgc + $(ECPG) -o $@ -C INFORMIX $< + clean: rm -f $(TESTS) $(TESTS:%=%.o) $(TESTS:%=%.c) log |
