Subversion Repositories eduke32

Rev

Rev 5000 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5000 Rev 5066
Line 18... Line 18...
18
18
19
LOCAL_MODULE    := duke
19
LOCAL_MODULE    := duke
20
20
21
# -O2  -fvisibility=hidden
21
# -O2  -fvisibility=hidden
22
22
23
LOCAL_CFLAGS :=   -x c++ -std=gnu++03 -fvisibility=hidden -fPIC -O2 -funswitch-loops -fomit-frame-pointer -DNDEBUG -DUSING_LTO -flto -fno-stack-protector   -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=0 -fjump-tables -pthread -DHAVE_INTTYPES  -D_GNU_SOURCE=1 -D_REENTRANT
23
LOCAL_CFLAGS :=   -x c++ -std=gnu++03 -fvisibility=hidden -fPIC -O2 -DNDEBUG -DUSING_LTO -flto -fno-stack-protector -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=0 -pthread -DHAVE_INTTYPES  -D_GNU_SOURCE=1 -D_REENTRANT
24
LOCAL_CFLAGS += -W  -Werror-implicit-function-declaration -Wpointer-arith -Wextra  -Wno-unused-result  -Wno-char-subscripts -Wno-strict-overflow -Wno-attributes -Wno-write-strings
24
LOCAL_CFLAGS += -W  -Werror-implicit-function-declaration -Wpointer-arith -Wextra  -Wno-unused-result  -Wno-char-subscripts -Wno-strict-overflow -Wno-attributes -Wno-write-strings
25
LOCAL_CPPFLAGS := -std=gnu++03
25
LOCAL_CPPFLAGS := -std=gnu++03
26
26
27
#-DUSE_LIBPNG
-
 
28
-
 
29
LOCAL_CFLAGS += -DHAVE_SDL -DHAVE_VORBIS -DHAVE_JWZGLES -DHAVE_ANDROID -DRENDERTYPESDL=1  -DUSE_OPENGL -DNETCODE_DISABLE -DUSE_LIBVPX
27
LOCAL_CFLAGS += -DHAVE_SDL -DHAVE_VORBIS -DHAVE_JWZGLES -DHAVE_ANDROID -DRENDERTYPESDL=1  -DUSE_OPENGL -DNETCODE_DISABLE -DUSE_LIBVPX
30
28
31
#LOCAL_CFLAGS += -mhard-float -D_NDK_MATH_NO_SOFTFP=1
29
#LOCAL_CFLAGS += -mhard-float -D_NDK_MATH_NO_SOFTFP=1
32
30
33
LOCAL_LDFLAGS := -fuse-ld=bfd
31
LOCAL_LDFLAGS := -fuse-ld=bfd
Line 38... Line 36...
38
36
39
ANDROID_SRC = \
37
ANDROID_SRC = \
40
	source/android/android-jni.cpp \
38
	source/android/android-jni.cpp \
41
	source/android/in_android.c \
39
	source/android/in_android.c \
42
        build/src/glbuild_android.c \
40
        build/src/glbuild_android.c \
43
        build/src/jwzgles.c
41
        build/src/jwzgles.c \
-
 
42
        source/android/rg_etc1.cpp
44
43
45
BUILD_SRC = \
44
BUILD_SRC = \
46
	build/src/a-c.c \
45
	build/src/a-c.c \
47
	build/src/baselayer.c \
46
	build/src/baselayer.c \
48
	build/src/cache1d.c \
47
	build/src/cache1d.c \