version 1.8, 2000/01/21 09:51:08 |
version 1.9, 2000/03/10 08:03:27 |
|
|
# $OpenXM: OpenXM/bin/Makefile,v 1.7 2000/01/20 03:47:25 takayama Exp $ |
# $OpenXM: OpenXM/bin/Makefile,v 1.8 2000/01/21 09:51:08 noro Exp $ |
|
|
LIBDIR=../lib |
LIBDIR=../lib |
FEPLINUX=fep.linux |
FEPLINUX=fep.linux |
|
|
PHC=lin_phcv2p |
PHC=lin_phcv2p |
RM=rm |
RM=rm |
|
|
configure: $(FEPLINUX) $(FEPFBSD) $(PHC) |
configure: |
|
@if [ -f .configure_done ] ; then \ |
|
echo "OpenXM/bin is already configured." ; \ |
|
else \ |
|
make configure-real ; \ |
|
$(RM) -f *uuencoded* ; \ |
|
fi |
|
|
|
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 ; \ |
Line 25 configure: $(FEPLINUX) $(FEPFBSD) $(PHC) |
|
Line 33 configure: $(FEPLINUX) $(FEPFBSD) $(PHC) |
|
echo "Not FreeBSD" ; \ |
echo "Not FreeBSD" ; \ |
fi |
fi |
|
|
rm -f asir |
|
ln -f -s $(LIBDIR)/asir/asir asir |
|
rm -f ox_asir |
rm -f ox_asir |
ln -f -s $(LIBDIR)/asir/asir ox_asir |
ln -f -s ./asir ox_asir |
|
@touch .configure_done |
|
|
$(FEPLINUX) : $(FEPLINUX).gz.uuencoded |
$(FEPLINUX) : $(FEPLINUX).gz.uuencoded |
@if [ -f $(FEPLINUX).gz.uuencoded ]; then \ |
@if [ -f $(FEPLINUX).gz.uuencoded ]; then \ |
Line 52 $(PHC) : $(PHC).gz.uuencoded |
|
Line 59 $(PHC) : $(PHC).gz.uuencoded |
|
fi |
fi |
|
|
distclean: |
distclean: |
rm -f asir ox_asir fep fep.linux fep.fbsd lin_phcv2p phc |
rm -f asir ox_asir fep fep.linux fep.fbsd lin_phcv2p phc .configure_done |
|
|
uuencode: |
uuencode: |
@if [ -f $(FEPLINUX) ]; then \ |
@if [ -f $(FEPLINUX) ]; then \ |
echo '$OpenXM: OpenXM/bin/Makefile,v 1.7 2000/01/20 03:47:25 takayama Exp $' > $(FEPLINUX).gz.uuencoded ; \ |
echo '$OpenXM: OpenXM/bin/Makefile,v 1.8 2000/01/21 09:51:08 noro 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.7 2000/01/20 03:47:25 takayama Exp $' > $(FEPFBSD).gz.uuencoded ; \ |
echo '$OpenXM: OpenXM/bin/Makefile,v 1.8 2000/01/21 09:51:08 noro 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.7 2000/01/20 03:47:25 takayama Exp $' > $(PHC).gz.uuencoded ; \ |
echo '$OpenXM: OpenXM/bin/Makefile,v 1.8 2000/01/21 09:51:08 noro Exp $' > $(PHC).gz.uuencoded ; \ |
gzip -c $(PHC) | uuencode $(PHC).gz >> $(PHC).gz.uuencoded ; \ |
gzip -c $(PHC) | uuencode $(PHC).gz >> $(PHC).gz.uuencoded ; \ |
fi |
fi |