some pseudo api mocks for refactoring of lake's generation of Makefile.mk