| 1 |
# |
| 2 |
# |
| 3 |
# WARNING: do not run this directly, it should be run by the main Makefile |
| 4 |
|
| 5 |
include ../../Makefile.defs |
| 6 |
auto_gen= |
| 7 |
NAME=websocket.so |
| 8 |
|
| 9 |
EMBEDDED_UTF8_DECODE ?= 0 |
| 10 |
|
| 11 |
ifeq ($(EMBEDDED_UTF8_DECODE),0) |
| 12 |
DEFS += -I$(LOCALBASE)/include |
| 13 |
LIBS += -L$(LOCALBASE)/lib -lunistring |
| 14 |
else |
| 15 |
DEFS += -DEMBEDDED_UTF8_DECODE |
| 16 |
endif |
| 17 |
|
| 18 |
# Static linking, if you'd like to use TLS and WEBSOCKET at the same time |
| 19 |
# |
| 20 |
#LIBS+= /usr/lib/libcurl.a /usr/lib/libssl.a /usr/lib/libcrypto.a -lkrb5 -lidn -lz -lgssapi_krb5 -lrt |
| 21 |
|
| 22 |
include ../../Makefile.modules |