introduce deflate compression extension
[profile/ivi/libwebsockets.git] / lib / Makefile.am
1 lib_LTLIBRARIES=libwebsockets.la
2 include_HEADERS=libwebsockets.h
3 dist_libwebsockets_la_SOURCES=libwebsockets.c \
4                                 handshake.c \
5                                 parsers.c \
6                                 libwebsockets.h \
7                                 base64-decode.c \
8                                 client-handshake.c \
9                                 extension.c \
10                                 extension-deflate-stream.c \
11                                 private-libwebsockets.h
12 if LIBCRYPTO
13 else
14 dist_libwebsockets_la_SOURCES += md5.c sha-1.c
15 endif
16
17 libwebsockets_la_CFLAGS:=-rdynamic -fPIC -Wall -Werror -std=gnu99 -pedantic -c \
18         -DDATADIR=\"@datadir@\" -DLWS_OPENSSL_CLIENT_CERTS=\"@clientcertdir@\"
19 libwebsockets_la_LDFLAGS=-version-info 0:3
20
21 all-local:
22          ../scripts/kernel-doc -html \
23                 libwebsockets.c \
24                 parsers.c \
25                 client-handshake.c \
26                 libwebsockets.h \
27                         > ../libwebsockets-api-doc.html
28