misc/physfs/src/Android.mk
author Urbertar@gmail.com
Tue, 26 Feb 2013 17:04:40 +0200
branchicegun
changeset 8587 6319accfa04a
parent 8461 69bd802c28f0
permissions -rw-r--r--
Separate setting and drawing ice
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    := physfs
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
8461
69bd802c28f0 Fix physfs compilation for android (still getting runtime link errors though)
Medo <smaxein@googlemail.com>
parents: 8073
diff changeset
     9
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(MISC_DIR)/liblua $(MISC_DIR)/liblua $(JNI_DIR)/SDL/include
8062
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 :=    physfs.c \
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    12
    physfs_byteorder.c \
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    13
    physfs_unicode.c \
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    14
    platform_posix.c \
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    15
    platform_unix.c \
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    16
    platform_macosx.c \
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    17
    platform_windows.c \
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    18
    archiver_dir.c \
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    19
    archiver_grp.c \
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    20
    archiver_hog.c \
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    21
    archiver_lzma.c \
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    22
    archiver_mvl.c \
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    23
    archiver_qpak.c \
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    24
    archiver_wad.c \
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    25
    archiver_zip.c \
8073
5a289ef40fdb physfs compilation on windows
koda
parents: 8062
diff changeset
    26
    ../extras/hwpacksmounter.c \
5a289ef40fdb physfs compilation on windows
koda
parents: 8062
diff changeset
    27
    ../extras/physfslualoader.c \
5a289ef40fdb physfs compilation on windows
koda
parents: 8062
diff changeset
    28
    ../extras/physfsrwops.c \
8461
69bd802c28f0 Fix physfs compilation for android (still getting runtime link errors though)
Medo <smaxein@googlemail.com>
parents: 8073
diff changeset
    29
69bd802c28f0 Fix physfs compilation for android (still getting runtime link errors though)
Medo <smaxein@googlemail.com>
parents: 8073
diff changeset
    30
LOCAL_SHARED_LIBRARIES += SDL lua
8062
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    31
    
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    32
include $(BUILD_SHARED_LIBRARY)