Statistics
| Branch: | Revision:

grapes / src / Tests / Makefile @ dc0cf5e3

History | View | Annotate | Download (1.07 KB)

1
BASE = ../..
2
TESTS = topology_test \
3
        topology_test_attr \
4
        chunk_encoding_test \
5
        chunk_sending_test \
6
        chunk_signaling_test \
7
        chunkidset_test \
8
        chunkidset_test_bug \
9
        cb_test \
10
        config_test \
11
        tman_test
12

    
13
CPPFLAGS = -I$(BASE)/include
14

    
15
LDFLAGS += -L..
16
LDLIBS += -lgrapes
17
#LDFLAGS += -static
18
ifeq ($(ARCH),win32)
19
LDLIBS += -lws2_32
20
endif
21

    
22
all: $(TESTS)
23

    
24
topology_test_attr: topology_test_attr.o net_helpers.o
25
topology_test_attr: ../net_helper.o
26

    
27
topology_test: topology_test.o net_helpers.o
28
topology_test: ../net_helper.o
29

    
30
chunk_encoding_test: chunk_encoding_test.o
31

    
32
cb_test: cb_test.o
33

    
34
chunkidset_test: chunkidset_test.o chunkid_set_h.o
35

    
36
chunkidset_test_bug: chunkidset_test_bug.o chunkid_set_h.o
37

    
38
chunk_sending_test: chunk_sending_test.o net_helpers.o
39
chunk_sending_test: ../net_helper.o
40

    
41
chunk_signaling_test: chunk_signaling_test.o net_helpers.o chunkid_set_h.o
42
chunk_signaling_test: ../net_helper.o
43

    
44
tman_test: tman_test.o topology.o peer.o net_helpers.o
45
tman_test: ../net_helper.o
46

    
47
clean::
48
	rm -f $(TESTS)
49

    
50
include ../utils.mak