You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
2.0 KiB
48 lines
2.0 KiB
12 years ago
|
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/tderesources/groupwise $(all_includes)
|
||
15 years ago
|
|
||
|
#AM_CPPFLAGS = -DDEBUG
|
||
|
KDE_CXXFLAGS = -Wno-non-virtual-dtor
|
||
|
|
||
|
check_PROGRAMS = soapdebug
|
||
|
|
||
12 years ago
|
soapdebug_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
|
||
13 years ago
|
soapdebug_LDADD = libgwsoap.la -ltdecore \
|
||
15 years ago
|
$(top_builddir)/libkcal/libkcal.la \
|
||
13 years ago
|
$(top_builddir)/libtdepim/libtdepim.la
|
||
15 years ago
|
soapdebug_SOURCES = soapdebug.cpp
|
||
|
|
||
|
lib_LTLIBRARIES = libgwsoap.la
|
||
|
|
||
|
libgwsoap_la_SOURCES = contactconverter.cpp gwconverter.cpp incidenceconverter.cpp \
|
||
|
groupwiseserver.cpp gwjobs.cpp ksslsocket.cpp \
|
||
|
soapC.cpp soapClient.cpp stdsoap2.cpp
|
||
|
libgwsoap_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) -no-undefined
|
||
13 years ago
|
libgwsoap_la_LIBADD = $(top_builddir)/libkcal/libkcal.la $(top_builddir)/libtdepim/libtdepim.la
|
||
15 years ago
|
|
||
|
# the following rule does:
|
||
|
# make a header file from the wsdl
|
||
|
# remove ns1__ prefixes from generated functions
|
||
|
# create the stubs from the header
|
||
|
# rename any 'delete' method declarations
|
||
|
# rename any 'delete' method invocations
|
||
|
# rename any 'new' method decls
|
||
|
# rename any 'new' method invocations
|
||
|
|
||
|
# do not just set "srcdir=." here, it breaks when building with srcdir!=builddir
|
||
|
# srcdir = .
|
||
|
|
||
|
stubs: groupwise.wsdl
|
||
|
wsdl2h -e -o $(srcdir)/groupwise.h $(srcdir)/groupwise.wsdl -t $(srcdir)/typemap.dat
|
||
|
cd $(srcdir); ./fixup_groupwise.h.pl --inplace
|
||
|
soapcpp2 -d $(srcdir) -I$(srcdir) $(srcdir)/groupwise.h
|
||
|
sed -e 's,*delete\([^d]\),*_delete\1,' $(srcdir)/soapStub.h > $(srcdir)/soapStub.h_
|
||
|
mv $(srcdir)/soapStub.h_ $(srcdir)/soapStub.h
|
||
|
sed -e 's,->delete\([^d]\),->_delete\1,' $(srcdir)/soapC.cpp > $(srcdir)/soapC.cpp_
|
||
|
mv $(srcdir)/soapC.cpp_ $(srcdir)/soapC.cpp
|
||
|
sed -e 's,*new\([^d]\),*_new\1,' $(srcdir)/soapStub.h > $(srcdir)/soapStub.h_
|
||
|
mv $(srcdir)/soapStub.h_ $(srcdir)/soapStub.h
|
||
|
sed -e 's,->new\([^d]\),->_new\1,' $(srcdir)/soapC.cpp > $(srcdir)/soapC.cpp_
|
||
|
mv $(srcdir)/soapC.cpp_ $(srcdir)/soapC.cpp
|
||
|
|
||
|
METASOURCES = AUTO
|