version 1.7, 2000/01/20 03:47:25 |
version 1.10, 2000/03/10 08:11:17 |
|
|
# $OpenXM: OpenXM/bin/Makefile,v 1.6 2000/01/19 09:43:53 takayama Exp $ |
# $OpenXM: OpenXM/bin/Makefile,v 1.9 2000/03/10 08:03:27 takayama 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 ; \ |
|
fi |
|
|
|
clean-for-install: |
|
$(RM) -f *uuencoded* |
|
|
|
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 35 configure: $(FEPLINUX) $(FEPFBSD) $(PHC) |
|
echo "Not FreeBSD" ; \ |
echo "Not FreeBSD" ; \ |
fi |
fi |
|
|
rm -f asir |
rm -f ox_asir |
ln -f -s $(LIBDIR)/asir/ox_asir 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 50 $(PHC) : $(PHC).gz.uuencoded |
|
Line 61 $(PHC) : $(PHC).gz.uuencoded |
|
fi |
fi |
|
|
distclean: |
distclean: |
rm -f 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.6 2000/01/19 09:43:53 takayama Exp $' > $(FEPLINUX).gz.uuencoded ; \ |
echo '$OpenXM: OpenXM/bin/Makefile,v 1.9 2000/03/10 08:03:27 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.6 2000/01/19 09:43:53 takayama Exp $' > $(FEPFBSD).gz.uuencoded ; \ |
echo '$OpenXM: OpenXM/bin/Makefile,v 1.9 2000/03/10 08:03:27 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.6 2000/01/19 09:43:53 takayama Exp $' > $(PHC).gz.uuencoded ; \ |
echo '$OpenXM: OpenXM/bin/Makefile,v 1.9 2000/03/10 08:03:27 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 |