/[dtapublic]/projs/dtats/trunk/projs/2018/20180707_cgi_web_tools_aux_exe/build
ViewVC logotype

Annotation of /projs/dtats/trunk/projs/2018/20180707_cgi_web_tools_aux_exe/build

Parent Directory Parent Directory | Revision Log Revision Log


Revision 27 - (hide annotations) (download)
Sat Oct 8 07:04:15 2016 UTC (7 years, 8 months ago) by dashley
Original Path: sf_code/esrgnxpj/sfnthcgi0304/build
File size: 5708 byte(s)
Initial commit.
1 dashley 27 #!/bin/bash
2     #
3     #$Header: /cvsroot/esrg/sfesrg/esrgnxpj/sfnthcgi0304/build,v 1.13 2003/07/01 03:58:22 dtashley Exp $
4     #
5     #********************************************************************************
6     #Copyright (C) 2003 David T. Ashley
7     #********************************************************************************
8     #This program or source file is free software; you can redistribute it and/or
9     #modify it under the terms of the GNU General Public License as published by
10     #the Free Software Foundation; either version 2 of the License, or (at your
11     #option) any later version.
12     #
13     #This program or source file is distributed in the hope that it will
14     #be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
15     #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16     #GNU General Public License for more details.
17     #
18     #You may have received a copy of the GNU General Public License
19     #along with this program; if not, write to the Free Software
20     #Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21     #********************************************************************************
22     #This BASH script just builds the executable. If there is any trouble in porting the
23     #executable, it might be wise to use the -static option on the compile.
24     #
25     #Build the general purpose CGI-BIN which gives data to the script.
26     gcc -Wimplicit -static -o arith_large_cgi arith_large_cgi.c auxfuncs.c cf_decomp.c \
27     rat_num.c sieve_eratosthenes.c \
28     subfunc_cfbrap.c \
29     subfunc_gcd.c \
30     subfunc_gmp_prob_prime.c subfunc_pfact_18.c -lgmp
31     #
32     #Copy all the source files to the right locations so they will be publicly available
33     #to meet the license terms of the GMP.
34     cp arith_large_cgi.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/arith_large_cgi.c.txt
35     cp auxfuncs.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/auxfuncs.c.txt
36     cp auxfuncs.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/auxfuncs.h.txt
37     cp build /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/build.txt
38     cp sieve_eratosthenes.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/sieve_eratosthenes.c.txt
39     cp sieve_eratosthenes.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/sieve_eratosthenes.h.txt
40     cp sieve_gen.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/sieve_gen.c.txt
41     cp subfunc_gcd.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_gcd.c.txt
42     cp subfunc_gcd.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_gcd.h.txt
43     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
44     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
45     cp subfunc_pfact_18.c /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_pfact_18.c.txt
46     cp subfunc_pfact_18.h /web_root/daveashley_com/esrg_sourceforge_mirror/howtos/nth_web_gmp_src_code_dist/subfunc_pfact_18.h.txt
47     #
48     #Also copy the PHP scripts.
49     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
50     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
51     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
52     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
53     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
54     #
55     #$Log: build,v $
56     #Revision 1.13 2003/07/01 03:58:22 dtashley
57     #Addition of module RAT_NUM.
58     #
59     #Revision 1.12 2003/07/01 03:53:28 dtashley
60     #Addition of module CF_DECOMP.
61     #
62     #Revision 1.11 2003/07/01 03:46:58 dtashley
63     #Edits towards working continued fraction best rational approximation
64     #functionality.
65     #
66     #Revision 1.10 2003/06/29 22:51:49 dtashley
67     #Edits toward CF best approximation functionality.
68     #
69     #Revision 1.9 2003/04/17 20:02:05 dtashley
70     #License text for the GPL added. All source files are now under the GPL,
71     #after some discussion on the GMP list.
72     #
73     #Revision 1.8 2003/04/16 22:47:02 dtashley
74     #Addition of copying.
75     #
76     #Revision 1.7 2003/04/16 07:02:06 dtashley
77     #Spelling of Greek name corrected to Eratosthenes from incorrect Erastothenes.
78     #
79     #Revision 1.6 2003/04/15 23:56:09 dtashley
80     #SUBFUNC_PFACT_18 added.
81     #
82     #Revision 1.5 2003/04/14 23:27:01 dtashley
83     #Subfunction GMP_PROB_PRIME finished.
84     #
85     #Revision 1.4 2003/04/14 20:40:00 dtashley
86     #Edits--safety checkin.
87     #
88     #Revision 1.3 2003/04/14 09:01:03 dtashley
89     #Substantial progress.
90     #
91     #Revision 1.2 2003/04/14 02:55:24 dtashley
92     #Final edits on GCD.
93     #
94     #Revision 1.1 2003/04/13 23:46:06 dtashley
95     #Initial checkin.
96     #********************************************************************************
97     #End of file BUILD.
98     #********************************************************************************

dashley@gmail.com
ViewVC Help
Powered by ViewVC 1.1.25