Mercurial > sdl-ios-xcode
view src/joystick/Makefile.am @ 1123:28ac87a38c17
Date: Fri, 08 Jul 2005 22:43:48 +0200 (CEST)
From: Jiri Svoboda
Subject: [SDL] signal handling bug
I encountered the following bug:
SDL doesn't reset signal handlers for SIGTERM and SIGINT, after calling SDL_Quit these remain hooked to the handler in SDL_quit.c, being translated into SDL_QUIT events.
Consequently an application that issues a SDL_Quit and remains running will ignore any SIGTERM or SIGINT., and specifically CTRL-C presses.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 21 Aug 2005 06:18:54 +0000 |
parents | 550bccdf04bd |
children |
line wrap: on
line source
## Makefile.am for the SDL joystick library noinst_LTLIBRARIES = libjoystick.la # Define which subdirectories need to be built SUBDIRS = @JOYSTICK_SUBDIRS@ DIST_SUBDIRS = dummy amigaos beos bsd darwin dc linux macos mint riscos win32 DRIVERS = @JOYSTICK_DRIVERS@ # Include the architecture-independent sources COMMON_SRCS = \ SDL_joystick.c \ SDL_joystick_c.h \ SDL_sysjoystick.h libjoystick_la_SOURCES = $(COMMON_SRCS) libjoystick_la_LIBADD = $(DRIVERS) libjoystick_la_DEPENDENCIES = $(DRIVERS)