Update with my findings. Nginx auto/configure will invoke config.make in the addon's directory. It's get invoked after the part of Makefile get generated, thus addon developer can use config.make to modify the Makefile generated by nginx's configure command line. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,269147,269165#msg-269165