comparison GEMBASSY-1.0.3/gsoap/Makefile.am @ 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 ## This is the input file for automake, which will generate Makefile.in ##
2 ## not a GNU package. You can remove this line, if
3 ## you have all needed files, that a GNU package needs
4 AUTOMAKE_OPTIONS = foreign 1.4
5
6 SUBDIRS = . src wsdl @SAMPLE_DIRS@
7 CLEANFILES = soapcpp2 wsdl2h stdsoap2_cpp.cpp stdsoap2_ck.c stdsoap2_ck_cpp.cpp stdsoap2_ssl.c stdsoap2_ssl_cpp.cpp dom_cpp.cpp
8
9 ## *~ *.req.xml *.res.xml *.nsmap *.wsdl *.xsd *Proxy.h \
10 ## *.o soapH.h soapStub.h soapC.cpp soapC.c soapClient.cpp soapClient.c soapServer.cpp soapServer.c
11
12 AM_CXXFLAGS = $(SOAPCPP2_DEBUG) -D$(platform)
13 AM_CFLAGS = $(SOAPCPP2_DEBUG) -D$(platform)
14
15 # Install all soapcpp2 and wsdl2h files into ${prefix}/share/gsoap
16 nobase_pkgdata_DATA = $(srcdir)/import/* $(srcdir)/plugin/* $(srcdir)/WS/* $(srcdir)/custom/* $(srcdir)/extras/*
17
18 ## we cannot build stdsoap2.o from 2 different sources (stdsoap2.cpp and stdsoap2.c), so we need an intermediate target:
19 stdsoap2_ck.c: stdsoap2.cpp
20 $(LN_S) -f $(srcdir)/stdsoap2.cpp stdsoap2_ck.c
21
22 stdsoap2_cpp.cpp: stdsoap2.cpp
23 $(LN_S) -f $(srcdir)/stdsoap2.cpp stdsoap2_cpp.cpp
24
25 stdsoap2_ck_cpp.cpp: stdsoap2.cpp
26 $(LN_S) -f $(srcdir)/stdsoap2.cpp stdsoap2_ck_cpp.cpp
27
28 stdsoap2_ssl.c: stdsoap2.cpp
29 $(LN_S) -f $(srcdir)/stdsoap2.cpp stdsoap2_ssl.c
30
31 stdsoap2_ssl_cpp.cpp: stdsoap2.cpp
32 $(LN_S) -f $(srcdir)/stdsoap2.cpp stdsoap2_ssl_cpp.cpp
33 ## do the same fo dom.cpp since we want to link it into the cpp libs and dom.c into the c libs
34 dom_cpp.cpp: dom.cpp
35 $(LN_S) -f $(srcdir)/dom.cpp dom_cpp.cpp
36
37 lib_LIBRARIES = libgsoap.a libgsoap++.a libgsoapck.a libgsoapck++.a libgsoapssl.a libgsoapssl++.a
38
39 libgsoap_a_SOURCES = stdsoap2.c dom.c
40 libgsoap_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform)
41 libgsoap___a_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp
42 libgsoap___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform)
43 libgsoapck_a_SOURCES = stdsoap2_ck.c dom.c
44 libgsoapck_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
45 libgsoapck___a_SOURCES = stdsoap2_ck_cpp.cpp dom_cpp.cpp
46 libgsoapck___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
47 libgsoapssl_a_SOURCES = stdsoap2_ssl.c dom.c
48 libgsoapssl_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM
49 libgsoapssl___a_SOURCES = stdsoap2_ssl_cpp.cpp dom_cpp.cpp
50 libgsoapssl___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM
51
52 BUILT_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp $(lib_LIBRARIES)
53
54 include_HEADERS = stdsoap2.h
55
56 install-data-hook:
57 $(LN_S) -f $(top_builddir)/gsoap/src/soapcpp2 $(top_builddir)/gsoap/soapcpp2 || echo "ok, link already exists".
58 $(LN_S) -f $(top_builddir)/gsoap/wsdl/wsdl2h $(top_builddir)/gsoap/wsdl2h || echo "ok, link already exists".
59