misc/libphyslayer/Android.mk
author Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Fri, 03 Jan 2014 13:07:19 +0100
changeset 9921 7227cc2acba1
parent 8538 0e113487c4b2
permissions -rw-r--r--
Fixed fPIC link failure with arm and sparc architectures, fixing issue #757 Added TargetArch.cmake, from https://github.com/petroules/solar-cmake/blob/master/TargetArch.cmake
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)