upgrade SDL to version 2.0.8
[platform/upstream/SDL.git] / test / Makefile.in
old mode 100644 (file)
new mode 100755 (executable)
index b67a90c..ddb4b6d
@@ -9,41 +9,50 @@ LIBS  = @LIBS@
 
 TARGETS = \
        checkkeys$(EXE) \
+       controllermap$(EXE) \
        loopwave$(EXE) \
        loopwavequeue$(EXE) \
        testatomic$(EXE) \
+       testaudiocapture$(EXE) \
+       testaudiohotplug$(EXE) \
        testaudioinfo$(EXE) \
        testautomation$(EXE) \
+       testbounds$(EXE) \
+       testcustomcursor$(EXE) \
+       testdisplayinfo$(EXE) \
        testdraw2$(EXE) \
        testdrawchessboard$(EXE) \
        testdropfile$(EXE) \
        testerror$(EXE) \
        testfile$(EXE) \
+       testfilesystem$(EXE) \
        testgamecontroller$(EXE) \
        testgesture$(EXE) \
        testgl2$(EXE) \
        testgles$(EXE) \
        testgles2$(EXE) \
+       testhaptic$(EXE) \
        testhittesting$(EXE) \
        testhotplug$(EXE) \
-       testthread$(EXE) \
        testiconv$(EXE) \
        testime$(EXE) \
        testintersections$(EXE) \
-       testrelative$(EXE) \
        testjoystick$(EXE) \
        testkeys$(EXE) \
        testloadso$(EXE) \
        testlock$(EXE) \
+       testmessage$(EXE) \
        testmultiaudio$(EXE) \
-       testaudiohotplug$(EXE) \
        testnative$(EXE) \
        testoverlay2$(EXE) \
        testplatform$(EXE) \
        testpower$(EXE) \
-       testfilesystem$(EXE) \
+       testqsort$(EXE) \
+       testrelative$(EXE) \
+       testrendercopyex$(EXE) \
        testrendertarget$(EXE) \
        testresample$(EXE) \
+       testrumble$(EXE) \
        testscale$(EXE) \
        testsem$(EXE) \
        testshader$(EXE) \
@@ -51,17 +60,16 @@ TARGETS = \
        testsprite2$(EXE) \
        testspriteminimal$(EXE) \
        teststreaming$(EXE) \
+       testthread$(EXE) \
        testtimer$(EXE) \
        testver$(EXE) \
        testviewport$(EXE) \
+       testvulkan$(EXE) \
        testwm2$(EXE) \
+       testyuv$(EXE) \
        torturethread$(EXE) \
-       testrendercopyex$(EXE) \
-       testmessage$(EXE) \
-       testdisplayinfo$(EXE) \
-       controllermap$(EXE) \
        
-all: Makefile $(TARGETS)
+all: Makefile $(TARGETS) copydatafiles
 
 Makefile: $(srcdir)/Makefile.in
        $(SHELL) config.status $@
@@ -108,6 +116,9 @@ testmultiaudio$(EXE): $(srcdir)/testmultiaudio.c
 testaudiohotplug$(EXE): $(srcdir)/testaudiohotplug.c
        $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
 
+testaudiocapture$(EXE): $(srcdir)/testaudiocapture.c
+       $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
+
 testatomic$(EXE): $(srcdir)/testatomic.c
        $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
 
@@ -150,8 +161,12 @@ testgles$(EXE): $(srcdir)/testgles.c
 testgles2$(EXE): $(srcdir)/testgles2.c
        $(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@
 
+testhaptic$(EXE): $(srcdir)/testhaptic.c
+       $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
 testhotplug$(EXE): $(srcdir)/testhotplug.c
        $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
+testrumble$(EXE): $(srcdir)/testrumble.c
+       $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
 
 testthread$(EXE): $(srcdir)/testthread.c
        $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
@@ -202,7 +217,7 @@ endif
 endif
 endif
 
-testoverlay2$(EXE): $(srcdir)/testoverlay2.c
+testoverlay2$(EXE): $(srcdir)/testoverlay2.c $(srcdir)/testyuv_cvt.c
        $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
 
 testplatform$(EXE): $(srcdir)/testplatform.c
@@ -250,6 +265,9 @@ testviewport$(EXE): $(srcdir)/testviewport.c
 testwm2$(EXE): $(srcdir)/testwm2.c
        $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
 
+testyuv$(EXE): $(srcdir)/testyuv.c $(srcdir)/testyuv_cvt.c
+       $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
+
 torturethread$(EXE): $(srcdir)/torturethread.c
        $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
 
@@ -262,9 +280,21 @@ testmessage$(EXE): $(srcdir)/testmessage.c
 testdisplayinfo$(EXE): $(srcdir)/testdisplayinfo.c
        $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
 
+testqsort$(EXE): $(srcdir)/testqsort.c
+       $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
+
+testbounds$(EXE): $(srcdir)/testbounds.c
+       $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
+
+testcustomcursor$(EXE): $(srcdir)/testcustomcursor.c
+       $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
+
 controllermap$(EXE): $(srcdir)/controllermap.c
        $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
 
+testvulkan$(EXE): $(srcdir)/testvulkan.c
+       $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
+
 
 clean:
        rm -f $(TARGETS)
@@ -273,3 +303,20 @@ distclean: clean
        rm -f Makefile
        rm -f config.status config.cache config.log
        rm -rf $(srcdir)/autom4te*
+
+
+%.bmp: $(srcdir)/%.bmp
+       cp $< $@
+
+%.wav: $(srcdir)/%.wav
+       cp $< $@
+
+copydatafiles: copybmpfiles copywavfiles
+.PHONY : copydatafiles
+
+copybmpfiles: $(foreach bmp,$(wildcard $(srcdir)/*.bmp),$(notdir $(bmp)))
+.PHONY : copybmpfiles
+
+copywavfiles: $(foreach wav,$(wildcard $(srcdir)/*.wav),$(notdir $(wav)))
+.PHONY : copywavfiles
+