view Makefile.osx @ 133:a5d5a55a412d

Friendlier Actionscript/SOAP behaviour. As suggested in the gsoap documentation, we wrap the struct that we actually want to return inside a response structure. (It should be said that I didn't understand a _word_ of the gsoap documentation; I want in particular to highlight section 8.1.1 of the gsoap 2.7.6 user guide, which reads in its entirety "If the single output parameter of a remote method is a complex data type such as a struct or class it is necessary to specify the response element of the remote method as a struct or class at all times. Otherwise, the output parameter will be considered the response element (!), because of the response element specification convention used by gSOAP, as discussed in 8.1.7." and tells me absolutely nothing of use.) Nevertheless, cargo-cult from the documentation...
author mas01cr
date Tue, 23 Oct 2007 17:21:08 +0000
parents 6d899df0cfe4
children
line wrap: on
line source

CFLAGS=-O3
LIBDIR=
LIBS=
SOAPDIR=bin_x86_osx/soapcpp-macosx-2.1.6
SOAPOBS=${SOAPDIR}/stdsoap2.o soapServer.cpp soapClient.cpp soapC.cpp
CMDOBS=cmdline.c
INCDIR=-I${SOAPDIR}

all: audioDB.h audioDB.cpp ${SOAPOBS} ${CMDOBS} Makefile.osx
	${SOAPDIR}/soapcpp2 audioDBws.h
	g++ -o audioDB ${CFLAGS} audioDB.cpp ${SOAPOBS} ${CMDOBS} ${CFLAGS} ${INCDIR} ${LIBDIR} ${LIBS}