=================================================================== RCS file: /home/cvs/OpenXM/bin/Attic/Makefile,v retrieving revision 1.1 retrieving revision 1.5 diff -u -p -r1.1 -r1.5 --- OpenXM/bin/Attic/Makefile 2000/01/09 20:19:39 1.1 +++ OpenXM/bin/Attic/Makefile 2000/01/19 07:28:37 1.5 @@ -1,22 +1,33 @@ -# $OpenXM$ +# $OpenXM: OpenXM/bin/Makefile,v 1.4 2000/01/09 21:04:04 maekawa Exp $ LIBDIR=../lib +FEPLINUX=fep.linux +FEPFBSD=fep.fbsd +PHC=lin_phcv2p configure: - @if [ -f lin_phcv2p.gz.uuencoded ]; then \ - uudecode lin_phcv2p.gz.uuencoded | gzip -d ; \ - chmod +x lin_phcv2p ; \ + @if [ -f $(FEPLINUX).gz.uuencoded ]; then \ + uudecode $(FEPLINUX).gz.uuencoded ; \ + gzip -d $(FEPLINUX).gz ; \ + chmod +x $(FEPLINUX) ; \ fi - @if [ -f fep.linux.gz.uuencoded ]; then \ - uudecode fep.linux.gz.uuencoded | gzip -d ; \ - chmod +x fep.linux ; \ + @if [ -f $(FEPFBSD).gz.uuencoded ]; then \ + uudecode $(FEPFBSD).gz.uuencoded ; \ + gzip -d $(FEPFBSD).gz ; \ + chmod +x $(FEPFBSD) ; \ fi + @if [ -f $(PHC).gz.uuencoded ]; then \ + uudecode $(PHC).gz.uuencoded ; \ + gzip -d $(PHC).gz ; \ + 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 $(FEPLINUX) fep ; \ + ln -f -s $(PHC) phc ; \ else \ echo "We have the binary of phc only for linux." ; \ fi @@ -26,3 +37,17 @@ configure: distclean: rm -f asir fep fep.linux lin_phcv2p phc + +uuencode: + @if [ -f $(FEPLINUX) ]; then \ + echo '$OpenXM: OpenXM/bin/Makefile,v 1.4 2000/01/09 21:04:04 maekawa Exp $' > $(FEPLINUX).gz.uuencoded ; \ + gzip -c $(FEPLINUX) | uuencode $(FEPLINUX).gz >> $(FEPLINUX).gz.uuencoded ; \ + fi + @if [ -f $(FEPFBSD) ]; then \ + echo '$OpenXM: OpenXM/bin/Makefile,v 1.4 2000/01/09 21:04:04 maekawa Exp $' > $(FEPFBSD).gz.uuencoded ; \ + gzip -c $(FEPFBSD) | uuencode $(FEPFBSD).gz >> $(FEPFBSD).gz.uuencoded ; \ + fi + @if [ -f $(PHC) ]; then \ + echo '$OpenXM: OpenXM/bin/Makefile,v 1.4 2000/01/09 21:04:04 maekawa Exp $' > $(PHC).gz.uuencoded ; \ + gzip -c $(PHC) | uuencode $(PHC).gz >> $(PHC).gz.uuencoded ; \ + fi