Revision d116c3e0 src/CloudSupport/Makefile

View differences:

src/CloudSupport/Makefile
8 8
UTILS_DIR = ../Utils
9 9

  
10 10
OBJS = cloud_helper.o cloud_helper_utils.o cloud_helper_delegate.o
11
DELEGATE_HELPERS = libs3_delegate_helper.so
11
DELEGATE_HELPERS = libs3_delegate_helper.so mysql_delegate_helper.so
12 12

  
13 13
CFLAGS += -I$(UTILS_DIR)
14 14

  
......
26 26

  
27 27
libs3_delegate_helper.o: CFLAGS += -fPIC
28 28

  
29
mysql_delegate_helper.so: ../net_helper$(NH_INCARNATION).o $(UTILS_DIR)/fifo_queue.o $(UTILS_DIR)/request_handler.o ../config.o
30
mysql_delegate_helper.so: CFLAGS += -shared -pthread
31
mysql_delegate_helper.so: LDFLAGS += -lmysqlclient
32
mysql_delegate_helper.so: mysql_delegate_helper.o
33
	$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
34

  
35
mysql_delegate_helper.o: CFLAGS += -fPIC
36

  
37

  
38

  
29 39
clean::
30 40
	rm -f *.so

Also available in: Unified diff