[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / bin

Diff for /OpenXM/bin/Attic/Makefile between version 1.2 and 1.16

version 1.2, 2000/01/09 20:24:46 version 1.16, 2001/06/28 00:11:16
Line 1 
Line 1 
 # $OpenXM: OpenXM/bin/Makefile,v 1.1 2000/01/09 20:19:39 maekawa Exp $  # $OpenXM: OpenXM/bin/Makefile,v 1.15 2000/12/21 11:36:15 takayama Exp $
   
   OPENXM_CONTRIB=../../OpenXM_contrib
   
 LIBDIR=../lib  LIBDIR=../lib
   FEPLINUX=fep.linux
   FEPFBSD=fep.fbsd
   PHCFBSD=fbsd_phcv2p
   PHCLINUX=lin_phcv2p
   RM=rm
   
 configure:  configure:
         @if [ -f lin_phcv2p.gz.uuencoded ]; then \          @if [ -f .configure_done ] ; then \
                 uudecode -p lin_phcv2p.gz.uuencoded | gzip -d ; \                  echo "OpenXM/bin is already configured." ; \
                 chmod +x lin_phcv2p ; \          else \
                   rm -f fep phc ; \
                   if [ "`uname`" = "FreeBSD" ]; then \
                           make configure-freebsd ; \
                   fi ; \
                   if [ "`uname`" = "Linux" ]; then \
                           make configure-linux ; \
                   fi ; \
                   rm -f ox_asir ; \
                   ln -f -s ./asir ox_asir ; \
                   touch ./.configure_done ; \
         fi          fi
   
         @if [ -f fep.linux.gz.uuencoded ]; then \  clean-for-install:
                 uudecode -p fep.linux.gz.uuencoded | gzip -d ; \          $(RM) -f *uuencoded*
                 chmod +x fep.linux ; \  
   configure-freebsd:
           if [ -f ${PHCFBSD}.gz.uuencoded ]; then \
                   uudecode -p ${PHCFBSD}.gz.uuencoded | zcat - > phc ; \
                   chmod +x phc ; \
         fi          fi
           if [ -f ${FEPFBSD}.gz.uuencoded ]; then \
                   uudecode -p ${FEPFBSD}.gz.uuencoded | zcat - > fep ; \
                   chmod +x fep ; \
           fi
   
         @if [ "`uname`" = "Linux" ]; then \  configure-linux:
                 rm -f fep phc ; \          if [ -f ${PHCLINUX}.gz.uuencoded ]; then \
                 ln -f -s fep.linux fep ; \                  uudecode -o /dev/stdout ${PHCLINUX}.gz.uuencoded | zcat - > phc ; \
                 ln -f -s lin_phcv2p phc ; \                  chmod +x phc ; \
         else \  
                 echo "We have the binary of phc only for linux." ; \  
         fi          fi
           if [ -f ${FEPLINUX}.gz.uuencoded ]; then \
                   uudecode -o /dev/stdout ${FEPLINUX}.gz.uuencoded | zcat - > fep ; \
                   chmod +x fep ; \
           fi
   
         rm -f asir  configure-linux-phc-on-freebsd:
         ln -f -s $(LIBDIR)/asir/ox_asir asir          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:  distclean:
         rm -f asir fep fep.linux lin_phcv2p phc          rm -f asir ox_asir fep phc
           @rm -f .configure_done
   
   uuencode:
           @if [ -f $(FEPLINUX) ]; then \
                   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.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.15 2000/12/21 11:36:15 takayama Exp $' > $(PHC).gz.uuencoded ; \
                   gzip -c $(PHC) | uuencode $(PHC).gz >> $(PHC).gz.uuencoded ; \
           fi

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.16

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>