===================================================================
RCS file: /home/cvs/OpenXM/bin/Attic/Makefile,v
retrieving revision 1.14
retrieving revision 1.16
diff -u -p -r1.14 -r1.16
--- OpenXM/bin/Attic/Makefile	2000/10/31 06:24:05	1.14
+++ OpenXM/bin/Attic/Makefile	2001/06/28 00:11:16	1.16
@@ -1,4 +1,4 @@
-# $OpenXM: OpenXM/bin/Makefile,v 1.13 2000/10/31 06:17:58 maekawa Exp $
+# $OpenXM: OpenXM/bin/Makefile,v 1.15 2000/12/21 11:36:15 takayama Exp $
 
 OPENXM_CONTRIB=../../OpenXM_contrib
 
@@ -40,28 +40,36 @@ configure-freebsd:
 
 configure-linux:
 	if [ -f ${PHCLINUX}.gz.uuencoded ]; then \
-		uudecode -p ${PHCLINUX}.gz.uuencoded | zcat - > phc ; \
+		uudecode -o /dev/stdout ${PHCLINUX}.gz.uuencoded | zcat - > phc ; \
 		chmod +x phc ; \
 	fi
 	if [ -f ${FEPLINUX}.gz.uuencoded ]; then \
-		uudecode -p ${FEPLINUX}.gz.uuencoded | zcat - > fep ; \
+		uudecode -o /dev/stdout ${FEPLINUX}.gz.uuencoded | zcat - > fep ; \
 		chmod +x fep ; \
 	fi
 
+configure-linux-phc-on-freebsd:
+	if [ -f ${PHCLINUX}.gz.uuencoded ]; then \
+		uudecode -p ${PHCLINUX}.gz.uuencoded | zcat - > phc ; \
+		chmod +x phc ; \
+		brandelf -t Linux phc ; \
+		echo "You need to turn on the linux emulation. Add linux_enable=\"YES\" to /etc/rc.conf and pkg_add linux_base-(version number)." ; \
+	fi
+
 distclean:
 	rm -f asir ox_asir fep phc
 	@rm -f .configure_done
 
 uuencode:
 	@if [ -f $(FEPLINUX) ]; then \
-		echo '$OpenXM: OpenXM/bin/Makefile,v 1.13 2000/10/31 06:17:58 maekawa Exp $' > $(FEPLINUX).gz.uuencoded ; \
+		echo '$OpenXM: OpenXM/bin/Makefile,v 1.15 2000/12/21 11:36:15 takayama 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.13 2000/10/31 06:17:58 maekawa Exp $' > $(FEPFBSD).gz.uuencoded ; \
+		echo '$OpenXM: OpenXM/bin/Makefile,v 1.15 2000/12/21 11:36:15 takayama 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.13 2000/10/31 06:17:58 maekawa Exp $' > $(PHC).gz.uuencoded ; \
+		echo '$OpenXM: OpenXM/bin/Makefile,v 1.15 2000/12/21 11:36:15 takayama Exp $' > $(PHC).gz.uuencoded ; \
 		gzip -c $(PHC) | uuencode $(PHC).gz >> $(PHC).gz.uuencoded ; \
 	fi