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

Diff for /OpenXM/src/uuencoded/Makefile between version 1.2 and 1.6

version 1.2, 2002/09/03 01:05:28 version 1.6, 2005/08/04 10:05:01
Line 1 
Line 1 
 # $OpenXM: OpenXM/src/uuencoded/Makefile,v 1.1 2001/08/21 00:39:13 takayama Exp $  # $OpenXM: OpenXM/src/uuencoded/Makefile,v 1.5 2005/08/04 10:00:26 ohara Exp $
   
 OPENXM=../../../OpenXM  OPENXM=../../../OpenXM
 OPENXM_CONTRIB=../../../OpenXM_contrib  OPENXM_CONTRIB=../../../OpenXM_contrib
Line 12  PHCFBSD=fbsd_phcv2p
Line 12  PHCFBSD=fbsd_phcv2p
 PHCLINUX=lin_phcv2p  PHCLINUX=lin_phcv2p
 RM=rm  RM=rm
   
 configure:  install:
         @if [ -f .configure_done ] ; then \          @if [ ! -f .install_done ] ; then \
                 echo "OpenXM/bin is already configured." ; \  
         else \  
                 rm -f $(OPENXM_BIN)/phc ; \                  rm -f $(OPENXM_BIN)/phc ; \
                 if [ "`uname`" = "FreeBSD" ]; then \                  if [ "`which gnatmake`" ]; then \
                         make configure-freebsd ; \                          (cd ${OPENXM_CONTRIB}/PHC/Objects; {MAKE} install); \
                   elif [ "`uname`" = "FreeBSD" ]; then \
                           make install-freebsd ; \
                   elif [ "`uname`" = "Linux" ]; then \
                           make install-linux ; \
                 fi ; \                  fi ; \
                 if [ "`uname`" = "Linux" ]; then \  
                         make configure-linux ; \  
                 fi ; \  
                 (cd $(OPENXM_BIN) ; rm -f ox_asir ; ln -f -s ./asir ox_asir) ; \                  (cd $(OPENXM_BIN) ; rm -f ox_asir ; ln -f -s ./asir ox_asir) ; \
                 touch ./.configure_done ; \                  touch ./.install_done ; \
         fi          fi
   
   install-freebsd:
 configure-freebsd:  
         if [ -f $(OPENXM_UU)/${PHCFBSD}.gz.uuencoded ]; then \          if [ -f $(OPENXM_UU)/${PHCFBSD}.gz.uuencoded ]; then \
                 uudecode -p $(OPENXM_UU)/${PHCFBSD}.gz.uuencoded | zcat - > $(OPENXM_BIN)/phc ; \                  uudecode -p $(OPENXM_UU)/${PHCFBSD}.gz.uuencoded | zcat - > $(OPENXM_BIN)/phc ; \
                 chmod +x $(OPENXM_BIN)/phc ; \                  chmod +x $(OPENXM_BIN)/phc ; \
         fi          fi
   
 configure-linux:  install-linux:
         if [ -f $(OPENXM_UU)/${PHCLINUX}.gz.uuencoded ]; then \          if [ -f $(OPENXM_UU)/${PHCLINUX}.gz.uuencoded ]; then \
                 uudecode -o /dev/stdout $(OPENXM_UU)/${PHCLINUX}.gz.uuencoded | zcat - > $(OPENXM_BIN)/phc ; \                  uudecode -o /dev/stdout $(OPENXM_UU)/${PHCLINUX}.gz.uuencoded | zcat - > $(OPENXM_BIN)/phc ; \
                 chmod +x $(OPENXM_BIN)/phc ; \                  chmod +x $(OPENXM_BIN)/phc ; \
         fi          fi
   
 configure-linux-phc-on-freebsd:  install-linux-phc-on-freebsd:
         if [ -f $(OPENXM_UU)/${PHCLINUX}.gz.uuencoded ]; then \          if [ -f $(OPENXM_UU)/${PHCLINUX}.gz.uuencoded ]; then \
                 uudecode -p $(OPENXM_UU)/${PHCLINUX}.gz.uuencoded | zcat - > $(OPENXM_BIN)/phc ; \                  uudecode -p $(OPENXM_UU)/${PHCLINUX}.gz.uuencoded | zcat - > $(OPENXM_BIN)/phc ; \
                 chmod +x $(OPENXM_BIN)/phc ; \                  chmod +x $(OPENXM_BIN)/phc ; \
Line 50  configure-linux-phc-on-freebsd:
Line 48  configure-linux-phc-on-freebsd:
   
 distclean:  distclean:
         (cd $(OPENXM_BIN) ; rm -f asir ox_asir phc)          (cd $(OPENXM_BIN) ; rm -f asir ox_asir phc)
         @rm -f .configure_done          @rm -f .install_done
   
 uuencode:  uuencode:
         @if [ -f $(OPENXM_BIN)/$(PHC) ]; then \          @if [ -f $(OPENXM_BIN)/$(PHC) ]; then \

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

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