1 lib_LTLIBRARIES=libwebsockets.la
2 include_HEADERS=libwebsockets.h
3 dist_libwebsockets_la_SOURCES=libwebsockets.c \
10 extension-deflate-stream.c \
11 private-libwebsockets.h
14 dist_libwebsockets_la_SOURCES += extension-x-google-mux.c
19 dist_libwebsockets_la_SOURCES += md5.c sha-1.c
22 libwebsockets_la_CFLAGS:=-Wall -std=gnu99 -pedantic
23 libwebsockets_la_LDFLAGS:=
26 libwebsockets_la_CFLAGS+= -w -Iwin32port/win32helpers
27 libwebsockets_la_LDFLAGS+= -lm -luser32 -ladvapi32 -lkernel32 -lgcc -lpthread -ldl -lws2_32 -L../win32port/win32helpers/ -lwebsock-w32
29 libwebsockets_la_CFLAGS+= -rdynamic -fPIC -Werror
30 libwebsockets_la_LDFLAGS+= -version-info 0:3
33 libwebsockets_la_CFLAGS+= -c \
34 -DINSTALL_DATADIR=\"@datadir@\" -DLWS_OPENSSL_CLIENT_CERTS=\"@clientcertdir@\"
35 libwebsockets_la_LDFLAGS+= -lz
38 ../scripts/kernel-doc -html \
43 > ../libwebsockets-api-doc.html