version 1.9, 2000/03/10 08:03:27 |
version 1.11, 2000/09/04 03:17:22 |
|
|
# $OpenXM: OpenXM/bin/Makefile,v 1.8 2000/01/21 09:51:08 noro Exp $ |
# $OpenXM: OpenXM/bin/Makefile,v 1.10 2000/03/10 08:11:17 takayama Exp $ |
|
|
LIBDIR=../lib |
LIBDIR=../lib |
FEPLINUX=fep.linux |
FEPLINUX=fep.linux |
|
|
echo "OpenXM/bin is already configured." ; \ |
echo "OpenXM/bin is already configured." ; \ |
else \ |
else \ |
make configure-real ; \ |
make configure-real ; \ |
$(RM) -f *uuencoded* ; \ |
|
fi |
fi |
|
|
|
clean-for-install: |
|
$(RM) -f *uuencoded* |
|
|
configure-real: $(FEPLINUX) $(FEPFBSD) $(PHC) |
configure-real: $(FEPLINUX) $(FEPFBSD) $(PHC) |
@if [ "`uname`" = "Linux" ]; then \ |
@if [ "`uname`" = "Linux" ]; then \ |
rm -f fep phc ; \ |
rm -f fep phc ; \ |
ln -f -s $(FEPLINUX) fep ; \ |
ln -f -s $(FEPLINUX) fep ; \ |
ln -f -s $(PHC) phc ; \ |
ln -f -s $(PHC) phc ; \ |
|
rm -f $(FEPFBSD) ; \ |
echo "Linux binary generation: fep, phc" ; \ |
echo "Linux binary generation: fep, phc" ; \ |
else \ |
else \ |
echo "Not Linux" ; \ |
echo "Not Linux" ; \ |
Line 27 configure-real: $(FEPLINUX) $(FEPFBSD) $(PHC) |
|
Line 30 configure-real: $(FEPLINUX) $(FEPFBSD) $(PHC) |
|
rm -f fep phc ; \ |
rm -f fep phc ; \ |
ln -f -s $(FEPFBSD) fep ; \ |
ln -f -s $(FEPFBSD) fep ; \ |
ln -f -s $(PHC) phc ; \ |
ln -f -s $(PHC) phc ; \ |
|
rm -f $(FEPLINUX) ; \ |
brandelf -t Linux ./phc ; \ |
brandelf -t Linux ./phc ; \ |
echo "FreeBSD binary generation: fep and phc. Linux Emulation is requied to execute phc." ; \ |
echo "FreeBSD binary generation: fep and phc. Linux Emulation is requied to execute phc." ; \ |
else \ |
else \ |
|
|
|
|
uuencode: |
uuencode: |
@if [ -f $(FEPLINUX) ]; then \ |
@if [ -f $(FEPLINUX) ]; then \ |
echo '$OpenXM: OpenXM/bin/Makefile,v 1.8 2000/01/21 09:51:08 noro Exp $' > $(FEPLINUX).gz.uuencoded ; \ |
echo '$OpenXM: OpenXM/bin/Makefile,v 1.10 2000/03/10 08:11:17 takayama Exp $' > $(FEPLINUX).gz.uuencoded ; \ |
gzip -c $(FEPLINUX) | uuencode $(FEPLINUX).gz >> $(FEPLINUX).gz.uuencoded ; \ |
gzip -c $(FEPLINUX) | uuencode $(FEPLINUX).gz >> $(FEPLINUX).gz.uuencoded ; \ |
fi |
fi |
@if [ -f $(FEPFBSD) ]; then \ |
@if [ -f $(FEPFBSD) ]; then \ |
echo '$OpenXM: OpenXM/bin/Makefile,v 1.8 2000/01/21 09:51:08 noro Exp $' > $(FEPFBSD).gz.uuencoded ; \ |
echo '$OpenXM: OpenXM/bin/Makefile,v 1.10 2000/03/10 08:11:17 takayama Exp $' > $(FEPFBSD).gz.uuencoded ; \ |
gzip -c $(FEPFBSD) | uuencode $(FEPFBSD).gz >> $(FEPFBSD).gz.uuencoded ; \ |
gzip -c $(FEPFBSD) | uuencode $(FEPFBSD).gz >> $(FEPFBSD).gz.uuencoded ; \ |
fi |
fi |
@if [ -f $(PHC) ]; then \ |
@if [ -f $(PHC) ]; then \ |
echo '$OpenXM: OpenXM/bin/Makefile,v 1.8 2000/01/21 09:51:08 noro Exp $' > $(PHC).gz.uuencoded ; \ |
echo '$OpenXM: OpenXM/bin/Makefile,v 1.10 2000/03/10 08:11:17 takayama Exp $' > $(PHC).gz.uuencoded ; \ |
gzip -c $(PHC) | uuencode $(PHC).gz >> $(PHC).gz.uuencoded ; \ |
gzip -c $(PHC) | uuencode $(PHC).gz >> $(PHC).gz.uuencoded ; \ |
fi |
fi |