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