There are basically only two things you need to know from pike, and one of them is rather optional:
1: Where is the pike include files, and any special defines needed? pike -x cflags
2: Where should the module be installed to? pike --show-paths or use pike -x module ('new' style)
You also need to know what abi to compile for.