--- projs/dtats/trunk/projs/2018/20180707_cgi_web_tools_aux_exe/build 2018/07/08 21:16:06 171 +++ projs/dtats/trunk/projs/2018/20180707_cgi_web_tools_aux_exe/build 2018/07/08 21:17:26 172 @@ -1,98 +1,98 @@ -#!/bin/bash -# -#$Header: /cvsroot/esrg/sfesrg/esrgnxpj/sfnthcgi0304/build,v 1.13 2003/07/01 03:58:22 dtashley Exp $ -# -#******************************************************************************** -#Copyright (C) 2003 David T. Ashley -#******************************************************************************** -#This program or source file is free software; you can redistribute it and/or -#modify it under the terms of the GNU General Public License as published by -#the Free Software Foundation; either version 2 of the License, or (at your -#option) any later version. -# -#This program or source file is distributed in the hope that it will -#be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -#GNU General Public License for more details. -# -#You may have received a copy of the GNU General Public License -#along with this program; if not, write to the Free Software -#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -#******************************************************************************** -#This BASH script just builds the executable. If there is any trouble in porting the -#executable, it might be wise to use the -static option on the compile. -# -#Build the general purpose CGI-BIN which gives data to the script. -gcc -Wimplicit -static -o arith_large_cgi arith_large_cgi.c auxfuncs.c cf_decomp.c \ - rat_num.c sieve_eratosthenes.c \ - subfunc_cfbrap.c \ - subfunc_gcd.c \ - subfunc_gmp_prob_prime.c subfunc_pfact_18.c -lgmp -# -#Copy all the source files to the right locations so they will be publicly available -#to meet the license terms of the GMP. -cp arith_large_cgi.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/arith_large_cgi.c.txt -cp auxfuncs.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/auxfuncs.c.txt -cp auxfuncs.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/auxfuncs.h.txt -cp build /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/build.txt -cp sieve_eratosthenes.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/sieve_eratosthenes.c.txt -cp sieve_eratosthenes.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/sieve_eratosthenes.h.txt -cp sieve_gen.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/sieve_gen.c.txt -cp subfunc_gcd.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_gcd.c.txt -cp subfunc_gcd.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_gcd.h.txt -cp subfunc_gmp_prob_prime.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_gmp_prob_prime.c.txt -cp subfunc_gmp_prob_prime.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_gmp_prob_prime.h.txt -cp subfunc_pfact_18.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_pfact_18.c.txt -cp subfunc_pfact_18.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_pfact_18.h.txt -# -#Also copy the PHP scripts. -cp /web_root/daveashley_com/esrg_sourceforge_mirror/phpcgibin/Cpuusagestatclock.inc /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/Cpuusagestatclock.inc.txt -cp /web_root/daveashley_com/esrg_sourceforge_mirror/phpcgibin/pfact18digit.php /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/pfact18digit.php.txt -cp /web_root/daveashley_com/esrg_sourceforge_mirror/phpcgibin/euclid_gcd.php /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/euclid_gcd.php.txt -cp /web_root/daveashley_com/esrg_sourceforge_mirror/phpcgibin/miller_rabin.php /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/miller_rabin.php.txt -cp /web_root/daveashley_com/esrg_sourceforge_mirror/phpcgibin/Stdnwpstyle.inc /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/Stdnwpstyle.inc.txt -# -#$Log: build,v $ -#Revision 1.13 2003/07/01 03:58:22 dtashley -#Addition of module RAT_NUM. -# -#Revision 1.12 2003/07/01 03:53:28 dtashley -#Addition of module CF_DECOMP. -# -#Revision 1.11 2003/07/01 03:46:58 dtashley -#Edits towards working continued fraction best rational approximation -#functionality. -# -#Revision 1.10 2003/06/29 22:51:49 dtashley -#Edits toward CF best approximation functionality. -# -#Revision 1.9 2003/04/17 20:02:05 dtashley -#License text for the GPL added. All source files are now under the GPL, -#after some discussion on the GMP list. -# -#Revision 1.8 2003/04/16 22:47:02 dtashley -#Addition of copying. -# -#Revision 1.7 2003/04/16 07:02:06 dtashley -#Spelling of Greek name corrected to Eratosthenes from incorrect Erastothenes. -# -#Revision 1.6 2003/04/15 23:56:09 dtashley -#SUBFUNC_PFACT_18 added. -# -#Revision 1.5 2003/04/14 23:27:01 dtashley -#Subfunction GMP_PROB_PRIME finished. -# -#Revision 1.4 2003/04/14 20:40:00 dtashley -#Edits--safety checkin. -# -#Revision 1.3 2003/04/14 09:01:03 dtashley -#Substantial progress. -# -#Revision 1.2 2003/04/14 02:55:24 dtashley -#Final edits on GCD. -# -#Revision 1.1 2003/04/13 23:46:06 dtashley -#Initial checkin. -#******************************************************************************** -#End of file BUILD. -#******************************************************************************** +#!/bin/bash +# +#$Header$ +# +#******************************************************************************** +#Copyright (C) 2003 David T. Ashley +#******************************************************************************** +#This program or source file is free software; you can redistribute it and/or +#modify it under the terms of the GNU General Public License as published by +#the Free Software Foundation; either version 2 of the License, or (at your +#option) any later version. +# +#This program or source file is distributed in the hope that it will +#be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of +#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#GNU General Public License for more details. +# +#You may have received a copy of the GNU General Public License +#along with this program; if not, write to the Free Software +#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +#******************************************************************************** +#This BASH script just builds the executable. If there is any trouble in porting the +#executable, it might be wise to use the -static option on the compile. +# +#Build the general purpose CGI-BIN which gives data to the script. +gcc -Wimplicit -static -o arith_large_cgi arith_large_cgi.c auxfuncs.c cf_decomp.c \ + rat_num.c sieve_eratosthenes.c \ + subfunc_cfbrap.c \ + subfunc_gcd.c \ + subfunc_gmp_prob_prime.c subfunc_pfact_18.c -lgmp +# +#Copy all the source files to the right locations so they will be publicly available +#to meet the license terms of the GMP. +cp arith_large_cgi.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/arith_large_cgi.c.txt +cp auxfuncs.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/auxfuncs.c.txt +cp auxfuncs.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/auxfuncs.h.txt +cp build /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/build.txt +cp sieve_eratosthenes.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/sieve_eratosthenes.c.txt +cp sieve_eratosthenes.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/sieve_eratosthenes.h.txt +cp sieve_gen.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/sieve_gen.c.txt +cp subfunc_gcd.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_gcd.c.txt +cp subfunc_gcd.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_gcd.h.txt +cp subfunc_gmp_prob_prime.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_gmp_prob_prime.c.txt +cp subfunc_gmp_prob_prime.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_gmp_prob_prime.h.txt +cp subfunc_pfact_18.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_pfact_18.c.txt +cp subfunc_pfact_18.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_pfact_18.h.txt +# +#Also copy the PHP scripts. +cp /web_root/daveashley_com/esrg_sourceforge_mirror/phpcgibin/Cpuusagestatclock.inc /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/Cpuusagestatclock.inc.txt +cp /web_root/daveashley_com/esrg_sourceforge_mirror/phpcgibin/pfact18digit.php /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/pfact18digit.php.txt +cp /web_root/daveashley_com/esrg_sourceforge_mirror/phpcgibin/euclid_gcd.php /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/euclid_gcd.php.txt +cp /web_root/daveashley_com/esrg_sourceforge_mirror/phpcgibin/miller_rabin.php /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/miller_rabin.php.txt +cp /web_root/daveashley_com/esrg_sourceforge_mirror/phpcgibin/Stdnwpstyle.inc /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/Stdnwpstyle.inc.txt +# +#$Log: build,v $ +#Revision 1.13 2003/07/01 03:58:22 dtashley +#Addition of module RAT_NUM. +# +#Revision 1.12 2003/07/01 03:53:28 dtashley +#Addition of module CF_DECOMP. +# +#Revision 1.11 2003/07/01 03:46:58 dtashley +#Edits towards working continued fraction best rational approximation +#functionality. +# +#Revision 1.10 2003/06/29 22:51:49 dtashley +#Edits toward CF best approximation functionality. +# +#Revision 1.9 2003/04/17 20:02:05 dtashley +#License text for the GPL added. All source files are now under the GPL, +#after some discussion on the GMP list. +# +#Revision 1.8 2003/04/16 22:47:02 dtashley +#Addition of copying. +# +#Revision 1.7 2003/04/16 07:02:06 dtashley +#Spelling of Greek name corrected to Eratosthenes from incorrect Erastothenes. +# +#Revision 1.6 2003/04/15 23:56:09 dtashley +#SUBFUNC_PFACT_18 added. +# +#Revision 1.5 2003/04/14 23:27:01 dtashley +#Subfunction GMP_PROB_PRIME finished. +# +#Revision 1.4 2003/04/14 20:40:00 dtashley +#Edits--safety checkin. +# +#Revision 1.3 2003/04/14 09:01:03 dtashley +#Substantial progress. +# +#Revision 1.2 2003/04/14 02:55:24 dtashley +#Final edits on GCD. +# +#Revision 1.1 2003/04/13 23:46:06 dtashley +#Initial checkin. +#******************************************************************************** +#End of file BUILD. +#********************************************************************************