The bat files in public/cebase/oak/misc define the dependency between sysgen variables. And add modules to image according to the sysgen variable definations.
For example, if SYSGEN_ISAPI_CONFIG depends on SYSGEN_HTTPD, you have to add this line in service.bat
And this code tells build window to add the module httpdadm to image, if SYSGEN_ISAPI_CONFIG is defined in service.bat