To build your server application, follow the rules for building a freestanding application as described in Building freestanding applications.
There are no special considerations for building user applications. The automatic call facility causes the right routines from SYSLIB to be included.