[BACK]Return to TOP_Make.SH CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / pari / config

Annotation of OpenXM_contrib/pari/config/TOP_Make.SH, Revision 1.1.1.1

1.1       maekawa     1: file=Makefile
                      2: echo "Extracting $file"
                      3: rm -f $file
                      4:
                      5: file=Makefile.$objdir
                      6: rm -f $file
                      7:
                      8: case "$status" in
                      9:   alpha|beta|kernel) suf_status=".$status";;
                     10:   *) suf_status=;;
                     11: esac
                     12:
                     13: tar="/bin/tar"
                     14: filename=pari-$version.$patch$suf_status
                     15: tarfile=$filename.tar
                     16: ztarfile=$filename.tgz
                     17: case "`$tar 2>&1`" in
                     18:   *"--help"*) inc="-T";; # GNU
                     19:            *) inc="-I";; # Solaris
                     20: esac
                     21: tarinc="$inc $TOP/MANIFEST"
                     22:
                     23: dosversion=`echo $version|sed -e 's/\.//g'`
                     24: dosversion="_$dosversion$patch"
                     25:
                     26: # MAINTAINER ONLY: for automated tests in Bordeaux
                     27: bxmachine=megrez.math.u-bordeaux.fr
                     28: gzip=/usr/local/bin/gzip
                     29:
                     30: cat > $file << EOT
                     31: # This file was created by Configure. All changes made will be lost
                     32: # next time Configure is run.
                     33: #
                     34: SHELL = $make_sh
                     35: RM = /bin/rm -f
                     36:
                     37: dft target::
                     38:        @echo "Possible targets are:"
                     39:        @echo " gp                       Compilation"
                     40:        @echo " bench, test-compat       Compilation and test"
                     41:        @echo " dobench                  Test only"
                     42:        @echo " doc                      Documentation"
                     43:        @echo " install                  Installation"
                     44:        @echo " clean, cleantest         Cleaning up"
                     45:        @echo "For pari maintainers..."
                     46:        @echo " all                     Compile gp-[sta|dyn] and lib-[sta|dyn]"
                     47:        @echo " distrib                 Create a new distribution"
                     48:        @echo " ctags                   Generate VI/VIM tags file in ./src"
                     49:        @echo " etags                   Generate Emacs  tags file in ./src"
                     50:
                     51: gp all bench test-compat test-graphic install clean cleantest install-bin install-doc install-lib-sta install-bin-sta dobench::
                     52:        cd $objdir; \$(MAKE) \$@
                     53:
                     54: doc docps gpman::
                     55:        cd doc; \$(MAKE) \$@
                     56:
                     57: RCS::
                     58:        ci -f -l -r\$\${REVISION:-$rcsrevision} -m"." \`find src -name \\*.[chs] -type f -print\`
                     59:
                     60: setdir::
                     61:        @dir=pari-$version.$patch$suf_status; if test -d \$\$dir; then \\
                     62:           echo "Remove \$\$dir before building a new release"; exit 1;\\
                     63:        fi;\\
                     64:        mkdir \$\$dir; mv $tarfile \$\$dir; \\
                     65:        cd \$\$dir; tar xf $tarfile; \$(RM) $tarfile; cd ..; \\
                     66:        tar cf $tarfile \$\$dir; \\
                     67:        rm -r \$\$dir
                     68:
                     69: tar:
                     70:        rm -f $tarfile.gz
                     71:        $tar cf $tarfile $tarinc
                     72:
                     73: distrib: tar setdir
                     74:        gzip $tarfile
                     75:        mv $tarfile.gz $ztarfile
                     76:
                     77: uu: distrib
                     78:        uuencode $tarfile.gz $tarfile.gz > pari.uu
                     79:
                     80: dosdistrib: docps gpman
                     81:        -zip -kr GPB${dosversion}.ZIP GP.EXE README README.DOS examples ../EMX/README.DOC ../RSX/README.TXT
                     82:        -zip -k GPD${dosversion}.ZIP doc/users.ps doc/refcard.ps doc/tutorial.ps
                     83:        -zip -k GPM${dosversion}.ZIP doc/*.tex doc/gphelp doc/gp.man
                     84:
                     85: etags:
                     86:        cd src; sh make_emacs_tags
                     87:
                     88: ctags:
                     89:        src/make_vi_tags $TOP/src
                     90:
                     91: benchbx: $ztarfile
                     92:        rcp $ztarfile pari@$bxmachine:PARINEW
                     93:        rsh $bxmachine -l pari "cd PARINEW; $gzip -dc $ztarfile|tar xf -; ./makeall $filename"
                     94: EOT
                     95:
                     96: $ln_s $file Makefile

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