1 lib_LTLIBRARIES=libwebsockets.la
2 include_HEADERS=libwebsockets.h
3 dist_libwebsockets_la_SOURCES=libwebsockets.c \
10 extension-deflate-stream.c extension-deflate-stream.h \
11 extension-deflate-frame.c extension-deflate-frame.h\
12 private-libwebsockets.h
16 dist_libwebsockets_la_SOURCES+= daemonize.c
21 dist_libwebsockets_la_SOURCES+= client.c \
26 if USE_BUILTIN_GETIFADDRS
27 dist_libwebsockets_la_SOURCES += getifaddrs.c
31 dist_libwebsockets_la_SOURCES += extension-x-google-mux.c extension-x-google-mux.h
36 dist_libwebsockets_la_SOURCES += md5.c sha-1.c
39 libwebsockets_la_CFLAGS=-Wall -std=gnu99 -pedantic -g
40 libwebsockets_la_LDFLAGS=
43 libwebsockets_la_CFLAGS+= -w -I../win32port/win32helpers -I ../win32port/zlib/
44 libwebsockets_la_LDFLAGS+= -lm -luser32 -ladvapi32 -lkernel32 -lgcc
46 libwebsockets_la_CFLAGS+= -rdynamic -fPIC -Werror
47 libwebsockets_la_LDFLAGS+= -version-info 1:0
50 libwebsockets_la_CFLAGS+= -c \
51 -DINSTALL_DATADIR=\"@datadir@\" -DLWS_OPENSSL_CLIENT_CERTS=\"@clientcertdir@\"
52 libwebsockets_la_LDFLAGS+= -lz
55 ../scripts/kernel-doc -html \
60 > ../libwebsockets-api-doc.html