summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/csoap/Makefile.am10
-rw-r--r--examples/nanohttp/Makefile.am12
2 files changed, 11 insertions, 11 deletions
diff --git a/examples/csoap/Makefile.am b/examples/csoap/Makefile.am
index 3d47dc3..5601fba 100644
--- a/examples/csoap/Makefile.am
+++ b/examples/csoap/Makefile.am
@@ -1,22 +1,22 @@
bin_PROGRAMS=simpleclient simpleserver echoattachments-client echoattachments-server
INCLUDES=-I$(top_srcdir)/ $(LIBXML_CFLAGS)
-LDFLAGS=-L$(top_builddir)/nanohttp -lnanohttp-$(GENERIC_API_VERSION) \
+csoap_LDFLAG=-L$(top_builddir)/nanohttp -lnanohttp-$(GENERIC_API_VERSION) \
$(LIBSOCKET) $(LIBNSL) -lpthread\
-L$(top_builddir)/libcsoap/ -lcsoap-$(GENERIC_API_VERSION) \
$(LIBXML_LIBS)
simpleclient_SOURCES=simpleclient.c
-simpleclient_LDFLAGS=$(LDFLAGS)
+simpleclient_LDFLAGS=$(csoap_LDFLAG)
simpleserver_SOURCES=simpleserver.c
-simpleserver_LDFLAGS=$(LDFLAGS)
+simpleserver_LDFLAGS=$(csoap_LDFLAG)
echoattachments_server_SOURCES=echoattachments-server.c
-echoattachments_server_LDFLAGS=$(LDFLAGS)
+echoattachments_server_LDFLAGS=$(csoap_LDFLAG)
echoattachments_client_SOURCES=echoattachments-client.c
-echoattachments_client_LDFLAGS=$(LDFLAGS)
+echoattachments_client_LDFLAGS=$(csoap_LDFLAG)
diff --git a/examples/nanohttp/Makefile.am b/examples/nanohttp/Makefile.am
index 4ade27e..8e4f7cc 100644
--- a/examples/nanohttp/Makefile.am
+++ b/examples/nanohttp/Makefile.am
@@ -1,23 +1,23 @@
bin_PROGRAMS=httpget httpgetcb httppost httpcpost postserver
INCLUDES=-I$(top_srcdir)/
-LDFLAGS=-L$(top_builddir)/nanohttp -lnanohttp-$(GENERIC_API_VERSION) \
+nanohttp_LDFLAG=-L$(top_builddir)/nanohttp -lnanohttp-$(GENERIC_API_VERSION) \
$(LIBSOCKET) $(LIBNSL) -lpthread
httpget_SOURCES=httpget.c
-httpget_LDFLAGS=$(LDFLAGS)
+httpget_LDFLAGS=$(nanohttp_LDFLAG)
httpgetcb_SOURCES=httpgetcb.c
-httpgetcb_LDFLAGS=$(LDFLAGS)
+httpgetcb_LDFLAGS=$(nanohttp_LDFLAG)
httppost_SOURCES=httppost.c
-httppost_LDFLAGS=$(LDFLAGS)
+httppost_LDFLAGS=$(nanohttp_LDFLAG)
httpcpost_SOURCES=httpcpost.c
-httpcpost_LDFLAGS=$(LDFLAGS)
+httpcpost_LDFLAGS=$(nanohttp_LDFLAG)
postserver_SOURCES=postserver.c
-postserver_LDFLAGS=$(LDFLAGS)
+postserver_LDFLAGS=$(nanohttp_LDFLAG)