summaryrefslogtreecommitdiffstats
path: root/examples/nanohttp
diff options
context:
space:
mode:
authorGravatar m0gg2006-03-06 13:28:21 +0000
committerGravatar m0gg2006-03-06 13:28:21 +0000
commit7a47bd6164a6d1806af7557daedb2be5db064140 (patch)
treef37e2463548c3773fa32f370c684e10dc83c0136 /examples/nanohttp
parent4a2a6386c54d911f3162b95698d7467226d4b38e (diff)
downloadcsoap-7a47bd6164a6d1806af7557daedb2be5db064140.tar.gz
csoap-7a47bd6164a6d1806af7557daedb2be5db064140.tar.bz2
Buildsystem cleanup
Diffstat (limited to 'examples/nanohttp')
-rw-r--r--examples/nanohttp/Makefile.am26
1 files changed, 3 insertions, 23 deletions
diff --git a/examples/nanohttp/Makefile.am b/examples/nanohttp/Makefile.am
index 5e24bd1..2e9aee1 100644
--- a/examples/nanohttp/Makefile.am
+++ b/examples/nanohttp/Makefile.am
@@ -1,28 +1,8 @@
-noinst_PROGRAMS=http_server
-#bin_PROGRAMS=http_server httpget httpgetcb httppost httpcpost postserver
+LDADD=../../nanohttp/libnanohttp.la -lpthread
-INCLUDES=-I$(top_srcdir)/
-nanohttp_LDFLAG=-L$(top_builddir)/nanohttp -lnanohttp-$(GENERIC_API_VERSION) \
- $(LIBSOCKET) $(LIBNSL) -lpthread
-
-
-#simpleclient_SOURCES=simpleclient.c
+noinst_PROGRAMS=http_server http_client
http_server_SOURCES=http_server.c
-http_server_LDFLAGS=$(nanohttp_LDFLAG)
-
-#httpget_SOURCES=httpget.c
-#httpget_LDFLAGS=$(nanohttp_LDFLAG)
-
-#httpgetcb_SOURCES=httpgetcb.c
-#httpgetcb_LDFLAGS=$(nanohttp_LDFLAG)
-
-#httppost_SOURCES=httppost.c
-#httppost_LDFLAGS=$(nanohttp_LDFLAG)
-
-#httpcpost_SOURCES=httpcpost.c
-#httpcpost_LDFLAGS=$(nanohttp_LDFLAG)
-#postserver_SOURCES=postserver.c
-#postserver_LDFLAGS=$(nanohttp_LDFLAG)
+http_client_SOURCES=http_client.c