Guest User

Untitled

a guest
Jun 5th, 2013
121
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Copyright (C) 2010 The Android Open Source Project
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. #
  15. ANDROID_NDK_TOOLCHAIN_ROOT := /home/brad/android-toolchain
  16. LOCAL_PATH := $(call my-dir)
  17.  
  18. TARGET_ARCH_ABI := armeabi-v7a
  19.  
  20. include $(CLEAR_VARS)
  21.  
  22. LOCAL_MODULE := liballegro-prebuilt
  23. LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/liballegro-debug.so
  24. include $(PREBUILT_SHARED_LIBRARY)
  25. include $(CLEAR_VARS)
  26.  
  27. LOCAL_MODULE := liballegro_primitives-prebuilt
  28. LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/liballegro_primitives-debug.so
  29. include $(PREBUILT_SHARED_LIBRARY)
  30.  
  31. include $(CLEAR_VARS)
  32.  
  33. LOCAL_MODULE := liballegro_image-prebuilt
  34. LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/liballegro_image-debug.so
  35. include $(PREBUILT_SHARED_LIBRARY)
  36.  
  37. include $(CLEAR_VARS)
  38.  
  39. LOCAL_ALLOW_UNDEFINED_SYMBOLS := true
  40. LOCAL_MODULE := allegro-example
  41. LOCAL_SRC_FILES := main.c
  42. LOCAL_CFLAGS := -I$(ANDROID_NDK_TOOLCHAIN_ROOT)/user/$(TARGET_ARCH_ABI)/include -I/home/brad/Dropbox/NexrusEngine/libraries/allegro/build-android/include -I/home/brad/Dropbox/NexrusEngine/libraries/allegro/addons/image -I/home/brad/Dropbox/NexrusEngine/libraries/allegro/addons/primitives
  43. LOCAL_CFLAGS += -DDEBUGMODE
  44. LOCAL_CFLAGS += -W -Wall
  45.  
  46. LOCAL_LDLIBS := -L$(ANDROID_NDK_TOOLCHAIN_ROOT)/user/$(TARGET_ARCH_ABI)/lib
  47. LOCAL_LDLIBS += -L$(LOCAL_PATH)/$(TARGET_ARCH_ABI)
  48. LOCAL_LDLIBS += -llog
  49. LOCAL_LDLIBS += libs/$(TARGET_ARCH_ABI)/liballegro-debug.so
  50. LOCAL_LDLIBS += libs/$(TARGET_ARCH_ABI)/liballegro_primitives-debug.so
  51. LOCAL_LDLIBS += libs/$(TARGET_ARCH_ABI)/liballegro_image-debug.so
  52.  
  53. include $(BUILD_SHARED_LIBRARY)
RAW Paste Data