1 lib_LTLIBRARIES=libwebsockets.la
2 include_HEADERS=libwebsockets.h
3 dist_libwebsockets_la_SOURCES=libwebsockets.c \
9 private-libwebsockets.h
13 dist_libwebsockets_la_SOURCES+= extension.c \
14 extension-deflate-stream.c extension-deflate-stream.h \
15 extension-deflate-frame.c extension-deflate-frame.h
20 dist_libwebsockets_la_SOURCES+= daemonize.c
25 dist_libwebsockets_la_SOURCES+= client.c \
32 dist_libwebsockets_la_SOURCES+= server.c \
36 if USE_BUILTIN_GETIFADDRS
37 dist_libwebsockets_la_SOURCES += getifaddrs.c
42 dist_libwebsockets_la_SOURCES += sha-1.c
45 libwebsockets_la_CFLAGS=-Wall -std=gnu99 -pedantic -g
46 libwebsockets_la_LDFLAGS=
49 libwebsockets_la_CFLAGS+= -O4
51 libwebsockets_la_CFLAGS+= -g
55 libwebsockets_la_CFLAGS+= -w -I../win32port/win32helpers -I ../win32port/zlib/
56 libwebsockets_la_LDFLAGS+= -lm -luser32 -ladvapi32 -lkernel32 -lgcc
58 libwebsockets_la_CFLAGS+= -rdynamic -fPIC -Werror
59 libwebsockets_la_LDFLAGS+= -version-info 1:0
62 libwebsockets_la_CFLAGS+= -c \
63 -DINSTALL_DATADIR=\"@datadir@\" -DLWS_OPENSSL_CLIENT_CERTS=\"@clientcertdir@\"
66 libwebsockets_la_LDFLAGS+= -lz
70 ../scripts/kernel-doc -html \
75 > ../libwebsockets-api-doc.html