misc/physfs/extras/Android.mk
author Xeli
Sun, 18 Nov 2012 19:33:15 +0100
changeset 8062 abbcdf73327a
permissions -rw-r--r--
allow the engine to use physfs on android too
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8062
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
     1
LOCAL_PATH := $(call my-dir)
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
     2
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
     3
include $(CLEAR_VARS)
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
     4
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
     5
LOCAL_MODULE    := physfsrwops
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
     6
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
     7
LOCAL_CFLAGS := -O2 -DPHYSFS_NO_CDROM_SUPPORT 
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
     8
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
     9
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../liblua $(LOCAL_PATH)/../src $(LOCAL_PATH)/../../../project_files/Android-build/SDL-android-project/jni/SDL/include
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    10
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    11
LOCAL_SRC_FILES := hwpacksmounter.c \
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    12
                   physfslualoader.c \
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    13
                   physfsrwops.c   
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    14
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    15
LOCAL_SHARED_LIBRARIES := SDL physfs
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    16
    
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    17
include $(BUILD_SHARED_LIBRARY)