test/Makefile.in
author Sam Lantinga <slouken@libsdl.org>
Wed, 09 Feb 2011 15:37:07 -0800
changeset 5240 a9eb73f21e3a
parent 5232 74bc160186a8
child 5243 3a8a452b49f0
permissions -rw-r--r--
Added a scaling test program
     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 	testhread$(EXE) \
    33 	testiconv$(EXE) \
    34 	testime$(EXE) \
    35 	testintersections$(EXE) \
    36 	testjoystick$(EXE) \
    37 	testkeys$(EXE) \
    38 	testloadso$(EXE) \
    39 	testlock$(EXE) \
    40 	testmultiaudio$(EXE) \
    41 	testoverlay$(EXE) \
    42 	testoverlay2$(EXE) \
    43 	testplatform$(EXE) \
    44 	testpower$(EXE) \
    45 	testresample$(EXE) \
    46 	testscale$(EXE) \
    47 	testsem$(EXE) \
    48 	testshader$(EXE) \
    49 	testshape$(EXE) \
    50 	testsprite$(EXE) \
    51 	testsprite2$(EXE) \
    52 	testspriteminimal$(EXE) \
    53 	testtimer$(EXE) \
    54 	testver$(EXE) \
    55 	testvidinfo$(EXE) \
    56 	testwin$(EXE) \
    57 	testwm$(EXE) \
    58 	testwm2$(EXE) \
    59 	threadwin$(EXE) \
    60 	torturethread$(EXE) \
    61 
    62 all: Makefile $(TARGETS)
    63 
    64 Makefile: $(srcdir)/Makefile.in
    65 	$(SHELL) config.status $@
    66 
    67 checkkeys$(EXE): $(srcdir)/checkkeys.c
    68 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    69 
    70 graywin$(EXE): $(srcdir)/graywin.c
    71 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    72 
    73 loopwave$(EXE): $(srcdir)/loopwave.c
    74 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    75 
    76 testresample$(EXE): $(srcdir)/testresample.c
    77 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    78 
    79 testaudioinfo$(EXE): $(srcdir)/testaudioinfo.c
    80 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    81 
    82 testmultiaudio$(EXE): $(srcdir)/testmultiaudio.c
    83 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    84 
    85 testpower$(EXE): $(srcdir)/testpower.c
    86 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    87 
    88 testalpha$(EXE): $(srcdir)/testalpha.c
    89 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
    90 
    91 testbitmap$(EXE): $(srcdir)/testbitmap.c
    92 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    93 
    94 testblitspeed$(EXE): $(srcdir)/testblitspeed.c
    95 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    96 
    97 testcursor$(EXE): $(srcdir)/testcursor.c
    98 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    99 
   100 testintersections$(EXE): $(srcdir)/testintersections.c $(srcdir)/common.c
   101 	$(CC) -o $@ $(srcdir)/testintersections.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
   102 
   103 testdraw2$(EXE): $(srcdir)/testdraw2.c $(srcdir)/common.c
   104 	$(CC) -o $@ $(srcdir)/testdraw2.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
   105 
   106 testdyngl$(EXE): $(srcdir)/testdyngl.c
   107 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   108 
   109 testdyngles$(EXE): $(srcdir)/testdyngles.c
   110 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   111 
   112 testerror$(EXE): $(srcdir)/testerror.c
   113 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   114 
   115 testfile$(EXE): $(srcdir)/testfile.c
   116 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   117 
   118 testfill$(EXE): $(srcdir)/testfill.c
   119 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   120 
   121 testgamma$(EXE): $(srcdir)/testgamma.c
   122 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   123 
   124 testgl$(EXE): $(srcdir)/testgl.c
   125 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
   126 
   127 testgl2$(EXE): $(srcdir)/testgl2.c $(srcdir)/common.c
   128 	$(CC) -o $@ $(srcdir)/testgl2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
   129 
   130 testgles$(EXE): $(srcdir)/testgles.c $(srcdir)/common.c
   131 	$(CC) -o $@ $(srcdir)/testgles.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
   132 
   133 testhread$(EXE): $(srcdir)/testhread.c
   134 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   135 
   136 testiconv$(EXE): $(srcdir)/testiconv.c
   137 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   138 
   139 testjoystick$(EXE): $(srcdir)/testjoystick.c
   140 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   141 
   142 testkeys$(EXE): $(srcdir)/testkeys.c
   143 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   144 
   145 testlock$(EXE): $(srcdir)/testlock.c
   146 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   147 
   148 testoverlay2$(EXE): $(srcdir)/testoverlay2.c
   149 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   150 
   151 testoverlay$(EXE): $(srcdir)/testoverlay.c
   152 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   153 
   154 testplatform$(EXE): $(srcdir)/testplatform.c
   155 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   156 
   157 testscale$(EXE): $(srcdir)/testscale.c $(srcdir)/common.c
   158 	$(CC) -o $@ $(srcdir)/testscale.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
   159 
   160 testsem$(EXE): $(srcdir)/testsem.c
   161 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   162 
   163 testshader$(EXE): $(srcdir)/testshader.c
   164 	$(CC) -o $@ $(srcdir)/testshader.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
   165 
   166 testshape$(EXE): $(srcdir)/testshape.c
   167 	$(CC) -o $@ $? -std=c99 $(CFLAGS) $(LIBS)
   168 
   169 testspriteminimal$(EXE): $(srcdir)/testspriteminimal.c
   170 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   171 
   172 testsprite$(EXE): $(srcdir)/testsprite.c
   173 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   174 
   175 testsprite2$(EXE): $(srcdir)/testsprite2.c $(srcdir)/common.c
   176 	$(CC) -o $@ $(srcdir)/testsprite2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @MATHLIB@
   177 
   178 testtimer$(EXE): $(srcdir)/testtimer.c
   179 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   180 
   181 testver$(EXE): $(srcdir)/testver.c
   182 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   183 
   184 testvidinfo$(EXE): $(srcdir)/testvidinfo.c
   185 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   186 
   187 testwin$(EXE): $(srcdir)/testwin.c
   188 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   189 
   190 testwm$(EXE): $(srcdir)/testwm.c
   191 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   192 
   193 testwm2$(EXE): $(srcdir)/testwm2.c $(srcdir)/common.c
   194 	$(CC) -o $@ $(srcdir)/testwm2.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
   195 
   196 threadwin$(EXE): $(srcdir)/threadwin.c
   197 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   198 
   199 torturethread$(EXE): $(srcdir)/torturethread.c
   200 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   201 
   202 testloadso$(EXE): $(srcdir)/testloadso.c
   203 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   204 
   205 testhaptic$(EXE): $(srcdir)/testhaptic.c
   206 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   207 
   208 testatomic$(EXE): $(srcdir)/testatomic.c
   209 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   210 
   211 testgesture$(EXE): $(srcdir)/testgesture.c
   212 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   213  
   214 testime$(EXE): $(srcdir)/testime.c
   215 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @SDL_TTF_LIB@
   216 
   217 clean:
   218 	rm -f $(TARGETS)
   219 
   220 distclean: clean
   221 	rm -f Makefile
   222 	rm -f config.status config.cache config.log
   223 	rm -rf $(srcdir)/autom4te*