You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.1 KiB

# example Android Native Library makefile
# contributed by Gregory Junker <ggjunker@gmail.com>
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libwebsockets
LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD SPDX-license-identifier-GPL SPDX-license-identifier-MIT SPDX-license-identifier-Zlib legacy_unencumbered
LOCAL_LICENSE_CONDITIONS := notice restricted unencumbered
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../LICENSE
LOCAL_CFLAGS := -DLWS_BUILTIN_GETIFADDRS
LWS_LIB_PATH := ../../../shared/libwebsockets/lib
LOCAL_C_INCLUDES:= $(LOCAL_PATH)/$(LWS_LIB_PATH)
LOCAL_SRC_FILES := \
$(LWS_LIB_PATH)/base64-decode.c \
$(LWS_LIB_PATH)/client.c \
$(LWS_LIB_PATH)/client-handshake.c \
$(LWS_LIB_PATH)/client-parser.c \
$(LWS_LIB_PATH)/daemonize.c \
$(LWS_LIB_PATH)/extension.c \
$(LWS_LIB_PATH)/extension-deflate-frame.c \
$(LWS_LIB_PATH)/extension-deflate-stream.c \
$(LWS_LIB_PATH)/getifaddrs.c \
$(LWS_LIB_PATH)/handshake.c \
$(LWS_LIB_PATH)/libwebsockets.c \
$(LWS_LIB_PATH)/md5.c \
$(LWS_LIB_PATH)/output.c \
$(LWS_LIB_PATH)/parsers.c \
$(LWS_LIB_PATH)/sha-1.c
include $(BUILD_STATIC_LIBRARY)