Dependency from directories

Describe dependency upon directories
with '|' gmake feature for executables and archives.

Add EXTRA_PRE*/EXTRA_POST* macro to dependency for archives
(for example to create soft links to just created library).