One thing -- you need "include $(CLEAR_VARS)" each time you are starting a
new target.  So you would need this after the "include
$(BUILD_MULTI_PREBUILT)" since you are going on and creating another target
after that one.

On Sun, Feb 8, 2009 at 6:54 PM, Girish <[email protected]> wrote:

>
> Hi Ravi and Joe thanks for your responses This is my make file
>
> LOCAL_PATH:= $(call my-dir)
> include $(CLEAR_VARS)
>
>
> LOCAL_SRC_FILES:= \
>                main.c \
>                test.c \
>
> LOCAL_C_INCLUDES += \
>                    $(LOCAL_PATH)/
>
>
> LOCAL_PREBUILT_LIBS:= libmylibrary1.so libmylibrary2.so
> libmylibrary3.so
>
> include $(BUILD_MULTI_PREBUILT)
>
> LOCAL_MODULE := lib_test
>
> include $(BUILD_EXECUTABLE)
>
> Whn i compile this makefile it says
>
> Build/core/main.mk:180: implicitly installing apns-conf_sdk.xml
> build/core/base_rules.mk:110: *** external/testlib: LOCAL_BUILT_MODULE
> and LOCAL_INSTALLED_MODULE must not be defined by component
> makefiles.  Stop.
>
> If i am doing some thing wrong please let me know. I want an
> executable to test my library.
>
> Regards
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to