introduce x google mux very draft indeed
[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                                 
13 if EXT_GOOGLE_MUX
14 dist_libwebsockets_la_SOURCES += extension-x-google-mux.c
15 endif
16
17 if LIBCRYPTO
18 else
19 dist_libwebsockets_la_SOURCES += md5.c sha-1.c
20 endif
21
22 libwebsockets_la_CFLAGS:=-rdynamic -fPIC -Wall -Werror -std=gnu99 -pedantic -c \
23         -DDATADIR=\"@datadir@\" -DLWS_OPENSSL_CLIENT_CERTS=\"@clientcertdir@\"
24 libwebsockets_la_LDFLAGS=-lz -version-info 0:3
25
26 all-local:
27          ../scripts/kernel-doc -html \
28                 libwebsockets.c \
29                 parsers.c \
30                 client-handshake.c \
31                 libwebsockets.h \
32                         > ../libwebsockets-api-doc.html
33