Separating what belongs in what subpackage is done with the *.install
files. The build step is meant to build everything, regardless of which subpackage the built files will eventually land in.
If you have two separate source tarballs for the server and client packages, you'll also want to have separate source packages.