aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/Makefile.am
blob: 892d05065491f2b97a393d07cd35a4dc1900e70f (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
SUBDIRS  = .

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

lib_LTLIBRARIES = \
  libmicrohttpd.la

libmicrohttpd_la_LDFLAGS = \
  -export-dynamic -version-info 0:0:0 
# libmicrohttpd_la_LIBADD = \
#  -lm
libmicrohttpd_la_SOURCES = \
  daemon.c  \
  internal.h \
  response.c response.h \
  session.c session.h

# No curl, not testcases
if HAVE_CURL

check_PROGRAMS = \
  daemontest

TESTS = $(check_PROGRAMS)

daemontest_SOURCES = \
  daemontest.c
daemontest_LDADD = \
  $(top_builddir)/src/daemon/libmicrohttpd.la \
  @LIBCURL@ 

endif