=================================================================== RCS file: /home/cvs/OpenXM/bin/Attic/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -u -p -r1.3 -r1.4 --- OpenXM/bin/Attic/Makefile 2000/01/09 20:27:28 1.3 +++ OpenXM/bin/Attic/Makefile 2000/01/09 21:04:04 1.4 @@ -1,22 +1,24 @@ -# $OpenXM: OpenXM/bin/Makefile,v 1.2 2000/01/09 20:24:46 maekawa Exp $ +# $OpenXM: OpenXM/bin/Makefile,v 1.3 2000/01/09 20:27:28 maekawa Exp $ LIBDIR=../lib +FEP=fep.linux +PHC=lin_phcv2p configure: - @if [ -f lin_phcv2p.gz.uuencoded ]; then \ - uudecode -p lin_phcv2p.gz.uuencoded | gzip -dc > lin_phcv2p ; \ - chmod +x lin_phcv2p ; \ + @if [ -f $(FEP).gz.uuencoded ]; then \ + uudecode -p $(FEP).gz.uuencoded | gzip -dc > $(FEP) ; \ + chmod +x $(FEP) ; \ fi - @if [ -f fep.linux.gz.uuencoded ]; then \ - uudecode -p fep.linux.gz.uuencoded | gzip -dc > fep.linux ; \ - chmod +x fep.linux ; \ + @if [ -f $(PHC).gz.uuencoded ]; then \ + uudecode -p $(PHC).gz.uuencoded | gzip -dc > $(PHC) ; \ + chmod +x $(PHC) ; \ fi @if [ "`uname`" = "Linux" ]; then \ rm -f fep phc ; \ - ln -f -s fep.linux fep ; \ - ln -f -s lin_phcv2p phc ; \ + ln -f -s $(FEP) fep ; \ + ln -f -s $(PHC) phc ; \ else \ echo "We have the binary of phc only for linux." ; \ fi @@ -26,3 +28,13 @@ configure: distclean: 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