Fix a typo in clean section of otp_mibs makefile

There is no such variable $(TARGETS_FILES) (with S)
Cleanup behaviour modules in ssh

Behaviour modules were not cleanuped.
Cleanup behaviour modules in ssl

Behaviour modules were not cleanuped.
Cleanup parse_transform modules in eunit

Parse_transform modules were not cleanuped.
Fix filelib:wildcard/2 when 'Cwd' ends with a dot

In such case, filelib:wildcard/2 returned truncated results:

  1> file:set_cwd("/usr/lib/erlang/lib").
  ok
  2> filelib:wildcard("stdlib-*/ebin/*.app", filename:absname(".")).
  ["dlib-2.1/ebin/stdlib.app"]
Rewrite merge of clause variable tables (in case, try, etc)

erl_lint:icrt_export/4 has been rewritten to make the code really
follow the scoping rules of Erlang, and not just in most situations
by accident.

 * The function should not depend on calling unused_vars/3 because that
   function does not return variables which begins with an underscore,
   something that only matters when emitting warnings. This could cause
   a compiler crash if such a variable was reused afterwards.

 * The variable tables from each clause are first merged together,
   lists:merge/1 is safe to use because they are orddicts and thus
   already sorted. This list is then traversed parallelly to the old
   variable table, again taking advantage of their sorted order.

 * The function does not emit warnings itself, there is no need to pass
   around the lint state. In the same vein, vtunsafe/3 has been rewritten
   to do more things by itself, given that all of its calls were similar.
   Finally, compiled-out code has been removed.

 * This reverts the code in 9ce148b1059e4da746a11f1d80a653340216c468,
   which fixed the compiler crash and made erl_lint remember unsafe
   variables, but forget about unused variables in the process.

 * Other places of the code which relied on the old clunky behaviour were
   also updated: unused and unsafe old variables are forgotten when
   merging fun clauses and boolean shortcircuiting operators do not rely
   on icrt_export/3 anymore.
Allow Name/Arity syntax in maps inside attributes

Currently Name/Arity syntax is supported in list and tuple terms. This change makes it possible to use this syntax in map terms for consistency and convenience.

Example:
-custom(#{test1 => init/2, test2 => [val/1, val/2]}).
Fix HiPE debug lock checking on OS X 64bit

Position-independent code is mandatory on OS X. We use r11 as an intermediate
register to fill BIF_P->hipe.bif_callee. This fixes the following error when
doing `make debug FLAVOR=smp`:

clang -cc1as: fatal error: error in backend: 32-bit absolute addressing is not supported in 64-bit mode
Install internal hrl files when necessary

Sometimes we install *.erl files. Some these files include a private
*.hrl files, so in order to make these *.erl files usable we have to
install these private includes as well.

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Fix typo in erlang-mode comment
let Java compiler output all warnings
Add configure option --with-ssl-incl=PATH

to be used together with --with-ssl=PATH if the include directory
is in another location.
Correct SSL_RUNTIME_LIBDIR when erl_xcomp_sysroot ends with a /
Do not rely on macros with implicit vars

This commit also provides the benefit that the Label argument
in gen:call/3 is no longer used, as we can access the sender
in the From argument. Therefore, we should be able to change
the Label to something more relevant in the future.
stdlib: Fix maps type pretty printing

Properly align union typed assoc values.
remove unnecessary Cloneable and Serializable
remove unnecessary null pointer checks
removed unnecessary semicolons, imports, labels
remove unused variables
remove unnecessary syntax (casts)