bin_PROGRAMS = \ test_egl \ test_egl_configs \ test_glesv2 \ test_ui \ test_sf \ test_sensors \ test_input \ test_camera \ test_gps if HAS_ANDROID_4_2_0 bin_PROGRAMS += test_hwcomposer endif if HAS_LIBNFC_NXP_HEADERS bin_PROGRAMS += test_nfc endif # Please re-enable your test programs according to android # if HAS_ANDROID_X_Y_Z # bin_PROGRAMS += test_audio # endif test_audio_SOURCES = test_audio.c test_audio_CFLAGS = \ -I$(top_srcdir)/include test_audio_LDADD = \ $(top_builddir)/common/libhybris-common.la \ $(top_builddir)/hardware/libhardware.la test_egl_SOURCES = test_egl.c test_egl_CFLAGS = \ -I$(top_srcdir)/include \ -I$(top_srcdir)/include/android \ -I$(top_srcdir)/egl/platforms/common if WANT_MESA test_egl_CFLAGS += -DLIBHYBRIS_WANTS_MESA_X11_HEADERS endif test_egl_LDADD = \ $(top_builddir)/common/libhybris-common.la \ $(top_builddir)/egl/libEGL.la test_egl_configs_SOURCES = test_egl_configs.c test_egl_configs_CFLAGS = \ -I$(top_srcdir)/include \ -I$(top_srcdir)/include/android test_egl_configs_LDADD = \ $(top_builddir)/common/libhybris-common.la \ $(top_builddir)/egl/libEGL.la test_glesv2_SOURCES = test_glesv2.c test_glesv2_CFLAGS = \ -I$(top_srcdir)/include \ -I$(top_srcdir)/include/android if WANT_MESA test_glesv2_CFLAGS += -DLIBHYBRIS_WANTS_MESA_X11_HEADERS endif test_glesv2_LDADD = \ -lm \ $(top_builddir)/common/libhybris-common.la \ $(top_builddir)/egl/libEGL.la \ $(top_builddir)/glesv2/libGLESv2.la test_hwcomposer_SOURCES = test_hwcomposer.cpp test_hwcomposer_CXXFLAGS = \ -I$(top_srcdir)/include \ -I$(top_srcdir)/include/android \ -I$(top_srcdir)/common \ -I$(top_srcdir)/egl/platforms/common \ -I$(top_srcdir)/egl/platforms/hwcomposer \ -I$(top_srcdir)/libsync if WANT_MESA test_hwcomposer_CXXFLAGS += -DLIBHYBRIS_WANTS_MESA_X11_HEADERS endif test_hwcomposer_LDADD = \ -lm \ $(top_builddir)/common/libhybris-common.la \ $(top_builddir)/egl/platforms/hwcomposer/libhybris-hwcomposerwindow.la \ $(top_builddir)/egl/platforms/common/libhybris-eglplatformcommon.la \ $(top_builddir)/egl/libEGL.la \ $(top_builddir)/glesv2/libGLESv2.la \ $(top_builddir)/libsync/libsync.la \ $(top_builddir)/hardware/libhardware.la test_sensors_SOURCES = test_sensors.c test_sensors_CFLAGS = \ -I$(top_srcdir)/include \ -I$(top_srcdir)/include/android test_sensors_LDADD = \ $(top_builddir)/common/libhybris-common.la \ $(top_builddir)/hardware/libhardware.la test_lights_SOURCES = test_lights.c test_lights_CFLAGS = \ -I$(top_srcdir)/include \ -I$(top_srcdir)/include/android test_lights_LDADD = \ $(top_builddir)/common/libhybris-common.la \ $(top_builddir)/hardware/libhardware.la test_ui_SOURCES = test_ui.c test_ui_CFLAGS = \ -I$(top_srcdir)/include \ -I$(top_srcdir)/include/android test_ui_LDADD = \ $(top_builddir)/common/libhybris-common.la \ $(top_builddir)/ui/libui.la test_sf_SOURCES = test_sf.c test_sf_CFLAGS = \ -I$(top_srcdir)/include \ -I$(top_srcdir)/include/android test_sf_LDADD = \ $(top_builddir)/common/libhybris-common.la \ $(top_builddir)/egl/libEGL.la \ $(top_builddir)/glesv2/libGLESv2.la \ $(top_builddir)/sf/libsf.la test_input_SOURCES = test_input.c test_input_CFLAGS = \ -I$(top_srcdir)/include \ -I$(top_srcdir)/include/android test_input_LDADD = \ $(top_builddir)/common/libhybris-common.la \ $(top_builddir)/input/libis.la test_camera_SOURCES = test_camera.c test_camera_CFLAGS = \ -I$(top_srcdir)/include -I$(top_srcdir)/include/android test_camera_LDADD = \ $(top_builddir)/common/libhybris-common.la \ $(top_builddir)/egl/libEGL.la \ $(top_builddir)/glesv2/libGLESv2.la \ $(top_builddir)/camera/libcamera.la \ $(top_builddir)/input/libis.la test_gps_SOURCES = test_gps.c test_gps_CFLAGS = -pthread \ -I$(top_srcdir)/include \ -I$(top_srcdir)/include/android if HAS_ANDROID_4_2_0 test_gps_CFLAGS += -DHAS_ANDROID_4_2_0 endif test_gps_LDFLAGS = -pthread test_gps_LDADD = \ $(top_builddir)/common/libhybris-common.la \ $(top_builddir)/hardware/libhardware.la test_nfc_SOURCES = test_nfc.c test_nfc_CFLAGS = \ -I$(top_srcdir)/include \ -I$(top_srcdir)/include/android \ -I$(top_srcdir)/include/android/libnfc-nxp test_nfc_LDFLAGS = test_nfc_LDADD = \ $(top_builddir)/libnfc_nxp/libnfc_nxp.la \ $(top_builddir)/hardware/libhardware.la