add support for dependencies with explicit source file lists

Built modules are placed in the .modules/ folder of the including package.