The sap.m library is currently the "leading" library for SAPUI5 application development, and can also be used for desktop applications. You can combine it with other compatible libraries as described below. The respective resource handler automatically handles the way in which the libraries are embedded into your application.
The combinations that are possible are best shown using the following image:
Library with controls specialized for mobile devices.
SAPUI5 library contains the makit charts.
Common library for standard controls
SAPUI5 library with controls that implement the SAP User Experience (UX) Guidelines 3.0
SAPUI5 library containing chart controls based on the VIZ charting library