version 1.6, 2003/07/21 11:56:34 |
version 1.10, 2003/11/14 02:58:20 |
|
|
# $OpenXM: OpenXM/src/util/Makefile,v 1.5 2003/07/21 11:36:10 takayama Exp $ |
# $OpenXM: OpenXM/src/util/Makefile,v 1.9 2003/09/08 06:21:08 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 14 oxreplace : oxreplace.c |
|
Line 14 oxreplace : oxreplace.c |
|
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 |
ox_pathfinder.o : ox_pathfinder.c ox_pathfinder.h |
ox_pathfinder.o : ox_pathfinder.c ox_pathfinder.h |
$(CC) -D_BSD_SOURCE -c ox_pathfinder.c |
$(CC) -D_BSD_SOURCE -D_POSIX_C_SOURCE -c ox_pathfinder.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" ; \ |
if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \ |
install oxweave oxreplace ${OpenXM_bin} ; \ |
cp -f oxweave.exe ${OpenXM_bin} ; \ |
install oxweave ${OpenXM_ROOT}/src/kxx ; \ |
cp -f oxweave.exe ${OpenXM_ROOT}/src/kxx ; \ |
|
cp -f oxreplace.exe ${OpenXM_bin} ; \ |
|
else \ |
|
cp -f oxweave ${OpenXM_bin} ; \ |
|
cp -f oxweave ${OpenXM_ROOT}/src/kxx ; \ |
|
cp -f oxreplace ${OpenXM_bin} ; \ |
|
fi ; \ |
|
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} ; \ |
cp -f lndir.sh ${OpenXM_bin} ; \ |
install lndir.sh ${OpenXM_bin} ; \ |
chmod 755 ${OpenXM_bin}/lndir.sh ; \ |
install oxfetch.sh ${OpenXM_bin} ; \ |
touch ./.install_done ; \ |
touch ./.install_done ; \ |
fi |
fi |
|
|
clean: |
clean: |
rm -f .install_done *.o oxweave oxreplace libox_pathfinder.a |
|
|
|
|
rm -f .install_done *.o oxweave oxreplace libox_pathfinder.a |