1. 20 5月, 2018 1 次提交
  2. 16 5月, 2018 1 次提交
  3. 07 5月, 2018 1 次提交
  4. 16 4月, 2018 1 次提交
  5. 12 4月, 2018 2 次提交
  6. 08 4月, 2018 1 次提交
  7. 02 4月, 2018 1 次提交
    • R
      Windows builds: remove over-quotation of LIBZ macro · 2cc8fe11
      Richard Levitte 提交于
      The LIBZ macro definition was already quoted in BASE_windows, then got
      quotified once more in windows-makefile.tmpl.  That's a bit too much
      quotations, ending up with the compiler being asked to define the
      macro |"LIBZ=\"ZLIB1\""| (no, not the macro LIBZ with the value
      "ZLIB1").  This is solved by removing the extra quoting in
      BASE_windows.
      
      Along with this, change the quotation of macro definitions and include
      file specification, so we end up with things like -I"QuotedPath" and
      -D"Macro=\"some weird value\"" rather than "-IQuotedPath" and
      "-DMacro=\"some weird value\"".
      
      Fixes #5827
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/5833)
      2cc8fe11
  8. 25 3月, 2018 1 次提交
  9. 16 3月, 2018 2 次提交
  10. 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
  11. 14 3月, 2018 2 次提交
  12. 09 3月, 2018 3 次提交
  13. 04 3月, 2018 1 次提交
  14. 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
  15. 23 2月, 2018 1 次提交
  16. 22 2月, 2018 1 次提交
  17. 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
  18. 14 2月, 2018 1 次提交
  19. 09 2月, 2018 1 次提交
  20. 08 2月, 2018 1 次提交
  21. 30 1月, 2018 4 次提交
  22. 28 1月, 2018 2 次提交
  23. 19 1月, 2018 1 次提交
  24. 15 1月, 2018 1 次提交
  25. 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
  26. 09 10月, 2017 1 次提交
  27. 04 10月, 2017 1 次提交
  28. 16 8月, 2017 2 次提交