• 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
windows-makefile.tmpl 29.7 KB