Revert "Delete cm.mk"

This reverts commit 4001dc5bbf620210d363fe02252ca291f47981aa.
Revert "Delete cm.dependencies"

This reverts commit 882e7aa6cc0c83c37730017b10d7d4a3d7b228d0.