With small applications that have simple GUIs, you can practice porting by using a two-step process:
Convert the GUI object-by-object from the OPEN LOOK user interface to Motif. (See "Use a Motif GUI Builder" below.)
Clean up the resulting GUI so that it adheres to the CDE style guidelines. Take advantage of this opportunity to review the GUI for ease-of-use and customer-specific issues. You might decide to change the interface, even if the object-by-object conversion is style-guide compliant.
Chapter 7, Porting Example: OPEN LOOK to Solaris Motif, takes a simple OPEN LOOK application and illustrates this process.
This is not the recommended way to port large, real-life applications.