add INCDIR, BINDIR and LIBDIR