diff GEMBASSY-1.0.3/gsoap/wsdl/MakefileManual @ 0:8300eb051bea draft

Initial upload
author ktnyt
date Fri, 26 Jun 2015 05:19:29 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GEMBASSY-1.0.3/gsoap/wsdl/MakefileManual	Fri Jun 26 05:19:29 2015 -0400
@@ -0,0 +1,63 @@
+#       gSOAP wsdl2h Makefile by Robert van Engelen, Genivia Inc.
+#       Use this to build the soapcpp2 tool when autoconf/automake are not
+#       available.
+#
+#	Dependences:
+#       Build soapcpp2 first (should be in ../bin/soapcpp2)
+#
+#	Use 'make secure' to build SSL-capable wsdlh2 tool (requires OpenSSL)
+#
+#	Mac OS X universal binary:
+#	CPP=g++ -arch i386 -arch ppc
+CPP=g++
+#
+GSOAP=../bin/soapcpp2
+SOAPH=../stdsoap2.h
+SOAPC=../stdsoap2.c
+SOAPCPP=../stdsoap2.cpp
+#
+LIBS=-lm
+#
+COFLAGS=-O1
+#	For static linking use:
+#	COFLAGS=-O1 -static
+#	For debugging use:
+#	COFLAGS=-DDEBUG -g
+#	COFLAGS=-g
+CWFLAGS=-Wall
+#
+CIFLAGS=-I.. -I../plugin
+#
+CMFLAGS=
+#
+CFLAGS= $(CWFLAGS) $(COFLAGS) $(CIFLAGS) $(CMFLAGS)
+#
+wsdl2h:		wsdlC.o wsdl.o schema.o soap.o mime.o wsp.o types.o service.o wsdl2h.cpp $(SOAPCPP)
+		$(CPP) $(CFLAGS) -o wsdl2h wsdl2h.cpp wsdlC.o wsdl.o schema.o soap.o mime.o wsp.o types.o service.o $(SOAPCPP) $(LIBS)
+		cp -f wsdl2h ../bin
+wsdlC.o:	wsdlC.cpp
+		$(CPP) -c $(CFLAGS) wsdlC.cpp
+wsdlC.cpp:	schema.h soap.h mime.h dime.h http.h wsdl.h includes.h imports.h wsp.h sp.h wsam.h wsrmp.h wsu.h wst.h
+		$(GSOAP) -I../import -SC -pwsdl wsdl.h
+types.o:	types.h types.cpp
+		$(CPP) -c $(CFLAGS) types.cpp
+service.o:	types.h service.h service.cpp
+		$(CPP) -c $(CFLAGS) service.cpp
+wsdl.o:		wsdl.h wsdl.cpp includes.h imports.h
+		$(CPP) -c $(CFLAGS) wsdl.cpp
+schema.o:	schema.h schema.cpp includes.h imports.h
+		$(CPP) -c $(CFLAGS) schema.cpp
+soap.o:		soap.h soap.cpp includes.h imports.h
+		$(CPP) -c $(CFLAGS) soap.cpp
+mime.o:		mime.h mime.cpp includes.h imports.h
+		$(CPP) -c $(CFLAGS) mime.cpp
+wsp.o:		wsp.h wsp.cpp includes.h imports.h
+		$(CPP) -c $(CFLAGS) wsp.cpp
+secure:
+		rm -f *.o
+		make CMFLAGS=-DWITH_OPENSSL LIBS="../plugin/httpda.c ../plugin/md5evp.c -lcrypto -lssl -lm" wsdl2h
+.PHONY:		clean distclean
+clean:		
+		rm -f *.o wsdlH.h wsdlStub.h wsdlC.cpp wsdlClient.cpp wsdlServer.cpp wsdlClientLib.cpp wsdlServerLib.cpp
+distclean:		
+		rm -f *.o *.wsdl. *.xsd *.xml *.nsmap wsdl2h wsdlH.h wsdlStub.h wsdlC.cpp wsdlClient.cpp wsdlServer.cpp wsdlClientLib.cpp wsdlServerLib.cpp