Android NDK动态库的调用
2010-09-16 23:50:00 来源:WEB开发网testapp Makefile
cc=/home/zhangweia/android/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-gcc-4.4.0
CFLAGS = -g -O2 -fPIC -DANDROID -I./include -I/home/zhangweia/android/android-ndk-r4b/build/platforms/android-5/arch-arm/usr/include
CFLAGS += -I$(SDK)/out/target/product/generic/obj/include/libpv
-I$(opencore)/codecs_v2/common/include
-I$(opencore)/pvmi/pvmf/include
-I$(opencore)/nodes/common/include
-I$(opencore)/extern_libs_v2/khronos/openmax/include
-I$(opencore)/build_config/opencore_dynamic
-I$(opencore)/android/drm/oma1/src
-I$(opencore)/engines/author/include
-I$(opencore)/oscl/oscl/config/shared
-I$(opencore)/oscl/oscl/config/android
-I$(opencore)/engines/common/include
-I$(opencore)/extern_libs_v2/khronos/openmax/include
-I$(opencore)/android
#SDFLAGS = -nostdlib -Wl,-T,armelf.xsc -Wl,-shared,-Bsymbolic -Wl,-soname,$@ -lc
SDFLAGS = -nostdlib -Wl,-T,armelf.xsc -Wl,-Bsymbolic -Wl,-soname,$@ -lc
CRT_OBJS=-L/home/zhangweia/android/android-ndk-r4b/build/platforms/android-5/arch-arm/usr/lib -lz -lm -ldl
#all : libomxde.so
OBJECT= omx_threadsafe_callbacks.o
omxdectest.o
omxdectestbase.o
omxtest_buffer_busy.o
omxtest_corrupt_nal.o
omxtest_dynamic_reconfig.o
omxtest_eos_missing.o
omxtest_extra_partialframes.o
omxtest_flush_eos.o
omxtest_flush_port.o
omxtest_get_role.o
omxtest_incomplete_nal.o
omxtest_missing_nal.o
omxtest_multiple_instance.o
omxtest_param_negotiation.o
omxtest_partialframes.o
omxtest_pause_resume.o
omxtest_portreconfig_transit_1.o
omxtest_portreconfig_transit_2.o
更多精彩
赞助商链接