Revision 417048c7 src/CloudSupport/Makefile

View differences:

src/CloudSupport/Makefile
18 18

  
19 19
delegate_helpers: $(DELEGATE_HELPERS)
20 20

  
21

  
22
libs3_delegate_helper.so: CFLAGS += -fPIC
21 23
libs3_delegate_helper.so: ../Utils/request_handler.o ../Utils/fifo_queue.o ../config.o ../net_helper$(NH_INCARNATION).o
24
libs3_delegate_helper.so: libs3_delegate_helper.o
22 25
libs3_delegate_helper.so: CFLAGS += -shared -pthread
23 26
ifeq (${PLATFORM}, darwin)
24 27
libs3_delegate_helper.so: CFLAGS += -dynamiclib
25 28
endif
26 29
libs3_delegate_helper.so: LDFLAGS += -ls3
27
libs3_delegate_helper.so: libs3_delegate_helper.o
28 30
	$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
29 31

  
30
libs3_delegate_helper.o: CFLAGS += -fPIC
31 32

  
33
mysql_delegate_helper.so: CFLAGS += -fPIC
32 34
mysql_delegate_helper.so: ../Utils/request_handler.o ../Utils/fifo_queue.o ../config.o ../net_helper$(NH_INCARNATION).o
35
mysql_delegate_helper.so: mysql_delegate_helper.o
33 36
mysql_delegate_helper.so: CFLAGS += -shared -pthread
34 37
ifeq (${PLATFORM}, darwin)
35 38
mysql_delegate_helper.so: CFLAGS += -dynamiclib
36 39
endif
37 40
mysql_delegate_helper.so: LDFLAGS += -lmysqlclient
38
mysql_delegate_helper.so: mysql_delegate_helper.o
39 41
	$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
40 42

  
41
mysql_delegate_helper.o: CFLAGS += -fPIC
42

  
43

  
44

  
45 43
clean::
46 44
	rm -f *.so

Also available in: Unified diff