version 1.1, 2000/01/09 20:19:39 |
version 1.4, 2000/01/09 21:04:04 |
|
|
# $OpenXM$ |
# $OpenXM: OpenXM/bin/Makefile,v 1.3 2000/01/09 20:27:28 maekawa Exp $ |
|
|
LIBDIR=../lib |
LIBDIR=../lib |
|
FEP=fep.linux |
|
PHC=lin_phcv2p |
|
|
configure: |
configure: |
@if [ -f lin_phcv2p.gz.uuencoded ]; then \ |
@if [ -f $(FEP).gz.uuencoded ]; then \ |
uudecode lin_phcv2p.gz.uuencoded | gzip -d ; \ |
uudecode -p $(FEP).gz.uuencoded | gzip -dc > $(FEP) ; \ |
chmod +x lin_phcv2p ; \ |
chmod +x $(FEP) ; \ |
fi |
fi |
|
|
@if [ -f fep.linux.gz.uuencoded ]; then \ |
@if [ -f $(PHC).gz.uuencoded ]; then \ |
uudecode fep.linux.gz.uuencoded | gzip -d ; \ |
uudecode -p $(PHC).gz.uuencoded | gzip -dc > $(PHC) ; \ |
chmod +x fep.linux ; \ |
chmod +x $(PHC) ; \ |
fi |
fi |
|
|
@if [ "`uname`" = "Linux" ]; then \ |
@if [ "`uname`" = "Linux" ]; then \ |
rm -f fep phc ; \ |
rm -f fep phc ; \ |
ln -f -s fep.linux fep ; \ |
ln -f -s $(FEP) fep ; \ |
ln -f -s lin_phcv2p phc ; \ |
ln -f -s $(PHC) phc ; \ |
else \ |
else \ |
echo "We have the binary of phc only for linux." ; \ |
echo "We have the binary of phc only for linux." ; \ |
fi |
fi |
|
|
|
|
distclean: |
distclean: |
rm -f asir fep fep.linux lin_phcv2p phc |
rm -f asir fep fep.linux lin_phcv2p phc |
|
|
|
uuencode: |
|
@if [ -f $(FEP) ]; then \ |
|
echo '$OpenXM$' > $(FEP).gz.uuencoded ; \ |
|
gzip -c $(FEP) | uuencode $(FEP).gz >> $(FEP).gz.uuencoded ; \ |
|
fi |
|
@if [ -f $(PHC) ]; then \ |
|
echo '$OpenXM$' > $(PHC).gz.uuencoded ; \ |
|
gzip -c $(PHC) | uuencode $(PHC).gz >> $(PHC).gz.uuencoded ; \ |
|
fi |