summaryrefslogtreecommitdiff
path: root/libyasm/tests/Makefile.am
blob: 36e4bb1d0d521b63ddc446418453f7a4cb0f566a (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
48
49
50
51
52
53
54
55
56
57
58
59
# $IdPath$

CFLAGS = @ANSI_CFLAGS@

if CHECK
TESTS = \
	bitvect_test	\
	bytecode_test	\
	floatnum_test	\
	memexpr_test

noinst_PROGRAMS = \
	bitvect_test	\
	bytecode_test	\
	floatnum_test	\
	memexpr_test

else
TESTS =
noinst_PROGRAMS =
endif

LDADD = \
	$(top_builddir)/check/libcheck.a			\
	$(top_builddir)/src/parsers/nasm/libparser.a		\
	$(top_builddir)/src/preprocs/raw/libpreproc.a		\
	$(top_builddir)/src/optimizers/dbg/liboptimizer.a	\
	$(top_builddir)/src/objfmts/dbg/libobjfmt.a		\
	$(top_builddir)/src/arch/@ARCH@/libarch.a		\
	$(top_builddir)/src/libyasm.a				\
	$(INTLLIBS)

bitvect_test_SOURCES = \
	bitvect_test.c

bitvect_test_LDADD = \
	$(top_builddir)/src/errwarn.o	\
	$(LDADD)

bytecode_test_SOURCES = \
	bytecode_test.c

bytecode_test_LDADD = \
	$(top_builddir)/src/errwarn.o	\
	$(LDADD)

floatnum_test_SOURCES = \
	floatnum_test.c

floatnum_test_LDADD = \
	$(top_builddir)/src/errwarn.o	\
	$(LDADD)

memexpr_test_SOURCES = \
	memexpr_test.c

INCLUDES= -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/check \
	-I$(top_srcdir)/src/arch/@ARCH@ -I$(top_builddir)/intl