1. 15 8月, 2017 1 次提交
  2. 11 8月, 2017 1 次提交
  3. 21 9月, 2016 1 次提交
  4. 20 4月, 2016 1 次提交
  5. 23 2月, 2016 1 次提交
  6. 22 2月, 2016 1 次提交
  7. 10 2月, 2016 1 次提交
  8. 26 1月, 2016 2 次提交
    • R
      Generate warning text · 9ab6fc59
      Richard Levitte 提交于
      Now that we're using templates, we should warn people not to edit the
      resulting file.  We do it through util/dofile.pl, which is enhanced
      with an option to tell what file it was called from.  We also change
      the calls so the template files are on the command line instead of
      being redirected through standard input.  That way, we can display
      something like this (example taken from include/openssl/opensslconf.h):
      
          /* WARNING: do not edit! */
          /* Generated by Configure from include/openssl/opensslconf.h.in */
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      9ab6fc59
    • R
      Refactor file writing - Remake Makefile.org into a template · 107b5792
      Richard Levitte 提交于
      It is time for Makefile.org to fold into the new regime and have a run
      through util/dofile.pl.  This forces some information out of there and
      into Configure, which isn't a bad thing, it makes Configure
      increasingly the center of build information, which is as it should
      be.
      
      A few extra defaults were needed in the BASE template to get rid of
      warnings about missing values.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      107b5792
  9. 24 1月, 2016 1 次提交
  10. 23 1月, 2016 2 次提交
    • R
    • R
      Refactor file writing - introduce template driven file writing · 291e94df
      Richard Levitte 提交于
      apps/CA.pl and tools/c_rehash are built from template files.  So far,
      this was done by Configure, which created its own problems as it
      forced everyone to reconfigure just because one of the template files
      had changed.
      Instead, have those files created as part of the normal build in apps/
      and in tools/.
      
      Furthermore, this prepares for a future where Configure may produce
      entirely other build files than Makefile, and the latter can't be
      guaranteed to be the holder of all information for other scripts.
      Instead, configdata.pm (described below) becomes the center of
      configuration information.
      
      This introduces a few new things:
      
      %config         a hash table to hold all kinds of configuration data
                      that can be used by any other script.
      configdata.pm   a perl module that Configure writes.  It currently
                      holds the hash tables %config and %target.
      util/dofile.pl  a script that takes a template on STDIN and outputs
                      the result after applying configuration data on it.
                      It's supposed to be called like this:
      
                              perl -I$(TOP) -Mconfigdata < template > result
      
                      or
      
                              perl -I$(TOP) -Mconfigdata templ1 templ2 ... > result
      
                      Note: util/dofile.pl requires Text::Template.
      
      As part of this changed, remove a number of variables that are really
      just copies of entries in %target, and use %target directly.  The
      exceptions are $target{cflags} and $target{lflags}, they do get copied
      to $cflags and $lflags.  The reason for this is that those variable
      potentially go through a lot of changes and would rather deserve a
      place in %config.  That, however, is for another commit.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      291e94df