test/Makefile.in
author Sam Lantinga <slouken@libsdl.org>
Fri, 11 Mar 2011 08:49:20 -0800
changeset 5466 006883d5fa51
parent 5360 220d3af9121f
child 5508 60b63c32f06d
permissions -rw-r--r--
Gamma support is back!

New API functions:
SDL_SetWindowBrightness()
SDL_GetWindowBrightness()
SDL_SetWindowGammaRamp()
SDL_GetWindowGammaRamp()
SDL_CalculateGammaRamp()
     1 # Makefile to build the SDL tests
     2 
     3 srcdir  = @srcdir@
     4 
     5 CC      = @CC@
     6 EXE	= @EXE@
     7 CFLAGS  = @CFLAGS@
     8 LIBS	= @LIBS@
     9 
    10 TARGETS = \
    11 	checkkeys$(EXE) \
    12 	graywin$(EXE) \
    13 	loopwave$(EXE) \
    14 	testalpha$(EXE) \
    15 	testatomic$(EXE) \
    16 	testaudioinfo$(EXE) \
    17 	testbitmap$(EXE) \
    18 	testblitspeed$(EXE) \
    19 	testcursor$(EXE) \
    20 	testdraw2$(EXE) \
    21 	testdyngl$(EXE) \
    22 	testdyngles$(EXE) \
    23 	testerror$(EXE) \
    24 	testfile$(EXE) \
    25 	testfill$(EXE) \
    26 	testgamma$(EXE) \
    27 	testgesture$(EXE) \
    28 	testgl$(EXE) \
    29 	testgl2$(EXE) \
    30 	testgles$(EXE) \
    31 	testhaptic$(EXE) \
    32    testrumble$(EXE) \
    33 	testhread$(EXE) \
    34 	testiconv$(EXE) \
    35 	testime$(EXE) \
    36 	testintersections$(EXE) \
    37 	testjoystick$(EXE) \
    38 	testkeys$(EXE) \
    39 	testloadso$(EXE) \
    40 	testlock$(EXE) \
    41 	testmultiaudio$(EXE) \
    42 	testoverlay$(EXE) \
    43 	testoverlay2$(EXE) \
    44 	testplatform$(EXE) \
    45 	testpower$(EXE) \
    46 	testresample$(EXE) \
    47 	testscale$(EXE) \
    48 	testsem$(EXE) \
    49 	testshader$(EXE) \
    50 	testshape$(EXE) \
    51 	testsprite$(EXE) \
    52 	testsprite2$(EXE) \
    53 	testspriteminimal$(EXE) \
    54 	teststreaming$(EXE) \
    55 	testtimer$(EXE) \
    56 	testver$(EXE) \
    57 	testvidinfo$(EXE) \
    58 	testwin$(EXE) \
    59 	testwm$(EXE) \
    60 	testwm2$(EXE) \
    61 	threadwin$(EXE) \
    62 	torturethread$(EXE) \
    63 
    64 all: Makefile $(TARGETS)
    65 
    66 Makefile: $(srcdir)/Makefile.in
    67 	$(SHELL) config.status $@
    68 
    69 checkkeys$(EXE): $(srcdir)/checkkeys.c
    70 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    71 
    72 graywin$(EXE): $(srcdir)/graywin.c
    73 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    74 
    75 loopwave$(EXE): $(srcdir)/loopwave.c
    76 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    77 
    78 testresample$(EXE): $(srcdir)/testresample.c
    79 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    80 
    81 testaudioinfo$(EXE): $(srcdir)/testaudioinfo.c
    82 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    83 
    84 testmultiaudio$(EXE): $(srcdir)/testmultiaudio.c
    85 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    86 
    87 testalpha$(EXE): $(srcdir)/testalpha.c
    88 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
    89 
    90 testatomic$(EXE): $(srcdir)/testatomic.c
    91 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    92 
    93 testbitmap$(EXE): $(srcdir)/testbitmap.c
    94 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    95 
    96 testblitspeed$(EXE): $(srcdir)/testblitspeed.c
    97 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    98 
    99 testcursor$(EXE): $(srcdir)/testcursor.c
   100 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   101 
   102 testintersections$(EXE): $(srcdir)/testintersections.c $(srcdir)/common.c
   103 	$(CC) -o $@ $(srcdir)/testintersections.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
   104 
   105 testdraw2$(EXE): $(srcdir)/testdraw2.c $(srcdir)/common.c
   106 	$(CC) -o $@ $(srcdir)/testdraw2.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
   107 
   108 testdyngl$(EXE): $(srcdir)/testdyngl.c
   109 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   110 
   111 testdyngles$(EXE): $(srcdir)/testdyngles.c
   112 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   113 
   114 testerror$(EXE): $(srcdir)/testerror.c
   115 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   116 
   117 testfile$(EXE): $(srcdir)/testfile.c
   118 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   119 
   120 testfill$(EXE): $(srcdir)/testfill.c
   121 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   122 
   123 testgamma$(EXE): $(srcdir)/testgamma.c
   124 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   125  
   126 testgesture$(EXE): $(srcdir)/testgesture.c
   127 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   128  
   129 testgl$(EXE): $(srcdir)/testgl.c
   130 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
   131 
   132 testgl2$(EXE): $(srcdir)/testgl2.c $(srcdir)/common.c
   133 	$(CC) -o $@ $(srcdir)/testgl2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
   134 
   135 testgles$(EXE): $(srcdir)/testgles.c $(srcdir)/common.c
   136 	$(CC) -o $@ $(srcdir)/testgles.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
   137 
   138 testhaptic$(EXE): $(srcdir)/testhaptic.c
   139 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   140 
   141 testrumble$(EXE): $(srcdir)/testrumble.c
   142 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   143 
   144 testhread$(EXE): $(srcdir)/testhread.c
   145 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   146 
   147 testiconv$(EXE): $(srcdir)/testiconv.c
   148 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   149 
   150 testime$(EXE): $(srcdir)/testime.c
   151 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @SDL_TTF_LIB@
   152 
   153 testjoystick$(EXE): $(srcdir)/testjoystick.c
   154 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   155 
   156 testkeys$(EXE): $(srcdir)/testkeys.c
   157 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   158 
   159 testloadso$(EXE): $(srcdir)/testloadso.c
   160 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   161 
   162 testlock$(EXE): $(srcdir)/testlock.c
   163 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   164 
   165 testoverlay2$(EXE): $(srcdir)/testoverlay2.c
   166 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   167 
   168 testoverlay$(EXE): $(srcdir)/testoverlay.c
   169 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   170 
   171 testplatform$(EXE): $(srcdir)/testplatform.c
   172 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   173 
   174 testpower$(EXE): $(srcdir)/testpower.c
   175 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   176 
   177 testscale$(EXE): $(srcdir)/testscale.c $(srcdir)/common.c
   178 	$(CC) -o $@ $(srcdir)/testscale.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
   179 
   180 testsem$(EXE): $(srcdir)/testsem.c
   181 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   182 
   183 testshader$(EXE): $(srcdir)/testshader.c
   184 	$(CC) -o $@ $(srcdir)/testshader.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
   185 
   186 testshape$(EXE): $(srcdir)/testshape.c
   187 	$(CC) -o $@ $? -std=c99 $(CFLAGS) $(LIBS)
   188 
   189 testsprite$(EXE): $(srcdir)/testsprite.c
   190 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   191 
   192 testsprite2$(EXE): $(srcdir)/testsprite2.c $(srcdir)/common.c
   193 	$(CC) -o $@ $(srcdir)/testsprite2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @MATHLIB@
   194 
   195 testspriteminimal$(EXE): $(srcdir)/testspriteminimal.c
   196 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   197 
   198 teststreaming$(EXE): $(srcdir)/teststreaming.c
   199 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   200 
   201 testtimer$(EXE): $(srcdir)/testtimer.c
   202 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   203 
   204 testver$(EXE): $(srcdir)/testver.c
   205 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   206 
   207 testvidinfo$(EXE): $(srcdir)/testvidinfo.c
   208 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   209 
   210 testwin$(EXE): $(srcdir)/testwin.c
   211 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   212 
   213 testwm$(EXE): $(srcdir)/testwm.c
   214 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   215 
   216 testwm2$(EXE): $(srcdir)/testwm2.c $(srcdir)/common.c
   217 	$(CC) -o $@ $(srcdir)/testwm2.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
   218 
   219 threadwin$(EXE): $(srcdir)/threadwin.c
   220 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   221 
   222 torturethread$(EXE): $(srcdir)/torturethread.c
   223 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   224 
   225 clean:
   226 	rm -f $(TARGETS)
   227 
   228 distclean: clean
   229 	rm -f Makefile
   230 	rm -f config.status config.cache config.log
   231 	rm -rf $(srcdir)/autom4te*