* allow telling cmake where to find required fonts in system when user supplies the paths, as suggested by unC0Rr, e.g. -DFONTS_DIRS='/usr/share/fonts/truetype/wqy;/usr/share/fonts/truetype/dejavu'
* the build system will use the paths to lookup fonts and install those not found
* the engine will load the paths into physfs (mountpoint /Fonts) to make the fonts available at runtime
* overriding fonts in packages should be possible again now
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := physfs
LOCAL_CFLAGS := -O2 -DPHYSFS_NO_CDROM_SUPPORT
LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_SRC_FILES := physfs.c \
physfs_byteorder.c \
physfs_unicode.c \
platform_posix.c \
platform_unix.c \
platform_macosx.c \
platform_windows.c \
archiver_dir.c \
archiver_grp.c \
archiver_hog.c \
archiver_lzma.c \
archiver_mvl.c \
archiver_qpak.c \
archiver_wad.c \
archiver_zip.c \
include $(BUILD_SHARED_LIBRARY)