Hi

   I developed one android NDK application using 
eclipse development environment. This application created one *.so file. 
All working fine.I want to port this application in android ics 4.0.3 
source code. so that I pasted my application into *
source/framework/base/myProject/*. the folder myProject includes java and 
jni folders. In jni folder c and Android.mk files.  The make file is like 
below :

***********************************************************************
LOCAL_PATH:= $(call my-dir)

# first lib, which will be built statically
#
include $(CLEAR_VARS)

LOCAL_LDLIBS := -llog
#LOCAL_LDLIBS + =-L $ (SYSROOT) / usr / lib-llog
LOCAL_SRC_FILES := termiostty_ndk.c \
                   printer_jni.c

LOCAL_C_INCLUDES += \
        $(JNI_H_INCLUDE)\
        $(TOP)frameworks/base/awtprinter/include

ifeq ($(TARGET_SIMULATOR),true)
ifeq ($(TARGET_OS),linux)
ifeq ($(TARGET_ARCH),x86)
LOCAL_LDLIBS += -lpthread -ldl -lrt
endif
endif
endif


# second lib, which will depend on and include the first one
#

LOCAL_MODULE := libawt_print
LOCAL_MODULE_TAGS := optional

LOCAL_STATIC_LIBRARIES := termiostty

include $(BUILD_SHARED_LIBRARY)
*********************************************************************

My source code is compiling properly without any errors or warnings. And 
also it creates*  **libawt_print_intermediates *in 
out/target/product/u8500/obj/SHARED_LIBRARIES 
with this it confirms that my libawt_print.so file is generating in source 
build. But libawt_print.so is not copying into system/lib path when build 
with make command. If I compile only my model using mmm it works and 
copying into system/lib. What is reason for this? and where I am missing 
can anybody help me?

Thanks

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to