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_CFLAGS := -DLWS_BUILTIN_GETIFADDRS 10LWS_LIB_PATH := ../../../shared/libwebsockets/lib 11LOCAL_C_INCLUDES:= $(LOCAL_PATH)/$(LWS_LIB_PATH) 12LOCAL_SRC_FILES := \ 13 $(LWS_LIB_PATH)/base64-decode.c \ 14 $(LWS_LIB_PATH)/client.c \ 15 $(LWS_LIB_PATH)/client-handshake.c \ 16 $(LWS_LIB_PATH)/client-parser.c \ 17 $(LWS_LIB_PATH)/daemonize.c \ 18 $(LWS_LIB_PATH)/extension.c \ 19 $(LWS_LIB_PATH)/extension-deflate-frame.c \ 20 $(LWS_LIB_PATH)/extension-deflate-stream.c \ 21 $(LWS_LIB_PATH)/getifaddrs.c \ 22 $(LWS_LIB_PATH)/handshake.c \ 23 $(LWS_LIB_PATH)/libwebsockets.c \ 24 $(LWS_LIB_PATH)/md5.c \ 25 $(LWS_LIB_PATH)/output.c \ 26 $(LWS_LIB_PATH)/parsers.c \ 27 $(LWS_LIB_PATH)/sha-1.c 28 29include $(BUILD_STATIC_LIBRARY) 30