Edit

kc3-lang/SDL/visualtest/Makefile.in

Branch :

  • Show log

    Commit

  • Author : Edward Rudd
    Date : 2015-02-10 16:28:56
    Hash : b88ca1b4
    Message : the last parameter of XChangeProperty is the number of elements.. and when the element format is 32.. the element is "long" so we have 5 long elements here. Yes this seems confusing as on mac+linux Long is either 32 or 64bits depending on the architecture, but this is how the X11 protocol is defined. Thus 5 is the correct value for the nelts here. Not 5 or 10 depending on the architecture. More info on the confusion https://bugs.freedesktop.org/show_bug.cgi?id=16802

  • 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*