summaryrefslogtreecommitdiff
path: root/jni/compat.mk
blob: 83f520d2ae91ed5ee5d354a58a132da55027339d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
include $(CLEAR_VARS)
LOCAL_C_INCLUDES := jni/compat
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
LOCAL_MODULE := compat
LOCAL_SRC_FILES := jni/compat/compat.c
LOCAL_LDLIBS := -llog
include $(BUILD_SHARED_LIBRARY)

include $(CLEAR_VARS)
LOCAL_C_INCLUDES := jni/compat
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
LOCAL_MODULE := compat-physfs
LOCAL_SRC_FILES := jni/compat/compat-physfs.c
LOCAL_STATIC_LIBRARIES := physfs
LOCAL_CFLAGS := -D_BSD_SOURCE
include $(BUILD_SHARED_LIBRARY)