=================================================================== RCS file: /home/cvs/OpenXM/bin/Attic/Makefile,v retrieving revision 1.8 retrieving revision 1.10 diff -u -p -r1.8 -r1.10 --- OpenXM/bin/Attic/Makefile 2000/01/21 09:51:08 1.8 +++ OpenXM/bin/Attic/Makefile 2000/03/10 08:11:17 1.10 @@ -1,4 +1,4 @@ -# $OpenXM: OpenXM/bin/Makefile,v 1.7 2000/01/20 03:47:25 takayama Exp $ +# $OpenXM: OpenXM/bin/Makefile,v 1.9 2000/03/10 08:03:27 takayama Exp $ LIBDIR=../lib FEPLINUX=fep.linux @@ -6,7 +6,17 @@ FEPFBSD=fep.fbsd PHC=lin_phcv2p 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 \ rm -f fep phc ; \ ln -f -s $(FEPLINUX) fep ; \ @@ -25,10 +35,9 @@ configure: $(FEPLINUX) $(FEPFBSD) $(PHC) echo "Not FreeBSD" ; \ fi - rm -f asir - ln -f -s $(LIBDIR)/asir/asir asir rm -f ox_asir - ln -f -s $(LIBDIR)/asir/asir ox_asir + ln -f -s ./asir ox_asir + @touch .configure_done $(FEPLINUX) : $(FEPLINUX).gz.uuencoded @if [ -f $(FEPLINUX).gz.uuencoded ]; then \ @@ -52,18 +61,18 @@ $(PHC) : $(PHC).gz.uuencoded fi distclean: - rm -f asir ox_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: @if [ -f $(FEPLINUX) ]; then \ - echo '$OpenXM: OpenXM/bin/Makefile,v 1.7 2000/01/20 03:47:25 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 ; \ fi @if [ -f $(FEPFBSD) ]; then \ - echo '$OpenXM: OpenXM/bin/Makefile,v 1.7 2000/01/20 03:47:25 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 ; \ fi @if [ -f $(PHC) ]; then \ - echo '$OpenXM: OpenXM/bin/Makefile,v 1.7 2000/01/20 03:47:25 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 ; \ fi