 fa2189373d
			
		
	
	fa2189373d
	
	
	
		
			
			skygw_utils.cc: removed replace_str and implemented replace_literal which replaces user-provided literals in query with predefined string "?". Replacing is done one by one, so it is suboptimal ipmlementation since all literals could be passed to replacement function in one call and processed all before returning.
		
			
				
	
	
		
			31 lines
		
	
	
		
			438 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			438 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| include ../build_gateway.inc
 | |
| include ../makefile.inc
 | |
| 
 | |
| CC = gcc
 | |
| CPP = g++
 | |
| UTILS_PATH	:= $(ROOT_PATH)/utils
 | |
| 
 | |
| makeall: clean all
 | |
| 
 | |
| clean:
 | |
| 	- $(DEL) *.o
 | |
| 	- $(DEL) *.so
 | |
| 	- $(DEL) *.a
 | |
| 	- $(DEL) *~
 | |
| 
 | |
| all: 
 | |
| 	$(CPP) -c $(CFLAGS) -I$(UTILS_PATH) \
 | |
| 	-fPIC skygw_utils.cc -o skygw_utils.o
 | |
| 
 | |
| cleantests:
 | |
| 	$(MAKE) -C test cleantests
 | |
| 
 | |
| buildtests:
 | |
| 	$(MAKE) -C test DEBUG=Y buildtests
 | |
| 
 | |
| runtests:
 | |
| 	$(MAKE) -C test runtests
 | |
| 
 | |
| testall: 
 | |
| 	$(MAKE) -C test testall
 |