Depends on what exactly you want to share ...
Each site will need its own config.php and lib-common.php (since that includes the config.php). After that, you can set the paths in config.php to share at least some parts, e.g. the system and the language directories.
bye, Dirk