dlgTextEntry_Keyboard: rename to TouchTextEntry
[xcsoar.git] / build / egl.mk
blob89f132a659fbf5e45034b5593c69ab2ab9da1eec
1 ifeq ($(TARGET)$(TARGET_IS_PI),UNIXy)
2 # auto-enable EGL on the Raspberry Pi.
3 EGL = y
4 else
5 EGL = n
6 endif
8 ifeq ($(EGL),y)
10 OPENGL = y
11 FREETYPE = y
12 LIBPNG = y
13 LIBJPEG = y
14 ENABLE_SDL = n
16 EGL_CPPFLAGS = -DUSE_EGL
17 EGL_LDLIBS = -lEGL
19 ifeq ($(TARGET_IS_PI),y)
20 # Raspberry Pi detected
21 EGL_CPPFLAGS += -DUSE_VIDEOCORE
22 EGL_CPPFLAGS += -isystem $(PI)/opt/vc/include -isystem $(PI)/opt/vc/include/interface/vcos/pthreads
23 EGL_CPPFLAGS += -isystem $(PI)/opt/vc/include/interface/vmcs_host/linux
24 EGL_LDLIBS += -L$(PI)/opt/vc/lib -lvchostif -lvchiq_arm -lvcos -lbcm_host
25 else
26 EGL_CPPFLAGS += -DUSE_X11
27 EGL_LDLIBS += -lX11
28 endif
30 endif