misc/libphyslayer/Android.mk
author nemo
Mon, 10 Apr 2017 12:06:43 -0400
changeset 12218 bb5522e88ab2
parent 8538 0e113487c4b2
permissions -rw-r--r--
bulk copy of latest physfs to our misc/libphysfs since this seems to fix an off-by-1 error reliably hit in readln read of 1 byte probably introduced in the addition of the buffered read. Whether this is excessive or whether libphysfs should even be maintained by us is another matter. But at least we shouldn't crash
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8538
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents:
diff changeset
     1
LOCAL_PATH := $(call my-dir)
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents:
diff changeset
     2
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents:
diff changeset
     3
include $(CLEAR_VARS)
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents:
diff changeset
     4
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents:
diff changeset
     5
LOCAL_MODULE    := physlayer
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents:
diff changeset
     6
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents:
diff changeset
     7
LOCAL_CFLAGS := -O2
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents:
diff changeset
     8
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents:
diff changeset
     9
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(MISC_DIR)/liblua $(MISC_DIR)/liblua $(JNI_DIR)/SDL/include
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents:
diff changeset
    10
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents:
diff changeset
    11
LOCAL_SRC_FILES := hwpacksmounter.c \
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents:
diff changeset
    12
                   physfslualoader.c \
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents:
diff changeset
    13
                   physfsrwops.c \
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents:
diff changeset
    14
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents:
diff changeset
    15
LOCAL_SHARED_LIBRARIES += SDL lua
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents:
diff changeset
    16
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents:
diff changeset
    17
include $(BUILD_SHARED_LIBRARY)