From 7a47bd6164a6d1806af7557daedb2be5db064140 Mon Sep 17 00:00:00 2001 From: m0gg Date: Mon, 6 Mar 2006 13:28:21 +0000 Subject: Buildsystem cleanup --- examples/nanohttp/Makefile.am | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) (limited to 'examples/nanohttp') 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 -- cgit v1.1-32-gdbae