makefile add generate share lib methond