Revamped things to work in multiple flavors of Joonix.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3327 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Binary file not shown.
+10
-5
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# $Id: Makefile,v 1.2 2004/10/20 03:30:20 mdb Exp $
|
||||
# $Id$
|
||||
|
||||
#
|
||||
# Executable definitions
|
||||
@@ -14,14 +14,18 @@ MKDIR=mkdir
|
||||
|
||||
ROOT=../../../../../../..
|
||||
LIBRARIES_PATH=
|
||||
INSTALL_PATH=${ROOT}/dist/lib/i686-Linux
|
||||
ARCH!=uname -p
|
||||
OS!=uname -s
|
||||
OSINCDIR!=uname -s | tr 'A-Z' 'a-z'
|
||||
OSDIR=${ARCH}-${OS}
|
||||
INSTALL_PATH=${ROOT}/dist/lib/${OSDIR}
|
||||
|
||||
#
|
||||
# Parameter and file definitions
|
||||
|
||||
INCLUDES=-I.. -I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux
|
||||
INCLUDES=-I.. -I${JAVA_HOME}/include -I${JAVA_HOME}/include/${OSINCDIR}
|
||||
LIBRARIES=
|
||||
TARGET=libsignal.so
|
||||
TARGET=${OSDIR}/libsignal.so
|
||||
|
||||
#
|
||||
# Target definitions
|
||||
@@ -33,7 +37,8 @@ install: ${TARGET}
|
||||
cp ${TARGET} ${INSTALL_PATH}
|
||||
|
||||
${TARGET}: com_threerings_util_signal_SignalManager.c
|
||||
@echo Compiling SignalManager.c
|
||||
@echo "Compiling SignalManager.c
|
||||
@mkdir -p ${OSDIR}
|
||||
@${CC} ${INCLUDES} -c com_threerings_util_signal_SignalManager.c \
|
||||
-o com_threerings_util_signal_SignalManager.o
|
||||
@echo Creating libsignal.so
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* $Id: com_threerings_util_signal_SignalManager.c,v 1.1 2003/03/31 02:10:04 mdb Exp $
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <signal.h>
|
||||
Binary file not shown.
Reference in New Issue
Block a user