Linearized gravitation theory in macroscopic media