Whipped up some native code to allow signals to be caught and handled from

within Java (on Linux anyway). We dig it the most baby!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2360 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-03-31 02:10:04 +00:00
parent 34cd22cc18
commit 5f160cbd3a
5 changed files with 510 additions and 4 deletions
@@ -1,5 +1,5 @@
#
# $Id: Makefile,v 1.4 2003/02/18 23:06:54 ray Exp $
# $Id: Makefile,v 1.5 2003/03/31 02:10:04 mdb Exp $
#
# Executable definitions
@@ -30,10 +30,12 @@ INSTALL_TARGET=${INSTALL_PATH}/${TARGET}
all: ${INSTALL_TARGET}
${INSTALL_TARGET}: com_threerings_util_keybd_Keyboard.c
${CC} ${INCLUDES} -c com_threerings_util_keybd_Keyboard.c \
@echo Compiling Keyboard.c
@${CC} ${INCLUDES} -c com_threerings_util_keybd_Keyboard.c \
-o com_threerings_util_keybd_Keyboard.o
${MKDIR} -p ${INSTALL_PATH}
${CC} -o ${INSTALL_TARGET} com_threerings_util_keybd_Keyboard.o \
@echo Creating libkeybd.so
@${MKDIR} -p ${INSTALL_PATH}
@${CC} -o ${INSTALL_TARGET} com_threerings_util_keybd_Keyboard.o \
${LIBRARIES} ${LIBRARIES_PATH} -shared
clean: