add lockfile.c to makefile.