diff options
Diffstat (limited to 'examples/renderer-test/Makefile.am')
-rw-r--r-- | examples/renderer-test/Makefile.am | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/examples/renderer-test/Makefile.am b/examples/renderer-test/Makefile.am index ae0b624..71670a8 100644 --- a/examples/renderer-test/Makefile.am +++ b/examples/renderer-test/Makefile.am @@ -16,8 +16,7 @@ glitz_common_sources = \ glitz.c \ glitz_common.h -INCLUDES = $(GLITZ_INC) $(GLITZ_GLX_CFLAGS) $(GLITZ_EGL_CFLAGS) $(GLITZ_AGL_CFLAGS) \ - $(LIBPNG_CFLAGS) +INCLUDES = $(GLITZ_INC) $(LIBPNG_CFLAGS) if GLITZ_BUILD_GLX_BACKEND noinst_PROGRAMS += rendertest_glitz_glx @@ -26,6 +25,7 @@ rendertest_glitz_glx_SOURCES = \ $(glitz_common_sources) \ glitz_glx.c +INCLUDES += $(GLITZ_GLX_CFLAGS) rendertest_glitz_glx_LDADD = $(GLITZ_GLX_LIBS) $(LIBPNG_LIBS) -lm endif @@ -36,6 +36,7 @@ rendertest_glitz_egl_SOURCES = \ $(glitz_common_sources) \ glitz_egl.c +INCLUDES += $(GLITZ_EGL_CFLAGS) rendertest_glitz_egl_LDADD = $(GLITZ_EGL_LIBS) $(LIBPNG_LIBS) -lm endif @@ -46,7 +47,19 @@ rendertest_glitz_agl_SOURCES = \ $(glitz_common_sources) \ glitz_agl.c +INCLUDES += $(GLITZ_AGL_CFLAGS) rendertest_glitz_agl_LDADD = $(GLITZ_AGL_LIBS) $(CARBON_LIBS) $(LIBPNG_LIBS) -lm endif +if GLITZ_BUILD_CGL_BACKEND +noinst_PROGRAMS += rendertest_glitz_cgl + +rendertest_glitz_cgl_SOURCES = \ + $(glitz_common_sources) \ + glitz_cgl.m + +INCLUDES += $(GLITZ_CGL_CFLAGS) +rendertest_glitz_cgl_LDADD = $(GLITZ_CGL_LIBS) $(LIBPNG_LIBS) -lm +endif + endif |