Edit

kc3-lang/SDL/visualtest/Makefile.in

Branch :

  • Show log

    Commit

  • Author : Philipp Wiesemann
    Date : 2015-06-21 17:33:46
    Hash : 0e45984f
    Message : Fixed crash if initialization of EGL failed but was tried again later. The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly uninitialized data structure if loading the library first failed. A later try to use EGL then skipped initialization and assumed it was previously successful because the data structure now already existed. This led to at least one crash in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was dereferenced to make a call to eglBindAPI().

  • visualtest/Makefile.in
  • # Makefile to build the SDL tests
    srcdir  = @srcdir@
    CC      = @CC@
    EXE	= @EXE@
    CFLAGS  = @CFLAGS@ -I../include -I./include
    LIBS	= @LIBS@
    TARGETS = \
    	testharness$(EXE) \
    	testquit$(EXE)
    all: Makefile $(TARGETS)
    Makefile: $(srcdir)/Makefile.in
    	$(SHELL) config.status $@
    testharness$(EXE): $(srcdir)/src/action_configparser.c \
    		   $(srcdir)/src/harness_argparser.c \
    		   $(srcdir)/src/rwhelper.c \
    		   $(srcdir)/src/testharness.c \
    		   $(srcdir)/src/variator_exhaustive.c \
    		   $(srcdir)/src/variators.c \
    		   $(srcdir)/src/screenshot.c \
    		   $(srcdir)/src/harness_argparser.c \
    		   $(srcdir)/src/sut_configparser.c \
    		   $(srcdir)/src/variator_common.c \
    		   $(srcdir)/src/variator_random.c \
    		   $(srcdir)/src/parsehelper.c \
    		   $(srcdir)/src/mischelper.c \
    		   $(srcdir)/src/linux/linux_process.c \
    		   $(srcdir)/src/windows/windows_process.c \
    		   $(srcdir)/src/windows/windows_screenshot.c
    	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    testquit$(EXE): $(srcdir)/unittest/testquit.c
    	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    clean:
    	rm -f $(TARGETS)
    distclean: clean
    	rm -f Makefile
    	rm -f config.status config.cache config.log
    	rm -rf $(srcdir)/autom4te*