openh264/codec/build/android/enc/jni/welsencdemo.mk

52 lines
1.1 KiB
Makefile
Raw Normal View History

2014-06-05 03:23:19 +02:00
# Generate the libwelsencdemo.so file
2014-02-19 02:54:27 +01:00
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := wels
LOCAL_SRC_FILES := ../../../../../libopenh264.so
ifneq (,$(wildcard $(LOCAL_PATH)/$(LOCAL_SRC_FILES)))
2014-02-19 02:54:27 +01:00
include $(PREBUILT_SHARED_LIBRARY)
endif
2014-02-19 02:54:27 +01:00
include $(CLEAR_VARS)
#
# Module Settings
#
LOCAL_MODULE := welsencdemo
#
# Source Files
#
CODEC_PATH := ../../../../
CONSOLE_ENC_PATH := ../../../../console/enc
CONSOLE_COMMON_PATH := ../../../../console/common
2014-02-19 02:54:27 +01:00
LOCAL_SRC_FILES := \
$(CONSOLE_ENC_PATH)/src/welsenc.cpp \
$(CONSOLE_COMMON_PATH)/src/read_config.cpp \
2014-02-19 02:54:27 +01:00
myjni.cpp
#
# Header Includes
#
LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/../../../../api/svc \
$(LOCAL_PATH)/../../../../console/enc/inc \
$(LOCAL_PATH)/../../../../console/common/inc \
2014-02-19 02:54:27 +01:00
$(LOCAL_PATH)/../../../../encoder/core/inc \
$(LOCAL_PATH)/../../../../processing/interface \
2014-03-19 03:41:32 +01:00
$(LOCAL_PATH)/../../../../common/inc
2014-02-19 02:54:27 +01:00
2014-02-19 02:54:27 +01:00
#
# Compile Flags and Link Libraries
#
LOCAL_CFLAGS := -DANDROID_NDK
2014-02-19 02:54:27 +01:00
LOCAL_LDLIBS := -llog
LOCAL_SHARED_LIBRARIES := wels
include $(BUILD_SHARED_LIBRARY)