version 1.6, 2000/01/19 09:43:53 |
version 1.8, 2000/01/21 09:51:08 |
|
|
# $OpenXM: OpenXM/bin/Makefile,v 1.5 2000/01/19 07:28:37 noro Exp $ |
# $OpenXM: OpenXM/bin/Makefile,v 1.7 2000/01/20 03:47:25 takayama Exp $ |
|
|
LIBDIR=../lib |
LIBDIR=../lib |
FEPLINUX=fep.linux |
FEPLINUX=fep.linux |
Line 11 configure: $(FEPLINUX) $(FEPFBSD) $(PHC) |
|
Line 11 configure: $(FEPLINUX) $(FEPFBSD) $(PHC) |
|
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 ; \ |
|
echo "Linux binary generation: fep, phc" ; \ |
else \ |
else \ |
echo "We have the binary of phc only for linux." ; \ |
echo "Not Linux" ; \ |
fi |
fi |
|
-@if [ "`uname`" = "FreeBSD" ]; then \ |
|
rm -f fep phc ; \ |
|
ln -f -s $(FEPFBSD) fep ; \ |
|
ln -f -s $(PHC) phc ; \ |
|
brandelf -t Linux ./phc ; \ |
|
echo "FreeBSD binary generation: fep and phc. Linux Emulation is requied to execute phc." ; \ |
|
else \ |
|
echo "Not FreeBSD" ; \ |
|
fi |
|
|
rm -f asir |
rm -f asir |
ln -f -s $(LIBDIR)/asir/ox_asir asir |
ln -f -s $(LIBDIR)/asir/asir asir |
|
rm -f ox_asir |
|
ln -f -s $(LIBDIR)/asir/asir ox_asir |
|
|
$(FEPLINUX) : $(FEPLINUX).gz.uuencoded |
$(FEPLINUX) : $(FEPLINUX).gz.uuencoded |
@if [ -f $(FEPLINUX).gz.uuencoded ]; then \ |
@if [ -f $(FEPLINUX).gz.uuencoded ]; then \ |
Line 40 $(PHC) : $(PHC).gz.uuencoded |
|
Line 52 $(PHC) : $(PHC).gz.uuencoded |
|
fi |
fi |
|
|
distclean: |
distclean: |
rm -f asir fep fep.linux lin_phcv2p phc |
rm -f asir ox_asir fep fep.linux fep.fbsd lin_phcv2p phc |
|
|
uuencode: |
uuencode: |
@if [ -f $(FEPLINUX) ]; then \ |
@if [ -f $(FEPLINUX) ]; then \ |
echo '$OpenXM: OpenXM/bin/Makefile,v 1.5 2000/01/19 07:28:37 noro Exp $' > $(FEPLINUX).gz.uuencoded ; \ |
echo '$OpenXM: OpenXM/bin/Makefile,v 1.7 2000/01/20 03:47:25 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.5 2000/01/19 07:28:37 noro Exp $' > $(FEPFBSD).gz.uuencoded ; \ |
echo '$OpenXM: OpenXM/bin/Makefile,v 1.7 2000/01/20 03:47:25 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.5 2000/01/19 07:28:37 noro Exp $' > $(PHC).gz.uuencoded ; \ |
echo '$OpenXM: OpenXM/bin/Makefile,v 1.7 2000/01/20 03:47:25 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 |