[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / misc / packages / Generic / openxm

Diff for /OpenXM/misc/packages/Generic/openxm/Makefile between version 1.8 and 1.15

version 1.8, 2000/03/10 10:25:21 version 1.15, 2000/03/13 02:41:37
Line 1 
Line 1 
 # $OpenXM: OpenXM/misc/packages/Generic/openxm/Makefile,v 1.7 2000/03/10 03:20:26 takayama Exp $  # $OpenXM: OpenXM/misc/packages/Generic/openxm/Makefile,v 1.14 2000/03/13 00:52:21 takayama Exp $
 # This is a Makefile to generate source and binary distributions of  # This is a Makefile to generate source and binary distributions of
 # the OpenXM package on various plathomes.  # the OpenXM package on various plathomes.
   
 # If you add new directory under OpenXM/lib, edit SHARED_FILES.  # If you add new directory under OpenXM/lib, edit SHARED_FILES.
   
   # If you add new files to be installed under /usr/local/bin, man, etc,
   # you have to edit several files. See OpenXM/misc/packages/README.
   
 ## For committers: prepare cvs-OpenXM under your search path  ## For committers: prepare cvs-OpenXM under your search path
 ## to access to CVS servers.  ## to access to CVS servers.
 RCVS=cvs-OpenXM -d kerberos.math.sci.kobe-u.ac.jp:/usr/cvs  RCVS=cvs-OpenXM -d kerberos.math.sci.kobe-u.ac.jp:/usr/cvs
Line 16  RCVS=cvs-OpenXM -d kerberos.math.sci.kobe-u.ac.jp:/usr
Line 19  RCVS=cvs-OpenXM -d kerberos.math.sci.kobe-u.ac.jp:/usr
 ## Configurations.  ## Configurations.
 ## OpenXM Version Number.  ## OpenXM Version Number.
 VERSION=1.1.2  VERSION=1.1.2
   TAG=HEAD
   
 RELEASE=  RELEASE=
 ## If you like to have a release name as a part of tar ball, then uncomment  ## If you like to have a release name as a part of tar ball, then uncomment
Line 39  WORK=work/openxm-${VERSION}
Line 43  WORK=work/openxm-${VERSION}
   
 ### Common  ### Common
 SHARED_FILES = OpenXM/Copyright OpenXM/doc OpenXM/include OpenXM/man \  SHARED_FILES = OpenXM/Copyright OpenXM/doc OpenXM/include OpenXM/man \
                OpenXM/rc \  
                OpenXM/lib/asir-contrib OpenXM/lib/java-support \                 OpenXM/lib/asir-contrib OpenXM/lib/java-support \
                OpenXM/lib/k097 OpenXM/lib/math OpenXM/lib/pari \                 OpenXM/lib/k097 OpenXM/lib/math OpenXM/lib/pari \
                OpenXM/lib/sm1 OpenXM/lib/asir                 OpenXM/lib/sm1 OpenXM/lib/asir
 BINARY_FILES = OpenXM/bin OpenXM/lib/*.a OpenXM/lib/*.so*  BINARY_FILES = OpenXM/bin OpenXM/lib/*.a OpenXM/lib/*.so* OpenXM/lib/*.a.* \
                  OpenXM/rc
   
 EXECUTABLES=gnuplot4ox gnuplot_x11 k0 ox ox_sm1 oxlog oxweave sm1 tigers ox_math  EXECUTABLES=gnuplot4ox gnuplot_x11 k0 ox ox_sm1 oxlog oxweave sm1 tigers ox_math
   
 usage :  usage :
         @echo "Targets are "          @echo "Targets are "
         @echo "  fetch  :   get the sources from the cvs server under $(WORK)"          @echo "  fetch  :   get the sources from the cvs server under $(WORK)"
         @echo "  tar-ball : generate OpenXM-source.tgz under $(TAR_WORK)"          @echo "  tar-ball : generate openxm-${VERSION}.tar.gz under $(TAR_WORK)"
         @echo "  tar-ball-01 : generate OpenXM-source-01.tgz under $(TAR_WORK)"          @echo "  tar-ball-01 : generate openxm01-${VERSION}.tar.gz under $(TAR_WORK)"
         @echo "  binary-tar-ball : generate OpenXM-binary-OS-CPU.tgz under $(TAR_WORK)"          @echo "  binary-tar-ball : generate OpenXM-binary-OS-CPU.tgz under $(TAR_WORK)"
         @echo "  shared-tar-ball : generate OpenXM-shared.tgz under $(TAR_WORK)"          @echo "  shared-tar-ball : generate OpenXM-shared.tgz under $(TAR_WORK)"
         @echo "  clean-work "          @echo "  clean-work "
Line 92  all-ideal : configure
Line 97  all-ideal : configure
         @touch .all_done          @touch .all_done
   
 install : install-binary-files install-shared-files  install : install-binary-files install-shared-files
           make install-shell-scripts PREFIX=${prefix}
   
   install-shell-scripts:
 # Install shell scripts to ${prefix}/bin, which is typically /usr/local/bin  # Install shell scripts to ${prefix}/bin, which is typically /usr/local/bin
         (cd ${prefix}/OpenXM/rc ; make ; make install PREFIX=${prefix})          (cd ${prefix}/OpenXM/rc ; make ; make install PREFIX=${prefix})
   
Line 129  clean-installed-openxm:
Line 137  clean-installed-openxm:
 fetch :  fetch :
         @if [ ! -f ./.fetch_done ]; then \          @if [ ! -f ./.fetch_done ]; then \
                 /bin/rm -rf work ; mkdir work ; mkdir ${WORK} ; \                  /bin/rm -rf work ; mkdir work ; mkdir ${WORK} ; \
                 ( cd ${WORK} ; $(RCVS) export -rHEAD OpenXM OpenXM_contrib OpenXM_contrib2) ; \                  ( cd ${WORK} ; ${RCVS} export -r${TAG} OpenXM OpenXM_contrib OpenXM_contrib2) ; \
                 cp Makefile ${WORK}/Makefile ; \                  cp Makefile ${WORK}/Makefile ; \
         fi          fi
         @touch ./.fetch_done          @touch ./.fetch_done
Line 147  tar-ball-01: fetch
Line 155  tar-ball-01: fetch
         fi          fi
         @touch ./.tar-ball-01_done          @touch ./.tar-ball-01_done
   
 binary-tar-ball : tar-ball-01  binary-tar-ball : fetch
         cp Makefile ${WORK}/Makefile          cp Makefile ${WORK}/Makefile
         rm -rf ${INSTALL_WORK}          rm -rf ${INSTALL_WORK}
         mkdir ${INSTALL_WORK} ${INSTALL_WORK}/bin ${INSTALL_WORK}/man          mkdir ${INSTALL_WORK} ${INSTALL_WORK}/bin ${INSTALL_WORK}/man
Line 155  binary-tar-ball : tar-ball-01
Line 163  binary-tar-ball : tar-ball-01
         (cd ${WORK} ; make install-binary-files PREFIX=${INSTALL_WORK})          (cd ${WORK} ; make install-binary-files PREFIX=${INSTALL_WORK})
         (cd ${INSTALL_WORK} ; tar czf ${TAR_WORK}/OpenXM-binary-$(TYPE)$(RELEASE).tgz ${BINARY_FILES})          (cd ${INSTALL_WORK} ; tar czf ${TAR_WORK}/OpenXM-binary-$(TYPE)$(RELEASE).tgz ${BINARY_FILES})
   
 shared-tar-ball : tar-ball-01  shared-tar-ball : fetch
         cp Makefile ${WORK}/Makefile          cp Makefile ${WORK}/Makefile
         rm -rf ${INSTALL_WORK}          rm -rf ${INSTALL_WORK}
         mkdir ${INSTALL_WORK} ${INSTALL_WORK}/bin ${INSTALL_WORK}/man          mkdir ${INSTALL_WORK} ${INSTALL_WORK}/bin ${INSTALL_WORK}/man
         mkdir ${INSTALL_WORK}/man/man1          mkdir ${INSTALL_WORK}/man/man1
         (cd ${WORK} ; make install-shared-files PREFIX=${INSTALL_WORK})          (cd ${WORK} ; make install-shared-files PREFIX=${INSTALL_WORK})
         (cd ${INSTALL_WORK} ; tar czf ${TAR_WORK}/OpenXM-shared-$(TYPE)$(RELEASE).tgz ${SHARED_FILES})          (cd ${INSTALL_WORK} ; tar czf ${TAR_WORK}/OpenXM-shared.tgz ${SHARED_FILES})
   
   
 clean-work :  clean-work :
         /bin/rm -rf .*_done *~          /bin/rm -rf .*_done *~
         /bin/rm -rf work          /bin/rm -rf work work-fake
   
 clean-for-make:  clean-for-make:
         (cd ${WORK} ; make distclean)          (cd ${WORK} ; make distclean)

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.15

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