]> rtime.felk.cvut.cz Git - frescor/frsh-forb.git/blob - src/frsh/frsh_api/tests/Makefile.omk
Fix linker complains about missing libraries
[frescor/frsh-forb.git] / src / frsh / frsh_api / tests / Makefile.omk
1 CFLAGS += -DWVTEST_CONFIGURED
2
3 wvtest_SCRIPTS += negotiation.sh
4 test_PROGRAMS += negotiation
5 negotiation_SOURCES = negotiation.c
6 negotiation_LIBS = wvtest
7
8 wvtest_SCRIPTS += renegotiation.sh
9 test_PROGRAMS += renegotiation
10 renegotiation_SOURCES = renegotiation.c
11 renegotiation_LIBS = wvtest
12
13 test_PROGRAMS += spare_capacity
14 spare_capacity_SOURCES = spare_capacity.c
15
16 ifeq ($(CONFIG_AQUOSA),y)
17 test_PROGRAMS += cpu_spare_capacity
18 cpu_spare_capacity_SOURCES = cpu_spare_capacity.c
19
20 test_PROGRAMS += cpu_renegotiation
21 cpu_renegotiation_SOURCES = cpu_renegotiation.c
22 endif
23
24 test_PROGRAMS += dummy_renegotiation
25 dummy_renegotiation_SOURCES = dummy_renegotiation.c
26
27 wvtest_SCRIPTS += dummy_spare_capacity.sh
28 test_PROGRAMS += dummy_spare_capacity
29 dummy_spare_capacity_SOURCES = dummy_spare_capacity.c
30 dummy_spare_capacity_LIBS = wvtest
31
32 wvtest_SCRIPTS += trans_nego.sh
33 test_PROGRAMS += trans_nego
34 trans_nego_SOURCES = trans_nego.c
35 trans_nego_LIBS = wvtest fra_dummy
36 test_PROGRAMS += trans_nego2
37 trans_nego2_SOURCES = trans_nego2.c
38 trans_nego2_LIBS = wvtest fra_dummy
39
40 test_PROGRAMS += negobench
41 negobench_SOURCES = negobench.c
42
43 test_PROGRAMS += renegobench
44 renegobench_SOURCES = renegobench.c
45
46 test_PROGRAMS += scbench
47 scbench_SOURCES = scbench.c
48
49 lib_LOADLIBES += pthread rt frsh contract
50
51 ifeq ($(CONFIG_FWP),y)
52 SUBDIRS= fwptest pingpong
53 endif
54
55 ifeq ($(CONFIG_ORTE_TEST),y)
56 test_PROGRAMS += orte_test
57 orte_test_SOURCES+= orte_test.c
58 lib_LOADLIBES += pthread rt fwp fna frsh
59 endif