Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 1 | # libyaml/jni/Android.mk |
| 2 | |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 3 | include $(CLEAR_VARS) |
| 4 | |
Alexandre Lision | 950e9d6 | 2013-12-02 15:09:01 -0500 | [diff] [blame] | 5 | MY_LIBYAML := libyaml/sources |
| 6 | |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 7 | LOCAL_CFLAGS := -DYAML_VERSION_STRING=\"0.1.4\" \ |
| 8 | -DYAML_VERSION_MAJOR=0 \ |
| 9 | -DYAML_VERSION_MINOR=1 \ |
| 10 | -DYAML_VERSION_PATCH=4 |
Alexandre Lision | 950e9d6 | 2013-12-02 15:09:01 -0500 | [diff] [blame] | 11 | |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 12 | LOCAL_MODULE := libyaml |
Alexandre Lision | 950e9d6 | 2013-12-02 15:09:01 -0500 | [diff] [blame] | 13 | |
Alexandre Lision | 950e9d6 | 2013-12-02 15:09:01 -0500 | [diff] [blame] | 14 | LOCAL_SRC_FILES := $(MY_LIBYAML)/api.c \ |
| 15 | $(MY_LIBYAML)/reader.c \ |
| 16 | $(MY_LIBYAML)/scanner.c \ |
| 17 | $(MY_LIBYAML)/parser.c \ |
| 18 | $(MY_LIBYAML)/loader.c \ |
| 19 | $(MY_LIBYAML)/writer.c \ |
| 20 | $(MY_LIBYAML)/emitter.c \ |
| 21 | $(MY_LIBYAML)/dumper.c |
| 22 | |
| 23 | LOCAL_C_INCLUDES += $(MY_LIBYAML)/inc |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 24 | |
Alexandre Lision | 48ae6af | 2013-12-03 11:21:52 -0500 | [diff] [blame] | 25 | include $(BUILD_STATIC_LIBRARY) |