reference:
A tutorial for porting to autoconf & automake
GNU autoconf (automake) "Hello World" step-by-step example
- All you should really know about Autoconf and Automake
- A tutorial for porting to autoconf & automake
- GNU Automake By Example
- Tinc (super clean autotools integration)
example:
https://www.ibm.com/developerworks/cn/linux/l-makefile/