From 870338a9d303245cef61dcbb91c96654d2fe9582 Mon Sep 17 00:00:00 2001 From: Eric Heien Date: Wed, 13 Nov 2002 18:13:46 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=609 --- api/x_opengl.C | 3 +++ apps/Makefile.in | 16 ++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/api/x_opengl.C b/api/x_opengl.C index aee427e084..bc9ea93bd4 100644 --- a/api/x_opengl.C +++ b/api/x_opengl.C @@ -1,6 +1,7 @@ #include "x_opengl.h" #include +#ifdef HAVE_GL #include #include #include @@ -132,3 +133,5 @@ GLvoid buildFont(GLvoid) XFreeFont(dpy, font); } +#endif + diff --git a/apps/Makefile.in b/apps/Makefile.in index 79771d8250..c167586577 100644 --- a/apps/Makefile.in +++ b/apps/Makefile.in @@ -28,14 +28,14 @@ APPS = upper_case concat 1sec $(CC) -c -o $*.o $< .c.o: $(CC) -c -o $*.o $< -upper_case.x11.o: - $(CC) -DBOINC_APP_GRAPHICS -c -o $*.o upper_case.C -../api/x_opengl.x11.o: - $(CC) -DBOINC_APP_GRAPHICS -c -o $*.o ../api/x_opengl.C -../api/boinc_api.x11.o: - $(CC) -DBOINC_APP_GRAPHICS -c -o $*.o ../api/boinc_api.C -../api/graphics_api.x11.o: - $(CC) -DBOINC_APP_GRAPHICS -c -o $*.o ../api/graphics_api.C +#upper_case.x11.o: +# $(CC) -DBOINC_APP_GRAPHICS -c -o $*.o upper_case.C +#../api/x_opengl.x11.o: +# $(CC) -DBOINC_APP_GRAPHICS -c -o $*.o ../api/x_opengl.C +#../api/boinc_api.x11.o: +# $(CC) -DBOINC_APP_GRAPHICS -c -o $*.o ../api/boinc_api.C +#../api/graphics_api.x11.o: +# $(CC) -DBOINC_APP_GRAPHICS -c -o $*.o ../api/graphics_api.C all: $(APPS)