Revision 5ceafcf3 src/Tests/Makefile

View differences:

src/Tests/Makefile
26 26
           chunkiser_test
27 27
endif
28 28

  
29
DEPENDENCIES = libfilecloud.so
30

  
31 29
CPPFLAGS = -I$(BASE)/include
32 30

  
33 31
LDFLAGS += -L..
......
83 81
chunkiser_test: LDLIBS += $(call ld-option, -lbz2)
84 82
endif
85 83

  
86
cloud_test: cloud_test.o net_helpers.o libfilecloud.so
84
cloud_test: cloud_test.o net_helpers.o
87 85
cloud_test: ../net_helper$(NH_INCARNATION).o
88 86
cloud_test: LDFLAGS += -ldl
89 87

  
90

  
91
libfilecloud.so: net_helpers.o
92
libfilecloud.so: ../net_helper$(NH_INCARNATION).o
93
libfilecloud.so: CFLAGS += -shared -pthread
94
libfilecloud.so: cloud_helper_delegate_file.o
95
	$(CC) $(CFLAGS) -o $@ $^
96

  
97
cloud_helper_delegate_file.o: CFLAGS += -fPIC
98

  
99
cloudcast_topology_test: cloudcast_topology_test.o net_helpers.o libfilecloud.so
88
cloudcast_topology_test: cloudcast_topology_test.o net_helpers.o
100 89
cloudcast_topology_test: ../net_helper$(NH_INCARNATION).o
101 90
cloudcast_topology_test: LDFLAGS += -ldl
102 91

  
103
cloud_topology_monitor: cloud_topology_monitor.o net_helpers.o libfilecloud.so
92
cloud_topology_monitor: cloud_topology_monitor.o net_helpers.o
104 93
cloud_topology_monitor: ../net_helper$(NH_INCARNATION).o
105 94
cloud_topology_monitor: LDFLAGS += -ldl
106 95

  

Also available in: Unified diff