blob: 41134fcf3403b26e9ebad608558552cfb05ed5a7 (
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
|
if CROSS_COMPILING
else
TESTS = orc_test test2 test3
noinst_PROGRAMS = orc_test test2 test3
BUILT_SOURCES = testorc.c testorc.h orc_test.c
endif
test2_SOURCES = test2.c testorc.c
test3_SOURCES = test3.c testorc.c
test3_CFLAGS = -DDISABLE_ORC
AM_CFLAGS = $(ORC_CFLAGS)
LIBS = $(ORC_LIBS) $(top_builddir)/orc-test/liborc-test-@ORC_MAJORMINOR@.la
CLEANFILES = testorc.c testorc.h orc_test.c
testorc.h: $(srcdir)/../test.orc
$(top_builddir)/tools/orcc$(EXEEXT) --include stdint.h --header -o testorc.h $<
testorc.c: $(srcdir)/../test.orc
$(top_builddir)/tools/orcc$(EXEEXT) --include stdint.h --implementation -o testorc.c $<
orc_test.c: $(srcdir)/../test.orc
$(top_builddir)/tools/orcc$(EXEEXT) --include stdint.h --test -o orc_test.c $<
|