Like I just said, you need to have each include $(BUILD_*) line paired with an include $(CLEAR_VARS) line. So the LOCAL_PREBUILT_LIBS and then BUILD_MULTI_PREBUILT line isn't going to do what you want. Also, the second call to $(my-dir) isn't going to work. You can only call it once per file, before you include anything else. Go find a makefile that does something close to what you want (i.e. one that defines two modules, there are plenty of them), copy that, and start from there.
-joe On Sun, Feb 8, 2009 at 10:22 PM, Girish <htgir...@gmail.com> wrote: > > Hi Ravi and Dianne, > > I followed the steps told by Ravi > > LOCAL_PATH := $(my-dir) > > LOCAL_PREBUILT_LIBS := libmylibrary1.so libmylibrary2.so > libmylibrary3.so > > include $(BUILD_MULTI_PREBUILT) > > include $(CLEAR_VARS) > > LOCAL_PATH := $(my-dir) > > LOCAL_SRC_FILES:= \ > main.c \ > test.c \ > > LOCAL_C_INCLUDES += \ > $(LOCAL_PATH)/ > > LOCAL_MODULE := test_lib > > include $(BUILD_EXECUTABLE) > > build/core/main.mk:180: implicitly installing apns-conf_sdk.xml > find: `build/core/clear_vars.mk,build/core': No such file or directory > make: execvp: /bin/bash: Argument list too long > Install: out/host/linux-x86/bin/vm-tests > make: *** No rule to make target `build/core/clear_vars.mk,build/ > core', needed by `out/target/product/obj/EXECUTABLES/ > test_lib_intermediates/main.o'. Stop. > > Any idea on this ? Wht may be going wrong ? > > Regards > Girish > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---