src/modules/db_cassandra/Makefile
c0a92201
 #
 # db_cassandra module makefile
 #
 # 
 # WARNING: do not run this directly, it should be run by the master Makefile
 
 include ../../Makefile.defs
 
 CXX=g++
 LD=g++
 auto_gen=
 NAME=db_cassandra.so
 
5b0ab6ab
 INCLUDE_DIR = /usr/include/thrift
 LIB_DIR = /usr/lib
987b7ef8
 DEFS += -I${INCLUDE_DIR}
c0a92201
 LIBS += -L${LIB_DIR} dbcassa_base.o cassandra_constants.o cassandra_types.o Cassandra.o -lthrift
 
 CXXFLAGS=$(CFLAGS:-Wno-deprecated option=)
 CXXFLAGS+= -Wno-write-strings -Wno-deprecated -Wno-unused-function -Wno-sign-compare -Wno-strict-aliasing
 
 SERLIBPATH=../../lib
7f5d581b
 SER_LIBS=$(SERLIBPATH)/srdb2/srdb2 $(SERLIBPATH)/srdb1/srdb1
c0a92201
 
 include ../../Makefile.modules
 
 cassandra_constants.o: cassandra_constants.cpp cassandra_constants.h
 	@echo "Compiling $<"
5b0ab6ab
 	$(CXX) $(CXXFLAGS) -I${INCLUDE_DIR} -c $< -o $@
c0a92201
 
 cassandra_types.o: cassandra_types.cpp cassandra_types.h
 	@echo "Compiling $<"
5b0ab6ab
 	$(CXX) $(CXXFLAGS) -I${INCLUDE_DIR} -c $< -o $@
c0a92201
 
 Cassandra.o: Cassandra.cpp Cassandra.h
 	@echo "Compiling $<"
5b0ab6ab
 	$(CXX) $(CXXFLAGS) -I${INCLUDE_DIR} -c $< -o $@
c0a92201
 
 dbcassa_base.o: dbcassa_base.cpp dbcassa_base.h dbcassa_table.h
 	@echo "Compiling $<"
 	$(CXX) $(CXXFLAGS) $(CFLAGS) $(C_DEFS) $(DEFS) -c $< -o $@
 
 db_cassandra.so: dbcassa_base.o cassandra_constants.o cassandra_types.o Cassandra.o