changes to mocks Makefile, add shm mock