comparison Makefile.android @ 4701:d40bb3165d2b

Added (partially implemented) android video backend and associated files needed to build
author Paul Hunkin <paul@bieh.net>
date Thu, 10 Jun 2010 18:54:23 +1200
parents cf23d9b8e606
children 0f05f2f16fad
comparison
equal deleted inserted replaced
4700:cf23d9b8e606 4701:d40bb3165d2b
3 ANDROID_NDK=/home/paul/Projects/gsoc/sdk/android-ndk-r4 3 ANDROID_NDK=/home/paul/Projects/gsoc/sdk/android-ndk-r4
4 TOOLS_PATH=$(ANDROID_NDK)/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin 4 TOOLS_PATH=$(ANDROID_NDK)/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin
5 ANDROID_INCLUDES = -I$(ANDROID_NDK)/build/platforms/android-4/common/include \ 5 ANDROID_INCLUDES = -I$(ANDROID_NDK)/build/platforms/android-4/common/include \
6 -I$(ANDROID_NDK)/build/platforms/android-4/arch-arm/usr/include 6 -I$(ANDROID_NDK)/build/platforms/android-4/arch-arm/usr/include
7 INCLUDE = -I./include 7 INCLUDE = -I./include
8 CFLAGS = -g -O2 $(INCLUDE) $(ANDROID_INCLUDES) -DANDROID -static 8 CFLAGS = -g -O2 $(INCLUDE) $(ANDROID_INCLUDES) -DANDROID -DANDROID_NDK -static
9 9
10 AR = $(TOOLS_PATH)/arm-eabi-ar 10 AR = $(TOOLS_PATH)/arm-eabi-ar
11 RANLIB = $(TOOLS_PATH)/arm-eabi-ranlib 11 RANLIB = $(TOOLS_PATH)/arm-eabi-ranlib
12 CC = $(TOOLS_PATH)/arm-eabi-gcc 12 CC = $(TOOLS_PATH)/arm-eabi-gcc
13 13
26 src/thread/*.c \ 26 src/thread/*.c \
27 src/timer/*.c \ 27 src/timer/*.c \
28 src/video/*.c \ 28 src/video/*.c \
29 src/power/*.c \ 29 src/power/*.c \
30 src/audio/dummy/*.c \ 30 src/audio/dummy/*.c \
31 src/video/dummy/*.c \ 31 src/video/android/*.c \
32 src/joystick/dummy/*.c \ 32 src/joystick/dummy/*.c \
33 src/haptic/dummy/*.c \ 33 src/haptic/dummy/*.c \
34 src/atomic/dummy/*.c \ 34 src/atomic/dummy/*.c \
35 src/thread/generic/*.c \ 35 src/thread/generic/*.c \
36 src/timer/dummy/*.c \ 36 src/timer/dummy/*.c \