Skip to content
Snippets Groups Projects
Commit 550a1c05 authored by Ruanito Santos's avatar Ruanito Santos Committed by Erik Alexandre Pucci
Browse files

client: Add tests for soap and install Makefile options


Add it to lib/Makefile.

These tests make it possible to execute "make" and "make install" after the
first time without ocurring any errors.

Signed-off-by: default avatarRuanito Santos <rds11@c3sl.ufpr.br>
Acked-by: default avatarAryane Ast dos Santos <aras10@c3sl.ufpr.br>
Signed-off-by: default avatarErik Alexandre Pucci <eap08@c3sl.ufpr.br>
parent 258b7083
No related branches found
No related tags found
No related merge requests found
......@@ -16,14 +16,22 @@ win:
@tar xzf $(LIBGSOAP)_$(LIBGSOAPVER).$(LIBGSOAPSVER).tar.gz
soap:
@wget -nc "$(GSOAPDOWNLOADLINK)" -O "$(LIBGSOAP)_$(LIBGSOAPVER).$(LIBGSOAPSVER).tar.gz"
@tar xzf $(LIBGSOAP)_$(LIBGSOAPVER).$(LIBGSOAPSVER).tar.gz
@echo "Installing gSOAP library, wait..."
@cp -f stdsoap2.? $(LIBDIR)/$(LIBGSOAPDIR)/${LIBGSOAP}/
@cd $(LIBDIR)/$(LIBGSOAPDIR) && ./configure -q --prefix=$(PWD)/$(LIBGSOAP) && make
@if ! test -d "$(LIBDIR)/$(LIBGSOAPDIR)"; then\
wget -nc "$(GSOAPDOWNLOADLINK)" -O "$(LIBGSOAP)_$(LIBGSOAPVER).$(LIBGSOAPSVER).tar.gz";\
tar xzf $(LIBGSOAP)_$(LIBGSOAPVER).$(LIBGSOAPSVER).tar.gz;\
echo "Installing gSOAP library, wait...";\
cp -f stdsoap2.? $(LIBDIR)/$(LIBGSOAPDIR)/${LIBGSOAP}/;\
cd $(LIBDIR)/$(LIBGSOAPDIR) && ./configure -q --prefix=$(PWD)/$(LIBGSOAP) && make;\
elif test -d "$(LIBDIR)/$(LIBGSOAPDIR)"; then\
echo "Packages already downloaded";\
fi
install:
@cd $(LIBDIR)/$(LIBGSOAPDIR) && make install
@if ! test -d $(LIBGSOAP); then\
cd $(LIBDIR)/$(LIBGSOAPDIR) && make install;\
elif test -d $(LIBGSOAP); then\
echo "Packages already installed";\
fi
clean:
@cd $(LIBDIR)/$(LIBGSOAPDIR) && make clean
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment