version 1.11, 2003/11/16 07:14:11 |
version 1.14, 2004/01/30 20:48:34 |
|
|
# $OpenXM: OpenXM/src/util/Makefile,v 1.10 2003/11/14 02:58:20 ohara Exp $ |
# $OpenXM: OpenXM/src/util/Makefile,v 1.13 2003/12/01 11:21:09 takayama Exp $ |
OpenXM_ROOT=../../../OpenXM |
OpenXM_ROOT=../../../OpenXM |
OpenXM_bin=$(OpenXM_ROOT)/bin |
OpenXM_bin=$(OpenXM_ROOT)/bin |
OpenXM_lib=$(OpenXM_ROOT)/lib |
OpenXM_lib=$(OpenXM_ROOT)/lib |
Line 9 all : oxweave oxreplace libox_pathfinder.a |
|
Line 9 all : oxweave oxreplace libox_pathfinder.a |
|
|
|
oxweave : oxweave.c |
oxweave : oxweave.c |
gcc -D_BSD_SOURCE -o oxweave -g oxweave.c |
gcc -D_BSD_SOURCE -o oxweave -g oxweave.c |
|
rm -f .install_done |
oxreplace : oxreplace.c |
oxreplace : oxreplace.c |
gcc -D_BSD_SOURCE -o oxreplace -g oxreplace.c |
gcc -D_BSD_SOURCE -o oxreplace -g oxreplace.c |
|
rm -f .install_done |
libox_pathfinder.a : ox_pathfinder.o |
libox_pathfinder.a : ox_pathfinder.o |
ar ru libox_pathfinder.a ox_pathfinder.o |
ar ru libox_pathfinder.a ox_pathfinder.o |
|
rm -f .install_done |
ox_pathfinder.o : ox_pathfinder.c ox_pathfinder.h |
ox_pathfinder.o : ox_pathfinder.c ox_pathfinder.h |
$(CC) -D_BSD_SOURCE -D_POSIX_C_SOURCE -c ox_pathfinder.c |
$(CC) -D_BSD_SOURCE -D_POSIX_C_SOURCE -c ox_pathfinder.c |
|
|
Line 21 test: ox_pathfinder.o test.c |
|
Line 24 test: ox_pathfinder.o test.c |
|
|
|
install: all |
install: all |
@if [ ! -f ./.install_done ] ; then \ |
@if [ ! -f ./.install_done ] ; then \ |
echo "Installing oxweave, oxreplace, libox_pathfinder.a, ox_pathfinder.h" ; \ |
echo "Installing oxweave, oxreplace, libox_pathfinder.a, ox_pathfinder.h oxfetch.sh" ; \ |
install oxweave oxreplace ${OpenXM_bin} ; \ |
install -c -s oxweave oxreplace ${OpenXM_bin} ; \ |
install oxweave ${OpenXM_ROOT}/src/kxx ; \ |
install -c -s oxweave ${OpenXM_ROOT}/src/kxx ; \ |
cp -f libox_pathfinder.a ${OpenXM_lib} ; \ |
cp -f libox_pathfinder.a ${OpenXM_lib} ; \ |
cp -f ox_pathfinder.h ${OpenXM_include} ; \ |
cp -f ox_pathfinder.h ${OpenXM_include} ; \ |
install lndir.sh ${OpenXM_bin} ; \ |
install -c lndir.sh ${OpenXM_bin} ; \ |
install oxfetch.sh ${OpenXM_bin} ; \ |
install -c oxfetch.sh ${OpenXM_bin} ; \ |
touch ./.install_done ; \ |
touch ./.install_done ; \ |
fi |
fi |
|
|