Mercurial > hg > audiodb
view Makefile @ 201:b5087d00b062
Test for duplicate key detection logic.
(Currently fails, as the string search doesn't include the terminating
null, so the new key will match something with that as a prefix.)
author | mas01cr |
---|---|
date | Tue, 27 Nov 2007 18:13:48 +0000 |
parents | 324699d56429 |
children | 2ea1908707c7 2cc06e5b05a5 |
line wrap: on
line source
HELP2MAN=help2man GENGETOPT=gengetopt SOAPCPP2=soapcpp2 GSOAP_CPP=-lgsoap++ GSOAP_INCLUDE= CFLAGS=-O3 -g EXECUTABLE=audioDB .PHONY: all clean test all: ${EXECUTABLE} ${EXECUTABLE}.1: ${EXECUTABLE} ${HELP2MAN} ./${EXECUTABLE} > ${EXECUTABLE}.1 HELP.txt: ${EXECUTABLE} ./${EXECUTABLE} --help > HELP.txt cmdline.c cmdline.h: gengetopt.in ${GENGETOPT} -e <gengetopt.in soapServer.cpp soapClient.cpp soapC.cpp: audioDBws.h ${SOAPCPP2} audioDBws.h ${EXECUTABLE}: audioDB.cpp audioDB.h soapServer.cpp soapClient.cpp soapC.cpp cmdline.c cmdline.h g++ -c ${CFLAGS} ${GSOAP_INCLUDE} -Wall -Werror audioDB.cpp g++ -o ${EXECUTABLE} ${CFLAGS} ${GSOAP_INCLUDE} audioDB.o soapServer.cpp soapClient.cpp soapC.cpp cmdline.c ${GSOAP_CPP} clean: -rm cmdline.c cmdline.h -rm soapServer.cpp soapClient.cpp soapC.cpp soapObject.h soapStub.h soapProxy.h soapH.h soapServerLib.cpp soapClientLib.cpp -rm adb.nsmap adb.xsd adb.wsdl adb.query.req.xml adb.query.res.xml adb.status.req.xml adb.status.res.xml -rm HELP.txt -rm ${EXECUTABLE} ${EXECUTABLE}.1 audioDB.o -sh -c "cd tests && sh ./clean.sh" test: ${EXECUTABLE} -sh -c "cd tests && sh ./run-tests.sh"