author | koda |
Fri, 22 Feb 2013 05:43:56 +0100 | |
branch | physfslayer |
changeset 8524 | a65e9bcf0a03 |
parent 8522 | misc/libphysfs/src/Android.mk@1853628ae285 |
child 8538 | 0e113487c4b2 |
permissions | -rw-r--r-- |
8062 | 1 |
LOCAL_PATH := $(call my-dir) |
2 |
||
3 |
include $(CLEAR_VARS) |
|
4 |
||
5 |
LOCAL_MODULE := physfs |
|
6 |
||
7 |
LOCAL_CFLAGS := -O2 -DPHYSFS_NO_CDROM_SUPPORT |
|
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 | 10 |
|
11 |
LOCAL_SRC_FILES := physfs.c \ |
|
12 |
physfs_byteorder.c \ |
|
13 |
physfs_unicode.c \ |
|
14 |
platform_posix.c \ |
|
15 |
platform_unix.c \ |
|
16 |
platform_macosx.c \ |
|
17 |
platform_windows.c \ |
|
18 |
archiver_dir.c \ |
|
19 |
archiver_grp.c \ |
|
20 |
archiver_hog.c \ |
|
21 |
archiver_lzma.c \ |
|
22 |
archiver_mvl.c \ |
|
23 |
archiver_qpak.c \ |
|
24 |
archiver_wad.c \ |
|
25 |
archiver_zip.c \ |
|
8073 | 26 |
../extras/hwpacksmounter.c \ |
27 |
../extras/physfslualoader.c \ |
|
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 | 31 |
|
32 |
include $(BUILD_SHARED_LIBRARY) |