More jockeying to make things happy with Linux and FreeBSD.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3332 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -108,11 +108,11 @@
|
|||||||
|
|
||||||
<!-- build the native libraries -->
|
<!-- build the native libraries -->
|
||||||
<target name="ncompile" depends="prepare">
|
<target name="ncompile" depends="prepare">
|
||||||
<exec dir="src/java/com/threerings/util/keybd/i686-Linux"
|
<exec dir="src/java/com/threerings/util/keybd/${os.name}"
|
||||||
executable="make"><arg line="install"/></exec>
|
executable="make"><arg line="install"/></exec>
|
||||||
<exec dir="src/java/com/threerings/util/signal/i686-Linux"
|
<exec dir="src/java/com/threerings/util/signal/${os.name}"
|
||||||
executable="make"><arg line="install"/></exec>
|
executable="make"><arg line="install"/></exec>
|
||||||
<exec dir="src/java/com/threerings/util/unsafe/i686-Linux"
|
<exec dir="src/java/com/threerings/util/unsafe/${os.name}"
|
||||||
executable="make"><arg line="install"/></exec>
|
executable="make"><arg line="install"/></exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -15,6 +15,7 @@ MKDIR=mkdir
|
|||||||
ROOT=../../../../../../..
|
ROOT=../../../../../../..
|
||||||
LIBRARIES_PATH=
|
LIBRARIES_PATH=
|
||||||
OSINCDIR!=uname -s | tr 'A-Z' 'a-z'
|
OSINCDIR!=uname -s | tr 'A-Z' 'a-z'
|
||||||
|
INSTALL_PATH=${ROOT}/dist/lib/i386-FreeBSD
|
||||||
|
|
||||||
#
|
#
|
||||||
# Parameter and file definitions
|
# Parameter and file definitions
|
||||||
@@ -28,6 +29,10 @@ TARGET=libsignal.so
|
|||||||
|
|
||||||
all: ${TARGET}
|
all: ${TARGET}
|
||||||
|
|
||||||
|
install: ${TARGET}
|
||||||
|
@${MKDIR} -p ${INSTALL_PATH}
|
||||||
|
cp ${TARGET} ${INSTALL_PATH}
|
||||||
|
|
||||||
${TARGET}: com_threerings_util_signal_SignalManager.c
|
${TARGET}: com_threerings_util_signal_SignalManager.c
|
||||||
@echo "Compiling SignalManager.c"
|
@echo "Compiling SignalManager.c"
|
||||||
@${CC} ${INCLUDES} -c com_threerings_util_signal_SignalManager.c \
|
@${CC} ${INCLUDES} -c com_threerings_util_signal_SignalManager.c \
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ MKDIR=mkdir
|
|||||||
ROOT=../../../../../../..
|
ROOT=../../../../../../..
|
||||||
LIBRARIES_PATH=
|
LIBRARIES_PATH=
|
||||||
OSINCDIR:=$(shell uname -s | tr 'A-Z' 'a-z')
|
OSINCDIR:=$(shell uname -s | tr 'A-Z' 'a-z')
|
||||||
|
INSTALL_PATH=${ROOT}/dist/lib/i686-Linux
|
||||||
|
|
||||||
#
|
#
|
||||||
# Parameter and file definitions
|
# Parameter and file definitions
|
||||||
@@ -28,6 +29,10 @@ TARGET=libsignal.so
|
|||||||
|
|
||||||
all: ${TARGET}
|
all: ${TARGET}
|
||||||
|
|
||||||
|
install: ${TARGET}
|
||||||
|
@${MKDIR} -p ${INSTALL_PATH}
|
||||||
|
cp ${TARGET} ${INSTALL_PATH}
|
||||||
|
|
||||||
${TARGET}: com_threerings_util_signal_SignalManager.c
|
${TARGET}: com_threerings_util_signal_SignalManager.c
|
||||||
@echo "Compiling SignalManager.c"
|
@echo "Compiling SignalManager.c"
|
||||||
@${CC} ${INCLUDES} -c com_threerings_util_signal_SignalManager.c \
|
@${CC} ${INCLUDES} -c com_threerings_util_signal_SignalManager.c \
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user