Skip to content

Commit

Permalink
proto_wss: first version
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Jan 5, 2016
1 parent b3db77b commit 968a4e0
Show file tree
Hide file tree
Showing 3 changed files with 533 additions and 0 deletions.
28 changes: 28 additions & 0 deletions modules/proto_wss/Makefile
@@ -0,0 +1,28 @@
#
# WARNING: do not run this directly, it should be run by the master Makefile

include ../../Makefile.defs
auto_gen=
NAME=proto_wss.so

ETC_DIR?=../../etc/

ifeq ($(CROSS_COMPILE),)
SSL_BUILDER=$(shell \
if pkg-config --exists libssl; then \
echo 'pkg-config libssl'; \
fi)
endif

ifneq ($(SSL_BUILDER),)
DEFS += $(shell $(SSL_BUILDER) --cflags)
LIBS += $(shell $(SSL_BUILDER) --libs)
else
DEFS += -I$(LOCALBASE)/ssl/include \
-I$(LOCALBASE)/include
LIBS += -L$(LOCALBASE)/lib -L$(LOCALBASE)/ssl/lib \
-L$(LOCALBASE)/lib64 -L$(LOCALBASE)/ssl/lib64 \
-lssl -lcrypto
endif

include ../../Makefile.modules

0 comments on commit 968a4e0

Please sign in to comment.