  The usual canonical Hamiltonian or Lagrangian formalism of classical
mechanics applied to macroscopic systems describes energy conserving adiabatic
motion. If irreversible diabatic processes are to be included, then the law of
increasing entropy must also be considered. The notion of entropy then enters
into the general classical mechanical formalism. The resulting general
formulation and its physical consequences are explored.
