aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/compat_informix/Makefile
blob: a8e2ca972ece17ff2069561a08d2ea2f8e4207e7 (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
41
42
43
44
45
46
47
subdir = src/interfaces/ecpg/test/compat_informix
top_builddir = ../../../../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/$(subdir)/../Makefile.regress

# special informix compatibility switches
ECPG += -C INFORMIX
ECPG_NOIND  = $(ECPG) -r no_indicator

override LDFLAGS := -L../../compatlib $(LDFLAGS)
override LIBS := -lecpg_compat $(LIBS)

TESTS = test_informix test_informix.c \
        test_informix2 test_informix2.c \
        dec_test dec_test.c \
        rfmtdate rfmtdate.c \
        rfmtlong rfmtlong.c \
        rnull rnull.c \
        sqlda sqlda.c \
        describe describe.c \
        charfuncs charfuncs.c

all: $(TESTS)

test_informix.c: test_informix.pgc ../regression.h
	$(ECPG) -o $@ -I$(srcdir) $<

test_informix2.c: test_informix2.pgc ../regression.h
	$(ECPG) -o $@ -I$(srcdir) $<

sqlda.c: sqlda.pgc ../regression.h
	$(ECPG) -o $@ -I$(srcdir) $<

dec_test.c: dec_test.pgc ../regression.h
	$(ECPG) -o $@ -I$(srcdir) $<

rfmtdate.c: rfmtdate.pgc ../regression.h
	$(ECPG) -o $@ -I$(srcdir) $<

rfmtlong.c: rfmtlong.pgc ../regression.h
	$(ECPG) -o $@ -I$(srcdir) $<

rnull.c: rnull.pgc ../regression.h
	$(ECPG_NOIND) -o $@ -I$(srcdir) $<

charfuncs.c: charfuncs.pgc ../regression.h
	$(ECPG) -o $@ -I$(srcdir) $<