HP-Socket/Linux/demo/testecho-udp/Android.mk
2021-01-15 15:38:07 +08:00

50 lines
1.7 KiB
Makefile

LOCAL_PATH := $(call my-dir)
# target lib : hp-testecho-udp-server
include $(CLEAR_VARS)
LOCAL_MODULE := hp-testecho-udp-server
LOCAL_SRC_FILES := server/server.cpp \
../global/helper.cpp
LOCAL_WHOLE_STATIC_LIBRARIES := $(MY_WHOLE_STATIC_LIBRARIES) hpsocket
LOCAL_C_INCLUDES := $(MY_C_INCLUDES)
LOCAL_CFLAGS := $(MY_CFLAGS) -D_NEED_SSL -D_NEED_HTTP
LOCAL_CPPFLAGS := $(MY_CPPFLAGS)
LOCAL_LDLIBS := $(MY_LDLIBS)
include $(BUILD_EXECUTABLE)
# target lib : hp-testecho-udp-client
include $(CLEAR_VARS)
LOCAL_MODULE := hp-testecho-udp-client
LOCAL_SRC_FILES := client/client.cpp \
../global/helper.cpp
LOCAL_WHOLE_STATIC_LIBRARIES := $(MY_WHOLE_STATIC_LIBRARIES) hpsocket
LOCAL_C_INCLUDES := $(MY_C_INCLUDES)
LOCAL_CFLAGS := $(MY_CFLAGS) -D_NEED_SSL -D_NEED_HTTP
LOCAL_CPPFLAGS := $(MY_CPPFLAGS)
LOCAL_LDLIBS := $(MY_LDLIBS)
include $(BUILD_EXECUTABLE)
# target lib : hp-testecho-udp-cast
include $(CLEAR_VARS)
LOCAL_MODULE := hp-testecho-udp-cast
LOCAL_SRC_FILES := cast/cast.cpp \
../global/helper.cpp
LOCAL_WHOLE_STATIC_LIBRARIES := $(MY_WHOLE_STATIC_LIBRARIES) hpsocket
LOCAL_C_INCLUDES := $(MY_C_INCLUDES)
LOCAL_CFLAGS := $(MY_CFLAGS) -D_NEED_SSL -D_NEED_HTTP
LOCAL_CPPFLAGS := $(MY_CPPFLAGS)
LOCAL_LDLIBS := $(MY_LDLIBS)
include $(BUILD_EXECUTABLE)
# target lib : hp-testecho-udp-node
include $(CLEAR_VARS)
LOCAL_MODULE := hp-testecho-udp-node
LOCAL_SRC_FILES := node/node.cpp \
../global/helper.cpp
LOCAL_WHOLE_STATIC_LIBRARIES := $(MY_WHOLE_STATIC_LIBRARIES) hpsocket
LOCAL_C_INCLUDES := $(MY_C_INCLUDES)
LOCAL_CFLAGS := $(MY_CFLAGS) -D_NEED_SSL -D_NEED_HTTP
LOCAL_CPPFLAGS := $(MY_CPPFLAGS)
LOCAL_LDLIBS := $(MY_LDLIBS)
include $(BUILD_EXECUTABLE)