X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2FMakefile.am;h=115cda1dad7ccecd61989301815c903f360737a5;hb=2e441bbb4f32a3e53ee07f495ced7d8b7c37ae79;hp=d1f44ce7d8cd8d8326275d7734e2b1ae9f97dc2f;hpb=69a45a61f22927a434640c85ae88664c45ea1c6d;p=freeglut diff --git a/src/Makefile.am b/src/Makefile.am index d1f44ce..115cda1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -15,29 +15,35 @@ EXTRA_DIST = Common/freeglutdll.def # # Those source files build the freeglut library # -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 if TARGET_HOST_MS_WINDOWS lib@LIBRARY@_la_SOURCES += \ @@ -79,6 +85,30 @@ lib@LIBRARY@_la_SOURCES += \ x11/freeglut_xinput_x11.c endif +if TARGET_HOST_ANDROID +lib@LIBRARY@_la_SOURCES += \ + Common/xparsegeometry_repl.c \ + Common/xparsegeometry_repl.h \ + egl/freeglut_internal_egl.h \ + egl/freeglut_display_egl.c \ + egl/freeglut_init_egl.c \ + egl/freeglut_structure_egl.c \ + egl/freeglut_window_egl.c \ + android/native_app_glue/android_native_app_glue.c \ + android/native_app_glue/android_native_app_glue.h \ + android/freeglut_runtime_android.c \ + android/freeglut_gamemode_android.c \ + android/freeglut_input_devices_android.c \ + android/freeglut_joystick_android.c \ + android/freeglut_main_android.c \ + android/freeglut_spaceball_android.c \ + android/freeglut_state_android.c \ + android/freeglut_window_android.c \ + android/opengles_stubs.c \ + android/freeglut_internal_android.h +endif + + # # Additional linker flags #