Makefile.psp
author David Ludwig <dludwig@pobox.com>
Sat, 20 Aug 2016 13:46:45 -0400
changeset 10277 29d7289e9055
parent 10065 0cc67477cb1e
permissions -rw-r--r--
WinRT: fixed bug where Win10 GameBar, when shown + hidden, might not restore a cursor's hidden state

The repro steps were this:
1. run an sdl2 winrt/uwp app, on Win10, v10.0.10586.0 or higher
2. hide the cursor, via a call to SDL_ShowCursor(0)
3. make the Win10 game bar appear, by pressing the Windows + G hotkey
4. observe that the mouse cursor appears, in order to interact with the
game bar (this is expected behavior)
5. make the Win10 game bar disappear, either by pressing the Windows + G hotkey
again, or clicking somewhere in the app

EXPECTED RESULT: cursor disappears, as game bar disappears

ACTUAL RESULT: cursor didn't always disappear
kimonline@7009
     1
TARGET_LIB = libSDL2.a
kimonline@7009
     2
OBJS= src/SDL.o \
kimonline@7009
     3
      src/SDL_assert.o \
kimonline@7009
     4
      src/SDL_error.o \
kimonline@7009
     5
      src/SDL_hints.o \
kimonline@7009
     6
      src/SDL_log.o \
kimonline@7009
     7
      src/atomic/SDL_atomic.o \
kimonline@7009
     8
      src/atomic/SDL_spinlock.o \
kimonline@7009
     9
      src/audio/SDL_audio.o \
kimonline@7009
    10
      src/audio/SDL_audiocvt.o \
kimonline@7009
    11
      src/audio/SDL_audiodev.o \
kimonline@7009
    12
      src/audio/SDL_audiotypecvt.o \
kimonline@7009
    13
      src/audio/SDL_mixer.o \
kimonline@7009
    14
      src/audio/SDL_wave.o \
kimonline@7009
    15
      src/audio/psp/SDL_pspaudio.o \
kimonline@7009
    16
      src/cpuinfo/SDL_cpuinfo.o \
kimonline@7009
    17
      src/events/SDL_clipboardevents.o \
kimonline@7009
    18
      src/events/SDL_dropevents.o \
kimonline@7009
    19
      src/events/SDL_events.o \
kimonline@7009
    20
      src/events/SDL_gesture.o \
kimonline@7009
    21
      src/events/SDL_keyboard.o \
kimonline@7009
    22
      src/events/SDL_mouse.o \
kimonline@7009
    23
      src/events/SDL_quit.o \
kimonline@7009
    24
      src/events/SDL_touch.o \
kimonline@7009
    25
      src/events/SDL_windowevents.o \
kimonline@7009
    26
      src/file/SDL_rwops.o \
kimonline@7009
    27
      src/haptic/SDL_haptic.o \
kimonline@7009
    28
      src/haptic/dummy/SDL_syshaptic.o \
kimonline@7009
    29
      src/joystick/SDL_joystick.o \
kimonline@7009
    30
      src/joystick/SDL_gamecontroller.o \
kimonline@7009
    31
      src/joystick/psp/SDL_sysjoystick.o \
kimonline@7009
    32
      src/power/SDL_power.o \
kimonline@7009
    33
      src/power/psp/SDL_syspower.o \
icculus@7667
    34
      src/filesystem/dummy/SDL_sysfilesystem.o \
kimonline@7009
    35
      src/render/SDL_render.o \
kimonline@7009
    36
      src/render/SDL_yuv_sw.o \
kimonline@7009
    37
      src/render/psp/SDL_render_psp.o \
kimonline@7009
    38
      src/render/software/SDL_blendfillrect.o \
kimonline@7009
    39
      src/render/software/SDL_blendline.o \
kimonline@7009
    40
      src/render/software/SDL_blendpoint.o \
kimonline@7009
    41
      src/render/software/SDL_drawline.o \
