Never mind.  I found the place where I can add the HPUX cc version and then I assume that I can have two <compiler>…</compiler> section within a library, one with the .c files and the other with the .cpp files.