aboutsummaryrefslogtreecommitdiff
path: root/src/examples/Makefile.am
blob: c42672ab67486fbd6bc4b8c9c7cb7e9bc30000b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
SUBDIRS  = .

AM_CPPFLAGS = -I$(top_srcdir)/src/include 

# example programs

noinst_PROGRAMS = \
https_server_example \
https_echo_server_example \
https_echo_client_example \
minimal_example \
querystring_example \
fileserver_example \
fileserver_example_external_select

minimal_example_SOURCES = \
 minimal_example.c 
minimal_example_LDADD = \
 $(top_builddir)/src/daemon/libmicrohttpd.la 

querystring_example_SOURCES = \
 querystring_example.c 
querystring_example_LDADD = \
 $(top_builddir)/src/daemon/libmicrohttpd.la 

fileserver_example_SOURCES = \
 fileserver_example.c 
fileserver_example_LDADD = \
 $(top_builddir)/src/daemon/libmicrohttpd.la 

fileserver_example_external_select_SOURCES = \
 fileserver_example_external_select.c 
fileserver_example_external_select_LDADD = \
 $(top_builddir)/src/daemon/libmicrohttpd.la 

https_server_example_CPPFLAGS = \
 $(GNUTLS_CPPFLAGS) \
 -I$(top_srcdir)/src/daemon \
 -I$(top_srcdir)/src/include 
https_server_example_SOURCES = \
 https_server_example.c
https_server_example_LDADD = \
 $(top_builddir)/src/daemon/libmicrohttpd.la
https_server_example_LDFLAGS = \
 -L$(GNUTLS_LIB_PATH) \
 -lgnutls

https_echo_server_example_CPPFLAGS = \
 $(GNUTLS_CPPFLAGS) \
 -I$(top_srcdir)/src/daemon \
 -I$(top_srcdir)/src/include 
https_echo_server_example_SOURCES = \
 https_echo_server_example.c
https_echo_server_example_LDADD = \
 $(top_builddir)/src/daemon/libmicrohttpd.la
https_echo_server_example_LDFLAGS = \
 -L$(GNUTLS_LIB_PATH) \
 -lgnutls
 
https_echo_client_example_CPPFLAGS = \
 $(GNUTLS_CPPFLAGS) \
 -I$(top_srcdir)/src/daemon \
 -I$(top_srcdir)/src/include 
https_echo_client_example_SOURCES = \
 https_echo_client_example.c
https_echo_client_example_LDADD = \
 $(top_builddir)/src/daemon/libmicrohttpd.la
https_echo_client_example_LDFLAGS = \
 -L$(GNUTLS_LIB_PATH) \
 -lgnutls