kimonline@7009
    42
      src/render/software/SDL_drawpoint.o \
kimonline@7009
    43
      src/render/software/SDL_render_sw.o \
kimonline@7009
    44
      src/render/software/SDL_rotate.o \
kimonline@7009
    45
      src/stdlib/SDL_getenv.o \
kimonline@7009
    46
      src/stdlib/SDL_iconv.o \
kimonline@7009
    47
      src/stdlib/SDL_malloc.o \
kimonline@7009
    48
      src/stdlib/SDL_qsort.o \
kimonline@7009
    49
      src/stdlib/SDL_stdlib.o \
kimonline@7009
    50
      src/stdlib/SDL_string.o \
kimonline@7009
    51
      src/thread/SDL_thread.o \
philipp@10065
    52
      src/thread/generic/SDL_systls.o \
kimonline@7009
    53
      src/thread/psp/SDL_syssem.o \
kimonline@7009
    54
      src/thread/psp/SDL_systhread.o \
kimonline@7009
    55
      src/thread/psp/SDL_sysmutex.o \
kimonline@7009
    56
      src/thread/psp/SDL_syscond.o \
kimonline@7009
    57
      src/timer/SDL_timer.o \
kimonline@7009
    58
      src/timer/psp/SDL_systimer.o \
kimonline@7009
    59
      src/video/SDL_RLEaccel.o \
kimonline@7009
    60
      src/video/SDL_blit.o \
kimonline@7009
    61
      src/video/SDL_blit_0.o \
kimonline@7009
    62
      src/video/SDL_blit_1.o \
kimonline@7009
    63
      src/video/SDL_blit_A.o \
kimonline@7009
    64
      src/video/SDL_blit_N.o \
kimonline@7009
    65
      src/video/SDL_blit_auto.o \
kimonline@7009
    66
      src/video/SDL_blit_copy.o \
kimonline@7009
    67
      src/video/SDL_blit_slow.o \
kimonline@7009
    68
      src/video/SDL_bmp.o \
kimonline@7009
    69
      src/video/SDL_clipboard.o \
kimonline@7009
    70
      src/video/SDL_fillrect.o \
kimonline@7009
    71
      src/video/SDL_pixels.o \
kimonline@7009
    72
      src/video/SDL_rect.o \
kimonline@7009
    73
      src/video/SDL_stretch.o \
kimonline@7009
    74
      src/video/SDL_surface.o \
kimonline@7009
    75
      src/video/SDL_video.o \
kimonline@7009
    76
      src/video/psp/SDL_pspevents.o \
kimonline@7009
    77
      src/video/psp/SDL_pspvideo.o \
kimonline@7009
    78
      src/video/psp/SDL_pspgl.o \
kimonline@7009
    79
      src/video/psp/SDL_pspmouse.o \
kimonline@7009
    80
kimonline@7009
    81
INCDIR = ./include
kimonline@7009
    82
CFLAGS = -g -O2 -G0 -Wall -D__PSP__ -DHAVE_OPENGL
kimonline@7009
    83
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
kimonline@7009
    84
ASFLAGS = $(CFLAGS)
kimonline@7009
    85
kimonline@7009
    86
LIBDIR  =
kimonline@7009
    87
LIBS = -lGL -lGLU -lglut -lz \
kimonline@7009
    88
         -lpspvfpu -lpsphprm -lpspsdk -lpspctrl -lpspumd -lpsprtc -lpsppower -lpspgum -lpspgu -lpspaudiolib -lpspaudio -lpsphttp -lpspssl -lpspwlan \
kimonline@7009
    89
         -lpspnet_adhocmatching -lpspnet_adhoc -lpspnet_adhocctl -lm -lpspvram
kimonline@7009
    90
kimonline@7009
    91
PSPSDK=$(shell psp-config --pspsdk-path)
kimonline@7009
    92
include $(PSPSDK)/lib/build.mak
kimonline@7009
    93