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

Annotation of OpenXM_contrib/pari-2.2/config/TOP_Make.SH, Revision 1.2

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

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