1 lib_LTLIBRARIES=libwebsockets.la
2 include_HEADERS=libwebsockets.h
3 dist_libwebsockets_la_SOURCES=libwebsockets.c \
13 extension-deflate-stream.c extension-deflate-stream.h \
14 extension-deflate-frame.c extension-deflate-frame.h\
15 private-libwebsockets.h
17 if USE_BUILTIN_GETIFADDRS
18 dist_libwebsockets_la_SOURCES += getifaddrs.c
22 dist_libwebsockets_la_SOURCES += extension-x-google-mux.c extension-x-google-mux.h
27 dist_libwebsockets_la_SOURCES += md5.c sha-1.c
30 libwebsockets_la_CFLAGS=-Wall -std=gnu99 -pedantic
31 libwebsockets_la_LDFLAGS=
34 libwebsockets_la_CFLAGS+= -w -I../win32port/win32helpers -I ../win32port/zlib/
35 libwebsockets_la_LDFLAGS+= -lm -luser32 -ladvapi32 -lkernel32 -lgcc
37 libwebsockets_la_CFLAGS+= -rdynamic -fPIC -Werror
38 libwebsockets_la_LDFLAGS+= -version-info 1:0
41 libwebsockets_la_CFLAGS+= -c \
42 -DINSTALL_DATADIR=\"@datadir@\" -DLWS_OPENSSL_CLIENT_CERTS=\"@clientcertdir@\"
43 libwebsockets_la_LDFLAGS+= -lz
46 ../scripts/kernel-doc -html \
51 > ../libwebsockets-api-doc.html