1# example Android Native Library makefile 2# contributed by Gregory Junker <ggjunker@gmail.com> 3 4LOCAL_PATH:= $(call my-dir) 5 6include $(CLEAR_VARS) 7 8LOCAL_MODULE := libwebsockets 9LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD SPDX-license-identifier-GPL SPDX-license-identifier-MIT SPDX-license-identifier-Zlib legacy_unencumbered 10LOCAL_LICENSE_CONDITIONS := notice restricted unencumbered 11LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../LICENSE 12LOCAL_CFLAGS := -DLWS_BUILTIN_GETIFADDRS 13LWS_LIB_PATH := ../../../shared/libwebsockets/lib 14LOCAL_C_INCLUDES:= $(LOCAL_PATH)/$(LWS_LIB_PATH) 15LOCAL_SRC_FILES := \ 16 $(LWS_LIB_PATH)/base64-decode.c \ 17 $(LWS_LIB_PATH)/client.c \ 18 $(LWS_LIB_PATH)/client-handshake.c \ 19 $(LWS_LIB_PATH)/client-parser.c \ 20 $(LWS_LIB_PATH)/daemonize.c \ 21 $(LWS_LIB_PATH)/extension.c \ 22 $(LWS_LIB_PATH)/extension-deflate-frame.c \ 23 $(LWS_LIB_PATH)/extension-deflate-stream.c \ 24 $(LWS_LIB_PATH)/getifaddrs.c \ 25 $(LWS_LIB_PATH)/handshake.c \ 26 $(LWS_LIB_PATH)/libwebsockets.c \ 27 $(LWS_LIB_PATH)/md5.c \ 28 $(LWS_LIB_PATH)/output.c \ 29 $(LWS_LIB_PATH)/parsers.c \ 30 $(LWS_LIB_PATH)/sha-1.c 31 32include $(BUILD_STATIC_LIBRARY) 33