test/Makefile.in
changeset 6256 1d905b13b102
parent 6232 37e8d0736366
child 6311 4e5e46f43438
equal deleted inserted replaced
6255:25bfc0f21c56 6256:1d905b13b102
     7 CFLAGS  = @CFLAGS@
     7 CFLAGS  = @CFLAGS@
     8 LIBS	= @LIBS@
     8 LIBS	= @LIBS@
     9 
     9 
    10 TARGETS = \
    10 TARGETS = \
    11 	checkkeys$(EXE) \
    11 	checkkeys$(EXE) \
    12 	graywin$(EXE) \
       
    13 	loopwave$(EXE) \
    12 	loopwave$(EXE) \
    14 	testalpha$(EXE) \
       
    15 	testatomic$(EXE) \
       
    16 	testaudioinfo$(EXE) \
       
    17 	testbitmap$(EXE) \
       
    18 	testblitspeed$(EXE) \
       
    19 	testcursor$(EXE) \
       
    20 	testdraw2$(EXE) \
    13 	testdraw2$(EXE) \
    21 	testdyngl$(EXE) \
       
    22 	testdyngles$(EXE) \
       
    23 	testerror$(EXE) \
    14 	testerror$(EXE) \
    24 	testfile$(EXE) \
    15 	testfile$(EXE) \
    25 	testfill$(EXE) \
       
    26 	testgamma$(EXE) \
       
    27 	testgesture$(EXE) \
    16 	testgesture$(EXE) \
    28 	testgl$(EXE) \
       
    29 	testgl2$(EXE) \
    17 	testgl2$(EXE) \
    30 	testgles$(EXE) \
    18 	testgles$(EXE) \
    31 	testhaptic$(EXE) \
    19 	testhaptic$(EXE) \
    32 	testrumble$(EXE) \
    20 	testrumble$(EXE) \
    33 	testthread$(EXE) \
    21 	testthread$(EXE) \
    38 	testkeys$(EXE) \
    26 	testkeys$(EXE) \
    39 	testloadso$(EXE) \
    27 	testloadso$(EXE) \
    40 	testlock$(EXE) \
    28 	testlock$(EXE) \
    41 	testmultiaudio$(EXE) \
    29 	testmultiaudio$(EXE) \
    42 	testnative$(EXE) \
    30 	testnative$(EXE) \
    43 	testoverlay$(EXE) \
       
    44 	testoverlay2$(EXE) \
    31 	testoverlay2$(EXE) \
    45 	testplatform$(EXE) \
    32 	testplatform$(EXE) \
    46 	testpower$(EXE) \
    33 	testpower$(EXE) \
    47 	testrendertarget$(EXE) \
    34 	testrendertarget$(EXE) \
    48 	testresample$(EXE) \
    35 	testresample$(EXE) \
    49 	testscale$(EXE) \
    36 	testscale$(EXE) \
    50 	testsem$(EXE) \
    37 	testsem$(EXE) \
    51 	testshader$(EXE) \
    38 	testshader$(EXE) \
    52 	testshape$(EXE) \
    39 	testshape$(EXE) \
    53 	testsprite$(EXE) \
       
    54 	testsprite2$(EXE) \
    40 	testsprite2$(EXE) \
    55 	testspriteminimal$(EXE) \
    41 	testspriteminimal$(EXE) \
    56 	teststreaming$(EXE) \
    42 	teststreaming$(EXE) \
    57 	testtimer$(EXE) \
    43 	testtimer$(EXE) \
    58 	testver$(EXE) \
    44 	testver$(EXE) \
    59 	testvidinfo$(EXE) \
       
    60 	testwin$(EXE) \
       
    61 	testwm$(EXE) \
       
    62 	testwm2$(EXE) \
    45 	testwm2$(EXE) \
    63 	threadwin$(EXE) \
       
    64 	torturethread$(EXE) \
    46 	torturethread$(EXE) \
    65 
    47 
    66 all: Makefile $(TARGETS)
    48 all: Makefile $(TARGETS)
    67 
    49 
    68 Makefile: $(srcdir)/Makefile.in
    50 Makefile: $(srcdir)/Makefile.in
    69 	$(SHELL) config.status $@
    51 	$(SHELL) config.status $@
    70 
    52 
    71 checkkeys$(EXE): $(srcdir)/checkkeys.c
    53 checkkeys$(EXE): $(srcdir)/checkkeys.c
    72 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
       
    73 
       
    74 graywin$(EXE): $(srcdir)/graywin.c
       
    75 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    54 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    76 
    55 
    77 loopwave$(EXE): $(srcdir)/loopwave.c
    56 loopwave$(EXE): $(srcdir)/loopwave.c
    78 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    57 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    79 
    58 
    84 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    63 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    85 
    64 
    86 testmultiaudio$(EXE): $(srcdir)/testmultiaudio.c
    65 testmultiaudio$(EXE): $(srcdir)/testmultiaudio.c
    87 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    66 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    88 
    67 
    89 testalpha$(EXE): $(srcdir)/testalpha.c
       
    90 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
       
    91 
       
    92 testatomic$(EXE): $(srcdir)/testatomic.c
    68 testatomic$(EXE): $(srcdir)/testatomic.c
    93 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
       
    94 
       
    95 testbitmap$(EXE): $(srcdir)/testbitmap.c
       
    96 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
       
    97 
       
    98 testblitspeed$(EXE): $(srcdir)/testblitspeed.c
       
    99 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
       
   100 
       
   101 testcursor$(EXE): $(srcdir)/testcursor.c
       
   102 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    69 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   103 
    70 
   104 testintersections$(EXE): $(srcdir)/testintersections.c $(srcdir)/common.c
    71 testintersections$(EXE): $(srcdir)/testintersections.c $(srcdir)/common.c
   105 	$(CC) -o $@ $(srcdir)/testintersections.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
    72 	$(CC) -o $@ $(srcdir)/testintersections.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
   106 
    73 
   107 testdraw2$(EXE): $(srcdir)/testdraw2.c $(srcdir)/common.c
    74 testdraw2$(EXE): $(srcdir)/testdraw2.c $(srcdir)/common.c
   108 	$(CC) -o $@ $(srcdir)/testdraw2.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
    75 	$(CC) -o $@ $(srcdir)/testdraw2.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
   109 
    76 
   110 testdyngl$(EXE): $(srcdir)/testdyngl.c
       
   111 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
       
   112 
       
   113 testdyngles$(EXE): $(srcdir)/testdyngles.c
       
   114 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
       
   115 
       
   116 testerror$(EXE): $(srcdir)/testerror.c
    77 testerror$(EXE): $(srcdir)/testerror.c
   117 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    78 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   118 
    79 
   119 testfile$(EXE): $(srcdir)/testfile.c
    80 testfile$(EXE): $(srcdir)/testfile.c
   120 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    81 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   121 
    82 
   122 testfill$(EXE): $(srcdir)/testfill.c
       
   123 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
       
   124 
       
   125 testgamma$(EXE): $(srcdir)/testgamma.c
       
   126 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
       
   127  
       
   128 testgesture$(EXE): $(srcdir)/testgesture.c
    83 testgesture$(EXE): $(srcdir)/testgesture.c
   129 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
    84 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   130  
    85  
   131 testgl$(EXE): $(srcdir)/testgl.c
       
   132 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
       
   133 
       
   134 testgl2$(EXE): $(srcdir)/testgl2.c $(srcdir)/common.c
    86 testgl2$(EXE): $(srcdir)/testgl2.c $(srcdir)/common.c
   135 	$(CC) -o $@ $(srcdir)/testgl2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
    87 	$(CC) -o $@ $(srcdir)/testgl2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
   136 
    88 
   137 testgles$(EXE): $(srcdir)/testgles.c $(srcdir)/common.c
    89 testgles$(EXE): $(srcdir)/testgles.c $(srcdir)/common.c
   138 	$(CC) -o $@ $(srcdir)/testgles.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
    90 	$(CC) -o $@ $(srcdir)/testgles.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
   171 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) -L/usr/X11/lib -lX11 -framework Cocoa
   123 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) -L/usr/X11/lib -lX11 -framework Cocoa
   172 
   124 
   173 testoverlay2$(EXE): $(srcdir)/testoverlay2.c
   125 testoverlay2$(EXE): $(srcdir)/testoverlay2.c
   174 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   126 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   175 
   127 
   176 testoverlay$(EXE): $(srcdir)/testoverlay.c
       
   177 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
       
   178 
       
   179 testplatform$(EXE): $(srcdir)/testplatform.c
   128 testplatform$(EXE): $(srcdir)/testplatform.c
   180 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   129 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   181 
   130 
   182 testpower$(EXE): $(srcdir)/testpower.c
   131 testpower$(EXE): $(srcdir)/testpower.c
   183 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   132 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   195 	$(CC) -o $@ $(srcdir)/testshader.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
   144 	$(CC) -o $@ $(srcdir)/testshader.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
   196 
   145 
   197 testshape$(EXE): $(srcdir)/testshape.c
   146 testshape$(EXE): $(srcdir)/testshape.c
   198 	$(CC) -o $@ $? -std=c99 $(CFLAGS) $(LIBS)
   147 	$(CC) -o $@ $? -std=c99 $(CFLAGS) $(LIBS)
   199 
   148 
   200 testsprite$(EXE): $(srcdir)/testsprite.c
       
   201 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
       
   202 
       
   203 testsprite2$(EXE): $(srcdir)/testsprite2.c $(srcdir)/common.c
   149 testsprite2$(EXE): $(srcdir)/testsprite2.c $(srcdir)/common.c
   204 	$(CC) -o $@ $(srcdir)/testsprite2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @MATHLIB@
   150 	$(CC) -o $@ $(srcdir)/testsprite2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @MATHLIB@
   205 
   151 
   206 testspriteminimal$(EXE): $(srcdir)/testspriteminimal.c
   152 testspriteminimal$(EXE): $(srcdir)/testspriteminimal.c
   207 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   153 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   213 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   159 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   214 
   160 
   215 testver$(EXE): $(srcdir)/testver.c
   161 testver$(EXE): $(srcdir)/testver.c
   216 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   162 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   217 
   163 
   218 testvidinfo$(EXE): $(srcdir)/testvidinfo.c
       
   219 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
       
   220 
       
   221 testwin$(EXE): $(srcdir)/testwin.c
       
   222 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
       
   223 
       
   224 testwm$(EXE): $(srcdir)/testwm.c
       
   225 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
       
   226 
       
   227 testwm2$(EXE): $(srcdir)/testwm2.c $(srcdir)/common.c
   164 testwm2$(EXE): $(srcdir)/testwm2.c $(srcdir)/common.c
   228 	$(CC) -o $@ $(srcdir)/testwm2.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
   165 	$(CC) -o $@ $(srcdir)/testwm2.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
   229 
       
   230 threadwin$(EXE): $(srcdir)/threadwin.c
       
   231 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
       
   232 
   166 
   233 torturethread$(EXE): $(srcdir)/torturethread.c
   167 torturethread$(EXE): $(srcdir)/torturethread.c
   234 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   168 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   235 
   169 
   236 clean:
   170 clean: