summaryrefslogtreecommitdiffstats
path: root/nanohttp/Makefile.am
blob: dae7909ba332ad2c9ead91ee681973254723acdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
lib_LTLIBRARIES=libnanohttp.la

libnanohttp_ladir=$(includedir)/nanohttp-@nanohttp_release@/nanohttp

libnanohttp_la_SOURCES=nanohttp-common.c nanohttp-socket.c nanohttp-client.c     \
                       nanohttp-server.c nanohttp-stream.c nanohttp-mime.c       \
                       nanohttp-request.c nanohttp-response.c nanohttp-base64.c  \
                       nanohttp-logging.c nanohttp-admin.c nanohttp-error.c

libnanohttp_la_HEADERS=nanohttp-common.h nanohttp-socket.h nanohttp-client.h     \
                           nanohttp-server.h nanohttp-stream.h nanohttp-mime.h   \
                           nanohttp-request.h nanohttp-response.h                \
                           nanohttp-base64.h nanohttp-logging.h nanohttp-admin.h \
                           nanohttp-error.h

if BUILD_WITH_SSL
libnanohttp_la_SOURCES+=nanohttp-ssl.c
libnanohttp_la_HEADERS+=nanohttp-ssl.h
endif

libnanohttp_la_LDFLAGS= -version-info @nanohttp_version@ -release @nanohttp_release@
libnanohttp_la_CFLAGS=-I${top_srcdir} -D__NHTTP_INTERNAL=1