I’m now learning how to develop Unix GUI applications using Motif Widget Toolkit. Later I’ll write a series of posts on this theme.
But I noticed that in my OS (I use FreeBSD 12.1) don’t exists the pkg-config .pc file for this toolkit. So I wrote it using xt.pc as an example and published it on my GitHub Gist.
Here the full text of this file:
In FreeBSD place it to
/usr/local/libdata/xm.pc and then use
pkg-config --cflags xm and
pkg-config --libs xm.