comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:8300eb051bea
1 # gSOAP wsdl2h Makefile by Robert van Engelen, Genivia Inc.
2 # Use this to build the soapcpp2 tool when autoconf/automake are not
3 # available.
4 #
5 # Dependences:
6 # Build soapcpp2 first (should be in ../bin/soapcpp2)
7 #
8 # Use 'make secure' to build SSL-capable wsdlh2 tool (requires OpenSSL)
9 #
10 # Mac OS X universal binary:
11 # CPP=g++ -arch i386 -arch ppc
12 CPP=g++
13 #
14 GSOAP=../bin/soapcpp2
15 SOAPH=../stdsoap2.h
16 SOAPC=../stdsoap2.c
17 SOAPCPP=../stdsoap2.cpp
18 #
19 LIBS=-lm
20 #
21 COFLAGS=-O1
22 # For static linking use:
23 # COFLAGS=-O1 -static
24 # For debugging use:
25 # COFLAGS=-DDEBUG -g
26 # COFLAGS=-g
27 CWFLAGS=-Wall
28 #
29 CIFLAGS=-I.. -I../plugin
30 #
31 CMFLAGS=
32 #
33 CFLAGS= $(CWFLAGS) $(COFLAGS) $(CIFLAGS) $(CMFLAGS)
34 #
35 wsdl2h: wsdlC.o wsdl.o schema.o soap.o mime.o wsp.o types.o service.o wsdl2h.cpp $(SOAPCPP)
36 $(CPP) $(CFLAGS) -o wsdl2h wsdl2h.cpp wsdlC.o wsdl.o schema.o soap.o mime.o wsp.o types.o service.o $(SOAPCPP) $(LIBS)
37 cp -f wsdl2h ../bin
38 wsdlC.o: wsdlC.cpp
39 $(CPP) -c $(CFLAGS) wsdlC.cpp
40 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
41 $(GSOAP) -I../import -SC -pwsdl wsdl.h
42 types.o: types.h types.cpp
43 $(CPP) -c $(CFLAGS) types.cpp
44 service.o: types.h service.h service.cpp
45 $(CPP) -c $(CFLAGS) service.cpp
46 wsdl.o: wsdl.h wsdl.cpp includes.h imports.h
47 $(CPP) -c $(CFLAGS) wsdl.cpp
48 schema.o: schema.h schema.cpp includes.h imports.h
49 $(CPP) -c $(CFLAGS) schema.cpp
50 soap.o: soap.h soap.cpp includes.h imports.h
51 $(CPP) -c $(CFLAGS) soap.cpp
52 mime.o: mime.h mime.cpp includes.h imports.h
53 $(CPP) -c $(CFLAGS) mime.cpp
54 wsp.o: wsp.h wsp.cpp includes.h imports.h
55 $(CPP) -c $(CFLAGS) wsp.cpp
56 secure:
57 rm -f *.o
58 make CMFLAGS=-DWITH_OPENSSL LIBS="../plugin/httpda.c ../plugin/md5evp.c -lcrypto -lssl -lm" wsdl2h
59 .PHONY: clean distclean
60 clean:
61 rm -f *.o wsdlH.h wsdlStub.h wsdlC.cpp wsdlClient.cpp wsdlServer.cpp wsdlClientLib.cpp wsdlServerLib.cpp
62 distclean:
63 rm -f *.o *.wsdl. *.xsd *.xml *.nsmap wsdl2h wsdlH.h wsdlStub.h wsdlC.cpp wsdlClient.cpp wsdlServer.cpp wsdlClientLib.cpp wsdlServerLib.cpp