comparison test/Makefile.in @ 3087:0b6f51c29267

Date: Wed, 4 Mar 2009 15:38:22 +0200 From: "Mike Gorchak" Subject: Re: About QNX support in SDL 1.3 Here is another batch of patches. 1) Makefile.in - added SDL_opengles.h header as header to install. 2) configure.in - Added special define to detect Common Lite OpenGL ES library in case if Common library is not installed. Added check for clock_gettime in libc (in QNX it is in libc). 3) SDL_config.h.in - Added SDL_VIDEO_RENDER_OPENGL_ES and SDL_VIDEO_OPENGL_ES declarations for configure script autodetection. 4) SDL_opengles.h - Added GL_API definition if it is not defined. Added extension GL_OES_draw_texture because OpenGL ES Renderer uses it without declaration. Added GL_OES_vertex_buffer_object extension, which is supported under QNX OpenGL ES. Added GL_OES_single_precision extension. 5) To the test directory I've added building OpenGL ES test applications through the autotools suite. Was support for iPhone IDE building only.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 04 Mar 2009 15:10:47 +0000
parents 3272431eeee2
children 009bd8f81947 b7a48f533966
comparison
equal deleted inserted replaced
3086:0102ed19c21a 3087:0b6f51c29267
5 CC = @CC@ 5 CC = @CC@
6 EXE = @EXE@ 6 EXE = @EXE@
7 CFLAGS = @CFLAGS@ 7 CFLAGS = @CFLAGS@
8 LIBS = @LIBS@ 8 LIBS = @LIBS@
9 9
10 TARGETS = checkkeys$(EXE) graywin$(EXE) loopwave$(EXE) testresample$(EXE) testaudioinfo$(EXE) testmultiaudio$(EXE) testalpha$(EXE) testbitmap$(EXE) testblitspeed$(EXE) testcdrom$(EXE) testcursor$(EXE) testintersections$(EXE) testdraw2$(EXE) testdyngl$(EXE) testerror$(EXE) testfile$(EXE) testgamma$(EXE) testgl$(EXE) testgl2$(EXE) testhread$(EXE) testiconv$(EXE) testjoystick$(EXE) testkeys$(EXE) testlock$(EXE) testoverlay2$(EXE) testoverlay$(EXE) testpalette$(EXE) testplatform$(EXE) testsem$(EXE) testsprite$(EXE) testsprite2$(EXE) testtimer$(EXE) testver$(EXE) testvidinfo$(EXE) testwin$(EXE) testwm$(EXE) testwm2$(EXE) threadwin$(EXE) torturethread$(EXE) testloadso$(EXE) testhaptic$(EXE) testmmousetablet$(EXE) 10 TARGETS = checkkeys$(EXE) graywin$(EXE) loopwave$(EXE) testresample$(EXE) testaudioinfo$(EXE) testmultiaudio$(EXE) testalpha$(EXE) testbitmap$(EXE) testblitspeed$(EXE) testcdrom$(EXE) testcursor$(EXE) testintersections$(EXE) testdraw2$(EXE) testdyngl$(EXE) testdyngles$(EXE) testerror$(EXE) testfile$(EXE) testgamma$(EXE) testgl$(EXE) testgl2$(EXE) testgles$(EXE) testhread$(EXE) testiconv$(EXE) testjoystick$(EXE) testkeys$(EXE) testlock$(EXE) testoverlay2$(EXE) testoverlay$(EXE) testpalette$(EXE) testplatform$(EXE) testsem$(EXE) testsprite$(EXE) testsprite2$(EXE) testtimer$(EXE) testver$(EXE) testvidinfo$(EXE) testwin$(EXE) testwm$(EXE) testwm2$(EXE) threadwin$(EXE) torturethread$(EXE) testloadso$(EXE) testhaptic$(EXE) testmmousetablet$(EXE)
11 11
12 all: Makefile $(TARGETS) 12 all: Makefile $(TARGETS)
13 13
14 Makefile: $(srcdir)/Makefile.in 14 Makefile: $(srcdir)/Makefile.in
15 $(SHELL) config.status $@ 15 $(SHELL) config.status $@
54 $(CC) -o $@ $(srcdir)/testdraw2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) 54 $(CC) -o $@ $(srcdir)/testdraw2.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
55 55
56 testdyngl$(EXE): $(srcdir)/testdyngl.c 56 testdyngl$(EXE): $(srcdir)/testdyngl.c
57 $(CC) -o $@ $? $(CFLAGS) $(LIBS) 57 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
58 58
59 testdyngles$(EXE): $(srcdir)/testdyngles.c
60 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
61
59 testerror$(EXE): $(srcdir)/testerror.c 62 testerror$(EXE): $(srcdir)/testerror.c
60 $(CC) -o $@ $? $(CFLAGS) $(LIBS) 63 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
61 64
62 testfile$(EXE): $(srcdir)/testfile.c 65 testfile$(EXE): $(srcdir)/testfile.c
63 $(CC) -o $@ $? $(CFLAGS) $(LIBS) 66 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
68 testgl$(EXE): $(srcdir)/testgl.c 71 testgl$(EXE): $(srcdir)/testgl.c
69 $(CC) -o $@ $? $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@ 72 $(CC) -o $@ $? $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
70 73
71 testgl2$(EXE): $(srcdir)/testgl2.c $(srcdir)/common.c 74 testgl2$(EXE): $(srcdir)/testgl2.c $(srcdir)/common.c
72 $(CC) -o $@ $(srcdir)/testgl2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@ 75 $(CC) -o $@ $(srcdir)/testgl2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
76
77 testgles$(EXE): $(srcdir)/testgles.c $(srcdir)/common.c
78 $(CC) -o $@ $(srcdir)/testgles.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
73 79
74 testhread$(EXE): $(srcdir)/testhread.c 80 testhread$(EXE): $(srcdir)/testhread.c
75 $(CC) -o $@ $? $(CFLAGS) $(LIBS) 81 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
76 82
77 testiconv$(EXE): $(srcdir)/testiconv.c 83 testiconv$(EXE): $(srcdir)/testiconv.c