summaryrefslogtreecommitdiffstats
path: root/src/interfaces/ecpg/test/sql/Makefile
blob: 6032762ad7044dddb893976f852c8a0209ab0e99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
subdir = src/interfaces/ecpg/test/sql
top_builddir = ../../../../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/$(subdir)/../Makefile.regress

TESTS = array array.c \
	binary binary.c \
	code100 code100.c \
        copystdout copystdout.c \
	createtableas createtableas.c \
	define define.c \
        desc desc.c \
        sqlda sqlda.c \
        describe describe.c \
        dyntest dyntest.c \
        dynalloc dynalloc.c \
        dynalloc2 dynalloc2.c \
        execute execute.c \
        fetch fetch.c \
        func func.c \
        indicators indicators.c \
	oldexec oldexec.c \
        parser parser.c \
        quote quote.c \
        show show.c \
        sqljson sqljson.c \
        insupd insupd.c \
        twophase twophase.c \
        insupd insupd.c \
		declare declare.c \
		bytea bytea.c \
		prepareas prepareas.c

all: $(TESTS)

define.c: define.pgc define_prelim.pgc $(ECPG_TEST_DEPENDENCIES)
	$(ECPG) -DCMDLINESYM=123 -o $@ $(srcdir)/define_prelim.pgc $<

oldexec.c: oldexec.pgc $(ECPG_TEST_DEPENDENCIES)
	$(ECPG) -r questionmarks -o $@ $<