android.mak 592 Bytes
Newer Older
ivoire's avatar
ivoire committed
1
2
3
4
5
6
7
8
9
10
11
12
13
# android rules
# Not compiling: .shout .ebml .matroska .live .mod .x264 .caca .mpcdec .dirac .schroedinger .libass
all: .zlib \
     .a52 .mpeg2 .mad .ogg .vorbis .vorbisenc .theora \
     .flac .speex .faad .lame .ffmpeg \
     .twolame \
     .png .dvbpsi \
     .dca .kate


ANDROID_INCLUDE=$(ANDROID_NDK)/platforms/android-9/arch-arm/usr/include
ANDROID_LIB=$(ANDROID_NDK)/platforms/android-9/arch-arm/usr/lib

14
15
EXTRA_CPPFLAGS+=-I$(ANDROID_INCLUDE)
EXTRA_LDFLAGS+=-Wl,-rpath-link=$(ANDROID_LIB),-Bdynamic,-dynamic-linker=/system/bin/linker -Wl,--no-undefined -Wl,-shared -L$(ANDROID_LIB)