| 1 |
subdir = src/interfaces/ecpg/test/preproc |
| 2 |
top_builddir = ../../../../.. |
| 3 |
include $(top_builddir)/src/Makefile.global |
| 4 |
include $(top_srcdir)/$(subdir)/../Makefile.regress |
| 5 |
|
| 6 |
|
| 7 |
TESTS = array_of_struct array_of_struct.c \ |
| 8 |
autoprep autoprep.c \ |
| 9 |
comment comment.c \ |
| 10 |
cursor cursor.c \ |
| 11 |
define define.c \ |
| 12 |
init init.c \ |
| 13 |
strings strings.c \ |
| 14 |
outofscope outofscope.c \ |
| 15 |
type type.c \ |
| 16 |
variable variable.c \ |
| 17 |
whenever whenever.c \ |
| 18 |
whenever_do_continue whenever_do_continue.c \ |
| 19 |
pointer_to_struct pointer_to_struct.c |
| 20 |
|
| 21 |
all: $(TESTS) |
| 22 |
|
| 23 |
array_of_struct.c: array_of_struct.pgc $(ECPG_TEST_DEPENDENCIES) |
| 24 |
$(ECPG) -c -o $@ $< |
| 25 |
|
| 26 |
pointer_to_struct.c: pointer_to_struct.pgc $(ECPG_TEST_DEPENDENCIES) |
| 27 |
$(ECPG) -c -o $@ $< |
| 28 |
|
| 29 |
autoprep.c: autoprep.pgc $(ECPG_TEST_DEPENDENCIES) |
| 30 |
$(ECPG) -r prepare -o $@ $< |
| 31 |
|
| 32 |
strings.c: strings.pgc strings.h $(ECPG_TEST_DEPENDENCIES) |
| 33 |
$(ECPG) -i -o $@ $< |