1. vi confgure.ac to set AM_SILENT_RULES([no]) so that all compile command line will be eched
2. configure --prefix=/usr
3.find -name Makefile -exec perl -p -i -n -e '$_="CFLAGS= -g -o0\n" if/^CFLAGS/' {} \; to set compile options
4.import it into eclipse
5. build project