android.mak 598 Bytes
Newer Older
1 2 3 4 5 6 7
# 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 \
8
     .dca .kate .live
9 10 11 12 13


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)