version 1.4, 2005/08/04 09:58:23 |
version 1.6, 2005/08/04 10:05:01 |
|
|
# $OpenXM: OpenXM/src/uuencoded/Makefile,v 1.3 2003/09/02 14:26:06 takayama Exp $ |
# $OpenXM: OpenXM/src/uuencoded/Makefile,v 1.5 2005/08/04 10:00:26 ohara Exp $ |
|
|
OPENXM=../../../OpenXM |
OPENXM=../../../OpenXM |
OPENXM_CONTRIB=../../../OpenXM_contrib |
OPENXM_CONTRIB=../../../OpenXM_contrib |
|
|
@if [ ! -f .install_done ] ; then \ |
@if [ ! -f .install_done ] ; then \ |
rm -f $(OPENXM_BIN)/phc ; \ |
rm -f $(OPENXM_BIN)/phc ; \ |
if [ "`which gnatmake`" ]; then \ |
if [ "`which gnatmake`" ]; then \ |
(cd ${OPENXM_CONTRIB}/PHC/Objects; mkdir tmp; ${MAKE} phc; strip tmp/phc); \ |
(cd ${OPENXM_CONTRIB}/PHC/Objects; {MAKE} install); \ |
cp -p ${OPENXM_CONTRIB}/PHC/Objects/tmp/phc ${OPENXM_BIN}/phc; \ |
|
elif [ "`uname`" = "FreeBSD" ]; then \ |
elif [ "`uname`" = "FreeBSD" ]; then \ |
make install-freebsd ; \ |
make install-freebsd ; \ |
elif [ "`uname`" = "Linux" ]; then \ |
elif [ "`uname`" = "Linux" ]; then \ |