@ -6,6 +6,8 @@ TAP_TESTS = 1
OBJS = test_json_parser_incremental.o test_json_parser_perf.o
OBJS = test_json_parser_incremental.o test_json_parser_perf.o
EXTRA_CLEAN = test_json_parser_incremental$( X) test_json_parser_perf$( X)
i f d e f U S E _ P G X S
i f d e f U S E _ P G X S
PG_CONFIG = pg_config
PG_CONFIG = pg_config
PGXS := $( shell $( PG_CONFIG) --pgxs)
PGXS := $( shell $( PG_CONFIG) --pgxs)
@ -17,8 +19,6 @@ include $(top_builddir)/src/Makefile.global
i n c l u d e $( top_srcdir ) / c o n t r i b / c o n t r i b - g l o b a l . m k
i n c l u d e $( top_srcdir ) / c o n t r i b / c o n t r i b - g l o b a l . m k
e n d i f
e n d i f
.PHONY : clean
all : test_json_parser_incremental $( X ) test_json_parser_perf $( X )
all : test_json_parser_incremental $( X ) test_json_parser_perf $( X )
%.o : $( top_srcdir ) /$( subdir ) /%.c
%.o : $( top_srcdir ) /$( subdir ) /%.c
@ -36,6 +36,3 @@ speed-check: test_json_parser_perf$(X)
time ./test_json_parser_perf 10000 $( top_srcdir) /$( subdir) /tiny.json
time ./test_json_parser_perf 10000 $( top_srcdir) /$( subdir) /tiny.json
@echo Incremental parser:
@echo Incremental parser:
time ./test_json_parser_perf -i 10000 $( top_srcdir) /$( subdir) /tiny.json
time ./test_json_parser_perf -i 10000 $( top_srcdir) /$( subdir) /tiny.json
clean :
rm -rf test_json_parser_perf test_json_parser_incremental tmp_check $( OBJS)