Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change set_arch_defines to also use read_info_files, then interate over | lloyd | 2006-09-05 | 1 | -10/+5 |
| | | | | the %CPU hash and extract the extra information that's currently needed. | ||||
* | Remove set_os_defines and set_cc_defines, replace them with a call to | lloyd | 2006-09-05 | 1 | -26/+14 |
| | | | | | read_info_files which encapsulates the loop over the directory, calling a function reference for each file and collating the results. | ||||
* | Remove the %OS_ALIAS hash | lloyd | 2006-09-05 | 1 | -8/+16 |
| | |||||
* | Remove the last of the hashes that held the compiler flags, everything has | lloyd | 2006-09-05 | 1 | -27/+13 |
| | | | | been merged into %COMPILERS | ||||
* | In set_*_defines, rather than assigning to the %OPERATING_SYSTEM, %CPU, | lloyd | 2006-09-05 | 1 | -3/+9 |
| | | | | | | and %COMPILER hashes each time through the loop, accumulate into a temporary hash and set them at the end (eventually they will just return the hashes, and their caller will assign the globals). | ||||
* | Remove %OS_SUPPORTS_SHARED | lloyd | 2006-09-05 | 1 | -7/+9 |
| | |||||
* | Remove the global machine optimization flag hashes | lloyd | 2006-09-05 | 1 | -21/+21 |
| | |||||
* | Remove %INSTALL_INFO | lloyd | 2006-09-05 | 1 | -15/+7 |
| | |||||
* | Rename the keys used in the %INSTALL_INFO hash to make it easier to swap | lloyd | 2006-09-05 | 1 | -21/+21 |
| | | | | out for the information kept in %OPERATING_SYSTEM. | ||||
* | Add some helper functions to cut down on clutter in generate_makefile | lloyd | 2006-09-04 | 1 | -24/+28 |
| | |||||
* | Remove several hashes related to file naming | lloyd | 2006-09-04 | 1 | -30/+24 |
| | |||||
* | Remove the compiler debug flags hash and the makefile style hash | lloyd | 2006-09-04 | 1 | -11/+8 |
| | |||||
* | Remove the hashes that listed what operating systems and CPUs a particular | lloyd | 2006-09-04 | 1 | -18/+16 |
| | | | | compiler ran on (again, that information is pulled out of %COMPILERS now) | ||||
* | Remove the global hashes that used to hold the optimization and warning | lloyd | 2006-09-04 | 1 | -10/+14 |
| | | | | options for the compiler; that information is pulled out of %COMPILERS now | ||||
* | Avoid undefined warnings in Makefile generation if the compiler does not | lloyd | 2006-09-04 | 1 | -2/+9 |
| | | | | define any optimization options. | ||||
* | Remove CC_AR_COMMAND | lloyd | 2006-09-04 | 1 | -3/+10 |
| | | | | Prevent some undefined variable warnings in Makefile generation | ||||
* | Remove CC_BINARY_NAME | lloyd | 2006-09-04 | 1 | -5/+4 |
| | |||||
* | Remove OS_SUPPORTS_ARCH | lloyd | 2006-09-04 | 1 | -3/+2 |
| | |||||
* | Swap the arguments to in_array() | lloyd | 2006-09-04 | 1 | -11/+11 |
| | |||||
* | Remove the REALNAME hash | lloyd | 2006-09-04 | 1 | -17/+24 |
| | |||||
* | Start the first steps towards removing some of the global hashes | lloyd | 2006-09-04 | 1 | -24/+44 |
| | |||||
* | Make ar_needs_ranlib less of a special case | lloyd | 2006-09-04 | 1 | -8/+7 |
| | |||||
* | Rename some internally-used variables so I can use set_if_any for some | lloyd | 2006-09-04 | 1 | -33/+26 |
| | | | | of the module info variables. | ||||
* | Remove set_undef, replace with an explicit loop in the one place where | lloyd | 2006-09-04 | 1 | -11/+4 |
| | | | | it was used. | ||||
* | Move some subroutines that were only used in one place inside the | lloyd | 2006-09-04 | 1 | -88/+92 |
| | | | | | | | | function in question. Rename some variables Add a helper function in get_module_info | ||||
* | Rename %modinfo to %info in get_module_info | lloyd | 2006-09-04 | 1 | -22/+22 |
| | |||||
* | Finish get_cc_info() | lloyd | 2006-09-04 | 1 | -21/+29 |
| | |||||
* | Use get_cc_info to get the single-variable values from the compiler | lloyd | 2006-09-04 | 1 | -17/+14 |
| | | | | descriptions; lists are still processed in set_cc_defines() | ||||
* | First pass at get_cc_info() | lloyd | 2006-09-04 | 1 | -1/+20 |
| | |||||
* | Implement get_arch_info, which handles reading a single architecture | lloyd | 2006-09-04 | 1 | -19/+42 |
| | | | | | file and getting the results, which is called by set_arch_defines as needed. | ||||
* | Finish get_os_info; set_os_defines now uses it for gathering all information | lloyd | 2006-09-04 | 1 | -51/+33 |
| | | | | from the file. | ||||
* | Begin to make a distinction between reading the file and setting the values | lloyd | 2006-09-04 | 1 | -12/+56 |
| | | | | | | | in hashes; split the reading portion of the OS config info into a new function, get_os_info, with set_os_defines iterating over each file in misc/config/os, calling get_os_info, and then pulling values out of the results, setting the values where the rest of the script expects. | ||||
* | Add helpers for reading single-line settings in the config description | lloyd | 2006-09-04 | 1 | -56/+55 |
| | | | | | | | and module info files. Get set_undef working for get_module_info, so we don't have to create as many (explicit) anonymous subroutines. | ||||
* | Change the function that reads modinfo.txt files to use read_hash as well | lloyd | 2006-09-04 | 1 | -118/+84 |
| | |||||
* | Change read_hash to take a function reference, which it calls for each | lloyd | 2006-09-04 | 1 | -73/+43 |
| | | | | | matching line. This makes handling the variations much simpler. Convert more of the applicable code to use read_hash. | ||||
* | Add some helper functions for reading information from the config info files | lloyd | 2006-09-04 | 1 | -59/+59 |
| | |||||
* | Clean up how machine-specific compiler options are set | lloyd | 2006-09-04 | 1 | -16/+27 |
| | |||||
* | Remove use of the DirHandle module | lloyd | 2006-09-04 | 1 | -42/+17 |
| | |||||
* | Define a new function, make_reader, which returns an closure over the | lloyd | 2006-09-04 | 1 | -69/+54 |
| | | | | | | file being read that strips comments and whitespace and then skips over blank lines. This was previously something done in every single loop that called process() directly. | ||||
* | Make a passphrase optional for the DSA and RSA key generation examples | lloyd | 2006-09-04 | 2 | -12/+17 |
| | |||||
* | Use formatted I/O to make the output a little easier to read | lloyd | 2006-09-04 | 1 | -3/+3 |
| | |||||
* | Document --build-dir and --local-config in the help output. | lloyd | 2006-09-03 | 1 | -52/+47 |
| | |||||
* | Move the (commented out) gzip.cpp/gzip.h entries into the add file block | lloyd | 2006-09-03 | 1 | -4/+3 |
| | |||||
* | Make some of the code a bit more Perl-ish | lloyd | 2006-09-03 | 1 | -153/+133 |
| | |||||
* | Remove some dead code | lloyd | 2006-09-03 | 1 | -60/+45 |
| | |||||
* | Place the add_file/replace_file/ignore_file markers in the module info | lloyd | 2006-09-03 | 27 | -114/+163 |
| | | | | | | files into blocks; makes a bit more sense, since there are potentially many arguments to each, and the current system was making it difficult to write a generic reader for the files. | ||||
* | More small cleanups | lloyd | 2006-09-03 | 1 | -136/+48 |
| | |||||
* | Small cleanups, remove some obsolete code, etc | lloyd | 2006-09-02 | 1 | -33/+29 |
| | |||||
* | Move some variables that did not need to be global into main() itself | lloyd | 2006-09-02 | 1 | -8/+9 |
| | |||||
* | Simplify how the hashes that specify bits of information about the | lloyd | 2006-09-02 | 1 | -112/+36 |
| | | | | system are passed around. |