Build the library in our local directory, which we can check in, and
install from there using the install target. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3152 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# $Id: Makefile,v 1.5 2003/03/31 02:10:04 mdb Exp $
|
# $Id: Makefile,v 1.6 2004/10/20 03:28:48 mdb Exp $
|
||||||
|
|
||||||
#
|
#
|
||||||
# Executable definitions
|
# Executable definitions
|
||||||
@@ -22,22 +22,24 @@ INSTALL_PATH=${ROOT}/dist/lib/i686-Linux
|
|||||||
INCLUDES=-I.. -I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux
|
INCLUDES=-I.. -I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux
|
||||||
LIBRARIES=-lX11
|
LIBRARIES=-lX11
|
||||||
TARGET=libkeybd.so
|
TARGET=libkeybd.so
|
||||||
INSTALL_TARGET=${INSTALL_PATH}/${TARGET}
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Target definitions
|
# Target definitions
|
||||||
|
|
||||||
all: ${INSTALL_TARGET}
|
all: ${TARGET}
|
||||||
|
|
||||||
${INSTALL_TARGET}: com_threerings_util_keybd_Keyboard.c
|
install: ${TARGET}
|
||||||
|
@${MKDIR} -p ${INSTALL_PATH}
|
||||||
|
cp ${TARGET} ${INSTALL_PATH}
|
||||||
|
|
||||||
|
${TARGET}: com_threerings_util_keybd_Keyboard.c
|
||||||
@echo Compiling Keyboard.c
|
@echo Compiling Keyboard.c
|
||||||
@${CC} ${INCLUDES} -c com_threerings_util_keybd_Keyboard.c \
|
@${CC} ${INCLUDES} -c com_threerings_util_keybd_Keyboard.c \
|
||||||
-o com_threerings_util_keybd_Keyboard.o
|
-o com_threerings_util_keybd_Keyboard.o
|
||||||
@echo Creating libkeybd.so
|
@echo Creating libkeybd.so
|
||||||
@${MKDIR} -p ${INSTALL_PATH}
|
@${CC} -o ${TARGET} com_threerings_util_keybd_Keyboard.o \
|
||||||
@${CC} -o ${INSTALL_TARGET} com_threerings_util_keybd_Keyboard.o \
|
|
||||||
${LIBRARIES} ${LIBRARIES_PATH} -shared
|
${LIBRARIES} ${LIBRARIES_PATH} -shared
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-${RM} *.o
|
-${RM} *.o
|
||||||
-${RM} ${INSTALL_TARGET}
|
-${RM} ${TARGET}
|
||||||
|
|||||||
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# $Id: Makefile,v 1.1 2003/03/31 02:10:04 mdb Exp $
|
# $Id: Makefile,v 1.2 2004/10/20 03:30:20 mdb Exp $
|
||||||
|
|
||||||
#
|
#
|
||||||
# Executable definitions
|
# Executable definitions
|
||||||
@@ -22,22 +22,23 @@ INSTALL_PATH=${ROOT}/dist/lib/i686-Linux
|
|||||||
INCLUDES=-I.. -I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux
|
INCLUDES=-I.. -I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux
|
||||||
LIBRARIES=
|
LIBRARIES=
|
||||||
TARGET=libsignal.so
|
TARGET=libsignal.so
|
||||||
INSTALL_TARGET=${INSTALL_PATH}/${TARGET}
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Target definitions
|
# Target definitions
|
||||||
|
|
||||||
all: ${INSTALL_TARGET}
|
all: ${TARGET}
|
||||||
|
|
||||||
${INSTALL_TARGET}: com_threerings_util_signal_SignalManager.c
|
install: ${TARGET}
|
||||||
|
@${MKDIR} -p ${INSTALL_PATH}
|
||||||
|
cp ${TARGET} ${INSTALL_PATH}
|
||||||
|
|
||||||
|
${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 \
|
||||||
-o com_threerings_util_signal_SignalManager.o
|
-o com_threerings_util_signal_SignalManager.o
|
||||||
@echo Creating libsignal.so
|
@echo Creating libsignal.so
|
||||||
@${MKDIR} -p ${INSTALL_PATH}
|
@${CC} -o ${TARGET} com_threerings_util_signal_SignalManager.o \
|
||||||
@${CC} -o ${INSTALL_TARGET} com_threerings_util_signal_SignalManager.o \
|
|
||||||
${LIBRARIES} ${LIBRARIES_PATH} -shared
|
${LIBRARIES} ${LIBRARIES_PATH} -shared
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-${RM} *.o
|
-${RM} -f *.o ${TARGET}
|
||||||
-${RM} ${INSTALL_TARGET}
|
|
||||||
|
|||||||
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# $Id: Makefile,v 1.1 2003/05/08 21:25:20 mdb Exp $
|
# $Id: Makefile,v 1.2 2004/10/20 03:27:22 mdb Exp $
|
||||||
|
|
||||||
#
|
#
|
||||||
# Executable definitions
|
# Executable definitions
|
||||||
@@ -22,22 +22,24 @@ INSTALL_PATH=${ROOT}/dist/lib/i686-Linux
|
|||||||
INCLUDES=-I.. -I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux
|
INCLUDES=-I.. -I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux
|
||||||
LIBRARIES=-lX11
|
LIBRARIES=-lX11
|
||||||
TARGET=libunsafe.so
|
TARGET=libunsafe.so
|
||||||
INSTALL_TARGET=${INSTALL_PATH}/${TARGET}
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Target definitions
|
# Target definitions
|
||||||
|
|
||||||
all: ${INSTALL_TARGET}
|
all: ${TARGET}
|
||||||
|
|
||||||
${INSTALL_TARGET}: com_threerings_util_unsafe_Unsafe.c
|
install: ${TARGET}
|
||||||
|
@${MKDIR} -p ${INSTALL_PATH}
|
||||||
|
cp ${TARGET} ${INSTALL_PATH}
|
||||||
|
|
||||||
|
${TARGET}: com_threerings_util_unsafe_Unsafe.c
|
||||||
@echo Compiling Unsafe.c
|
@echo Compiling Unsafe.c
|
||||||
@${CC} ${INCLUDES} -c com_threerings_util_unsafe_Unsafe.c \
|
@${CC} ${INCLUDES} -c com_threerings_util_unsafe_Unsafe.c \
|
||||||
-o com_threerings_util_unsafe_Unsafe.o
|
-o com_threerings_util_unsafe_Unsafe.o
|
||||||
@echo Creating ${TARGET}
|
@echo Creating ${TARGET}
|
||||||
@${MKDIR} -p ${INSTALL_PATH}
|
@${CC} -o ${TARGET} com_threerings_util_unsafe_Unsafe.o \
|
||||||
@${CC} -o ${INSTALL_TARGET} com_threerings_util_unsafe_Unsafe.o \
|
|
||||||
${LIBRARIES} ${LIBRARIES_PATH} -shared
|
${LIBRARIES} ${LIBRARIES_PATH} -shared
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-${RM} *.o
|
-${RM} *.o
|
||||||
-${RM} ${INSTALL_TARGET}
|
-${RM} ${TARGET}
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user