Решил найти IDE для motif и нашел lxb. LXB An X/Motif interactive graphical user interface builder
https://ftp2.nluug.nl/ibiblio/X11/devel/builders/
В инструкции для сборки указано
To build:
1) If you have made any changes in the tool directory,
rebuild it first. If you have not, you do not need
to do anything there.
2) If you are on a Linux system, try a make with the
existing Makefile. It works for me.
Otherwise your next best thing is to hack the Makefile.
Or, you can try Imake by entering "xmkmf". But it's been
awhile since I checked out the Imakefile.
The provided Makefiles :
Makefile.solaris: Sun Solaris 2.4+
Makefile.linux: Linux
Makefile.ref: Generic (actually Linux...)
3) Then you can:
1) make clean
2) make depend
3) make
make depend
makedepend -I../include *.c
makedepend: warning: CallbackEd.c (reading /usr/include/stdio.h, line 33): cannot find include file "stddef.h"
not in ../include/stddef.h
not in /usr/include/stddef.h
makedepend: warning: CallbackEd.c (reading /usr/include/stdio.h, line 36): cannot find include file "stdarg.h"
not in ../include/stdarg.h
not in /usr/include/stdarg.h
makedepend: warning: CallbackEd.c (reading /usr/include/sys/types.h, line 144): cannot find include file "stddef.h"
not in ../include/stddef.h
not in /usr/include/stddef.h
makedepend: warning: CallbackEd.c (reading /usr/include/X11/Xlib.h, line 51): cannot find include file "stddef.h"
not in ../include/stddef.h
not in /usr/include/stddef.h
makedepend: warning: CallbackEd.c (reading /usr/include/string.h, line 33): cannot find include file "stddef.h"
not in ../include/stddef.h
not in /usr/include/stddef.h
makedepend: warning: CallbackEd.c (reading /usr/include/strings.h, line 23): cannot find include file "stddef.h"
not in ../include/stddef.h
not in /usr/include/stddef.h
makedepend: warning: CallbackEd.c (reading /usr/include/X11/Intrinsic.h, line 99): cannot find include file "stddef.h"
not in ../include/stddef.h
not in /usr/include/stddef.h
makedepend: warning: code.c (reading /usr/include/stdlib.h, line 32): cannot find include file "stddef.h"
not in ../include/stddef.h
not in /usr/include/stddef.h
makedepend: warning: code.c (reading /usr/include/alloca.h, line 24): cannot find include file "stddef.h"
not in ../include/stddef.h
not in /usr/include/stddef.h
makedepend: warning: code.c (reading /usr/include/unistd.h, line 226): cannot find include file "stddef.h"
not in ../include/stddef.h
not in /usr/include/stddef.h
makedepend: warning: lxb.c (reading /usr/include/time.h, line 29): cannot find include file "stddef.h"
not in ../include/stddef.h
not in /usr/include/stddef.h
makedepend: warning: lxb.c (reading /usr/include/dirent.h, line 247): cannot find include file "stddef.h"
not in ../include/stddef.h
not in /usr/include/stddef.h
makedepend: warning: top.c, line 10: cannot find include file "varargs.h"
not in ../include/varargs.h
not in /usr/include/varargs.h
Однако при make выводит ошибку
gcc -g -pipe -m486 -I../include -c -o about.o about.c
gcc: error: unrecognized command-line option '-m486'
make: *** [<builtin>: about.o] Error 1