DragAndDrop - an example of Drag and Drop functionality. clipboard - an example of clipboard actions. dogs - an example of how to subclass a primitive widget. hellomotif - traditional hellomotif. helloint - an internationalized version of hellomotif. motifanim - simple animation showing icon/bitmap use in UIL. moitfburger - an example of a UIL/Xm program. motifgif - a GIF viewer with Motif interface. motifshell - a simple shell environment created using Motif. periodic - a display of all Motif widgets. textedit - an example text editor. uilsymdump - an example of using the uilsymdump function. view - an internationalized text viewer. xmpiano - a music application using Motif. xmsamplers - a directory of Motif functionality examples. xmtravel - a simulated travel agent database front-end.
make
/imake
.
The default installation goes into /usr
,
if you don't want that, modify the Makefiles
/Imakefiles
accordingly.
Imakefiles
need a lot of adaptions,
to be documented later.
xmkmf -a make make install
uil
compiler,
which requires the shared library libMrm.1
.
Ensure that it is in the library path:
export SHLIB_PATH=$SHLIB_PATH:/usr/lib/Motif1.2
Modify Makefile
s:
INSTALL = bsdinst BINDIR = /usr/bin/X11 BINDIR = /tmp/Xm1.2 MKDIRHIER = /usr/bin/sh $(BINDIR)/mkdirhier MKDIRHIER = /usr/bin/sh mkdirhier LIBDIR = $(USRLIBDIR)/X11 LIBDIR = /tmp/Xm1.2/lib/X11 DEPUIL = $(BINDIR)/uil DEPUIL = /usr/dt/bin/uil
Modify motifshell/Makefile
:
DOCDIR = /tmp/Xm1.2/doc install:: motif @if [ -d $(DESTDIR)$(DOCDIR) ]; then set +x; \ else (set -x; $(MKDIRHIER) $(DESTDIR)$(DOCDIR)); fi $(INSTALL) -c $(INSTDATFLAGS) motif $(DESTDIR)$(DOCDIR)Then run:
make clean make make install
export LIBPATH=$LIBPATH:/lib