annotate MakefileLSH @ 333:cc3f9d1ca2cd

Ugly hack upon ugly hack: * extend adb__query() to take a bunch of other arguments that allow useful functionality through to the SOAP server; * alter the RadiusQuery reporter so that the count for tracks is returned through SOAP, punning one of the result fields for the purpose; * alter argv construction to be more dynamic, to reflect that the very presence of some arguments changes audioDB behaviour. Now test 0020 passes, only some 12 months after it was originally written, yay. Alter test 0050 also, so that the results are actually vaguely what would be expected from a radius search; they are not completely checked for correctness, but are (apart from the last two) the same as test 0040. I believe that the modifications are backward compatible; lightly testing with an old audioDB binary suggests that old-format SOAP queries continue to work. Currently too baby-encumbered to think of how to test this fully.
author mas01cr
date Mon, 01 Sep 2008 15:35:05 +0000
parents 071a108580a4
children
rev   line source
mas01mc@294 1 #CFLAGS= -O3 -g
mas01mc@294 2 CFLAGS= -ggdb --save-temps
mas01mc@292 3 MTSOURCES=mt19937/mt19937ar.c
mas01mc@292 4 CFLAGS+=-DMT19937
mas01mc@292 5 GENGETOPT=gengetopt
mas01mc@292 6 SOAPCPP2=soapcpp2
mas01mc@292 7 GSOAP_CPP=-lgsoap++
mas01mc@292 8 GSOAP_INCLUDE=
mas01mc@292 9
mas01mc@294 10 TARGET=UNIT_TEST_LSH
mas01mc@294 11 LSHOBS=UNIT_TEST_LSH.cpp lshlib.cpp
mas01mc@294 12 LSHHDRS=lshlib.h
mas01mc@292 13
mas01mc@292 14 ifeq ($(shell uname),Linux)
mas01mc@292 15 override CFLAGS+=-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
mas01mc@292 16 endif
mas01mc@292 17
mas01mc@292 18 all: ${TARGET}
mas01mc@292 19
mas01mc@292 20 ${TARGET}: ${LSHOBS} ${LSHHDRS} ${MTSOURCES} MakefileLSH
mas01mc@292 21 ${GENGETOPT} -e <gengetopt.in
mas01mc@292 22 ${SOAPCPP2} audioDBws.h
mas01mc@292 23 g++ -o ${TARGET} ${CFLAGS} ${LSHOBS} ${MTSOURCES}
mas01mc@292 24