introduce internal extensions array
[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                                 private-libwebsockets.h
11 if LIBCRYPTO
12 else
13 dist_libwebsockets_la_SOURCES += md5.c sha-1.c
14 endif
15
16 libwebsockets_la_CFLAGS:=-rdynamic -fPIC -Wall -Werror -std=gnu99 -pedantic -c \
17         -DDATADIR=\"@datadir@\" -DLWS_OPENSSL_CLIENT_CERTS=\"@clientcertdir@\"
18 libwebsockets_la_LDFLAGS=-version-info 0:3
19
20 all-local:
21          ../scripts/kernel-doc -html \
22                 libwebsockets.c \
23                 parsers.c \
24                 client-handshake.c \
25                 libwebsockets.h \
26                         > ../libwebsockets-api-doc.html
27