This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathAndroid.mk
66 lines (57 loc) · 2.73 KB
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := SDL2_ttf
FREETYPE_LIBRARY_PATH := external/freetype-2.4.12
LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_SRC_FILES := SDL_ttf.c \
ifneq ($(FREETYPE_LIBRARY_PATH),)
LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(FREETYPE_LIBRARY_PATH)/include
LOCAL_CFLAGS += -DFT2_BUILD_LIBRARY
LOCAL_SRC_FILES += \
$(FREETYPE_LIBRARY_PATH)/src/autofit/autofit.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftbase.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftbbox.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftbdf.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftbitmap.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftcid.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftdebug.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftfstype.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftgasp.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftglyph.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftgxval.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftinit.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftlcdfil.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftmm.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftotval.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftpatent.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftpfr.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftstroke.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftsynth.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftsystem.c \
$(FREETYPE_LIBRARY_PATH)/src/base/fttype1.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftwinfnt.c \
$(FREETYPE_LIBRARY_PATH)/src/base/ftxf86.c \
$(FREETYPE_LIBRARY_PATH)/src/bdf/bdf.c \
$(FREETYPE_LIBRARY_PATH)/src/bzip2/ftbzip2.c \
$(FREETYPE_LIBRARY_PATH)/src/cache/ftcache.c \
$(FREETYPE_LIBRARY_PATH)/src/cff/cff.c \
$(FREETYPE_LIBRARY_PATH)/src/cid/type1cid.c \
$(FREETYPE_LIBRARY_PATH)/src/gzip/ftgzip.c \
$(FREETYPE_LIBRARY_PATH)/src/lzw/ftlzw.c \
$(FREETYPE_LIBRARY_PATH)/src/pcf/pcf.c \
$(FREETYPE_LIBRARY_PATH)/src/pfr/pfr.c \
$(FREETYPE_LIBRARY_PATH)/src/psaux/psaux.c \
$(FREETYPE_LIBRARY_PATH)/src/pshinter/pshinter.c \
$(FREETYPE_LIBRARY_PATH)/src/psnames/psmodule.c \
$(FREETYPE_LIBRARY_PATH)/src/raster/raster.c \
$(FREETYPE_LIBRARY_PATH)/src/sfnt/sfnt.c \
$(FREETYPE_LIBRARY_PATH)/src/smooth/smooth.c \
$(FREETYPE_LIBRARY_PATH)/src/tools/apinames.c \
$(FREETYPE_LIBRARY_PATH)/src/truetype/truetype.c \
$(FREETYPE_LIBRARY_PATH)/src/type1/type1.c \
$(FREETYPE_LIBRARY_PATH)/src/type42/type42.c \
$(FREETYPE_LIBRARY_PATH)/src/winfonts/winfnt.c
endif
LOCAL_SHARED_LIBRARIES := SDL2
LOCAL_EXPORT_C_INCLUDES += $(LOCAL_C_INCLUDES)
include $(BUILD_SHARED_LIBRARY)