1. 16 3月, 2018 1 次提交
  2. 15 3月, 2018 1 次提交
    • R
      Streamline dependency generation · bbb9413b
      Richard Levitte 提交于
      It seems that only gcc -MMD produces dependency files that are "sane"
      for our needs.  For all other methods, some post processing is needed:
      
      - 'makedepend' (Unix) insists that object files are located in the
        same spot as the source file.
      - 'cl /Zs /showIncludes' (Visual C) has "Note: including file: " where
        we'd like to see the object.
      - 'CC/DECC' (VMS) insists that the object file is located in the
        current directory, i.e. it strips away all directory information.
      
      So far, we've managed this (except for the VMS case) with individual
      uncommented perl command lines directly in the build file template.
      We're now collecting these diverse hacks into one perl script that
      takes an argument to tell what kind of input to expect and that
      massages whatever it gets on STDIN and outputs the result on STDOUT.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/5591)
      bbb9413b
  3. 14 3月, 2018 2 次提交
  4. 09 3月, 2018 3 次提交
  5. 04 3月, 2018 1 次提交
  6. 26 2月, 2018 1 次提交
    • R
      Make it possible to give --libdir an absolute path · e454f3ad
      Richard Levitte 提交于
      With this, we introduce the make variable 'libdir', which differs from
      'LIBDIR' not only in casing, but also by being the absolute path to
      the library installation directory.  This variable is intentionally
      compatible with the GNU coding standards.
      
      When --libdir is given an absolute path, it is considered as a value
      according to GNU coding standards, and the variables LIBDIR and libdir
      will be this:
      
          LIBDIR=
          libdir=/absolute/path
      
      When --libdir is given a relative path (just the name of the desired
      library directory), or not given at all, it is considered as a
      "traditional" OpenSSL value, and the variables LIBDIR and libdir will
      be this:
      
          LIBDIR=relativepath
          libdir=$(INSTALLTOP)/$(LIBDIR)
      
      Fixes #5398
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/5446)
      e454f3ad
  7. 23 2月, 2018 1 次提交
  8. 22 2月, 2018 1 次提交
  9. 15 2月, 2018 1 次提交
    • R
      Harmonize the make variables across all known platforms families · 722c9762
      Richard Levitte 提交于
      The make variables LIB_CFLAGS, DSO_CFLAGS and so on were used in
      addition to CFLAGS and so on.  This works without problem on Unix and
      Windows, where options with different purposes (such as -D and -I) can
      appear anywhere on the command line and get accumulated as they come.
      This is not necessarely so on VMS.  For example, macros must all be
      collected and given through one /DEFINE, and the same goes for
      inclusion directories (/INCLUDE).
      
      So, to harmonize all platforms, we repurpose make variables starting
      with LIB_, DSO_ and BIN_ to be all encompassing variables that
      collects the corresponding values from CFLAGS, CPPFLAGS, DEFINES,
      INCLUDES and so on together with possible config target values
      specific for libraries DSOs and programs, and use them instead of the
      general ones everywhere.
      
      This will, for example, allow VMS to use the exact same generators for
      generated files that go through cpp as all other platforms, something
      that has been impossible to do safely before now.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/5357)
      722c9762
  10. 14 2月, 2018 1 次提交
  11. 09 2月, 2018 1 次提交
  12. 08 2月, 2018 1 次提交
  13. 30 1月, 2018 4 次提交
  14. 28 1月, 2018 2 次提交
  15. 19 1月, 2018 1 次提交
  16. 15 1月, 2018 1 次提交
  17. 13 12月, 2017 3 次提交
    • R
      Configure et al: cleanups · 8dd0ff1c
      Richard Levitte 提交于
      Remove some config attributes that just duplicate values that are
      already there in other attributes.
      
      Remove the special runs of mkdef.pl and mkrc.pl from build file
      templates, as these are now done via GENERATE statements in
      build.info.
      
      Remove all references to ordinal files from build file templates, as
      these are now treated via the GENERATE statements in build.info.
      
      Also remove -shared flags and similar that are there in shared-info.pl
      anyway.  (in the case of darwin, it's mandatory, as -bundle and
      -dynamiclib don't mix)
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/4840)
      8dd0ff1c
    • R
      Build file templates: Replace the use of Makefile.shared · 81183680
      Richard Levitte 提交于
      Because this also includes handling all sorts of non-object files when
      linking a program, shared library or DSO, this also includes allowing
      general recognition of files such as .res files (compiled from .rc
      files), or .def / .map / .opt files (for export and possibly
      versioning of public symbols only).
      
      This does mean that there's a tangible change for all build file
      templates: they must now recognise and handle the `.o` extension,
      which is used internally to recognise object files internally.  This
      extension was removed by common.tmpl before this change, but would
      mean that the platform specific templates wouldn't know if "foo.map"
      was originally "foo.map.o" (i.e. an object file in its own right) or
      "foo.map" (an export definition file that should be treated as such,
      not as an object file).
      
      For the sake of simplifying things, we also modify util/mkdef.pl to
      produce .def (Windows) and .opt (VMS) files that don't need additional
      hackery.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/4840)
      81183680
    • R
      Configure: Read in extra information to help create shared libraries · 793077d0
      Richard Levitte 提交于
      This will replace the use of Makefile.shared
      
      This also means a small adjustment on how the attributes dso_cflags,
      dso_cxxflags and dso_lflags are treated.  They were previously treated
      as an extension to shared_cflag, shared_cxxflag and shared_ldflag, but
      they should really be regarded as alternatives instead, for example
      for darwin, where -dynamiclib is used for shared libraries and -bundle
      for DSOs.
      
      We take the opportunity to clean out things that are redundant or
      otherwise superfluous (for example the check of GNU ld on platforms
      where it never existed).
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/4840)
      793077d0
  18. 09 10月, 2017 1 次提交
  19. 04 10月, 2017 1 次提交
  20. 16 8月, 2017 2 次提交
  21. 27 7月, 2017 1 次提交
    • R
      Simplify the handling of shared library version numbers · d4453024
      Richard Levitte 提交于
      $(SHLIB_MAJOR).$(SHLIB_MINOR) is really a synonym for
      $(SHLIB_VERSION_NUMBER), and is therefore an added complexity,
      so better to use $(SHLIB_VERSION_NUMBER) directly.  SHLIB_MAJOR and
      SHLIB_MINOR are now unused, but are kept around purely as information
      in case someone relies on their existence.
      
      At the same time, add support for custom shared library extensions
      with the three new Makefile variables SHLIB_EXT, SHLIB_EXT_SIMPLE and
      SHLIB_EXT_IMPORT.  By default, they hold the variants of shared
      library extensions we support.  On mingw and cygwin, SHLIB_EXT_IMPORT
      is defined; on all other Unix platforms, it's empty.
      
      An example to get shared libraries with a slightly different SOVER name:
      
          $ make SHLIB_EXT='.$(SHLIB_VERSION_NUMBER).so'
      
      Fixes #3902
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/3964)
      d4453024
  22. 17 6月, 2017 1 次提交
  23. 16 6月, 2017 2 次提交
  24. 08 6月, 2017 1 次提交
  25. 25 4月, 2017 1 次提交
  26. 23 4月, 2017 1 次提交
  27. 10 11月, 2016 1 次提交
  28. 04 11月, 2016 1 次提交
  29. 18 9月, 2016 1 次提交