-lib@LIBRARY@_la_SOURCES = Common/freeglut_callbacks.c \
- Common/freeglut_cursor.c \
- Common/freeglut_display.c \
- Common/freeglut_ext.c \
- Common/freeglut_font.c \
- Common/freeglut_font_data.c \
- Common/freeglut_stroke_roman.c \
- Common/freeglut_stroke_mono_roman.c \
- Common/freeglut_gamemode.c \
- Common/freeglut_geometry.c \
- Common/freeglut_init.c \
- Common/freeglut_input_devices.c \
- Common/freeglut_spaceball.c \
- Common/freeglut_joystick.c \
- Common/freeglut_main.c \
- Common/freeglut_menu.c \
- Common/freeglut_misc.c \
- Common/freeglut_overlay.c \
- Common/freeglut_state.c \
- Common/freeglut_structure.c \
- Common/freeglut_teapot.c \
- Common/freeglut_videoresize.c \
- Common/freeglut_window.c
+lib@LIBRARY@_la_SOURCES = \
+ Common/freeglut_callbacks.c \
+ Common/freeglut_cursor.c \
+ Common/freeglut_display.c \
+ Common/freeglut_ext.c \
+ Common/freeglut_font_data.c \
+ Common/freeglut_gamemode.c \
+ Common/freeglut_input_devices.c \
+ Common/freeglut_stroke_roman.c \
+ Common/freeglut_stroke_mono_roman.c \
+ Common/freeglut_init.c \
+ Common/freeglut_spaceball.c \
+ Common/freeglut_joystick.c \
+ Common/freeglut_main.c \
+ Common/freeglut_misc.c \
+ Common/freeglut_overlay.c \
+ Common/freeglut_state.c \
+ Common/freeglut_structure.c \
+ Common/freeglut_videoresize.c \
+ Common/freeglut_window.c
+
+# TODO: uses OpenGL non-ES functions:
+if !TARGET_HOST_ANDROID
+lib@LIBRARY@_la_SOURCES += \
+ Common/freeglut_font.c \
+ Common/freeglut_geometry.c \
+ Common/freeglut_menu.c \
+ Common/freeglut_teapot.c
+endif